//////////////////////////////////////////////////
// DMB DHTML ENGINE 1.2.8                       //
// (c)xFX JumpStart                             //
//                                              //
// PSN: 87477-TWB-1775-140C                     //
//                                              //
// GENERATED: 5/13/2002 - 3:12:57 PM            //
// -------------------------------------------- //
//  Config: Remote                              //
//   AddIn:                                     //
// JS Name: inside                              //
//////////////////////////////////////////////////


	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 HTHnd = new Array;
	var DoFormsTweak = true;
	var MenusReady = false;
	var SelSndId = 0;
	var NSFixedFonts = false;

	var nsOW;
	var nsOH;

	var mFrame;
	var cFrame;

	var OpenMenus = new Array;
	var nOM = 0;

	var mX;
	var mY;

	var HideSpeed = 300;
	var TimerHideDelay = 2000;
	var TimerHideHnd = 0;
	var IsOverHS = false;
	var cntxMenu = '';
	var IsContext = false;
	var IsFrames = false;

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 OP=(navigator.userAgent.indexOf('Opera')!=-1&&BV>=4)?true:false;
var NS=(BN.indexOf('Netscape')!=-1&&(BV>=4&&BV<5)&&!OP)?true:false;
var SM=(BN.indexOf('Netscape')!=-1&&(BV>=5)||OP)?true:false;
var IE=(BN.indexOf('Explorer')!=-1&&(BV>=4)||SM)?true:false;


	if(!eval(frames['self'])) {
		frames.self = window;
		frames.top = top;
	}

	cFrame = eval(frames['self']);

	var fx = 0;





	hStyle[0]="border: 1px outset white; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #CC3300; background-color: #FFFFFF; cursor: hand;";
	hStyle[1]="border: 1px outset white; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #CC3300; background-color: #FFFFFF; cursor: hand;";
	hStyle[2]="border: 1px outset white; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #CC3300; background-color: #FFFFFF; cursor: hand;";
	hStyle[3]="border: 1px outset white; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #CC3300; background-color: #FFFFFF; cursor: hand;";
	hStyle[4]="border: 1px outset white; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #CC3300; background-color: #FFFFFF; cursor: hand;";
	hStyle[5]="border: 1px outset white; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #CC3300; background-color: #FFFFFF; cursor: hand;";
	hStyle[6]="border: 1px outset white; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #CC3300; background-color: #FFFFFF; cursor: hand;";
	hStyle[7]="border: 1px outset white; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #CC3300; background-color: #FFFFFF; cursor: hand;";
	hStyle[8]="border: 1px outset white; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #CC3300; background-color: #FFFFFF; cursor: hand;";
	nTCode[1]="cFrame.execURL('/osmolality/general_information/index.htm', 'frames[self]');";
	nLayer[1]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#FFFFFF><layer left=1 top=1 width=117 height=10><layer top=-1 width=117 left=0><div align=left>Paper & Publications</layer></layer></font></ilayer>|";
	hLayer[1]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#CC3300><layer left=1 top=1 width=117 height=10><layer top=-1 width=117 left=0><div align=left>Paper & Publications</layer></layer></font></ilayer>|";
	nTCode[2]="cFrame.execURL('/osmolality/history/index.htm', 'frames[self]');";
	nLayer[2]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#FFFFFF><layer left=1 top=1 width=117 height=10><layer top=-1 width=117 left=0><div align=left>History</layer></layer></font></ilayer>|";
	hLayer[2]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#CC3300><layer left=1 top=1 width=117 height=10><layer top=-1 width=117 left=0><div align=left>History</layer></layer></font></ilayer>|";
	nTCode[3]="cFrame.execURL('/applications/hospital_clinics/index.htm', 'frames[self]');";
	nLayer[3]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#FFFFFF><layer left=1 top=1 width=85 height=10><layer top=-1 width=85 left=0><div align=left>Clinical</layer></layer></font></ilayer>|";
	hLayer[3]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#CC3300><layer left=1 top=1 width=85 height=10><layer top=-1 width=85 left=0><div align=left>Clinical</layer></layer></font></ilayer>|";
	nTCode[4]="cFrame.execURL('/applications/pharma/index.htm', 'frames[self]');";
	nLayer[4]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#FFFFFF><layer left=1 top=1 width=85 height=10><layer top=-1 width=85 left=0><div align=left>Biotech/Pharma</layer></layer></font></ilayer>|";
	hLayer[4]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#CC3300><layer left=1 top=1 width=85 height=10><layer top=-1 width=85 left=0><div align=left>Biotech/Pharma</layer></layer></font></ilayer>|";
	nTCode[5]="cFrame.execURL('/applications/sports_med/index.htm', 'frames[self]');";
	nLayer[5]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#FFFFFF><layer left=1 top=1 width=85 height=10><layer top=-1 width=85 left=0><div align=left>Sports Medicine</layer></layer></font></ilayer>|";
	hLayer[5]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#CC3300><layer left=1 top=1 width=85 height=10><layer top=-1 width=85 left=0><div align=left>Sports Medicine</layer></layer></font></ilayer>|";
	nTCode[6]="cFrame.execURL('/applications/drug_screening/index.htm', 'frames[self]');";
	nLayer[6]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#FFFFFF><layer left=1 top=1 width=85 height=10><layer top=-1 width=85 left=0><div align=left>Law Enforcement</layer></layer></font></ilayer>|";
	hLayer[6]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#CC3300><layer left=1 top=1 width=85 height=10><layer top=-1 width=85 left=0><div align=left>Law Enforcement</layer></layer></font></ilayer>|";
	nLayer[7]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#FFFFFF><layer left=1 top=1 width=82 height=10><layer top=-1 width=82 left=0><div align=left>Link to Products</layer></layer></font></ilayer>|";
	hLayer[7]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#CC3300><layer left=1 top=1 width=82 height=10><layer top=-1 width=82 left=0><div align=left>Link to Products</layer></layer></font></ilayer>|";
	nTCode[8]="javascript:dmbNW=window.open('http://www.aitests.com/','NewWindow','left='+0+',top='+0+',width='+400+',height='+400+',directories=1,channelmode=0,toolbar=1,fullscreen=0,location=1,menubar=1,resizable=1,scrollbars=1,status=1,titlebar=1');dmbNW.focus();";
	nLayer[8]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#FFFFFF><layer left=1 top=1 width=115 height=10><layer top=-1 width=115 left=0><div align=left>Advanced Instruments</layer></layer></font></ilayer>|";
	hLayer[8]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#CC3300><layer left=1 top=1 width=115 height=10><layer top=-1 width=115 left=0><div align=left>Advanced Instruments</layer></layer></font></ilayer>|";
	nTCode[9]="javascript:dmbNW=window.open('http://www.aitests.com/fskproduct.htm','NewWindow','left='+0+',top='+0+',width='+400+',height='+400+',directories=1,channelmode=0,toolbar=1,fullscreen=0,location=1,menubar=1,resizable=1,scrollbars=1,status=1,titlebar=1');dmbNW.focus();";
	nLayer[9]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#FFFFFF><layer left=1 top=1 width=115 height=10><layer top=-1 width=115 left=0><div align=left>FISKE Associates</layer></layer></font></ilayer>|";
	hLayer[9]="<ilayer left=3 top=2><font face=Verdana point-size=7 color=#CC3300><layer left=1 top=1 width=115 height=10><layer top=-1 width=115 left=0><div align=left>FISKE Associates</layer></layer></font></ilayer>|";


var tbUseToolbar = false;
var lmcHS = null;


	function GetCurCmd(e) {
		//IE,SM,OP
		//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.5
		//
		if(SM)
			var cc = e;
		else {
			var cc = mFrame.window.event;
			if(!cc)
				cc = cFrame.window.event;
			cc = cc.srcElement;
		}
		while(cc.id=="") {
			cc = cc.parentElement;
			if(cc==null)
				break;
		}
		return cc;
	}

	function HoverSel(mode, imgLName, imgRName, e) {
		//IE,SM,OP
		//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.1
		//
		var imgLRsc = new Image;
		var imgRRsc = new Image;
		var nStyle;
		var mc;
		
		if(mode==0 && OpenMenus[nOM].SelCommand!=null)
			HoverSel(1);
		
		if(mode==0) {
			mc = GetCurCmd(e);
			if(nOM>1) {
				if(mc==OpenMenus[nOM-1].SelCommand)
					return false;
				while(((BV>=5)?mc.parentNode.parentNode.id!=OpenMenus[nOM].mName:mc.parentElement.parentElement.id!=OpenMenus[nOM].mName))
						Hide();
			}
			if(imgLName!='_') imgLRsc = eval(imgLName+"On");
			if(imgRName!='_') imgRRsc = eval(imgRName+"On");
			if(OP)
				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;
			}
			OpenMenus[nOM].SelCommand = mc;
			OpenMenus[nOM].SelCommandPar = [imgLName,imgRName,SM?mc.getAttribute("style"):mc.style.cssText];
			if(SM) {
				IsOverHS = false;
				mc.setAttribute("style", GetCStyle(mc.style) + xrep(hStyle[mc.id],"hand","pointer"));
			} else
				mc.style.cssText = GetCStyle(mc.style) + hStyle[mc.id];
			if(SelSndId) PlaySound();
		} 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 = "";
			if(IsMac) mc.style.border = "0px none";
			if(SM)
				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 = imgLRsc.src;
		if(imgRName!='_') mFrame.document.images[imgRName].src = imgRRsc.src;
		
		if(!OP) 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.1
		//
		var hasBorder;
		var bw;
		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) {
					mc.cwidth = mc.style.width;
					mc.cheight = mc.style.height;
					mc.style.width = parseInt(mc.style.width) + 2*bw + "px";
					mc.style.height = parseInt(mc.style.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, bcolor) {
		//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.
		//mc: Name of the layer that corresponds to the selected command.
		//n: Unique ID that identifies this command. Used to retrieve the data from the nLayer or hLayer array.
		//bcolor: Background color of the command. Ignored if the group uses a background image.
		//w: Width of the command's layer.
		//h: Height of the command's layer.
		//------------------------------
		//Version 12.0
		//
		var n;
		var ocw;
		var och;
		var LayerHTML;
		
		ClearTimer(parseInt(HTHnd[nOM]));HTHnd[nOM] = 0;
		if(!nOM) return false;
		
		if(mode==0 && OpenMenus[nOM].SelCommand!=null)
			NSHoverSel(1);
		
		if(mode==0) {
			mc = mc.parentLayer.layers[mc.name.substr(0, mc.name.indexOf("EH"))];
			n = parseInt(mc.name.substr(2));
			if(nOM>1)
				if(mc==OpenMenus[nOM-1].SelCommand)
					return false;
			while(!InMenu()&&nOM>1)
				Hide();
			LayerHTML = hLayer[n];
			OpenMenus[nOM].SelCommand = mc;
			OpenMenus[nOM].SelCommandPar = mc.bgColor;
			mc.bgColor = (LayerHTML.split("|")[1]!="")?null:bcolor;
			if(SelSndId) PlaySound();
		} else {
			mc = (mode==1)?OpenMenus[nOM].SelCommand:OpenMenus[nOM].Opener;
			bcolor = (mode==1)?OpenMenus[nOM].SelCommandPar:OpenMenus[nOM].OpenerPar;
			n = parseInt(mc.name.substr(2));
			LayerHTML = nLayer[n];
			mc.bgColor = (mc.parentLayer.background.src!="" || LayerHTML.split("|")[1]!="")?null:bcolor;
			OpenMenus[nOM].SelCommand = null;
		}
		ocw = mc.clip.width;
		och = mc.clip.height;
		mc.document.write(LayerHTML.split("|")[0]);
		mc.document.close();
		mc.clip.width = ocw;
		mc.clip.height = och;
		if(LayerHTML.split("|")[1]!="") mc.background.src = LayerHTML.split("|")[1];

		return true;
	}

	function Hide() {
		//IE,NS,SM,OP
		//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
		//
		ClearTimer(HTHnd[nOM]);HTHnd[nOM] = 0;
		ClearTimer(AnimHnd);AnimHnd = 0;
		ClearTimer(TimerHideHnd);
		
		if(nOM) {
			if(OpenMenus[nOM].SelCommand!=null) {
				if(IE) HoverSel(1);
				if(NS) NSHoverSel(1);
			}
			if(OpenMenus[nOM].Opener!=null) {
				if(IE) HoverSel(3);
				if(NS) NSHoverSel(3);
			}
		
			OpenMenus[nOM].visibility = "hidden";
			nOM--;
		}
		
		if(nOM==0) {
			if(tbUseToolbar && lmcHS) {
				if(IE) hsHoverSel(1);
				if(NS) hsNSHoverSel(1);
			}
			FormsTweak("visible");
			status = "";
		} else
			if(!InMenu()) HTHnd[nOM] = window.setTimeout("Hide()", HideSpeed/4);
	}

	function ShowMenu(mName, x, y, isCascading, hsImgName, algn) {
		//IE,NS,SM,OP
		//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 16.1
		//
		ClearTimer(parseInt(HTHnd[nOM]));HTHnd[nOM] = 0;
		x = parseInt(x);y = parseInt(y);
		
		if(IE)
			if(BV>=5)
				var Menu = mFrame.document.getElementById(mName);
			else
				var Menu = mFrame.document.all[mName];
		if(NS)
			var Menu = mFrame.document.layers[mName];
		if(!Menu)
			return false;		
		if(IE) {
			Menu = Menu.style;
			if(BV>=5)
				Menu.frmt = mFrame.document.getElementById(mName+"frmt").style;
			else
				Menu.frmt = mFrame.document.all[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(!(IsMac && BV<5))
				if(hsImgName) {
					var imgObj = 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);
						if(tbMode&1) y = AutoPos(Menu, imgObj, algn)[1] + (IsFrames?GetLeftTop()[1]:0);
					}
				}
if(!IsContext) {			x += 25;
			y += 2;
}

		}
		
		var pW = GetWidthHeight()[0] + GetLeftTop()[0];
		var pH = GetWidthHeight()[1] + GetLeftTop()[1];
		
		if(IE) {
			if(SM) Menu.display = "none";
			if(isCascading) {
				x = parseInt(OpenMenus[nOM].left) + (x>0?2:1)*parseInt(OpenMenus[nOM].SelCommand.style.left) + (x>0?parseInt(OpenMenus[nOM].SelCommand.opw):0) - 6 + Math.abs(x);
				y = parseInt(OpenMenus[nOM].SelCommand.style.top) + parseInt(OpenMenus[nOM].top) - y;

				Menu.left = ((x+parseInt(Menu.width)>pW)?parseInt(OpenMenus[nOM].left) - parseInt(Menu.width) + 6:x) + "px";
				Menu.top =  ((y+parseInt(Menu.height)>pH)?pH - parseInt(Menu.height):y) + (OP?"":"px");
			} else {
				Menu.left = ((x+parseInt(Menu.width)>pW)?pW - parseInt(Menu.width):x) + "px";
				Menu.top =  ((y+parseInt(Menu.height)>pH)?pH - parseInt(Menu.height):y) + (OP?"":"px");
			}
			if(IsWin&&!SM)
				Menu.clip = "rect(0 0 0 0)";
		}
		if(NS) {
			if(isCascading) {
				x = OpenMenus[nOM].left + (x>0?2:1)*OpenMenus[nOM].SelCommand.left + (x>0?OpenMenus[nOM].SelCommand.clip.width:0) - 6 + Math.abs(x);
				y = OpenMenus[nOM].SelCommand.top + OpenMenus[nOM].top - y;

				x = (x+Menu.w>pW)?OpenMenus[nOM].left - Menu.w + 6:x;
				y = (y+Menu.h>pH)?pH - Menu.h:y;
			} else {
				x = (x+Menu.w>pW)?pW - Menu.w:x;
				y = (y+Menu.h>pH)?pH - Menu.h:y;
			}
			Menu.clip.width = 0;
			Menu.clip.height = 0;
			Menu.moveToAbsolute(x,y);
		}
		if(isCascading)
			Menu.zIndex = parseInt(OpenMenus[nOM].zIndex) + 1;
		OpenMenus[++nOM] = Menu;
		if(NS) FillCommands();
		if(SM&&!OP) FixCommands(mName);
		if(SM) Menu.display = "inline";
		Menu.visibility = "visible";
		HTHnd[nOM] = 0;
		if((IE&&IsWin&&!SM)||NS)
			AnimHnd = window.setTimeout("Animate()", 10);
		FormsTweak("hidden");
		
		if(!isCascading&&!IsContext)
			IsOverHS = true;
		IsContext = false;
		ClearTimer(TimerHideHnd);
		TimerHideHnd = window.setTimeout("AutoHide()", TimerHideDelay);
		
		if(SelSndId) PlaySound();
		
		return true;
	}
	
	function FixCommands(mName) {
		//SM
		//This function is used to fix the way the Gecko engine calculates
		//the borders and the way they affect the size of divs
		//------------------------------
		//Version 1.7
		//
		var m = mFrame.document.getElementById(mName);
		if(!m.Fixed) {
			var sd = m.getElementsByTagName("DIV");
			var b = GetBorderWidth(sd[0].style.borderLeft);
			sd[0].style.width = parseInt(sd[0].style.width) - 2*b + "px";
			sd[0].style.height = parseInt(sd[0].style.height) - 2*b + "px";
			for(i=1;i<(sd.length);i++) {
				if(sd[i].style.borderLeft.indexOf("none")==-1) {
					sd[i].style.width = parseInt(sd[i].style.width) - 2*GetBorderWidth(sd[i].style.borderLeft) + "px";
					sd[i].style.height = parseInt(sd[i].style.height) - 2*GetBorderWidth(sd[i].style.borderTop) + "px";
				}
			}
				
		}
		m.Fixed = true;
	}
	
	function FillCommands() {
		//NS
		//This function is used to avoid having the same declaration for the normal
		//state of the commands
		//------------------------------
		//Version 1.6
		//
		var n;
		var ocw;
		var och;
		if(!OpenMenus[nOM].Filled) {
			var m = OpenMenus[nOM];
			for(var sl=0; sl<m.layers.length; sl++)
				if(m.layers[sl].layers.length>0) {
					m = m.layers[sl];
					break;
				}
			for(var sl=0; sl<m.layers.length-1; sl++) {
				var slo = m.layers[sl];
				if(slo.name.indexOf("EH")==-1 && slo.name.indexOf("MC")==0) {
					ocw = slo.clip.width;
					och = slo.clip.height;
					n = parseInt(slo.name.substr(2));
					slo.document.write(nLayer[n].split("|")[0]);
					slo.document.close();
					slo.clip.width = ocw;
					slo.clip.height = och;
				}
			}
		}
		OpenMenus[nOM].Filled = true;
	}

	function Animate() {
		//IE,NS
		//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;
		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 += 20;
			if(AnimStep<=100)
				AnimHnd = window.setTimeout("Animate()",25);
			else {
				ClearTimer(AnimHnd);
				AnimStep = 0;
				AnimHnd = 0;
			}
		}
	}
	
	function InTBHotSpot() {
		//IE,NS,SM,OP
		//This function returns true if the mouse pointer is over a toolbar item.
		//------------------------------
		//Version 1.0
		//
		if(!tbUseToolbar) return false;
		var m = lmcHS;
		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 || (nOM>0);
	}
	
	function InMenu() {
		//IE,NS,SM,OP
		//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
		//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
		//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.1
		//
		if(nOM>0) {
			SetPointerPos(e);
			if(OpenMenus[nOM].SelCommand!=null)
				if(!InMenu()&&!HTHnd[nOM])
					HTHnd[nOM] = window.setTimeout("if(nOM>0)if(!InMenu())Hide()", HideSpeed);
		}
	}
	
	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 2.2
		//
		var fe;
		if(DoFormsTweak && IE)
			for(var f = 0; f <= (mFrame.document.forms.length - 1); f++)
				for(var e = 0; e <= (mFrame.document.forms[f].elements.length - 1); e++) {
					fe = mFrame.document.forms[f].elements[e];
					if(fe.type) if(fe.type.indexOf("select")==0) fe.style.visibility = state;
				}
	}

	function execURL(url, tframe) {
		//IE,NS,SM,OP
		//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.1
		//
		HideAll();
		window.setTimeout("execURL2('" + url + "', '" + tframe + "')", 100);
	}

	function execURL2(url, tframe) {
		//IE,NS,SM,OP
		//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.2
		//
		var fObj = eval(rStr(tframe));
		url = rStr(url);
		url.indexOf("javascript:")!=url.indexOf("vbscript:")?eval(url):fObj.location.href = url;
	}

	function rStr(s) {
		//IE,NS,SM,OP
		//This function is used to decrypt the URL parameter from the triggered command.
		//------------------------------
		//Version 1.1
		//
		s = xrep(s, "\x1E", "'");
		if(OP&&s.indexOf("frames[")!=-1) {
			s = xrep(s, String.fromCharCode(s.charCodeAt(7)), "'");
		}
		s = xrep(s, "\x1D", "\x22");
		s = xrep(s, "\x1C", ",");
		return s;
	}

	function xrep(s, f, n) {
		//IE,NS,SM,OP
		//This function looks for any occurrence of the f string and replaces it with the n string.
		//------------------------------
		//Version 1.0
		//
		var tmp = s.split(f);
		return tmp.join(n);
	}

	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
		//This function will hide all the currently opened menus.
		//------------------------------
		//Version 1.1
		//
		if(nOM)
			while(nOM>0) Hide();
		else Hide();
	}

	function GetLeftTop(f) {
		//IE,NS,SM,OP
		//This function returns the scroll bars position on the menus frame.
		//------------------------------
		//Version 2.2
		//
		if(!f) f = mFrame;
		if(IE)
			if(SM)
				return [OP?0:f.scrollX,OP?0:f.scrollY];
			else
				if(f.document.body)
					return [f.document.body.scrollLeft,f.document.body.scrollTop];
				else
					return [0, 0];
		if(NS)
			return [f.pageXOffset,f.pageYOffset];
	}
	
	function tHideAll() {
		//IE,NS,SM,OP
		//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;", HideSpeed);
	}

	function GetWidthHeight(f) {
		//IE,NS,SM,OP
		//This function returns the width and height of the menus frame.
		//------------------------------
		//Version 2.1
		//
		if(!f) f = mFrame;
		if(IE&&!SM)
			return [f.document.body.clientWidth,f.document.body.clientHeight];
		if(NS||SM)
			return [f.innerWidth,f.innerHeight];
	}
	
	function GetBorderWidth(b) {
		//IE,SM,SM,OP
		//This functions returns the width of a border
		//------------------------------
		//Version 1.1
		//
		if(OP) return 0;
		var w;
		var l = b.split(" ");
		for(var i=0; i<l.length; i++) {
			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; left:" + cmc.left + 
			   "; top: " + cmc.top + 
			   "; width: " + (OP?cmc.pixelWidth:cmc.width) + 
			   "; height: " + (OP?cmc.pixelHeight:cmc.height) + "; ";
	}
	
	function AutoPos(Menu, imgObj, arAlignment) {
		//IE,NS,SM,OP
		//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.1
		//
		var x = GetImgXY(imgObj)[0];
		var y = GetImgXY(imgObj)[1];
		var mW = parseInt(NS?Menu.w:Menu.width);
		var mH = parseInt(NS?Menu.h:Menu.height);
			
		switch(arAlignment) {
			case 0:
				y += GetImgWH(imgObj)[1];
				break;
			case 1:
				x += GetImgWH(imgObj)[0] - mW;
				y += GetImgWH(imgObj)[1];
				break;
			case 2:
				y -= mH;
				break;
			case 3:
				x += GetImgWH(imgObj)[0] - mW;
				y -= mH;
				break;
			case 4:
				x -= mW;
				break;
			case 5:
				x -= mW;
				y -= mH - GetImgWH(imgObj)[1];
				break;
			case 6:
				x += GetImgWH(imgObj)[0];
				break;
			case 7:
				x += GetImgWH(imgObj)[0];
				y -= mH - GetImgWH(imgObj)[1];
				break;
		}
		
		return [x, y];
	}

	function GetImgXY(imgObj) {
		//IE,NS,SM,OP
		//This function returns the x,y coordinates of an image.
		//------------------------------
		//Version 1.1
		//
		var x;
		var y;
			
		if(IE)	{
			x = getOffset(imgObj)[0];
			y = getOffset(imgObj)[1];
		} else	{
			x = imgObj.x;
			y = imgObj.y;
		}
			
		return [x, y];
		
	}

	function GetImgWH(imgObj) {
		//IE,NS,SM,OP
		//This function returns the width and height of an image.
		//------------------------------
		//Version 1.1
		//
		return [parseInt(imgObj.width), parseInt(imgObj.height)];
	}

	function getOffset(imgObj) {
		//IE,NS,SM,OP
		//This function returns the horizontal and vertical offset of an object.
		//------------------------------
		//Version 1.0
		//
		x = imgObj.offsetLeft;
		y = imgObj.offsetTop;
		ce =imgObj.offsetParent;
		while (ce!=null)	{
			y += ce.offsetTop;
			x += ce.offsetLeft;
			ce = ce.offsetParent;
		}
		return [x,y];
		
	}
	
	function AutoHide() {
		//IE,NS,SM,OP
		//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)
			HideAll();
		
		TimerHideHnd = window.setTimeout("AutoHide()", TimerHideDelay);		
	}
	
	function PlaySound() {
		//IE,NS
		//This function plays the embeded sound referenced by SelSndId.
		//WARNING: This function is under development
		//------------------------------
		//Version 1.0
		//
		if(IsWin&&!SM&&(IE&&BV>=5||NS)) {
			var s = mFrame.document.embeds["Snd" + SelSndId];
			if(s) s.play();
		}
		SelSndId = 0;
	}
	
	function ShowContextMenu(e) {
		//IE,NS
		//This function is called when a user rightclicks on the document and it will show a predefined menu.
		//------------------------------
		//Version 1.2
		//
		if(cntxMenu!='') {
			if(IE) {
				SetPointerPos(e);
				IsContext = true;
				cFrame.ShowMenu(cntxMenu, mX-1, mY-1, false);
				return false;
			}
			
			if(NS)
				if(e.which==3) {
					IsContext = true;
					cFrame.ShowMenu(cntxMenu, e.x-1, e.y-1, false);
					return false;
				}
		}		
		return true;
	}

	function SetUpEvents() {
		//IE,NS,SM,OP
		//This function initializes the frame variables and setups the event handling.
		//------------------------------
		//Version 2.1
		//
		if(!SM) onerror = errHandler;
		if(typeof(mFrame)=="undefined")
		mFrame = eval(frames['self']);
		if(typeof(mFrame)=="undefined")
			window.setTimeout("SetUpEvents()",10);
		else {
			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(SM&&!OP) {
					var i = 0;
					var m;
					while(mFrame.document.getElementById(i)) {
						m = mFrame.document.getElementById(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";
					}
				}
			}
			IsFrames = (cFrame!=mFrame);
			MenusReady = 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")
			alert("Java Script Error\n" +
			      "\nDescription: " + sMsg +
			      "\nSource: " + sUrl +
			      "\nLine: "+sLine);
		return true;
	}
	
	function FixPointSize(s) {
		//NS
		//This function increases the point-font value of any tag.
		//------------------------------
		//Version 1.5
		//
		if(s.indexOf("point-size=")!=-1) {
			var sp = s.split("point-size=")[1];
			var ls = s.split("point-size=")[0] + "point-size=";
			var ps = sp.substr(0,sp.indexOf(" "));
			var rs = s.split("point-size=")[1].substr(sp.indexOf(" "));
			ps = parseInt(ps) + 3;
		} else
			return s;

		return ls + ps + rs;
	}
	
	function ClearTimer(t) {
		//NS,IE
		//This function is used to overcome a bug in very
		//old versions of Navigator 4
		//------------------------------
		//Version 1.0
		//
		if(t) window.clearTimeout(t);
	}
	
	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 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.0
		//
		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]];
						} else
							if((slo.name.indexOf("MC")!=-1)&&!IsWin&&!NSFixedFonts)
								if(nLayer[slo.name.substr(2)].split("|")[0]!="") {
									nLayer[slo.name.substr(2)] = FixPointSize(nLayer[slo.name.substr(2)]);							
									hLayer[slo.name.substr(2)] = FixPointSize(hLayer[slo.name.substr(2)]);
								}
					}

			}
		}
		NSFixedFonts = true;
	}

	if(IE)
		with(document) {
			open();
			write("<div id=\"Osmolality\" style=\"position: absolute; left:0px; top:0px; width:125px; height:33px; z-index: 1000; visibility: hidden\"><div id=\"Osmolalityfrmt\" style=\"position: absolute; left:0px; top:0px; width: 125px; height: 33px; background-color: #FFFFFF; border-left: #E0E0E0 0px solid ; border-right: #808080 0px solid ; border-top: #E0E0E0 0px solid ; border-bottom: #808080 0px solid ;\"><div nowrap style=\"position: absolute;; left: 0px; top: 0px; width: 125px; height: 16px; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; cursor: hand; background-color: #669999;\" id=0 OnMouseOver=\"cFrame.HoverSel(0,\'_\',\'_\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'/osmolality/general_information/index.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 4px; top: 3px; width: 117px; height: 10px;\"><div style=\"position:absolute; top:-1px; width:117px; left:0px;\"  align=left>Paper & Publications</div></span></div><div nowrap style=\"position: absolute;; left: 0px; top: 17px; width: 125px; height: 16px; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; cursor: hand; background-color: #669999;\" id=1 OnMouseOver=\"cFrame.HoverSel(0,\'_\',\'_\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'/osmolality/history/index.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 4px; top: 3px; width: 117px; height: 10px;\"><div style=\"position:absolute; top:-1px; width:117px; left:0px;\"  align=left>History</div></span></div></div></div><div id=\"Applications\" style=\"position: absolute; left:0px; top:0px; width:93px; height:67px; z-index: 1000; visibility: hidden\"><div id=\"Applicationsfrmt\" style=\"position: absolute; left:0px; top:0px; width: 93px; height: 67px; background-color: #FFFFFF; border-left: #E0E0E0 0px solid ; border-right: #808080 0px solid ; border-top: #E0E0E0 0px solid ; border-bottom: #808080 0px solid ;\"><div nowrap style=\"position: absolute;; left: 0px; top: 0px; width: 93px; height: 16px; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; cursor: hand; background-color: #669999;\" id=2 OnMouseOver=\"cFrame.HoverSel(0,\'_\',\'_\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'/applications/hospital_clinics/index.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 4px; top: 3px; width: 85px; height: 10px;\"><div style=\"position:absolute; top:-1px; width:85px; left:0px;\"  align=left>Clinical</div></span></div><div nowrap style=\"position: absolute;; left: 0px; top: 17px; width: 93px; height: 16px; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; cursor: hand; background-color: #669999;\" id=3 OnMouseOver=\"cFrame.HoverSel(0,\'_\',\'_\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'/applications/pharma/index.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 4px; top: 3px; width: 85px; height: 10px;\"><div style=\"position:absolute; top:-1px; width:85px; left:0px;\"  align=left>Biotech/Pharma</div></span></div><div nowrap style=\"position: absolute;; left: 0px; top: 34px; width: 93px; height: 16px; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; cursor: hand; background-color: #669999;\" id=4 OnMouseOver=\"cFrame.HoverSel(0,\'_\',\'_\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'/applications/sports_med/index.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 4px; top: 3px; width: 85px; height: 10px;\"><div style=\"position:absolute; top:-1px; width:85px; left:0px;\"  align=left>Sports Medicine</div></span></div><div nowrap style=\"position: absolute;; left: 0px; top: 51px; width: 93px; height: 16px; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; cursor: hand; background-color: #669999;\" id=5 OnMouseOver=\"cFrame.HoverSel(0,\'_\',\'_\',this);status=\'\';\" OnClick=\"cFrame.execURL(\'/applications/drug_screening/index.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 4px; top: 3px; width: 85px; height: 10px;\"><div style=\"position:absolute; top:-1px; width:85px; left:0px;\"  align=left>Law Enforcement</div></span></div></div></div><div id=\"Osmometers\" style=\"position: absolute; left:0px; top:0px; width:90px; height:16px; z-index: 1000; visibility: hidden\"><div id=\"Osmometersfrmt\" style=\"position: absolute; left:0px; top:0px; width: 90px; height: 16px; background-color: #FFFFFF; border-left: #E0E0E0 0px solid ; border-right: #808080 0px solid ; border-top: #E0E0E0 0px solid ; border-bottom: #808080 0px solid ;\"><div nowrap style=\"position: absolute;; left: 0px; top: 0px; width: 90px; height: 16px; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; cursor: hand; background-color: #669999;\" id=6 OnMouseOver=\"cFrame.HoverSel(0,\'_\',\'_\',this);status=\'\';cFrame.ShowMenu(\'linkproductmenu\', 1, 0, true);\"><span style=\"position:absolute; left: 4px; top: 3px; width: 82px; height: 10px;\"><div style=\"position:absolute; top:-1px; width:82px; left:0px;\"  align=left>Link to Products</div></span></div></div></div><div id=\"linkproductmenu\" style=\"position: absolute; left:0px; top:0px; width:123px; height:33px; z-index: 1000; visibility: hidden\"><div id=\"linkproductmenufrmt\" style=\"position: absolute; left:0px; top:0px; width: 123px; height: 33px; background-color: #FFFFFF; border-left: #E0E0E0 0px solid ; border-right: #808080 0px solid ; border-top: #E0E0E0 0px solid ; border-bottom: #808080 0px solid ;\"><div nowrap style=\"position: absolute;; left: 0px; top: 0px; width: 123px; height: 16px; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; cursor: hand; background-color: #669999;\" id=7 OnMouseOver=\"cFrame.HoverSel(0,\'_\',\'_\',this);status=\'\';\" OnClick=\"javascript:dmbNW=window.open(\'http://www.aitests.com/\',\'NewWindow\',\'left=\'+0+\',top=\'+0+\',width=\'+400+\',height=\'+400+\',directories=1,channelmode=0,toolbar=1,fullscreen=0,location=1,menubar=1,resizable=1,scrollbars=1,status=1,titlebar=1\');dmbNW.focus();\"><span style=\"position:absolute; left: 4px; top: 3px; width: 115px; height: 10px;\"><div style=\"position:absolute; top:-1px; width:115px; left:0px;\"  align=left>Advanced Instruments</div></span></div><div nowrap style=\"position: absolute;; left: 0px; top: 17px; width: 123px; height: 16px; font-family: Verdana; font-size: 9px; font-weight: normal; font-style: normal; text-decoration: none; color: #FFFFFF; cursor: hand; background-color: #669999;\" id=8 OnMouseOver=\"cFrame.HoverSel(0,\'_\',\'_\',this);status=\'\';\" OnClick=\"javascript:dmbNW=window.open(\'http://www.aitests.com/fskproduct.htm\',\'NewWindow\',\'left=\'+0+\',top=\'+0+\',width=\'+400+\',height=\'+400+\',directories=1,channelmode=0,toolbar=1,fullscreen=0,location=1,menubar=1,resizable=1,scrollbars=1,status=1,titlebar=1\');dmbNW.focus();\"><span style=\"position:absolute; left: 4px; top: 3px; width: 115px; height: 10px;\"><div style=\"position:absolute; top:-1px; width:115px; left:0px;\"  align=left>FISKE Associates</div></span></div></div></div>");
			close();
		}
	if(NS)
		with(document) {
			open();
			write("<layer name=Osmolality top=0 left=0 width=125 height=33 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#FFFFFF left=0 top=0 width=125 height=33 z-index=1001><layer name=MC1EH1 left=0 top=0 width=125 height=16 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#FFFFFF\');status=\'\';\"></layer><layer name=MC1 left=0 top=0 width=125 height=16 z-index=1002 bgColor=#669999></layer><layer name=MC2EH2 left=0 top=17 width=125 height=16 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#FFFFFF\');status=\'\';\"></layer><layer name=MC2 left=0 top=17 width=125 height=16 z-index=1002 bgColor=#669999></layer></layer></layer><layer name=Applications top=0 left=0 width=93 height=67 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#FFFFFF left=0 top=0 width=93 height=67 z-index=1001><layer name=MC3EH3 left=0 top=0 width=93 height=16 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#FFFFFF\');status=\'\';\"></layer><layer name=MC3 left=0 top=0 width=93 height=16 z-index=1002 bgColor=#669999></layer><layer name=MC4EH4 left=0 top=17 width=93 height=16 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#FFFFFF\');status=\'\';\"></layer><layer name=MC4 left=0 top=17 width=93 height=16 z-index=1002 bgColor=#669999></layer><layer name=MC5EH5 left=0 top=34 width=93 height=16 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#FFFFFF\');status=\'\';\"></layer><layer name=MC5 left=0 top=34 width=93 height=16 z-index=1002 bgColor=#669999></layer><layer name=MC6EH6 left=0 top=51 width=93 height=16 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#FFFFFF\');status=\'\';\"></layer><layer name=MC6 left=0 top=51 width=93 height=16 z-index=1002 bgColor=#669999></layer></layer></layer><layer name=Osmometers top=0 left=0 width=90 height=16 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#FFFFFF left=0 top=0 width=90 height=16 z-index=1001><layer name=MC7EH7 left=0 top=0 width=90 height=16 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#FFFFFF\');status=\'\';cFrame.ShowMenu(\'linkproductmenu\', 1, 0, true);\"></layer><layer name=MC7 left=0 top=0 width=90 height=16 z-index=1002 bgColor=#669999></layer></layer></layer><layer name=linkproductmenu top=0 left=0 width=123 height=33 z-index=1000 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#FFFFFF left=0 top=0 width=123 height=33 z-index=1001><layer name=MC8EH8 left=0 top=0 width=123 height=16 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#FFFFFF\');status=\'\';\"></layer><layer name=MC8 left=0 top=0 width=123 height=16 z-index=1002 bgColor=#669999></layer><layer name=MC9EH9 left=0 top=17 width=123 height=16 z-index=1003 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#FFFFFF\');status=\'\';\"></layer><layer name=MC9 left=0 top=17 width=123 height=16 z-index=1002 bgColor=#669999></layer></layer></layer>");
			close();
		}
SetUpEvents();


