<!--var winUrl = null;var childWindow = null;		function showWin(url, windowName, features)	{						// check to see if width is being predefined in features						var iWidth = features.indexOf("width");						if (iWidth >= 0) {				window.open(url, windowName, features);			// if width has not been predefined than use then proceed			} else {						window.name = "mainWin";			winUrl = url;		  // Simple Browser Check			var ns4 = (document.layers) ? 1 : 0;			var ie4 = (document.all) ? 1 : 0;			var ns6 = (document.getElementById && !document.all) ? 1 : 0;			// Browser Window Dimensions			function windowWid(){			   return (ns4||ns6) ? window.innerWidth : document.body.clientWidth;			}			function windowHei(){			   return (ns4||ns6) ? window.innerHeight : screen.height;			}						// Example Use			var displaywidth = windowWid();			var displayheight = windowHei();						var percwidth =  Math.round(displaywidth * 0.85);			var percheight = Math.round(displayheight * 0.85);		  		  	var winAttributes= "width=" + percwidth + ", height=" + percheight + ",top=50,left=50," + features;	 	 		  //launch the new window and capture a reference to that window		  childWindow = window.open(url,windowName,winAttributes);		 	 		  //bring "focus" to the new window so it appears on top of the window stack		  childWindow.focus(); }	 }	 		function showBrowserWin(url, windowName)	{	showWin(url, windowName, "resizable,scrollbars,menubar,status,toolbar,location");}		//-->