// JavaScript Document



function changedivClassName(divname, vclassName) { //v3.0
 document.getElementById(divname).className=vclassName;
}




function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}



function MM_jumpMenu(targ,targ2,query,selObj,restore){ //v3.0
  eval(targ+".location='"+targ2+"&"+query+"="+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}



function montrecache(id, bool)
	{
		
		
		if (bool == true)
		{
		var visib='hidden';
		}
		else
		{
		var visib='visible';
		}
	
          if (document.getElementById) {
                  document.getElementById(id).style.visibility=visib;
                } else if (document.all) {
                  document.all[id].style.visibility=visib;
                } else if (document.layers) {
                  document.layers[id].visibility=visib;
                } 
	} 
				

function montre(id) {
          if (document.getElementById) {
                  document.getElementById(id).style.visibility="visible";
                } else if (document.all) {
                  document.all[id].style.visibility="visible";
                } else if (document.layers) {
                  document.layers[id].visibility="visible";
                } } 
                

function montre2(basename, vthis) {
		var vId = basename + vthis.value;
          if (document.getElementById) {
                  document.getElementById(vId).style.visibility="visible";
                } else if (document.all) {
                  document.all[vId].style.visibility="visible";
                } else if (document.layers) {
                  document.layers[vId].visibility="visible";
                } } 
                
                
  function cache(id) {
          if (document.getElementById) {
                  document.getElementById(id).style.visibility="hidden";
                } else if (document.all) {
                  document.all[id].style.visibility="hidden";
                } else if (document.layers) {
                  document.layers[id].visibility="hidden";
                } } 


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);