function openMaximizedWindow(url,winName) { var w = 800; var h = 600; if (window.screen) { w = window.screen.availWidth - 6; h = window.screen.availHeight; } window.open(url,winName,'width='+w+',height='+h+',top=0,left=0'); } function openResizableWindow(url,winName,width,height){ var w = 800; var h = 600; var t = 0; var l = 0; if (window.screen) { w = window.screen.availWidth; h = window.screen.availHeight; } t = (h - height - 50)/2; l = (w - width - 10)/2; var winRef = window.open(url, winName, "height=" + height + ",width=" + width + ",top="+t+",left="+l+",status=yes,toolbar=no,menubar=no,location=no,directories=no,resizable=yes,scrollbars=yes,titlebar=no"); } function openWindow(url,winName,width,height){ var winRef = window.open(url, winName, "height=" + height + ",width=" + width + ",status=yes,toolbar=no,menubar=no,location=no,directories=no,resizable=no,scrollbars=yes,titlebar=no"); } // Image Rollover Code function swapImg(objId,objImgName) { objId = document.getElementById(objId); objId.src = objId.src.substr(0,objId.src.lastIndexOf('/')) + '/' + objImgName; } //End image rollovers // Begin DHTML Drop Down Menus var cssdropdown={ disappeardelay: 250, //set delay in miliseconds before menu disappears onmouseout disablemenuclick: true, //when user clicks on a menu item with a drop down menu, disable menu item's link? enableswipe: 0, //enable swipe effect? 1 for yes, 0 for no //No need to edit beyond here//////////////////////// dropmenuobj: null, ie: document.all, firefox: document.getElementById&&!document.all, swipetimer: undefined, bottomclip:0, getposOffset:function(what, offsettype){ var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop; var parentEl=what.offsetParent; while (parentEl!=null){ totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop; parentEl=parentEl.offsetParent; } return totaloffset; }, swipeeffect:function(){ if (this.bottomclip