//////////////////////////////////////////////////
// DMB DHTML ENGINE 1.7.003                     //
// (c)xFX JumpStart                             //
//                                              //
// PSN: 135199-TWB-2665-2810                    //
//                                              //
// GENERATED: 5/20/2003 - 9:53:54 PM            //
// -------------------------------------------- //
//  Config: Remote                              //
//   AddIn:                                     //
// JS Name: menu                                //
//////////////////////////////////////////////////


	var nStyle = new Array;
	var hStyle = new Array;
	var nLayer = new Array;
	var hLayer = new Array;
	var nTCode = new Array;

	var AnimStep = 0;
	var AnimHnd = 0;
	var NSDelay = 0;
	var HTHnd = new Array;
	var MenusReady = false;
	var imgLRsc = new Image;
	var imgRRsc = new Image;
	var smHnd = 0;
	var lsc = null;
	var tmrHideHnd = 0;
	var IsOverHS = false;
	var IsContext = false;
	var IsFrames = false;
	var dxFilter=null;

	var AnimSpeed = 20;
	var TimerHideDelay = 2000;
	var SubMenusDelay = 200;

	var cntxMenu = '';
	var DoFormsTweak = true;

	function GetOPStyle(){;}function SetOPStyle(){;}

	var nsOW;
	var nsOH;

	var mFrame;
	var cFrame = self;

	var OpenMenus = new Array;
	var nOM = 0;

	var mX;
	var mY;	

	var BV=parseFloat(navigator.appVersion.indexOf("MSIE")>0?navigator.appVersion.split(";")[1].substr(6):navigator.appVersion);
	var BN=navigator.appName;
	var IsWin=(navigator.userAgent.indexOf('Win')!=-1);
	var IsMac=(navigator.userAgent.indexOf('Mac')!=-1);
	var KQ=(BN.indexOf('Konqueror')!=-1&&(BV>=5))||(navigator.userAgent.indexOf('Safari')!=-1);
	var OP=(navigator.userAgent.indexOf('Opera')!=-1&&BV>=4);
	var NS=(BN.indexOf('Netscape')!=-1&&(BV>=4&&BV<5)&&!OP);
	var SM=(BN.indexOf('Netscape')!=-1&&(BV>=5)||OP);
	var IE=(BN.indexOf('Explorer')!=-1&&(BV>=4)||SM||KQ);
	var IX=(IE&&IsWin&&!SM&&!OP&&(BV>=5.5)&&(dxFilter!=null));

	if(!eval(frames['self'])) {
		frames.self = window;
		frames.top = top;
	}
	
	var dmbtbF = new Array;
	var dmbtbB = new Array;
	var tbBorder = new Array;
	var tbSpacing = new Array;
	var tbStyle = new Array;
	var tbAlignment = new Array;
	var tbAttachTo = new Array;
	var tbSpanning = new Array;
	var tbFollowHScroll = new Array;
	var tbFollowVScroll = new Array;
	var tbMargins = new Array;
	var tbOM = new Array;
	var tbFPos = new Array;
	var tbHS = new Array;
	var lmcHS = null;
	var tbWidth = new Array;
	var tbHeight = new Array;
	var hshStyle = new Array;
	var tbVisC = new Array;
	var sbHnd;
	var smHnd;
	var tbleft;
	var tbtop;
	var tbBackleft;
	var tbBacktop;
	
	tbBorder[1] = 0;
	tbSpacing[1] = 0;
	tbStyle[1] = 1;
	tbAlignment[1] = 3;
	tbSpanning[1] = 0;
	tbFollowHScroll[1] = false;
	tbFollowVScroll[1] = false;
	tbMargins[1] = [0,150];
	tbOM[1] = [0,0];
	tbFPos[1] = [0,0];
	tbHS[1] = new Array;
	tbVisC[1] = new Function('return true;');
	tbWidth[1] = 142;
	tbHeight[1] = 171;
	tbHS[1][1]=[142,19];
	tbHS[1][2]=[142,19];
	tbHS[1][3]=[142,19];
	tbHS[1][4]=[142,19];
	tbHS[1][5]=[142,19];
	tbHS[1][6]=[142,19];
	tbHS[1][7]=[142,19];
	tbHS[1][8]=[142,19];
	tbHS[1][9]=[142,19];
	var tbNum = 1;



	var fx = 3;


	hStyle[0]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #0000FF; cursor: default;";
	hStyle[1]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #0000FF; cursor: default;";
	hStyle[2]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #0000FF; cursor: default;";
	hStyle[3]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #0000FF; cursor: default;";
	hStyle[4]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #0000FF; cursor: default;";
	hStyle[5]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #0000FF; cursor: default;";
	hStyle[6]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #0000FF; cursor: default;";
	hStyle[7]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #0000FF; cursor: default;";
	hStyle[8]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; background-color: #0000FF; cursor: default;";
	nTCode[1]="cFrame.execURL('../coth/cothadminmtngs.html', 'this');";
	nTCode[2]="cFrame.execURL('../coth/cmeactivities.html', 'this');";
	nTCode[3]="cFrame.execURL('../coth/confreg.html', 'this');";
	nTCode[4]="cFrame.execURL('../coth/caspr_program_calendar.html', 'this');";
	nTCode[5]="cFrame.execURL('http://www.casprcrip.org/', '_blank');";
	nTCode[6]="cFrame.execURL('http://www.aacpm.org/residencies/index.asp', '_blank');";
	nTCode[7]="cFrame.execURL('http://www.aacpm.org/', '_blank');";
	nTCode[8]="cFrame.execURL('http://www.cpme.org/', '_blank');";
	nTCode[9]="cFrame.execURL('http://www.apma.org/', '_blank');";

hshStyle[1001]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #030303; background-color: #D4D4EE; cursor: default;";
hshStyle[1002]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #030303; background-color: #D4D4EE; cursor: default;";
hshStyle[1003]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #030303; background-color: #D4D4EE; cursor: default;";
hshStyle[1004]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #030303; background-color: #D4D4EE; cursor: default;";
hshStyle[1005]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #030303; background-color: #D4D4EE; cursor: default;";
hshStyle[1006]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #030303; background-color: #D4D4EE; cursor: default;";
hshStyle[1007]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #030303; background-color: #D4D4EE; cursor: default;";
hshStyle[1008]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #030303; background-color: #D4D4EE; cursor: default;";
hshStyle[1009]="border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #030303; background-color: #D4D4EE; cursor: default;";
	nTCode[1001]="cFrame.execURL('../index.html', 'this');";
	nTCode[1002]="cFrame.execURL('../coth/chairman.html', 'this');";
	nTCode[1003]="cFrame.execURL('../coth/whatsnew.html', 'this');";
	nTCode[1004]="cFrame.execURL('../coth/calendar.html', 'this');";
	nTCode[1008]="cFrame.execURL('../coth/publicsurveys.html', 'this');";
	nTCode[1009]="cFrame.execURL('mailto:coth@aacpm.org', 'this');";

	
	function SetupToolbar(fr) {
		var mimg = false;
		var lt = GetLeftTop(cFrame);
		var wh = GetWidthHeight(cFrame);
		if(!MenusReady)  {
			window.setTimeout("SetupToolbar()", 10);
			return false;
		}
		for(var t=1; t<=tbNum; t++) {
			if(fr!=true) {
				if(!dmbtbF[t]) {
					olt = lt;
					dmbtbF[t] = GetObj("dmbTB"+t, cFrame);
					dmbtbB[t] = GetObj("dmbTBBack"+t, cFrame);
					if(!dmbtbF[t]) {
						window.setTimeout("SetupToolbar()", 10);
						return false;
					}
					
					if(IE) {
						dmbtbF[t] = dmbtbF[t].style;
						dmbtbB[t] = dmbtbB[t].style;
						if(SM&&!(OP&&BV>=7)) {
							dmbtbB[t].width = (OP?dmbtbB[t].pixelWidth:unic(dmbtbB[t].width, wh[0])) - 2*tbBorder[t] + "px";
							dmbtbB[t].height = (OP?dmbtbB[t].pixelHeight:unic(dmbtbB[t].height, wh[1])) - 2*tbBorder[t] + "px";
						}
						FixCommands("dmbTB"+t,cFrame,t)
					} else {
						dmbtbB[t].width = dmbtbB[t].clip.width;
						dmbtbB[t].height = dmbtbB[t].clip.height;
					}
				}
			}
			tbleft = 0; tbBackleft = 0;
			tbtop  = 0; tbBacktop = 0;
			switch(tbAlignment[t]) {
				case 0:
					break;
				case 1:
					tbleft = wh[0]/2-tbWidth[t]/2;
					tbBackleft = tbStyle[t]==0?(tbSpanning[t]==0?tbleft:0):(wh[0]/2-parseInt(dmbtbB[t].width)/2);
					break;
				case 2:
					tbleft = wh[0]-tbWidth[t];
					tbBackleft = tbStyle[t]==0?(tbSpanning[t]==0?tbleft:0):(wh[0]-parseInt(dmbtbB[t].width));
					break;
				case 3:
					tbtop  = wh[1]/2-tbHeight[t]/2;
					tbBacktop = tbStyle[t]==0?tbtop:(tbSpanning[t]==0?wh[1]/2-parseInt(dmbtbB[t].height)/2:0);
					break;
				case 4:
					tbleft = wh[0]/2-tbWidth[t]/2;
					tbtop  = wh[1]/2-tbHeight[t]/2;
					tbBackleft = tbStyle[t]==0?(tbSpanning[t]==0?tbleft:0):(wh[0]/2-parseInt(dmbtbB[t].width)/2);
					tbBacktop = tbStyle[t]==0?tbtop:(tbSpanning[t]==0?wh[1]/2-parseInt(dmbtbB[t].height)/2:0);
					break;
				case 5:
					tbleft = wh[0]-tbWidth[t];
					tbtop  = wh[1]/2-tbHeight[t]/2;
					tbBackleft = tbStyle[t]==0?(tbSpanning[t]==0?tbleft:0):(wh[0]-parseInt(dmbtbB[t].width));
					tbBacktop = tbStyle[t]==0?tbtop:(tbSpanning[t]==0?wh[1]/2-parseInt(dmbtbB[t].height)/2:0);
					break;
				case 6:
					tbtop  = wh[1]-tbHeight[t];
					tbBacktop = tbStyle[t]==0?wh[1]-parseInt(dmbtbB[t].height)-(SM?2*tbBorder[t]:0):(tbSpanning[t]==0?wh[1]-parseInt(dmbtbB[t].height):0);
					break;
				case 7:
					tbleft = wh[0]/2-tbWidth[t]/2;
					tbtop  = wh[1]-tbHeight[t];
					tbBackleft = tbStyle[t]==0?(tbSpanning[t]==0?tbleft:0):(wh[0]/2-parseInt(dmbtbB[t].width)/2);
					tbBacktop = tbStyle[t]==0?wh[1]-parseInt(dmbtbB[t].height)-(SM?2*tbBorder[t]:0):(tbSpanning[t]==0?wh[1]-parseInt(dmbtbB[t].height):0);
					break;
				case 8:
					tbleft = wh[0]-tbWidth[t];
					tbtop  = wh[1]-tbHeight[t];
					tbBackleft = tbStyle[t]==0?(tbSpanning[t]==0?tbleft:0):(wh[0]-parseInt(dmbtbB[t].width));
					tbBacktop = tbStyle[t]==0?wh[1]-parseInt(dmbtbB[t].height)-(SM?2*tbBorder[t]:0):(tbSpanning[t]==0?wh[1]-parseInt(dmbtbB[t].height):0);
					break;
				case 9:
					tbleft = tbFPos[t][0];
					tbtop  = tbFPos[t][1];
					tbBackleft = tbleft;
					tbBacktop = tbtop;
					break;
				case 10:
					var imgObj = NS?FindImage(cFrame.document, tbAttachTo[t].split("|")[0]):cFrame.document.images[tbAttachTo[t].split("|")[0]];
					if(!imgObj) {
						imgObj = GetObj(tbAttachTo[t].split("|")[0], cFrame);
						if(imgObj&&!NS) if(imgObj.style.left) imgObj = imgObj.style;
					}
					if(imgObj) {
						tbleft = AutoPos(dmbtbF[t], imgObj, parseInt(tbAttachTo[t].split("|")[1]))[0] + MacOffset(cFrame)[0];
						tbtop  = AutoPos(dmbtbF[t], imgObj, parseInt(tbAttachTo[t].split("|")[1]))[1] + MacOffset(cFrame)[1];
					} else
						mimg = true;
					tbBackleft = tbleft;
					tbBacktop = tbtop;
					break;
			}
			dmbtbF[t].left = tbleft + (tbFollowHScroll[t]?olt[0]:0) + tbMargins[t][0] + (NS?"":"px");
			dmbtbF[t].top  = tbtop  + (tbFollowVScroll[t]?olt[1]:0) + tbMargins[t][1] + ((NS||OP)?"":"px");
			dmbtbB[t].left = tbBackleft + (tbFollowHScroll[t]?olt[0]:0) + tbMargins[t][0] + (NS?"":"px");
			dmbtbB[t].top  = tbBacktop  + (tbFollowVScroll[t]?olt[1]:0) + tbMargins[t][1] + ((NS||OP)?"":"px");
			
			if(tbSpanning[t]==1) {
				if(tbStyle[t]==0) dmbtbB[t].width = wh[0] + (tbFollowHScroll[t]?0:lt[0]) - (SM?2*tbBorder[t]:0) + ((NS||OP)?"":"px");
				if(tbStyle[t]==1) dmbtbB[t].height = wh[1] + (tbFollowVScroll[t]?0:lt[1]) - (SM?2*tbBorder[t]:0) + ((NS||OP)?"":"px");
			}
			
			dmbtbF[t].visibility = dmbtbB[t].visibility = (tbVisC[t]()?"visible":"hidden");
			
			
		}
		
		if(NS||SM||mimg) sbHnd = window.setTimeout("SetupToolbar()", (NS?100:1000));
		
		return true;
	}
	
	function unic(u, wh) {
		var k = parseInt(u);
		return (NS?k:u.indexOf("%")==-1?k:wh*k/100);
	}
	
	
	
	function GetHSPos(n, al, mW, mH, t) {
		var acc = (tbStyle[t]==0?tbOM[t][0]:tbOM[t][1]);
		var x = 0;
		var y = 0;
		for(var h=n-1;h>0;h--)
			if(tbStyle[t]==0)
				acc += tbHS[t][h][0] + tbSpacing[t];
			else
				acc += tbHS[t][h][1] + tbSpacing[t];
		x = (IsFrames&&(tbStyle[t]==1))?-(tbWidth[t]-tbBorder[t]):parseInt(dmbtbF[t].left) + tbBorder[t];
		y = (IsFrames&&(tbStyle[t]==0))?-(tbHeight[t]-tbBorder[t]):parseInt(dmbtbF[t].top);
		if(tbStyle[t]==0)
			x += acc;
		else
			y += acc + tbBorder[t];
		switch(al) {
			case 0:
				y += (tbStyle[t]==0)?tbHeight[t] - tbBorder[t]:tbHS[t][n][1];
				break;
			case 1:
				x -= (tbStyle[t]==0)?(mW - tbHS[t][n][0]):(mW - tbWidth[t]) + 2*tbBorder[t];
				y += (tbStyle[t]==0)?tbHeight[t] - tbBorder[t]:tbHS[t][n][1];
				break;
			case 2:
				y -= (tbStyle[t]==0)?mH - tbBorder[t]:mH;
				break;
			case 3:
				x -= (tbStyle[t]==0)?(mW - tbHS[t][n][0]):(mW - tbWidth[t]) + 2*tbBorder[t];
				y -= (tbStyle[t]==0)?mH - tbBorder[t]:mH;
				break;
			case 4:
				x -= mW;
				y += (tbStyle[t]==0)?tbBorder[t]:0;
				break;
			case 5:
				x -= mW;
				y += (tbStyle[t]==0)?(tbHeight[t] - mH) - tbBorder[t]:(tbHS[t][n][1] - mH);
				break;
			case 6:
				x += (tbStyle[t]==0)?tbHS[t][n][0]:tbWidth[t] - 2*tbBorder[t];
				y += (tbStyle[t]==0)?tbBorder[t]:0;
				break;
			case 7:
				x += (tbStyle[t]==0)?tbHS[t][n][0]:tbWidth[t] - 2*tbBorder[t];
				y += (tbStyle[t]==0)?(tbHeight[t] - mH) - tbBorder[t]:(tbHS[t][n][1] - mH);
				break;
			case 8:
				x -= mW;
				y += tbBorder[t]+(tbHS[t][n][1]-mH)/2;
				break;
			case 9:
				x += (tbStyle[t]==0)?tbHS[t][n][0]:tbWidth[t] - 2*tbBorder[t];
				y += tbBorder[t]+(tbHS[t][n][1]-mH)/2;
				break;
			case 10:
				x += (tbHS[t][n][0]-mW)/2;
				y -= (tbStyle[t]==0)?mH - tbBorder[t]:mH;
				break;
			case 11:
				x += (tbHS[t][n][0]-mW)/2;
				y += (tbStyle[t]==0)?tbHeight[t] - tbBorder[t]:tbHS[t][n][1];
				break;
		}
		if(IsFrames) {
			x += GetLeftTop()[0];
			y += GetLeftTop()[1];
		}
		return [x,y];
	}
	
	function hsNSHoverSel(mode, mc, bcolor) {
		var mcN;
		
		if(mode==0) {
			if(lmcHS) hsNSHoverSel(1);
			mcN = mc.parentLayer.layers[mc.name.substr(0, mc.name.indexOf("EH")) + "N"];
			mcN.mcO = mc.parentLayer.layers[mc.name.substr(0, mc.name.indexOf("EH")) + "O"];
			if(mcN!=lmcHS) HideAll();
			if(nOM>1) if(mcN==OpenMenus[nOM-1].SelCommand) return false;
			while(!InMenu()&&nOM>1)	Hide();
			IsOverHS = true;
			mcN.mcO.visibility = "show";
			mcN.visibility = "hide";
			lmcHS = mcN;
		} else {
			mcN = lmcHS;
			mcN.visibility = "show";
			mcN.mcO.visibility = "hide";
			lmcHS = null;
		}
		return true;
	}
	
	function hsHoverSel(mode, imgLName, imgRName, e, f) {
		var mc;
		
		if(SM && mode==1 && !f) {
			IsOverHS = true;
			ClearTimer(smHnd);
			smHnd = window.setTimeout("hsHoverSel(1,0,0,0,1)", 10);
			return false;
		}
		
		if(mode==0) {
			if(SM) ClearTimer(smHnd);
			mc = GetCurCmd(e);
			if(!mc) return false;
			if(mc!=lmcHS) HideAll();
			if(lmcHS==mc) return false;
			if(lmcHS) hsHoverSel(1,0,0,0,1);
			IsOverHS = true;
			if(imgLName) imgLRsc = eval(imgLName+"On");
			if(imgRName) imgRRsc = eval(imgRName+"On");
			
			if(!mc.nStyle) {
				if(OP&&BV<7)
					mc.nStyle = GetOPStyle(mc);
				else
					mc.nStyle = SM?mc.getAttribute("style"):mc.style.cssText;
				mc.hStyle = GetCStyle(mc.style) + ((SM||KQ)?hshStyle[mc.id].replace("hand","pointer"):hshStyle[mc.id]);
			}
			
			lmcHS = mc;
			lmcHS.CommandPar = [imgLName,imgRName,mc.nStyle];
			if(!OP||(OP&&BV>=7)) {
				mc.b = mc.style.borderLeft;
				mc.hasBorder = mc.b.split(" ").length>1;
			}
			if(SM||KQ)
				if(OP&&BV<7)
					SetOPStyle(mc, mc.hStyle);
				else
					mc.setAttribute("style", mc.hStyle);
			else
				mc.style.cssText = mc.hStyle;
			if(!OP) FixCursor(mc.style, mc.hStyle);
		} else {
			mc = lmcHS;
			imgLName = lmcHS.CommandPar[0];
			imgRName = lmcHS.CommandPar[1];
			mc.style.background = (SM?new Image():"");
			if(SM||KQ) {
				IsOverHS = false;
				if(OP&&BV<7)
					SetOPStyle(mc, mc.nStyle);
				else
					mc.setAttribute("style", GetCStyle(mc.style) + lmcHS.CommandPar[2]);
			}
			else
				mc.style.cssText = GetCStyle(mc.style) + lmcHS.CommandPar[2];
			if(imgLName) imgLRsc = eval(imgLName+"Off");
			if(imgRName) imgRRsc = eval(imgRName+"Off");
			lmcHS = null;
			status = "";
		}
		
		if(imgLName) cFrame.document.images[imgLName].src = _fip(imgLRsc);
		if(imgRName) cFrame.document.images[imgRName].src = _fip(imgRRsc);
		
		if(!OP||(OP&&BV>=7)) FixHover(mc, mode);
		
		return true;
	}
	
	function InitTB() {
		var dsn = true;
		
		for(var t=1; t<=tbNum; t++)
			if(tbAlignment[t]==10) {
				dsn = false;
				window.onload = SetupToolbar;
				break;
			}
		if(!NS) {
			window.onresize = SetupToolbar;
			window.onscroll = SetupToolbar;
		}
		
		if(dsn) SetupToolbar();
	}
	InitTB();

	function GetCurCmd(e) {
		//IE,SM,OP,KQ
		//This function will return the current command under the mouse pointer.
		//It will return null if the mouse is not over any command.
		//------------------------------
		//Version 1.6
		//
		var cc = e;
		while(cc.id=="") {
			cc = cc.parentElement;
			if(cc==null) break;
		}
		return cc;
	}

	function HoverSel(mode, imgLName, imgRName, e) {
		//IE,SM,OP,KQ
		//This is the function called every time the mouse pointer is moved over a command.
		//------------------------------
		//mode: 0 if the mouse is moving over the command and 1 if is moving away.
		//imgLName: Name of the left image object, if any.
		//imgRName: Name of the right image object, if any.
		//------------------------------
		//Version 16.5
		//
		var nStyle;
		var mc;
		var lc;
		
		if(nOM==0) return false;
		
		if(mode==0) {
			if(OpenMenus[nOM].SelCommand!=null) HoverSel(1);
			mc = GetCurCmd(e);
			if(nOM>1) {
				if(mc==OpenMenus[nOM-1].SelCommand)	return false;
				lc = (BV>=5?mc.parentNode.parentNode.id:mc.parentElement.parentElement.id);
				while(true) {
					if(!nOM) return false;
					if(lc==OpenMenus[nOM].mName) break;
					Hide();
				}
			}
			if(imgLName) imgLRsc = eval(imgLName+"On");
			if(imgRName) imgRRsc = eval(imgRName+"On");
			if(OP&&BV<7)
				mc.opw = OpenMenus[nOM].width - 2*mc.style.left;
			else {
				mc.opw = mc.style.width;
				mc.b = mc.style.borderLeft;
				mc.hasBorder = mc.b.split(" ").length>1;
			}

			if(!mc.nStyle) {
				if(OP&&BV<7)
					mc.nStyle = GetOPStyle(mc);
				else
					mc.nStyle = SM?mc.getAttribute("style"):mc.style.cssText;
				mc.hStyle = GetCStyle(mc.style) + ((SM||KQ)?xrep(hStyle[mc.id],"hand","pointer"):hStyle[mc.id]);
			}
		
			OpenMenus[nOM].SelCommand = mc;
			OpenMenus[nOM].SelCommandPar = [imgLName,imgRName,mc.nStyle];
			
			if(SM||KQ) {
				IsOverHS = false;
				if(OP&&BV<7)
					SetOPStyle(mc, mc.hStyle);
				else
					mc.setAttribute("style", mc.hStyle);
			} else
				mc.style.cssText = mc.hStyle;
			if(!OP) FixCursor(mc.style, mc.hStyle);
		} else {
			mc = (mode==1)?OpenMenus[nOM].SelCommand:OpenMenus[nOM].Opener;
			imgLName = (mode==1)?OpenMenus[nOM].SelCommandPar[0]:OpenMenus[nOM].OpenerPar[0];
			imgRName = (mode==1)?OpenMenus[nOM].SelCommandPar[1]:OpenMenus[nOM].OpenerPar[1];
			nStyle = (mode==1)?OpenMenus[nOM].SelCommandPar[2]:OpenMenus[nOM].OpenerPar[2];
			mc.style.background = (SM?new Image():"");
			if(IsMac) mc.style.border = "0px none";
			if(SM||KQ) {
				if(OP&&BV<7)
					SetOPStyle(mc, nStyle);
				else
					mc.setAttribute("style", nStyle);
			} else
				mc.style.cssText = ((BV<5)?GetCStyle(mc.style):"") + nStyle;
			if(imgLName) imgLRsc = eval(imgLName+"Off");
			if(imgRName) imgRRsc = eval(imgRName+"Off");
			OpenMenus[nOM].SelCommand = null;
		}
		
		if(imgLName) mFrame.document.images[imgLName].src = _fip(imgLRsc);
		if(imgRName) mFrame.document.images[imgRName].src = _fip(imgRRsc);
		
		if(!OP||(OP&&BV>=7)) FixHover(mc, mode);
		
		return true;
	}
	
	function FixHover(mc, mode) {
		//IE,SM
		//This function fixes the position of the commands' contents when using special highlighting effects.
		//------------------------------
		//Version 2.6
		//
		var hasBorder;
		var bw;
		var s;
		if(mode==0) {
			if(BV>=5)
				s = mc.getElementsByTagName("SPAN")[0];
			else
				s = mc.document.all.tags("SPAN")[0];
			mc.s = s;
			mc.stop = s.style.top;
			mc.sleft = s.style.left;
			
			hasBorder = mc.style.borderLeft.split(" ").length>1;
			if(hasBorder != mc.hasBorder) {
				bw = (hasBorder?-GetBorderWidth(mc.style.borderLeft):GetBorderWidth(mc.b));
				s.style.left = parseInt(s.style.left) + bw + "px";
				s.style.top = parseInt(s.style.top) + bw + "px";
				if(SM)
					with(mc.style) {
						mc.cwidth = width;
						mc.cheight = height;
						width = parseInt(width) + 2*bw + "px";
						height = parseInt(height) + 2*bw + "px";
					}
			}			
		} else {
			mc.s.style.top = mc.stop;
			mc.s.style.left = mc.sleft;
			if(SM) {
				mc.style.width = mc.cwidth;
				mc.style.height = mc.cheight;
			}
		}
	}
	
	function NSHoverSel(mode, mc) {
		//NS
		//This is the function called every time the mouse pointer is moved over or away from a command.
		//------------------------------
		//mode: 0 if the mouse is moving over the command and 1 if is moving away.
		//------------------------------
		//Version 13.0
		//
		var mcN;
		
		ClearTimer(parseInt(HTHnd[nOM]));HTHnd[nOM] = 0;
		if(!nOM) return false;
		
		if(mode==0 && OpenMenus[nOM].SelCommand!=null)
			NSHoverSel(1);
		
		if(mode==0) {
			mcN = mc.parentLayer.layers[mc.name.substr(0, mc.name.indexOf("EH")) + "N"];
			mcN.mcO = mc.parentLayer.layers[mc.name.substr(0, mc.name.indexOf("EH")) + "O"];
			if(nOM>1) if(mc==OpenMenus[nOM-1].SelCommand) return false;
			while(!InMenu()&&nOM>1) Hide();
			OpenMenus[nOM].SelCommand = mcN;
			mcN.mcO.visibility = "show";
			mcN.visibility = "hide";
		} else {
			mcN = (mode==1)?OpenMenus[nOM].SelCommand:OpenMenus[nOM].Opener;
			mcN.visibility = "show";
			mcN.mcO.visibility = "hide";						
			OpenMenus[nOM].SelCommand = null;
		}
		return true;
	}

	function Hide(chk) {
		//IE,NS,SM,OP,KQ
		//This function hides the last opened group and it keeps hiding all the groups until
		//no more groups are opened or the mouse is over one of them.
		//Also takes care of reseting any highlighted commands.
		//------------------------------
		//Version 4.6
		//
		var m;
		
		ClearTimer(HTHnd[nOM]);HTHnd[nOM] = 0;
		ClearTimer(AnimHnd);AnimHnd = 0;
		ClearTimer(tmrHideHnd);
		
		if(chk)	if(InMenu()) return false;
		
		if(nOM) {
			m = OpenMenus[nOM];
			if(m.SelCommand!=null) {
				if(IE) HoverSel(1);
				if(NS) NSHoverSel(1);
			}
			if(m.Opener!=null) {
				if(IE) HoverSel(3);
				if(NS) NSHoverSel(3);
			}

			ToggleMenu(m, "hidden");
			nOM--;

		}
		
		if(nOM==0) {
			if(tbNum && lmcHS) {
				if(IE) hsHoverSel(1);
				if(NS) hsNSHoverSel(1);
			}
			status = "";
		} else
			if(!InMenu()) HTHnd[nOM] = window.setTimeout("Hide(1)", TimerHideDelay/20);
		
		return true;
	}
	
	function ToggleMenu(m, s) {
		//IE,NS,SM,OP,KQ
		//This function controls how the menus are displayed
		//and hidden from the screen.
		//------------------------------
		//Version 1.2
		//
		if(IX)
			if(document.readyState=="complete")
				with(m.obj) {
					if(!m.fs) {
						m.filter = dxFilter + m.filter;
						m.fs = true;
					}
					for(var i=0; i<filters.length; i++) {
						filters[i].apply();
						m.visibility = s;
						filters[i].play();
					}
				}
		m.visibility = s;
		FormsTweak(s=="visible"?"hidden":"visible");
	}
	
	function ShowMenu(mName, x, y, isCascading, hsImgName, algn) {
		//IE,NS,SM,OP,KQ
		//This function controls the way menus and submenus are displayed.
		//It also applies a delay to display submenus.
		//------------------------------
		//Version 1.0
		//
		ClearTimer(smHnd);smHnd = 0;
		if(isCascading) {
			lsc = OpenMenus[nOM].SelCommand;
			smHnd = window.setTimeout("if(nOM)if(lsc==OpenMenus[nOM].SelCommand)ShowMenu2('" + mName + "',0,0,true,''," + algn + ")", SubMenusDelay);
		} else
			ShowMenu2(mName, x, y, false, hsImgName, algn);
		return true;
	}

	function ShowMenu2(mName, x, y, isCascading, hsImgName, algn) {
		//IE,NS,SM,OP,KQ
		//This is the main function to show the menus when a hotspot is triggered or a cascading command is activated.
		//------------------------------
		//mName: Name of the <div> or <layer> to be shown.
		//x: Left position of the menu.
		//y: Top position of the menu.
		//isCascading: True if the menu has been triggered from a command.
		//hsImgName: Image to which the menu is attached to.
		//algn: Alignment setting for the menu.
		//------------------------------
		//Version 20.6
		//
		var xy;
		ClearTimer(parseInt(HTHnd[nOM]));HTHnd[nOM] = 0;
		x = parseInt(x);y = parseInt(y);
		
		var Menu = GetObj(mName);
		if(!Menu) return false;
		if(IE) {
			Menu = Menu.style;
			Menu.obj = GetObj(mName);
			Menu.frmt = GetObj(mName+"frmt").style;
		}
		
		if(nOM>0)
			if(OpenMenus[1].mName == mName && !isCascading) {
				IsOverHS = true;
				return false;
			}
		if(Menu==OpenMenus[nOM]) return false;
			
		if(AnimHnd && nOM>0) {
			AnimStep=100;
			Animate();
		}
			
		if(!isCascading) {
			var oldlmcHS = lmcHS;
			lmcHS = null;
			HideAll();
			lmcHS = oldlmcHS;
		}
		
		Menu.mName = mName;
		Menu.Opener = nOM>0?OpenMenus[nOM].SelCommand:null;
		Menu.OpenerPar = nOM>0?OpenMenus[nOM].SelCommandPar:null;
		Menu.SelCommand = null;
		if(OP) {
			Menu.width = Menu.pixelWidth;
			Menu.height = Menu.pixelHeight;
		}
		
		if(!isCascading) {
			if(hsImgName) {
				var imgObj = NS?FindImage(cFrame.document, hsImgName.split("|")[0]):cFrame.document.images[hsImgName.split("|")[0]];
				if(imgObj) {
					var tbMode = hsImgName.split("|")[1];
					if(tbMode&2) x = AutoPos(Menu, imgObj, algn)[0] + (IsFrames?GetLeftTop()[0]:0) + MacOffset()[0];
					if(tbMode&1) y = AutoPos(Menu, imgObj, algn)[1] + (IsFrames?GetLeftTop()[1]:0) + MacOffset()[1];
				}
			}

		}
		
		var pW = GetWidthHeight()[0] + GetLeftTop()[0];
		var pH = GetWidthHeight()[1] + GetLeftTop()[1];
		
		if(IE) {
			if(SM) Menu.display = "none";
			if(isCascading) {
				xy = GetSubMenuPos(Menu, algn);
				x = xy[0];y = xy[1];

var gs = GetObj(OpenMenus[nOM].mName).gs; if(gs) y += parseInt(gs.top);
			}
			Menu.left = FixPos(x,parseInt(Menu.width),pW,0) + "px";
			Menu.top = FixPos(y,parseInt(Menu.height),pH,1) + (OP?"":"px");
			if(!IX&&!SM&&IsWin) Menu.clip = "rect(0 0 0 0)";
		}
		if(NS) {
			if(isCascading) {
				xy = GetSubMenuPos(Menu, algn);
				x = xy[0];y = xy[1];

			}
			Menu.clip.width = 0;
			Menu.clip.height = 0;

			Menu.moveToAbsolute(FixPos(x,Menu.w,pW),FixPos(y,Menu.h,pH));
		}
		Menu.zIndex = 1000+tbNum+nOM;
		OpenMenus[++nOM] = Menu;
		
		if(!NS) FixCommands(mName);
		if(SM) Menu.display = "inline";
		
		if(!IX) {
			HTHnd[nOM] = 0;
			if((IE&&IsWin&&!SM)||(NS&&Menu.clip.width==0))
				AnimHnd = window.setTimeout("Animate()", 10);
		}
		ToggleMenu(Menu, "visible");
		
		if(!isCascading&&!IsContext) IsOverHS = true;
		IsContext = false;
		ClearTimer(tmrHideHnd);
		tmrHideHnd = window.setTimeout("AutoHide()", TimerHideDelay);
		
		return true;
	}
	
	function MacOffset(f) {
		//IE
		//This function calculates the margins for the body under IE/Mac.
		//------------------------------
		//Version 1.0
		//
		if(!f) f = mFrame;
		if(IsMac&&IE&&!SM&&(BV>=5))
			return [parseInt(f.document.body.leftMargin),parseInt(f.document.body.topMargin)];
		return [0,0];
	}
	
	function GetSubMenuPos(mg, a) {
		//IE,NS,SM,OP,KQ
		//This function calculates the position of a submenu based on its alignment.
		//------------------------------
		//Version 1.1
		//
		var x;
		var y;
		var pg = OpenMenus[nOM];
		var sc = pg.SelCommand;
		
		if(NS) {
			pg.width = pg.w;
			pg.height = pg.h;
			mg.width = mg.w;
			mg.height = mg.h;
			sc.width = sc.clip.width;
			sc.height = sc.clip.height;
		} else
			if(OP) {
				sc.left = sc.style.left;
				sc.top = sc.style.top;
				sc.width = sc.style.pixelWidth;
				sc.height = sc.style.pixelHeight;
			} else
				sc = sc.style;
		
		var lp = parseInt(pg.left) + parseInt(sc.left);
		var tp = parseInt(pg.top) + parseInt(sc.top);

		switch(a) {
			case 0:
				x = lp;
				y = tp + parseInt(sc.height);
				break;
			case 1:
				x = lp + parseInt(sc.width) - parseInt(mg.width);
				y = tp + parseInt(sc.height);
				break;
			case 2:
				x = lp;
				y = tp - parseInt(mg.height);
				break;
			case 3:
				x = lp + parseInt(sc.width) - parseInt(mg.width);
				y = tp - parseInt(mg.height);
				break;
			case 4:
				x = lp - parseInt(mg.width);
				y = tp;
				break;
			case 5:
				x = lp - parseInt(mg.width);
				y = tp + parseInt(sc.height) - parseInt(mg.height);
				break;
			case 6:
				x = lp + parseInt(sc.width);
				y = tp;
				break;
			case 7:
				x = lp + parseInt(sc.width);
				y = tp + parseInt(sc.height) - parseInt(mg.height);
				break;
			case 8:
				x = lp - parseInt(mg.width);
				y = tp + (parseInt(sc.height) - parseInt(mg.height))/2;
				break;
			case 9:
				x = lp + parseInt(sc.width);
				y = tp + (parseInt(sc.height) - parseInt(mg.height))/2;
				break;
			case 10:
				x = lp + (parseInt(sc.width) - parseInt(mg.width))/2;
				y = tp - parseInt(mg.height);
				break;
			case 11:
				x = lp + (parseInt(sc.width) - parseInt(mg.width))/2;
				y = tp + parseInt(sc.height);
				break;
		}
		return [x,y];
	}
	
	function FixCommands(mName, f, t) {
		//IE, SM
		//This function is used to fix the way the Gecko engine calculates
		//the borders and the way they affect the size of block elements.
		//It also fixes the way IE renderes pages while running CSS1Compat mode.
		//------------------------------
		//Version 2.3
		//
		var en = !OP;
		var m = GetObj(mName, f);
		if(!m.Fixed) {
			if(!f) f = mFrame;
			if(!t) t = 0;
			if(IE&&!SM) en = (OP?false:(f.document.compatMode=="CSS1Compat"));
			if(en) {
				var sd = m.getElementsByTagName("DIV");
				for(var i=0;i<(sd.length);(t>0?i+=2:i++))
					with(sd[i].style) {
						var b = GetBorderWidth(borderLeft);
						if(borderLeft.indexOf("none")==-1) {
							if(parseInt(width) && parseInt(height)) {
								width = parseInt(width) - 2*b + "px";
								height = parseInt(height) - 2*b + "px";
							}
						}
					}
			}
		}
		m.Fixed = true;
	}

	function Animate() {
		//IE,NS,SM,OP,KQ
		//This function is called by ShowMenu every time a new group must be displayed and produces the predefined unfolding effect.
		//Currently is disabled for Navigator, because of some weird bugs we found with the clip property of the layers.
		//------------------------------
		//Version 1.9
		//
		var r = '';
		var nw = nh = 0;
		if(AnimStep+AnimSpeed>100) AnimStep = 100;
		switch(fx) {
			case 1:
				if(IE) r = "0 " + AnimStep + "% " + AnimStep + "% 0";
				if(NS) nw = AnimStep; nh = AnimStep;
				break;
			case 2:
				if(IE) r = "0 100% " + AnimStep + "% 0";
				if(NS) nw = 100; nh = AnimStep;
				break;
			case 3:
				if(IE) r = "0 " + AnimStep + "% 100% 0";
				if(NS) nw = AnimStep; nh = 100;
				break;
			case 0:
				if(IE) r = "0 100% 100% 0";
				if(NS) nw = 100; nh = 100;
				break;
		}
		if(OpenMenus[nOM]) {
			with(OpenMenus[nOM]) {
				if(IE)
					clip =  "rect(" + r + ")";
				if(NS) {
					clip.width = w*(nw/100);
					clip.height = h*(nh/100);
				}
			}
			AnimStep += AnimSpeed;
			if(AnimStep<=100)
				AnimHnd = window.setTimeout("Animate()",25);
			else {
				ClearTimer(AnimHnd);
				AnimStep = 0;
				AnimHnd = 0;
			}
		}
	}
	
	function InTBHotSpot() {
		//IE,NS,SM,OP,KQ
		//This function returns true if the mouse pointer is over a toolbar item.
		//------------------------------
		//Version 1.1
		//
		if(!tbNum) return false;
		var m = lmcHS;
		if(!m) return false;
		if(IE) m = m.style;
		var l = parseInt(m.left);
		var r = l+(IE?parseInt(m.width):m.clip.width);
		var t = parseInt(m.top);
		var b = t+(IE?parseInt(m.height):m.clip.height);
		return ((mX>=l && mX<=r) && (mY>=t && mY<=b)) || IsOverHS;
	}
	
	function InMenu() {
		//IE,NS,SM,OP,KQ
		//This function returns true if the mouse pointer is over the last opened menu.
		//------------------------------
		//Version 2.1
		//
		var m = OpenMenus[nOM];
		if(!m) return false;
		var l = parseInt(m.left);
		var r = l+(IE?parseInt(m.width):m.clip.width);
		var t = parseInt(m.top);
		var b = t+(IE?parseInt(m.height):m.clip.height);
		return ((mX>=l && mX<=r) && (mY>=t && mY<=b)) || IsOverHS;
	}

	function SetPointerPos(e) {
		//IE,NS,SM,OP,KQ
		//This function sets the mX and mY variables with the current position of the mouse pointer.
		//------------------------------
		//e: Only used under Navigator, corresponds to the Event object.
		//------------------------------
		//Version 1.6
		//
		if(IE) {
			if(!SM) {
				if(mFrame!=cFrame||event==null)
					if(mFrame.window.event==null)
						return;
					else
						e = mFrame.window.event;
				else
					e = event;
			}
			mX = e.clientX + GetLeftTop()[0];
			mY = e.clientY + GetLeftTop()[1];
		}
		if(NS) {
			mX = e.pageX;
			mY = e.pageY;
		}
	}
	
	function HideMenus(e) {
		//IE,NS,SM,OP,KQ
		//This function checks if the mouse pointer is on a valid position and if the current menu should be kept visible.
		//The function is called every time the mouse pointer is moved over the document area.
		//------------------------------
		//e: Only used under Navigator, corresponds to the Event object.
		//------------------------------
		//Version 25.2
		//
		if(nOM>0) {
			SetPointerPos(e);
			if(OpenMenus[nOM].SelCommand!=null)
				if(!InMenu()&&!HTHnd[nOM])
					HTHnd[nOM] = window.setTimeout("if(nOM>0)if(!InMenu())Hide()", TimerHideDelay);
		}
	}
	
	function FormsTweak(state) {
		//IE,SM,OP
		//This is an undocumented function, which can be used to hide every listbox (or combo) element on a page.
		//This can be useful if the menus will be displayed over an area where is a combo box, which is an element that cannot be placed behind the menus and it will always appear over the menus resulting in a very undesirable effect.
		//------------------------------
		//Version 3.2
		//
		var fe;
		if(IE&&(!SM||OP)&&DoFormsTweak) {
			var m = OpenMenus[nOM];
			if((BV>=5.5)&&!OP&&m)
				cIF(state=="visible"?"hidden":"visible");
			else
				if(nOM==1)
					for(var f=0; f<mFrame.document.forms.length; f++)
						for(var e=0; e<mFrame.document.forms[f].elements.length; e++) {
							fe = mFrame.document.forms[f].elements[e];
							if(fe.type) if(fe.type.indexOf("select")==0) fe.style.visibility = state;
						}
		}
	}
	
	function cIF(state) {
		//IE
		//------------------------------
		//Version 1.4
		//
		var mfd = mFrame.document;
		if(mfd.readyState=="complete") {
			if(mfd.getElementsByTagName("SELECT").length==0) return;
			var m = OpenMenus[nOM];
			var iname = m.obj.id + "iframe";
			var i = GetObj(iname);
			if(!i) {
				i = mfd.createElement("?");
				i.id = iname + "pobj";
				mfd.body.insertBefore(i);
				i = mfd.createElement("IFRAME");
				if(location.protocol=="https:") i.src = "/ifo.htm";
				i.id = iname;
				i.style.position = "absolute";
				i.style.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity=0)";
				mfd.getElementById(iname + "pobj").insertBefore(i);
			}		
			with(i.style) {
				left = m.left;
				top = m.top;
				width = m.width;
				height = m.height;
				zIndex = m.zIndex-1;
				visibility = state;
			}
		}
	}

	function execURL(url, tframe) {
		//IE,NS,SM,OP,KQ
		//This function is called every time a command is triggered to jump to another page or execute some javascript code.
		//------------------------------
		//url: Encrypted URL that must be opened or executed.
		//tframe: If the url is a document location, tframe is the target frame where this document will be opened.
		//------------------------------
		//Version 1.3
		//
		HideAll();
		window.setTimeout("execURL2('" + escape(_purl(url)) + "', '" + tframe + "')", 100);
	}
	
	function execURL2(url, tframe) {
		//IE,NS,SM,OP,KQ
		//This function is called every time a command is triggered to jump to another page or execute some javascript code.
		//------------------------------
		//url: Encrypted URL that must be opened or executed.
		//tframe: If the url is a document location, tframe is the target frame where this document will be opened.
		//------------------------------
		//Version 2.1
		//
		var f = rStr(tframe);
var fObj = (tframe=='_blank'?window.open(''):(tframe=='_parent'?mFrame.parent:(f.indexOf('.')>0?null:eval(f))));
		if(!fObj && f.indexOf(".")!=-1) {
			f = f.split(".");
			f = xrep(xrep(f[f.length-1], "frames['", ""), "']", "");
			fObj = findFrame(top.frames, f);
		}
		url = rStr(unescape(url));
		url.indexOf("javascript:")!=url.indexOf("vbscript:")?eval(url):fObj.location.href = url;
	}
	
	function findFrame(fc, fn) {
		//IE,NS,SM,OP,KQ
		//This recursive function is used to find a frame when the target frame path specified
		//on a menu item does not exists.
		//------------------------------
		//Version 1.0
		//
		var ff;
		for(var i=0; i<fc.length; i++) {
			if(fc[i].name == fn)
				ff = fc[i];
			else
				if(fc[i].frames.length) ff = findFrame(fc[i].frames, fn);
			if(ff) return ff;
		}
		return null;
	}

	function rStr(s) {
		//IE,NS,SM,OP,KQ
		//This function is used to decrypt the URL parameter from the triggered command.
		//------------------------------
		//Version 1.2
		//
		s = xrep(s,"%1E", "'");
		s = xrep(s,"\x1E", "'");
		if(OP&&s.indexOf("frames[")!=-1)
			s = xrep(s,String.fromCharCode(s.charCodeAt(7)), "'");
		return xrep(s,"\x1D", "\x22");
	}

	function hNSCClick(e) {
		//NS
		//This function executes the selected command's trigger code.
		//------------------------------
		//Version 1.0
		//
		eval(this.TCode);
	}
	
	function HideAll() {
		//IE,NS,SM,OP,KQ
		//This function will hide all the currently opened menus.
		//------------------------------
		//Version 1.1
		//
		if(nOM)
			while(nOM>0) Hide();
		else Hide();
	}
	
	function tHideAll() {
		//IE,NS,SM,OP,KQ
		//This function is called when the mouse is moved away from a hotspot to close any opened menu.
		//------------------------------
		//Version 1.2
		//
		IsOverHS = false;
		HTHnd[nOM] = window.setTimeout("if(!InMenu()&&!InTBHotSpot())HideAll(); else HTHnd[nOM]=0;", TimerHideDelay);
	}
	
	function GetLeftTop(f) {
		//IE,NS,SM,OP,KQ
		//This function returns the scroll bars position on the menus frame.
		//------------------------------
		//Version 2.7
		//
		if(!f) f = mFrame;
		if(IE)
			if(SM)
				return [OP?f.pageXOffset:f.scrollX,OP?pageYOffset:f.scrollY];
			else
				return [GetBodyObj(f).scrollLeft,GetBodyObj(f).scrollTop];
		if(NS)
			return [f.pageXOffset,f.pageYOffset];
	}

	function GetWidthHeight(f) {
		//IE,NS,SM,OP,KQ
		//This function returns the width and height of the menus frame.
		//------------------------------
		//Version 2.5
		//
		if(!f) f = mFrame;
		if(NS||SM) {
			var k = (OP||KQ?0:f.scrollbars.visible?20:0);
			return [f.innerWidth-k,f.innerHeight-k];
		} else
			return [GetBodyObj(f).clientWidth,GetBodyObj(f).clientHeight];
	}
	
	function GetBodyObj(f) {
		//IE
		//
		//------------------------------
		//Version 1.0
		//
		return (f.document.compatMode=="BackCompat"||BV<6||IsMac)?f.document.body:f.document.documentElement;
	}
	
	function GetBorderWidth(b) {
		//IE,SM
		//This functions returns the width of a border
		//------------------------------
		//Version 1.3
		//
		if(OP&&BV<7) return 0;
		var w;
		var l = b.split(" ");
		for(var i=0; i<l.length; i++)
			if(l[i].indexOf("px")!=-1) {
				w = parseInt(l[i]);
				if(w>0) return w;
			}
		return 0;
	}
	
	function GetCStyle(cmc) {
		//IE,SM,OP
		//This function completes the style of command with all the common
		//parameters from the original style code.
		//------------------------------
		//Version 1.0
		//
		return "position: absolute; white-space: nowrap; left:" + cmc.left + 
			   "; top: " + cmc.top + 
			   "; width: " + (OP?cmc.pixelWidth:cmc.width) + 
			   "; height: " + (OP?cmc.pixelHeight:cmc.height) + "; ";
	}
	
	function AutoPos(m, img, arl) {
		//IE,NS,SM,OP,KQ
		//This function finds the image-based hotspot and returns the position at which 
		//the menu should be displayed based on the alignment setting.
		//------------------------------
		//Version 1.5
		//
		var x = GetImgXY(img)[0];
		var y = GetImgXY(img)[1];
		var iWH = GetImgWH(img);
		var mW = parseInt(NS?m.w:m.width);
		var mH = parseInt(NS?m.h:m.height);
			
		switch(arl) {
			case 0:
				y += iWH[1];
				break;
			case 1:
				x += iWH[0] - mW;
				y += iWH[1];
				break;
			case 2:
				y -= mH;
				break;
			case 3:
				x += iWH[0] - mW;
				y -= mH;
				break;
			case 4:
				x -= mW;
				break;
			case 5:
				x -= mW;
				y -= mH - iWH[1];
				break;
			case 6:
				x += iWH[0];
				break;
			case 7:
				x += iWH[0];
				y -= mH - iWH[1];
				break;
			case 8:
				x -= mW;
				y += (iWH[1] - mH)/2;
				break;
			case 9:
				x += iWH[0];
				y += (iWH[1] - mH)/2;
				break;
			case 10:
				x += (iWH[0] - mW)/2;
				y -= mH;
				break;
			case 11:
				x += (iWH[0] - mW)/2;
				y += iWH[1];
				break;
		}		
		return [x, y];
	}

	function GetImgXY(img) {
		//IE,NS,SM,OP,KQ
		//This function returns the x,y coordinates of an image.
		//------------------------------
		//Version 1.3
		//
		var x;
		var y;
			
		if(IE)	{
			x = getOffset(img)[0];
			y = getOffset(img)[1];
		} else	{
			y = GetImgOffset(cFrame, img.name, 0, 0);
			x = img.x + y[0];
			y = img.y + y[1];
		}			
		return [x, y];		
	}

	function GetImgWH(img) {
		//IE,NS,SM,OP,KQ
		//This function returns the width and height of an image.
		//------------------------------
		//Version 1.2
		//
		return [parseInt(img.width), parseInt(img.height)];
	}

	function getOffset(img) {
		//IE,NS,SM,OP,KQ
		//This function returns the horizontal and vertical offset of an object.
		//------------------------------
		//Version 1.1
		//
		x = img.offsetLeft;
		y = img.offsetTop;
		ce= img.offsetParent;
		while (ce!=null)	{
			y += ce.offsetTop;
			x += ce.offsetLeft;
			ce = ce.offsetParent;
		}
		return [x,y];
	}
	
	function FindImage(d, img) {
		//NS
		//This function finds an image regardless of its location in the document structure.
		//------------------------------
		//Version 1.0
		//
		var i;
		var tmp;
		
		if(d.images[img]) return d.images[img];
		
		for(i=0; i<d.layers.length; i++) {
			tmp = FindImage(d.layers[i].document, img);
			if(tmp) return tmp;
		}
		return null;
	}

	function GetImgOffset(d, img, ox, oy) {
		//NS
		//This function finds the offset to an image regardless of its location in the document structure.
		//------------------------------
		//Version 1.0
		//
		var i;
		var tmp;
		
		if(d.left) {
			ox += d.left;
			oy += d.top;
		}
				
		if(d.document.images[img]) return [ox, oy];
		
		for(i=0; i<d.document.layers.length; i++) {
			tmp = GetImgOffset(d.document.layers[i], img, ox, oy);
			if(tmp) return [tmp[0], tmp[1]];
		}		
		return null;
	}
	
	function AutoHide() {
		//IE,NS,SM,OP,KQ
		//This function hides the menus, even when a submenu is open and no
		//command has been selected.
		//------------------------------
		//Version 1.1
		//
		var original_nOM = nOM;
		var OktoClose = true;
		for(;nOM>0;nOM--)
			if(InMenu()) {
				OktoClose = false;
				break;
			}
		nOM = original_nOM;
		if(OktoClose&&!IsOverHS)
			Hide();
		
		if(nOM) if(!InMenu()) tmrHideHnd = window.setTimeout("AutoHide()", TimerHideDelay);
	}
	
	function ShowContextMenu(e) {
		//IE,NS,SM
		//This function is called when a user rightclicks on the document and it will show a predefined menu.
		//------------------------------
		//Version 1.3
		//
		if(cntxMenu!='') {
			if(IE) {
				IsContext = true;
				SetPointerPos(e);
			}			
			if(NS)
				if(e.which==3) {
					IsContext = true;
					mX = e.x;
					mY = e.y;
				}
		}
		if(IsContext) {
			HideAll();
			cFrame.ShowMenu(cntxMenu, mX-1, mY-1, false);
			return false;
		}
		return true;
	}

	function SetUpEvents() {
		//IE,NS,SM,OP,KQ
		//This function initializes the frame variables and setups the event handling.
		//------------------------------
		//Version 2.8
		//
		if(!SM) onerror = errHandler;
		if(!mFrame) mFrame = cFrame;
		if(typeof(mFrame)=="undefined" || (NS && (++NSDelay<2)))
			window.setTimeout("SetUpEvents()",10);
		else {
			IsFrames = (cFrame!=mFrame);
			if(NS) {
				mFrame.captureEvents(Event.MOUSEMOVE);
				mFrame.onmousemove = HideMenus;
				if(cntxMenu!="") {
					mFrame.window.captureEvents(Event.MOUSEDOWN);
					mFrame.window.onmousedown = ShowContextMenu;
				}
				nsOW = GetWidthHeight()[0];
				nsOH = GetWidthHeight()[1];
				window.onresize = rHnd;
				PrepareEvents();
			}
			if(IE) {
				document.onmousemove = HideMenus;
				mFrame.document.onmousemove = document.onmousemove;
				mFrame.document.oncontextmenu = ShowContextMenu;
				if(IsFrames) mFrame.onunload = new Function("mFrame=null;SetUpEvents()");
				if(SM&&!OP) {
					var i = 0;
					var m;
					while(GetObj(i)) {
						m = GetObj(i++);
						m.style.width = parseInt(m.style.width) - 2*parseInt(m.style.paddingLeft) + "px";
						m.style.height = parseInt(m.style.height) - 2*parseInt(m.style.paddingTop) + "px";
					}
				}
			}

			MenusReady = true;
			if(IE) FixImages();
		}


		
		return true;
	}
	
	function errHandler(sMsg,sUrl,sLine) {
		//IE,NS
		//This function will trap any errors generated by the scripts and filter the unhandled ones.
		//------------------------------
		//Version 1.1
		//
		if(sMsg.substr(0,16)!="Access is denied"&&sMsg!="Permission denied"&&sMsg.indexOf("cursor")==-1)
			alert("Java Script Error\n" +
			      "\nDescription: " + sMsg +
			      "\nSource: " + sUrl +
			      "\nLine: "+sLine);
		return true;
	}
	
	function FixPos(p, s, r, k) {
		//IE,NS,SM,OP,KQ
		//This function optimizes the position of the menus in order to ensure that they are always
		//displayed inside the browser's visible area.
		//------------------------------
		//Version 2.0
		//
		var n;
		if(nOM==0||k==1)
			n = (p+s>r)?r-s:p;
		else
			n = (p+s>r)?parseInt(OpenMenus[nOM].left)-s:p;
		return (n<0)?0:n;
	}
	
	function FixPointSize(s) {
		//NS
		//This function increases the point-size value for Navigator 4.
		//------------------------------
		//Version 2.0
		//
		if(IsWin||!NS) return s;
		for(var i=54; i>1; i--)
			if(s.indexOf("point-size=" + i)!=-1)
				s = xrep(s, "point-size=" + i, "point-size=" + (i+3));
		return s;
	}
	
	function ClearTimer(t) {
		//IE,NS,SM,OP,KQ
		//This is a helper function used to overcome a bug in very
		//old versions of Navigator 4
		//------------------------------
		//Version 1.0
		//
		if(t) window.clearTimeout(t);
	}
	
	function xrep(s, f, n) {
		//IE,NS,SM,OP,KQ
		//This function looks for any occurrence of the f string and replaces it with the n string.
		//------------------------------
		//Version 1.2
		//
		if(s) s = s.split(f).join(n);
		return s;
	}
	
	function rHnd() {
		//NS
		//This function is used to reload the page when Navigator window is resized.
		//Original Code from DHTML Lab
		//------------------------------
		//Version 1.0
		//
		if((GetWidthHeight()[0]!=nsOW) || (GetWidthHeight()[1]!=nsOH))
			frames["top"].location.reload();
	}
	
	function FixCursor(mcs, s) {
		//IE
		//This function fixes a bug that affects IE6 and custom cursors.
		//------------------------------
		//Version 1.0
		//
		if(mcs.cursor=="")
			mcs.cursor = (BV<6?"default":s.split("cursor: url(")[1].split(")")[0]);
	}
	
	function GetObj(oName, f) {
		//IE,NS,SM,OP,KQ
		//This function returns the object whose name is oName and its located in the f frame.
		//------------------------------
		//Version 1.1
		//
		var obj = null;
		if(!f) f = mFrame;
		if(NS)
			obj = f.document.layers[oName];
		else {
			if(BV>=5)
				obj = f.document.getElementById(oName);
			else
				obj = f.document.all[oName];
			if(obj)
				if(obj.id!=oName) obj = null;
		}
		return obj;
	}

	function PrepareEvents() {
		//NS
		//This function is called right after the menus are rendered.
		//It has been designed to attach the event handlers to the <layer> tag and
		//fix the font size problems with Navigator under the Mac and Linux.
		//------------------------------
		//Version 4.1
		//
		for(var l=0; l<mFrame.document.layers.length; l++) {
			var lo = mFrame.document.layers[l];
			if(lo.layers.length) {
				lo.w = lo.clip.width;
				lo.h = lo.clip.height;
				for(var sx=0; sx<lo.layers.length; sx++)
					for(var sl=0; sl<lo.layers[sx].layers.length; sl++) {
						var slo = mFrame.document.layers[l].layers[sx].layers[sl];
						if(slo.name.indexOf("EH")>0) {
							slo.document.onmouseup = hNSCClick;
							slo.document.TCode = nTCode[slo.name.split("EH")[1]];
						}
					}
				for(var t=1; t<=tbNum; t++)				for(var sl=0; sl<cFrame.document.layers['dmbTB'+t].layers.length; sl++) {
					slo = cFrame.document.layers['dmbTB'+t].layers[sl];
					if(slo.name.indexOf('EH')>0) {
						slo.document.onmouseup = hNSCClick;
						slo.document.TCode = nTCode[slo.name.split('EH')[1]];
					}
				}

			}
		}
	}
	
	if(IE)
		with(document) {
			open();
			write("<div id=dmbTBBack1 style=\"position:absolute; overflow:hidden; z-index:998; visibility:hidden; width:142px; height:171px; background-color: #381DC8; border: 0px solid #381DC8;\"></div><div id=dmbTB1 style=\"position:absolute; z-index:999; visibility:hidden; width:142px; height:171px;\"><div nowrap id=1001 style=\"position: absolute; white-space: nowrap; top:0px; left:0px; width:142px; height:19px; border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #F7F7F7; background-color: #3415C5;\" OnMouseOver=\"if(!HTHnd[nOM])cFrame.IsOverHS=true;hsHoverSel(0,\'\',\'\',this);\" OnClick=\"cFrame.execURL(\'../index.html\', \'this\');\" OnMouseOut=\"if(lmcHS)hsHoverSel(1);\"><span style=\"position:absolute; top: 3px; left: 8px; width: 126px; height: 13px;\"><div style=\"position:absolute; top:0px; width:126px; left:0px;\" align=left>Home</div></span></div><div nowrap id=1002 style=\"position: absolute; white-space: nowrap; top:19px; left:0px; width:142px; height:19px; border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #F7F7F7; background-color: #3415C5;\" OnMouseOver=\"if(!HTHnd[nOM])cFrame.IsOverHS=true;hsHoverSel(0,\'\',\'\',this);\" OnClick=\"cFrame.execURL(\'../coth/chairman.html\', \'this\');\" OnMouseOut=\"if(lmcHS)hsHoverSel(1);\"><span style=\"position:absolute; top: 3px; left: 8px; width: 126px; height: 13px;\"><div style=\"position:absolute; top:0px; width:126px; left:0px;\" align=left>Chairman\'s Message</div></span></div><div nowrap id=1003 style=\"position: absolute; white-space: nowrap; top:38px; left:0px; width:142px; height:19px; border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #F7F7F7; background-color: #3415C5;\" OnMouseOver=\"if(!HTHnd[nOM])cFrame.IsOverHS=true;hsHoverSel(0,\'\',\'\',this);\" OnClick=\"cFrame.execURL(\'../coth/whatsnew.html\', \'this\');\" OnMouseOut=\"if(lmcHS)hsHoverSel(1);\"><span style=\"position:absolute; top: 3px; left: 8px; width: 126px; height: 13px;\"><div style=\"position:absolute; top:0px; width:126px; left:0px;\" align=left>Whats New</div></span></div><div nowrap id=1004 style=\"position: absolute; white-space: nowrap; top:57px; left:0px; width:142px; height:19px; border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #F7F7F7; background-color: #3415C5;\" OnMouseOver=\"hsHoverSel(0,\'\',\'\',this);cFrame.ShowMenu(\'Calendar_of_Events\',GetHSPos(4,6,161,39, 1)[0],GetHSPos(4,6,161,39,1)[1],false);\" OnClick=\"cFrame.execURL(\'../coth/calendar.html\', \'this\');\" OnMouseOut=\"tHideAll();\"><span style=\"position:absolute; top: 3px; left: 8px; width: 126px; height: 13px;\"><div style=\"position:absolute; top:0px; width:126px; left:0px;\" align=left>Calendar of Events</div></span></div><div nowrap id=1005 style=\"position: absolute; white-space: nowrap; top:76px; left:0px; width:142px; height:19px; border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #F7F7F7; background-color: #3415C5;\" OnMouseOver=\"hsHoverSel(0,\'\',\'\',this);cFrame.ShowMenu(\'CME_Community\',GetHSPos(5,6,206,19, 1)[0],GetHSPos(5,6,206,19,1)[1],false);\" OnMouseOut=\"tHideAll();\"><span style=\"position:absolute; top: 3px; left: 8px; width: 126px; height: 13px;\"><div style=\"position:absolute; top:0px; width:126px; left:0px;\" align=left>CME Opportunities</div></span></div><div nowrap id=1006 style=\"position: absolute; white-space: nowrap; top:95px; left:0px; width:142px; height:19px; border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #F7F7F7; background-color: #3415C5;\" OnMouseOver=\"hsHoverSel(0,\'\',\'\',this);cFrame.ShowMenu(\'CASPR_CRIP\',GetHSPos(6,6,157,39, 1)[0],GetHSPos(6,6,157,39,1)[1],false);\" OnMouseOut=\"tHideAll();\"><span style=\"position:absolute; top: 3px; left: 8px; width: 126px; height: 13px;\"><div style=\"position:absolute; top:0px; width:126px; left:0px;\" align=left>CASPR/CRIP</div></span></div><div nowrap id=1007 style=\"position: absolute; white-space: nowrap; top:114px; left:0px; width:142px; height:19px; border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #F7F7F7; background-color: #3415C5;\" OnMouseOver=\"hsHoverSel(0,\'\',\'\',this);cFrame.ShowMenu(\'Podiatry_Organizations\',GetHSPos(7,6,107,79, 1)[0],GetHSPos(7,6,107,79,1)[1],false);\" OnMouseOut=\"tHideAll();\"><span style=\"position:absolute; top: 3px; left: 8px; width: 126px; height: 13px;\"><div style=\"position:absolute; top:0px; width:126px; left:0px;\" align=left>Podiatric Organizations</div></span></div><div nowrap id=1008 style=\"position: absolute; white-space: nowrap; top:133px; left:0px; width:142px; height:19px; border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #F7F7F7; background-color: #3415C5;\" OnMouseOver=\"if(!HTHnd[nOM])cFrame.IsOverHS=true;hsHoverSel(0,\'\',\'\',this);\" OnClick=\"cFrame.execURL(\'../coth/publicsurveys.html\', \'this\');\" OnMouseOut=\"if(lmcHS)hsHoverSel(1);\"><span style=\"position:absolute; top: 3px; left: 8px; width: 126px; height: 13px;\"><div style=\"position:absolute; top:0px; width:126px; left:0px;\" align=left>Public Surveys</div></span></div><div nowrap id=1009 style=\"position: absolute; white-space: nowrap; top:152px; left:0px; width:142px; height:19px; border: 0px solid #000000; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #F7F7F7; background-color: #3415C5;\" OnMouseOver=\"if(!HTHnd[nOM])cFrame.IsOverHS=true;hsHoverSel(0,\'\',\'\',this);\" OnClick=\"cFrame.execURL(\'mailto:coth@aacpm.org\', \'this\');\" OnMouseOut=\"if(lmcHS)hsHoverSel(1);\"><span style=\"position:absolute; top: 3px; left: 8px; width: 126px; height: 13px;\"><div style=\"position:absolute; top:0px; width:126px; left:0px;\" align=left>Contact Us</div></span></div></div>");
			close();
		}
	if(NS)
		with(document) {
			open();
			write(FixPointSize("<layer name=dmbTBBack1 width=142 height=171 bgColor=#381DC8 z-index=998 visibility=hidden></layer><layer name=dmbTB1 width=142 height=171 z-index=999 visibility=hidden><layer name=MC1001EH1001 left=0 top=0 width=142 height=19 z-index=1001 OnMouseOver=\"if(!HTHnd[nOM])cFrame.IsOverHS=true;hsNSHoverSel(0,this);\" OnMouseOut=\"if(lmcHS)hsNSHoverSel(1);\"\"></layer><layer name=MC1001N left=0 top=0 width=142 height=19 z-index=1000 bgColor=#3415C5 visibility=inherit><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#F7F7F7><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Home</div></layer></layer></font></ilayer></layer><layer name=MC1001O left=0 top=0 width=142 height=19 z-index=1000 bgColor=#D4D4EE visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#030303><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Home</div></layer></layer></font></ilayer></layer><layer name=MC1002EH1002 left=0 top=19 width=142 height=19 z-index=1001 OnMouseOver=\"if(!HTHnd[nOM])cFrame.IsOverHS=true;hsNSHoverSel(0,this);\" OnMouseOut=\"if(lmcHS)hsNSHoverSel(1);\"\"></layer><layer name=MC1002N left=0 top=19 width=142 height=19 z-index=1000 bgColor=#3415C5 visibility=inherit><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#F7F7F7><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Chairman\'s Message</div></layer></layer></font></ilayer></layer><layer name=MC1002O left=0 top=19 width=142 height=19 z-index=1000 bgColor=#D4D4EE visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#030303><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Chairman\'s Message</div></layer></layer></font></ilayer></layer><layer name=MC1003EH1003 left=0 top=38 width=142 height=19 z-index=1001 OnMouseOver=\"if(!HTHnd[nOM])cFrame.IsOverHS=true;hsNSHoverSel(0,this);\" OnMouseOut=\"if(lmcHS)hsNSHoverSel(1);\"\"></layer><layer name=MC1003N left=0 top=38 width=142 height=19 z-index=1000 bgColor=#3415C5 visibility=inherit><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#F7F7F7><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>What\'s New</div></layer></layer></font></ilayer></layer><layer name=MC1003O left=0 top=38 width=142 height=19 z-index=1000 bgColor=#D4D4EE visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#030303><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>What\'s New</div></layer></layer></font></ilayer></layer><layer name=MC1004EH1004 left=0 top=57 width=142 height=19 z-index=1001 OnMouseOver=\"hsNSHoverSel(0,this);cFrame.ShowMenu(\'Calendar_of_Events\',GetHSPos(4,6,161,39,1)[0],GetHSPos(4,6,161,39,1)[1],false);\" OnMouseOut=\"tHideAll();\"\"></layer><layer name=MC1004N left=0 top=57 width=142 height=19 z-index=1000 bgColor=#3415C5 visibility=inherit><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#F7F7F7><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Calendar of Events</div></layer></layer></font></ilayer></layer><layer name=MC1004O left=0 top=57 width=142 height=19 z-index=1000 bgColor=#D4D4EE visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#030303><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Calendar of Events</div></layer></layer></font></ilayer></layer><layer name=MC1005EH1005 left=0 top=76 width=142 height=19 z-index=1001 OnMouseOver=\"hsNSHoverSel(0,this);cFrame.ShowMenu(\'CME_Community\',GetHSPos(5,6,206,19,1)[0],GetHSPos(5,6,206,19,1)[1],false);\" OnMouseOut=\"tHideAll();\"\"></layer><layer name=MC1005N left=0 top=76 width=142 height=19 z-index=1000 bgColor=#3415C5 visibility=inherit><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#F7F7F7><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>CME Opportunities</div></layer></layer></font></ilayer></layer><layer name=MC1005O left=0 top=76 width=142 height=19 z-index=1000 bgColor=#D4D4EE visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#030303><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>CME Opportunities</div></layer></layer></font></ilayer></layer><layer name=MC1006EH1006 left=0 top=95 width=142 height=19 z-index=1001 OnMouseOver=\"hsNSHoverSel(0,this);cFrame.ShowMenu(\'CASPR_CRIP\',GetHSPos(6,6,157,39,1)[0],GetHSPos(6,6,157,39,1)[1],false);\" OnMouseOut=\"tHideAll();\"\"></layer><layer name=MC1006N left=0 top=95 width=142 height=19 z-index=1000 bgColor=#3415C5 visibility=inherit><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#F7F7F7><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>CASPR/CRIP</div></layer></layer></font></ilayer></layer><layer name=MC1006O left=0 top=95 width=142 height=19 z-index=1000 bgColor=#D4D4EE visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#030303><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>CASPR/CRIP</div></layer></layer></font></ilayer></layer><layer name=MC1007EH1007 left=0 top=114 width=142 height=19 z-index=1001 OnMouseOver=\"hsNSHoverSel(0,this);cFrame.ShowMenu(\'Podiatry_Organizations\',GetHSPos(7,6,107,79,1)[0],GetHSPos(7,6,107,79,1)[1],false);\" OnMouseOut=\"tHideAll();\"\"></layer><layer name=MC1007N left=0 top=114 width=142 height=19 z-index=1000 bgColor=#3415C5 visibility=inherit><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#F7F7F7><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Podiatric Organizations</div></layer></layer></font></ilayer></layer><layer name=MC1007O left=0 top=114 width=142 height=19 z-index=1000 bgColor=#D4D4EE visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#030303><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Podiatric Organizations</div></layer></layer></font></ilayer></layer><layer name=MC1008EH1008 left=0 top=133 width=142 height=19 z-index=1001 OnMouseOver=\"if(!HTHnd[nOM])cFrame.IsOverHS=true;hsNSHoverSel(0,this);\" OnMouseOut=\"if(lmcHS)hsNSHoverSel(1);\"\"></layer><layer name=MC1008N left=0 top=133 width=142 height=19 z-index=1000 bgColor=#3415C5 visibility=inherit><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#F7F7F7><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Public Surveys</div></layer></layer></font></ilayer></layer><layer name=MC1008O left=0 top=133 width=142 height=19 z-index=1000 bgColor=#D4D4EE visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#030303><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Public Surveys</div></layer></layer></font></ilayer></layer><layer name=MC1009EH1009 left=0 top=152 width=142 height=19 z-index=1001 OnMouseOver=\"if(!HTHnd[nOM])cFrame.IsOverHS=true;hsNSHoverSel(0,this);\" OnMouseOut=\"if(lmcHS)hsNSHoverSel(1);\"\"></layer><layer name=MC1009N left=0 top=152 width=142 height=19 z-index=1000 bgColor=#3415C5 visibility=inherit><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#F7F7F7><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Contact Us</div></layer></layer></font></ilayer></layer><layer name=MC1009O left=0 top=152 width=142 height=19 z-index=1000 bgColor=#D4D4EE visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#030303><layer left=0 top=0 width=126 height=13><layer top=0 width=126 left=0><div align=left>Contact Us</div></layer></layer></font></ilayer></layer></layer>"));
			close();
		}


function FixImages(){;}function _purl(u){return u;}function _fip(img){return img.src;}
	if(IE)
		with(document) {
			open();
			write("<div id=\"Home\" style=\"position: absolute; top:0px; left:0px;; width:0px; height:-1px; visibility: hidden;\"><div id=\"Homefrmt\" style=\"position: absolute; top:0px; left:0px; width: 0px; height: -1px; background-color: #C0C0C0; \"></div></div><div id=\"Chairman_s_Message\" style=\"position: absolute; top:0px; left:0px;; width:0px; height:-1px; visibility: hidden;\"><div id=\"Chairman_s_Messagefrmt\" style=\"position: absolute; top:0px; left:0px; width: 0px; height: -1px; background-color: #C0C0C0; \"></div></div><div id=\"What_s_New\" style=\"position: absolute; top:0px; left:0px;; width:0px; height:-1px; visibility: hidden;\"><div id=\"What_s_Newfrmt\" style=\"position: absolute; top:0px; left:0px; width: 0px; height: -1px; background-color: #C0C0C0; \"></div></div><div id=\"Calendar_of_Events\" style=\"position: absolute; top:0px; left:0px;; width:161px; height:39px; visibility: hidden;\"><div id=\"Calendar_of_Eventsfrmt\" style=\"position: absolute; top:0px; left:0px; width: 161px; height: 39px; background-color: #C0C0C0; \"><div nowrap style=\"position: absolute; white-space: nowrap; top: 0px; left: 0px; width: 161px; height: 19px; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #000000; border: 0px solid #000000; background-color: #C0C0C0; cursor: default;\" id=0 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'../coth/cothadminmtngs.html\', \'this\');\"><span style=\"position:absolute; top: 3px; left: 8px; width: 145px; height: 13px;\"><div style=\"position:absolute; top:0px; width:145px; left:0px;\" align=left>COTH Administrative Meetings</div></span></div><div nowrap style=\"position: absolute; white-space: nowrap; top: 20px; left: 0px; width: 161px; height: 19px; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #000000; border: 0px solid #000000; background-color: #C0C0C0; cursor: default;\" id=1 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'../coth/cmeactivities.html\', \'this\');\"><span style=\"position:absolute; top: 3px; left: 8px; width: 145px; height: 13px;\"><div style=\"position:absolute; top:0px; width:145px; left:0px;\" align=left>CME Activities</div></span></div></div></div><div id=\"CME_Community\" style=\"position: absolute; top:0px; left:0px;; width:206px; height:19px; visibility: hidden;\"><div id=\"CME_Communityfrmt\" style=\"position: absolute; top:0px; left:0px; width: 206px; height: 19px; background-color: #C0C0C0; \"><div nowrap style=\"position: absolute; white-space: nowrap; top: 0px; left: 0px; width: 206px; height: 19px; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #000000; border: 0px solid #000000; background-color: #C0C0C0; cursor: default;\" id=2 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'../coth/confreg.html\', \'this\');\"><span style=\"position:absolute; top: 3px; left: 8px; width: 190px; height: 13px;\"><div style=\"position:absolute; top:0px; width:190px; left:0px;\" align=left>Conference Registration Materials</div></span></div></div></div><div id=\"CASPR_CRIP\" style=\"position: absolute; top:0px; left:0px;; width:157px; height:39px; visibility: hidden;\"><div id=\"CASPR_CRIPfrmt\" style=\"position: absolute; top:0px; left:0px; width: 157px; height: 39px; background-color: #C0C0C0; \"><div nowrap style=\"position: absolute; white-space: nowrap; top: 0px; left: 0px; width: 157px; height: 19px; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #000000; border: 0px solid #000000; background-color: #C0C0C0; cursor: default;\" id=3 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'../coth/caspr_program_calendar.html\', \'this\');\"><span style=\"position:absolute; top: 3px; left: 8px; width: 141px; height: 13px;\"><div style=\"position:absolute; top:0px; width:141px; left:0px;\" align=left>Program Schedule</div></span></div><div nowrap style=\"position: absolute; white-space: nowrap; top: 20px; left: 0px; width: 157px; height: 19px; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #000000; border: 0px solid #000000; background-color: #C0C0C0; cursor: default;\" id=4 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'http://www.casprcrip.org/\', \'_blank\');\"><span style=\"position:absolute; top: 3px; left: 8px; width: 141px; height: 13px;\"><div style=\"position:absolute; top:0px; width:141px; left:0px;\" align=left>CASPR CRIP Login</div></span></div></div></div><div id=\"Podiatry_Organizations\" style=\"position: absolute; top:0px; left:0px;; width:107px; height:79px; visibility: hidden;\"><div id=\"Podiatry_Organizationsfrmt\" style=\"position: absolute; top:0px; left:0px; width: 107px; height: 79px; background-color: #C0C0C0; \"><div nowrap style=\"position: absolute; white-space: nowrap; top: 0px; left: 0px; width: 107px; height: 19px; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #000000; border: 0px solid #000000; background-color: #C0C0C0; cursor: default;\" id=5 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'http://www.aacpm.org/residencies/index.asp\', \'_blank\');\"><span style=\"position:absolute; top: 3px; left: 8px; width: 91px; height: 13px;\"><div style=\"position:absolute; top:0px; width:91px; left:0px;\" align=left>AACPM residencies</div></span></div><div nowrap style=\"position: absolute; white-space: nowrap; top: 20px; left: 0px; width: 107px; height: 19px; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #000000; border: 0px solid #000000; background-color: #C0C0C0; cursor: default;\" id=6 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'http://www.aacpm.org/\', \'_blank\');\"><span style=\"position:absolute; top: 3px; left: 8px; width: 91px; height: 13px;\"><div style=\"position:absolute; top:0px; width:91px; left:0px;\" align=left>AACPM</div></span></div><div nowrap style=\"position: absolute; white-space: nowrap; top: 40px; left: 0px; width: 107px; height: 19px; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #000000; border: 0px solid #000000; background-color: #C0C0C0; cursor: default;\" id=7 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'http://www.cpme.org\', \'_blank\');\"><span style=\"position:absolute; top: 3px; left: 8px; width: 91px; height: 13px;\"><div style=\"position:absolute; top:0px; width:91px; left:0px;\" align=left>CPME</div></span></div><div nowrap style=\"position: absolute; white-space: nowrap; top: 60px; left: 0px; width: 107px; height: 19px; font-family: Tahoma; font-size: 11px; font-weight: normal; font-style: normal; text-decoration: none; color: #000000; border: 0px solid #000000; background-color: #C0C0C0; cursor: default;\" id=8 OnMouseOver=\"cFrame.HoverSel(0,\'\',\'\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'http://www.apma.org/\', \'_blank\');\"><span style=\"position:absolute; top: 3px; left: 8px; width: 91px; height: 13px;\"><div style=\"position:absolute; top:0px; width:91px; left:0px;\" align=left>APMA</div></span></div></div></div><div id=\"Public_Surveys\" style=\"position: absolute; top:0px; left:0px;; width:0px; height:-1px; visibility: hidden;\"><div id=\"Public_Surveysfrmt\" style=\"position: absolute; top:0px; left:0px; width: 0px; height: -1px; background-color: #C0C0C0; \"></div></div><div id=\"Contact_Us\" style=\"position: absolute; top:0px; left:0px;; width:0px; height:-1px; visibility: hidden;\"><div id=\"Contact_Usfrmt\" style=\"position: absolute; top:0px; left:0px; width: 0px; height: -1px; background-color: #C0C0C0; \"></div></div>");
			close();
		}
	if(NS)
		with(document) {
			open();
			write(FixPointSize("<layer name=Home top=0 left=0 width=0 height=-1 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=0 top=0 width=0 height=-1 z-index=1001></layer></layer><layer name=Chairman_s_Message top=0 left=0 width=0 height=-1 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=0 top=0 width=0 height=-1 z-index=1001></layer></layer><layer name=What_s_New top=0 left=0 width=0 height=-1 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=0 top=0 width=0 height=-1 z-index=1001></layer></layer><layer name=Calendar_of_Events top=0 left=0 width=161 height=39 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=0 top=0 width=161 height=39 z-index=1001><layer name=MC1EH1 left=0 top=0 width=161 height=19 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'\';\"></layer><layer name=MC1N left=0 top=0 width=161 height=19 z-index=1002 bgColor=#C0C0C0><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#000000><layer left=0 top=0 width=145 height=13><layer top=0 width=145 left=0><div align=left>COTH Administrative Meetings</div></layer></layer></font></ilayer></layer><layer name=MC1O left=0 top=0 width=161 height=19 z-index=1002 bgColor=#0000FF visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#FFFFFF><layer left=0 top=0 width=145 height=13><layer top=0 width=145 left=0><div align=left>COTH Administrative Meetings</div></layer></layer></font></ilayer></layer><layer name=MC2EH2 left=0 top=20 width=161 height=19 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'\';\"></layer><layer name=MC2N left=0 top=20 width=161 height=19 z-index=1002 bgColor=#C0C0C0><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#000000><layer left=0 top=0 width=145 height=13><layer top=0 width=145 left=0><div align=left>CME Activities</div></layer></layer></font></ilayer></layer><layer name=MC2O left=0 top=20 width=161 height=19 z-index=1002 bgColor=#0000FF visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#FFFFFF><layer left=0 top=0 width=145 height=13><layer top=0 width=145 left=0><div align=left>CME Activities</div></layer></layer></font></ilayer></layer></layer></layer><layer name=CME_Community top=0 left=0 width=206 height=19 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=0 top=0 width=206 height=19 z-index=1001><layer name=MC3EH3 left=0 top=0 width=206 height=19 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'\';\"></layer><layer name=MC3N left=0 top=0 width=206 height=19 z-index=1002 bgColor=#C0C0C0><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#000000><layer left=0 top=0 width=190 height=13><layer top=0 width=190 left=0><div align=left>Conference Registration Materials</div></layer></layer></font></ilayer></layer><layer name=MC3O left=0 top=0 width=206 height=19 z-index=1002 bgColor=#0000FF visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#FFFFFF><layer left=0 top=0 width=190 height=13><layer top=0 width=190 left=0><div align=left>Conference Registration Materials</div></layer></layer></font></ilayer></layer></layer></layer><layer name=CASPR_CRIP top=0 left=0 width=157 height=39 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=0 top=0 width=157 height=39 z-index=1001><layer name=MC4EH4 left=0 top=0 width=157 height=19 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'\';\"></layer><layer name=MC4N left=0 top=0 width=157 height=19 z-index=1002 bgColor=#C0C0C0><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#000000><layer left=0 top=0 width=141 height=13><layer top=0 width=141 left=0><div align=left>2003-2004 Program Schedule</div></layer></layer></font></ilayer></layer><layer name=MC4O left=0 top=0 width=157 height=19 z-index=1002 bgColor=#0000FF visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#FFFFFF><layer left=0 top=0 width=141 height=13><layer top=0 width=141 left=0><div align=left>2003-2004 Program Schedule</div></layer></layer></font></ilayer></layer><layer name=MC5EH5 left=0 top=20 width=157 height=19 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'\';\"></layer><layer name=MC5N left=0 top=20 width=157 height=19 z-index=1002 bgColor=#C0C0C0><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#000000><layer left=0 top=0 width=141 height=13><layer top=0 width=141 left=0><div align=left>CASPR CRIP Login</div></layer></layer></font></ilayer></layer><layer name=MC5O left=0 top=20 width=157 height=19 z-index=1002 bgColor=#0000FF visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#FFFFFF><layer left=0 top=0 width=141 height=13><layer top=0 width=141 left=0><div align=left>CASPR CRIP Login</div></layer></layer></font></ilayer></layer></layer></layer><layer name=Podiatry_Organizations top=0 left=0 width=107 height=79 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=0 top=0 width=107 height=79 z-index=1001><layer name=MC6EH6 left=0 top=0 width=107 height=19 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'\';\"></layer><layer name=MC6N left=0 top=0 width=107 height=19 z-index=1002 bgColor=#C0C0C0><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#000000><layer left=0 top=0 width=91 height=13><layer top=0 width=91 left=0><div align=left>AACPM residencies</div></layer></layer></font></ilayer></layer><layer name=MC6O left=0 top=0 width=107 height=19 z-index=1002 bgColor=#0000FF visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#FFFFFF><layer left=0 top=0 width=91 height=13><layer top=0 width=91 left=0><div align=left>AACPM residencies</div></layer></layer></font></ilayer></layer><layer name=MC7EH7 left=0 top=20 width=107 height=19 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'\';\"></layer><layer name=MC7N left=0 top=20 width=107 height=19 z-index=1002 bgColor=#C0C0C0><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#000000><layer left=0 top=0 width=91 height=13><layer top=0 width=91 left=0><div align=left>AACPM</div></layer></layer></font></ilayer></layer><layer name=MC7O left=0 top=20 width=107 height=19 z-index=1002 bgColor=#0000FF visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#FFFFFF><layer left=0 top=0 width=91 height=13><layer top=0 width=91 left=0><div align=left>AACPM</div></layer></layer></font></ilayer></layer><layer name=MC8EH8 left=0 top=40 width=107 height=19 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'\';\"></layer><layer name=MC8N left=0 top=40 width=107 height=19 z-index=1002 bgColor=#C0C0C0><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#000000><layer left=0 top=0 width=91 height=13><layer top=0 width=91 left=0><div align=left>CPME</div></layer></layer></font></ilayer></layer><layer name=MC8O left=0 top=40 width=107 height=19 z-index=1002 bgColor=#0000FF visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#FFFFFF><layer left=0 top=0 width=91 height=13><layer top=0 width=91 left=0><div align=left>CPME</div></layer></layer></font></ilayer></layer><layer name=MC9EH9 left=0 top=60 width=107 height=19 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this);status=\'\';\"></layer><layer name=MC9N left=0 top=60 width=107 height=19 z-index=1002 bgColor=#C0C0C0><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#000000><layer left=0 top=0 width=91 height=13><layer top=0 width=91 left=0><div align=left>APMA</div></layer></layer></font></ilayer></layer><layer name=MC9O left=0 top=60 width=107 height=19 z-index=1002 bgColor=#0000FF visibility=hidden><ilayer left=8 top=3><font face=Tahoma point-size=8 color=#FFFFFF><layer left=0 top=0 width=91 height=13><layer top=0 width=91 left=0><div align=left>APMA</div></layer></layer></font></ilayer></layer></layer></layer><layer name=Public_Surveys top=0 left=0 width=0 height=-1 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=0 top=0 width=0 height=-1 z-index=1001></layer></layer><layer name=Contact_Us top=0 left=0 width=0 height=-1 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=0 top=0 width=0 height=-1 z-index=1001></layer></layer>"));
			close();
		}
SetUpEvents();

