var mnuSelected = '';var subMnuSelected = '';var	isIE="no"var	isNS="no"var	isOP="no"var	isFF="no"var	isGetId="no"var	isAll="no"var	isLayers="no"var myB=navigator.appNamevar myV=parseInt(navigator.appVersion)if (myB=="Microsoft Internet Explorer")	isIE="yes";if (myB=="Netscape")	isNS="yes";if (myB=="Opera")	isOP="yes";if (myB=="Firefox")	isFF="yes";if(document.all)	isAll="yes";if(document.layers)	isLayers="yes";if(document.getElementById)	isGetId="yes";function toggleMenu(menuID) {//	alert("this is the menu named " + menuID)	if (document.getElementById) {		thisMenu = document.getElementById(menuID).style		if (thisMenu.display == "block") {			thisMenu.display = "none"		}		else {			thisMenu.display = "block"			}			return false	}	else {		return true	}	}function getCurrentTime()	{	var time = new Date	var returnValue = "The current time is " + time.getHours() +		":" + time.getMinutes()	return(returnValue)	}function goWindow(windowName)	{	window.location = windowName	}function openPicWin(goName)	{	winNew=window.open(goName,"pic", "toolbar=0,scrollbars=1,titlebar=0,menubar=0,status=0,fullscreen=0,resizable=1")	winNew.focus()	return true  }function goIndex()	{	window.location = "menu.shtml"	}function goSitemap()	{	window.location = "siteMap.shtml"	}function goBack()	{	history.go(-2)	}function shutWindow()	{	window.close()	}function openWindow(goName)	{// Test for IE4 or IE5 or NS6	var wid = screen.width	if(document.all || document.getElementById)		{		if (wid==800)		{win0 = window.open(goName,"winType0","width=800,toolbar=0,scrollbars=1,titlebar=0,menubar=0,status=0,fullscreen=0,resizable=1,top=40,left=40")}		else		{win0 = window.open(goName,"winType0","width=1024,toolbar=0,scrollbars=1,titlebar=0,menubar=0,status=0,fullscreen=0,resizable=1,top=30,left=20")}		}	else		{		win0 = window.open(goName,"winType0")		}	return true	}function openNewWin(goName,winName,tp,lft,wid,hght,scroll)	{// Test for IE4 or IE5 or NS6var	newScroll=scrollvar	scrHeight=screen.heightvar	scrWidth=screen.width//a=window.length//document.write(a)if(newScroll==3)	{	if(scrWidth<=800)	{	newScroll=1 }	else 	{	newScroll=0}	}var t="toolbar=0,titlebar=0,menubar=0.status=0,fullscreen=0,resizable=1,top="+tp+",left="+lft+",height="+hght+",width="+wid+",scrollbars="+newScroll//document.write(t)if(document.all || document.getElementById)	{	winNew=window.open(goName,winName,t)//		winNew = window.open(goName,winName,"toolbar=0,scrollbars="+newScroll+",titlebar=0,menubar=0,status=0,fullscreen=0,resizable=1,top="+tp+",left="+lft+",width="+wid+",height="+hght+"")	}else	{	winNew=window.open(goName,winName)	}winNew.resizeTo(wid,hght)winNew.focus()return true  }function testBrowser()// Test for a version 5 browser	{	if(!document.getElementById)		{		window.location = "browser.html";/*		opener.window.close();		return false;     */		}	}function valEmail(formName)	{	invalidChars = " /:,*";	emailVal=document.getElementById(formName).email.value	if(emailVal=="")		{//		alert("email is required") 		return false		}	for(i=0;i<invalidChars.length;i++)		{		badChar=invalidChars.charAt(i)		if(emailVal.indexOf(badChar,0)>-1)			{//			alert("invalid character")			return false			}		}	atPos=emailVal.indexOf("@",1)	if(atPos==-1)		{//		alert("no @ character")		return false		}		if(emailVal.indexOf("@",atPos+1)> -1)		{//		alert("too many @ signs")		return false		}	periodPos=emailVal.indexOf(".",atPos)	if(periodPos==-1)		{//		alert("no period")		return false		}	if(periodPos+3 > emailVal.length)		{//		alert("not enough characters")		return false		}	return true	}function winPrnt()	{	window.print()	}function holdIt()	{// Test for IE4 or IE5 or NS6	newScroll=scroll	scrHeight=screen.height	if(newScroll==3)		{if(scrHeight<650)			{newScroll=1}		else {newScroll=0}}	if(document.all || document.getElementById)		{		winNew = window.open(goName,winName,"toolbar=0,scrollbars="+newScroll+",titlebar=0,menubar=0,status=0,fullscreen=0,resizable=1,top="+top+",left="+left+",width="+wid+",height="+hght+"")		}	else		{		winNew = window.open(goName,winName)		}	winNew.focus()	return true	}function valID(dwnld)	{	var radioOk = "no";	var idOK = "no";	if(dwnld==1)		{		goWindow('prodDwnBe2606.shtml')		return true;		}	if(dwnld==3)		{		goWindow('prodDwnCC.shtml')		return true;		}	if(dwnld==4)		{		goWindow('prodDwnRM.shtml')		return true;		}	if(dwnld==5)		{		goWindow('prodDwnHPM.shtml')		return true;		}	if(dwnld==6)		{		goWindow('prodDwnUDF.shtml')		return true;		}					}function valClient()	{//		alert("not enough characters")	thisClient=this.form1.clientid.value 	if(thisClient=="guest1")		{		goWindow('dnldGuest1.shtml');		return true;		}	if(thisClient=="guest2")		{		goWindow('dnldGuest2.shtml');		return true;		}	if(thisClient=="guest3")		{		goWindow('dnldGuest3.shtml');		return true;		}		{		alert(thisClient);		return false;		}			}function subForm()	{	if(!valEmail("inquiry"))		{		alert ("email address not valid")		document.getElementById('inquiry').email.focus()		document.getElementById('inquiry').email.select()		return false		}	return true	} function bldHdr()	{	var myB=navigator.appName	var myV=parseInt(navigator.appVersion)	var isIE="no"	var isNS="no"	var isOP="no"	var isFF="no"	if (myB=="Microsoft Internet Explorer")		isIE="yes";	if (myB=="Netscape")		isNS="yes";	if (myB=="Opera")		isOP="yes";	if (myB=="Firefox")		isFF="yes";	scrW=screen.width	scrH=screen.height	scrAW=screen.availWidth-20	scrAH=screen.availHeight		docW=document.body.clientWidth			t="<img src='Pics/header-banner.jpg'"	document.writeln("<img height=94 width="+scrAW+" src='Pics/header-banner.jpg'")	    	}  