ie=false ns=false op=false if (window.navigator.userAgent.indexOf ('Opera') != -1 ) { op = true } else { if (window.navigator.appName.indexOf ('Microsoft') != -1 ) { ie = true } } if (window.navigator.appName.indexOf ('Netscape') != -1) { ns = true } function wopen (url,w,h,scroll) { var sceenx = window.screen.availWidth; var sceeny = window.screen.availHeight; var x = Math.floor(sceenx/2-w/2) var y = Math.floor(sceeny/2-h/2) var scrollbar_str = (scroll==true) ? ',scrollbars=yes' : '' var menubar_str = (scroll==true) ? ',menubar=yes' : '' var w = window.open(url,'w','width='+w+',height='+h+',top='+y+',left='+x+scrollbar_str+menubar_str) w.focus(); } mExpCurent = -1; mExpLastTM = -1; function mOverSwitch (name, state) { if (state == true) { if (mExpLastTM != -1) clearTimeout(mExpLastTM) if (mExpCurent != -1) document.images[mExpCurent].src = 'images/'+mExpCurent+'.gif' document.images[name].src = 'images/'+name+'_sel.gif' } else { if (name != mExpCurent) document.images[name].src = 'images/'+name+'.gif' if (mExpCurent != -1) { mExpLastTM = window.setTimeout('mExpActive()', 200) } } } function mExpActive () { document.images[mExpCurent].src = 'images/'+mExpCurent+'_sel.gif' }