function changeBg(tabobj,dowhat){
if(dowhat=="min"){
tabobj.style.backgroundColor="#FF7E00";
tabobj.style.color="#FFFFFF";
tabobj.style.cursor="hand";
subname= "classfield"+tabobj.id;
eval(subname).style.display="block";
}else if(dowhat=="mout"){
tabobj.style.backgroundColor="";
tabobj.style.color="#666666";
subname= "classfield"+tabobj.id;
eval(subname).style.display="none";
}
}

function changeBg_Nsub(tabobj,dowhat){
if(dowhat=="min"){
tabobj.style.backgroundColor="#FADABA";
tabobj.style.color="#ffffff";
tabobj.style.cursor="hand";
}else if(dowhat=="mout"){
tabobj.style.backgroundColor="";
tabobj.style.color="#666666";
}
}

function showMenu(tabobj,dowhat){
if(dowhat=="min"){
tabobj.style.display="block"
}else if(dowhat=="mout"){
tabobj.style.display="none"
}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


