//reloads the window if Nav4 resized
function MM_reloadPage(init) {
  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);


// Print
function printManager() {
var check = window.print;
var result = typeof(check);
	if(result != "undefined") {
		var elm;
			if (!elm) {
				elm = document.createElement("link");
				elm.setAttribute("rel","stylesheet");
				elm.setAttribute("type","text/css");
				elm.setAttribute("media","print");
				elm.setAttribute("href","../css/print.css");
				document.getElementsByTagName("head")[0].appendChild(elm);
			}
			
			print();
	}
	else {
	alert('This function cannot be used by your browser.');
	}

}



// News
function opennews(url) {
 w = window.open(url, '','width=700,height=680,status=1,scrollbars=1,directories=1,menubar=1,resizable=1,toolbar=1,left=0,top=0');
}

// Map
function openmap(url) {
 w = window.open(url, '','width=670,height=680,status=1,scrollbars=1,directories=1,menubar=1,resizable=1,toolbar=1,left=0,top=0');
}