<!--
function showWindow(url, windowName, features)	{
	
// 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; }

var displaywidth = windowWid();
var displayheight = windowHei();
var percwidth =  Math.round(displaywidth * 0.80);
var percheight = Math.round(displayheight * 0.50);
var winFeatures=features;

if (winFeatures!=undefined) {

//alert("Has Features :"+ winFeatures);
childWindow = window.open(url,windowName,winFeatures);
childWindow.focus(); 

} else {

window.name = "mainWin";
var winFeatures="resizable,scrollbars=yes,menubar=yes,status=yes,toolbar=yes,location=yes"+",width=" + percwidth + ", height=" + percheight + ",top=30,left=30,";

//alert("No Features, Assigning : "+ winFeatures);	
childWindow = window.open(url,windowName,winFeatures);
childWindow.focus();   
}
}	 
//-->
