document.oncontextmenu=new Function("return false") function doMenu(thearea) { var toploc=0; for (var a=1; a < menudivarray.length; a++) { if (a!=1){toploc=toploc+16;} // this dimension affects graphic AREA menu items [IMG]. for (var s=1; s < menudivarray[a].length; s++) { var vis="hidden"; if (s==1) { vis="visible"; } else { if (a==thearea){toploc=toploc+13;vis="visible";} // this dimension affects SECT menu items [TXT]. } var areaid="area"+menudivarray[a][s]; var topdim=toploc+"px"; document.getElementById(areaid).style.visibility=vis; document.getElementById(areaid).style.top=topdim; } } } function bOver(bonus){ document.getElementById(bonus).src ="http://www.moshbox.com/master/core/"+bonus+"over.jpg"; } function bOut(bonus){ document.getElementById(bonus).src ="http://www.moshbox.com/master/core/"+bonus+"out.jpg"; } function doOver(id){ document.getElementById(id).style.backgroundColor="#FFFFFF"; } function doOut(id){ document.getElementById(id).style.backgroundColor="#f0f0f0"; } function iSwap(path,caption){ document.getElementById("theimage").src="imgs/"+path; // document.getElementById("capleft").innerHTML=""; document.getElementById("capright").innerHTML=caption; } function overSay(){ if (navigator.appName.indexOf("Netscape")!=-1&&parseInt(navigator.appVersion)>=5) { document.getElementById("sayimg").style.MozOpacity=100/100; } else if (navigator.appName.indexOf("Microsoft")!=-1&&parseInt(navigator.appVersion)>=4) { sayimg.filters.alpha.opacity=100; } } function outSay(){ if (navigator.appName.indexOf("Netscape")!=-1&&parseInt(navigator.appVersion)>=5) { document.getElementById("sayimg").style.MozOpacity=1/100; } else if (navigator.appName.indexOf("Microsoft")!=-1&&parseInt(navigator.appVersion)>=4) { sayimg.filters.alpha.opacity=1; } } function hOver(h){ document.getElementById(h).src ="imgs/center/header-alt.jpg"; } function hOut(h){ document.getElementById(h).src ="imgs/center/header.jpg"; } function cOver(h){ document.getElementById(h).src ="imgs/center/corner-alt.jpg"; } function cOut(h){ document.getElementById(h).src ="imgs/center/corner.jpg"; } function checkAll(field) { for (i = 0; i < field.length; i++) field[i].checked = true ; } function uncheckAll(field) { for (i = 0; i < field.length; i++) field[i].checked = false ; }