// JavaScript Document
// This script opens a new full screen window and removes all navigation
function openSite(url){	
	//Set variables, version is IE version number
	var ua = window.navigator.appVersion;
	var msie = ua.indexOf ( "MSIE " );
	var version = ua.substring(msie+5,msie+6);
	//Open new window
	var winHeight = screen.height - 66;
	var winWidth = screen.width -10;
	var str = "left=0, top=0, scrollbars=0,resizable=0,status=0,dependent=yes,alwaysRaised=yes,width=";
	str += winWidth;
	str += ", height=";
	str += winHeight;
	str += ";"
	var win = window.open (url, 'master', str);

	if(navigator.appName != 'Netscape'){
		
		//Check version number and run correct code
	
		if (version >= "7"){
			if (win) {
			window.open('', '_parent','');
			//window.close();
			}
		} else if (version == "5" || version == "6"){
			self.opener = this;
			//setTimeout('self.close()',500);
		}
		else {
			window.resizeTo(winWidth,winHeight);
			if (win){
				//win.close()
			}
			var vindue = url; 
			window.location.href = vindue; 
			return;
		};
	}
}