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);

function window_open(url,width,height,scroll){
	window.open(url,"","top="+(window.screen.availHeight-height)/2+",left="+(window.screen.availWidth-width)/2+",width="+width+",height="+height+",scrollbars="+scroll)
}

function window_dialog(url,width,height){
	window.showModalDialog(url,"","dialogWidth:"+width+"px;dialogHeight:"+height+"px;scroll:no;status:no;help:no;")
}

function Select_All(obj_select,obj_check){
	if(obj_check.checked==true){
		if(document.all[obj_select].length>0){
			for(i=0;i<document.all[obj_select].length;i++){
			document.all[obj_select].item(i).checked=true;}
		}else{
			document.all[obj_select].checked=true;
		}		
	}else{
		if(document.all[obj_select].length>0){
			for(i=0;i<document.all[obj_select].length;i++){
			document.all[obj_select].item(i).checked=false;}
		}else{
			document.all[obj_select].checked=false;
		}		
	}
}

function Nav_over(div_id){
	document.all("Nav_"+div_id).style.visibility="visible";
}

function Nav_out(div_id){
	document.all("Nav_"+div_id).style.visibility="hidden";	
}