// JavaScript Document
var ms = navigator.appVersion.indexOf("MSIE");
var ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
var nesc = navigator.appName.lastIndexOf("Netscape"); 
var nesc4 = (nesc >= 0) && (parseInt(navigator.appVersion.substring(0,2)) >= 4);

function closeWindow() {
	window.close();
}

function MM_callJS(jsStr) {
  return eval(jsStr)
}


function fullscreen(){
	
	if (nesc4){
    	newwindow = window.open("site/main.html","main",
"resizable=yes, scrollbars=yes,width=" + window.screen.width + ",height=" + window.screen.height);
		newwindow.moveTo(0,0);
		newwindow.focus();

	}else if (ie4){
		newwindow = window.open("site/main.html","main",
"resizable=yes, scrollbars=yes,width=" + window.screen.width + ",height=" + window.screen.height);
		newwindow.moveTo(0,0);
		newwindow.focus();

	}else{
	    newwindow = window.open("site/main.html","main",
"resizable=yes, scrollbars=yes,width=" + window.screen.width + ",height=" + window.screen.height);
		newwindow.moveTo(0,0);
		newwindow.focus();
	}
}
