// Begin 6/17/2004 12:17AM function bw_versioning(){ this.ver=navigator.appVersion; this.agent=navigator.userAgent this.dom=document.getElementById?1:0 this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0; this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ie=this.ie4||this.ie5||this.ie6 this.mac=this.agent.indexOf("Mac")>-1 this.opera5=this.agent.indexOf("Opera 5")>-1 this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom) this.ah=screen?screen.availHeight:0 this.aw=screen?screen.availWidth:0 this.wh=window.innerHeight; this.ww=window.innerWidth; return this } var brwser=new bw_versioning(); var shownDiv; var timer; function getDiv(objn){ var o; if(brwser.dom){ o=document.getElementById(objn);} if(brwser.ns4){ o=document.layers[objn];} if(brwser.ie4){ o=document.all[objn];} return o } function shDiv(obj,act){ var o = brwser.ns4?obj.visibility:obj.style.visibility; var s = brwser.ns4?"show":"visible"; var h = brwser.ns4?"hide":"hidden"; var a = act=="h"?h:s; if(brwser.ns4){obj.visibility=a;}else {obj.style.visibility=a;}; } function smClick(name){ if(shownDiv){shDiv(shownDiv,'h')} shownDiv = getDiv(name); shDiv(shownDiv,'s'); clearTimeout(timer); timer = setTimeout("shDiv(shownDiv,'h')", 1500); } function smOver(act){ if(act=='over'){clearTimeout(timer)}else{if(shownDiv){clearTimeout(timer); timer = setTimeout("shDiv(shownDiv,'h')", 1500);}} }