function showMain(URLen) {
		//var URLen="index.htm";
		var windowNamen="mainwindow";
		var browserName=navigator.appName;
		var operatingSystem=navigator.platform;
		var version = parseFloat(navigator.appVersion);
		var winWidth = window.screen.availWidth;
		var winHeight = window.screen.availHeight;

		// Netscape check version 4.0+ on Mac
		if (browserName.indexOf("Netscape")!=-1 && version>=4.0 && operatingSystem.indexOf("Mac")!=-1)
		 {
		 var winHeight = window.screen.availHeight-22;
		 window.open(URLen,windowNamen,'titlebar=no,scrollbars=0,resizable=0,top=0,left=0,width=' + winWidth +',height='+winHeight+',screenX=0,screenY=0,top=0,left=0')
		 }

		// MSIE Mac check
		else if (browserName.indexOf("Microsoft Internet Explorer")!=-1 && operatingSystem.indexOf("Mac")!=-1)
		 {
		 //var winWidth = window.screen.availWidth+18;
		 //winWidth = screen.width+18;
		 window.open(URLen,windowNamen,'titlebar=no,top=0,left=0,width=' + winWidth +',height='+ winHeight +',screenX=0,screenY=0,top=0,left=0')
		 }

		// Netscape Mac check
		else if (browserName.indexOf("Netscape")!=-1 && operatingSystem.indexOf("Mac")!=-1)
		 {
		 winWidth = screen.width;
		 winHeight = screen.height+15;
		 window.open(URLen,windowNamen,'width='+ winWidth +',height='+ winHeight +',top=0,left=0');
		 }

		// MSIE Windows
		else if (browserName.indexOf("Microsoft Internet Explorer")!=-1 && operatingSystem.indexOf("Win")!=-1)
		 {
		 //window.open(URLen,windowNamen,'fullscreen=1,top=0,left=0');		 
		 var win = window.open(URLen,windowNamen,'titlebar=no,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=0,top=0,left=0,width=' + winWidth +',height='+ winHeight +',screenX=0,screenY=0,top=0,left=0')
			 win.resizeTo(screen.width, screen.height);
			 //win.moveTo(1, 1);
			 //win.moveTo(0, 0);
			 //win.resizeTo(screen.width, screen.height);
		 }

		// Netscape Windows
		else if (browserName.indexOf("Netscape")!=-1 && operatingSystem.indexOf("Win")!=-1)
		 {
		 winWidth = screen.width;
		 winHeight = screen.height;		 
		 window.open(URLen,windowNamen,'width='+ winWidth +',height='+ winHeight +',top=0,left=0,scrollbars=0,resizable=0');
		 }

		else
		 {
		 window.open(URLen,windowNamen);
		 }
		 window.winWidth = winWidth;
		 window.winHeight = winHeight;
}

