stdBrowser = (document.getElementById) ? true : false function popUp(evt,currElem) { popUpWin = (stdBrowser) ? document.getElementById(currElem).style : eval("document." + currElem) if (document.all) { popUpWin.pixelTop = parseInt(evt.y)+2 popUpWin.pixelLeft = Math.max(2,parseInt(evt.x)-125) } else { if (stdBrowser) { popUpWin.top = parseInt(evt.pageY)+2 + "px" popUpWin.left = Math.max(2,parseInt(evt.pageX)-125) + "px" } else { popUpWin.top = parseInt(evt.pageY)+2 popUpWin.left = Math.max(2,parseInt(evt.pageX)-125) } } popUpWin.visibility = "visible" } function popDown(currElem) { popUpWin = (stdBrowser) ? document.getElementById(currElem).style : eval("document." + currElem) popUpWin.visibility = "hidden" } function toggleMenu(currMenu) { if (document.getElementById) { thisMenu = document.getElementById(currMenu).style if (thisMenu.display == "block") { thisMenu.display = "none" } else { thisMenu.display = "block" } return false } else { return true } } function setDisplay(objectId,state) { var object = document.getElementById(objectId); object.style.display = state; } function toggleDisplay(objectId) { var object = document.getElementById(objectId); state = object.style.display; if (state == 'none') object.style.display = 'block'; else if (state !='none') object.style.display = 'none'; } function newWin(oUrl) { window.open(oUrl,'name','width=440,height=510,resizable=no,scrollbars=no,menu=no,status=no'); } function newWin1(oUrl) { window.open(oUrl,'name','width=420,height=490,resizable=no,scrollbars=no,menu=no,status=no'); } function newWin2(oUrl) { window.open(oUrl,'name','width=375,height=575,resizable=no,scrollbars=yes,menu=no,status=no'); } function newWin3(oUrl) { window.open(oUrl,'name','width=750,height=550,resizable=no,scrollbars=no,menu=no,status=no,location=no'); } function newWin4(oUrl) { window.open(oUrl,'name','width=750,height=750,resizable=no,scrollbars=no,menu=no,status=no,location=no'); } function closeWindow(){ newWindow.close() }