document.oncontextmenu=new Function("return false") function doMenu(thearea) { var toploc=0; var sub1time=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 adjtop=0; var vis="hidden"; if (s==1) { vis="visible"; if (sub1time==1) {var adjtop=-2;} //remove pixels after last TXT link of current area. var sub1time=0; //turn off flag. } else { if (a==thearea || a=="02"){ // this dimension affects SECT menu items [TXT]. [include center area 03 too.] toploc=toploc+13;vis="visible"; if (s==2) {var adjtop=2;} //add pixels after the IMG button of the current area. if (s==menudivarray[a].length-1) {sub1time=1} //trigger the last TXT link flag for the next loop. } } var areaid="area"+menudivarray[a][s]; var toploc=toploc+adjtop //adjust locations for links in current area. 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 ; }