//browser detectvar browserName, IE, nextNum, goNum,e,f,g,hvar codeVis,codeShow,who,codeHide,curArray,tempObjvar currMenu, lastMenuvar MillisecondsBeforeClose = 500;browserName = navigator.appNameif (browserName.indexOf("Netscape") >= 0) { IE = 0 }if (browserName.indexOf("Microsoft") >= 0) { IE = 1 }if (browserName.indexOf("MSIE") >= 0) { IE = 1 }if (IE == 1) { codeVis=".style.visibility"; codeShow = "visible"; codeHide = "hidden" }if (IE == 0) { codeVis=".visibility"; codeShow = "show"; codeHide = "hide" }function doRoll(who, where, what) {who.src = where;parent.self.status = what;}function rollZero(who, which) {  if (IE == 1) {     if (which=="on") {who.style.visibility = "visible"}    if (which=="off"){who.style.visibility = "hidden"}  }  if (IE == 0) {     if (which=="on") {who.visibility = "show"}    if (which=="off"){who.visibility = "hide"}  }}function preloadImages() {  var imgFiles = preloadImages.arguments;  var preloadArray = new Array();  for (var i=0; i<imgFiles.length; i++) {    preloadArray[i] = new Image;    preloadArray[i].src = imgFiles[i];  }}function toggle(arrayName,curLevel,whoTrigger,Depth) {  if (IE == 1) {      if (whoTrigger.style.visibility == "hidden") {       clearEm(arrayName,curLevel,Depth);      whoTrigger.style.visibility = "visible";      killAll(arrayName);    } else {          clearEm(arrayName,curLevel,Depth);    }  }  if (IE == 0) {      if (whoTrigger.visibility == "hide") {       clearEm(arrayName,curLevel,Depth);      whoTrigger.visibility = "show";      killAll(arrayName);    } else {          clearEm(arrayName,curLevel,Depth);    }  }}function killAll(arrayName) {  if(arrayName != "PMT") { clearEm('PMT',0,4)}  if(arrayName != "SP") { clearEm('SP',0,1)}  if(arrayName != "SFM") { clearEm('SFM',0,1)}  if(arrayName != "TMR") { clearEm('TMR',0,2)}  if(arrayName != "MCC") { clearEm('MCC',0,2)}  if(arrayName != "DCS") { clearEm('DCS',0,1)}}function clearEm(arrayName,curLevel,Depth) {  for (e=0; e<Depth; e++) {      if (curLevel==e) {      curArray = arrayName+curLevel;      for (f=0; f<(eval(curArray+".length")); f++) {        if (IE==0) {          tempObj = eval(curArray+"["+f+"]");          eval("document."+tempObj+codeVis+" = '"+codeHide+"';");        }        if (IE==1) {          tempObj = eval(curArray+"["+f+"]");          eval("document.all.item('"+tempObj+"')"+codeVis+" = '"+codeHide+"';");        }      }      curLevel = curLevel+1;      if (curLevel != Depth) {curArray = eval(arrayName+curLevel)}    }  }}function enterMenu(thisMenu) {  currMenu = thisMenu;}function leaveMenu(thisMenu) {  setTimeout("clearMenu('" + thisMenu + "')", MillisecondsBeforeClose);    currMenu = '';}function clearMenu(whichmenu) {  if (currMenu!=whichmenu) {    killAll();  }}