function fullScreen(URL,windowName,targetWidth,targetHeight) {
	var browserName=navigator.appName;
	var operatingSystem=navigator.platform;
	var version = parseFloat(navigator.appVersion);

	// Netscape Win
	if (browserName.indexOf("Netscape")!=-1 && version>=4.0 && operatingSystem.indexOf("Win")!=-1)
	{
	 	window.open(URL,windowName,'titlebar=no,top=0,left=0,width=' + window.screen.availWidth+',height='+window.screen.availWidth+',screenX=0,screenY=0,top=0,left=0');
	}

	// MSIE Mac 
	else if (browserName.indexOf("Microsoft Internet Explorer")!=-1 && operatingSystem.indexOf("Mac")!=-1)
	{
		//window.open(URL,windowName,'titlebar=no,top=0,left=0,width=' + window.screen.availWidth+',height='+window.screen.availWidth+',screenX=0,screenY=0,top=0,left=0')
		window.open(URL,windowName,'fullscreen=yes');
	}

	// Netscape Mac
	else if (browserName.indexOf("Netscape")!=-1 && operatingSystem.indexOf("Mac")!=-1)
	{
		window.open(URL,windowName,'width='+screen.width+',height='+screen.height+',top=0,left=0');
	}

	// MSIE Windows
	else if (browserName.indexOf("Microsoft Internet Explorer")!=-1 && operatingSystem.indexOf("Win")!=-1)
	{
		 newWindow=window.open(URL,windowName,'fullscreen=yes');
		//window.open(URL,windowName,'titlebar=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,top=0,left=0,width=' + window.screen.availWidth+',height='+window.screen.availHeight+',screenX=0,screenY=0,top=0,left=0')
	}

	else
	{
		window.open(URL,windowName,'top=0,left=0,width='+targetWidth+',height='+targetHeight);
	}
}
