if (document.all) {n=0;ie=1;ns6=0;fShow="visible";fHide="hidden";} if (document.getElementById&&!document.all) {n=0;ie=0;ns6=1;fShow="visible";fHide="hidden";} if (document.layers) {n=1;ie=0;ns6=0;fShow="show";fHide="hide";} //Top Nav bar script v2- http://www.dynamicdrive.com/dynamicindex1/sm/index.htm //Top Nav Bar I v2- By Constantin Kuznetsov Jr. (script@esolutiononline.com) //Modified by Dynamic Drive for NS6/Opera6 compatibility and code streamlining March 4th, 2002 //Visit http://www.dynamicdrive.com for this script var keepstatic=0 var menucolor="" var submenuwidth=350 opr6=ie&&navigator.userAgent.indexOf("Opera")!=-1 window.onerror=new Function("return true") //////////////////////////////////////////////////////////////////////////// // Function Menu() // //////////////////////////////////////////////////////////////////////////// rightX = 0; function Menu() { this.bgColor = menucolor; if (ie) this.menuFont = "11px Arial"; if (n) this.menuFont = "11px Verdana"; this.fontColor = ""; this.addItem = addItem; this.addSubItem = addSubItem; this.showMenu = showMenu; this.mainPaneBorder = 0; this.subMenuPaneBorder = 0; this.subMenuPaneWidth = submenuwidth; lastMenu = null; rightY = 0; leftY = 0; leftX = 0; HTMLstr = ""; HTMLstr += "\n"; HTMLstr += "\n"; if (ie||ns6) HTMLstr += "
\n"; // if (n) HTMLstr += "\n"; HTMLstr += "\n"; HTMLstr += ""; if (n) HTMLstr += ""; HTMLstr += "\n"; HTMLstr += "
 "; HTMLstr += "\n"; HTMLstr += "\n"; HTMLstr += "\n"; if (n) HTMLstr += "
\n"; HTMLstr += "\n"; HTMLstr += "\n"; HTMLstr += "\n"; HTMLstr += "\n"; HTMLstr += "\n"; if (ie||ns6) HTMLstr+= "
\n"; // if (n) HTMLstr+= "\n"; HTMLstr += "\n"; } function addItem(idItem, text, hint, location, altLocation, aimat) { var Lookup = ""; if (HTMLstr.indexOf(Lookup) != -1) { alert(idParent + " already exist"); return; } var MENUitem = ""; MENUitem += "\n\n"; if (n) { MENUitem += ""; MENUitem += ""; MENUitem += " "; MENUitem += text; MENUitem += ""; MENUitem += ""; } if (ie||ns6) { MENUitem += "\n"; MENUitem += "