<!--
function openWindow(nextpage,windowName,percent) {
	//var adjWidth = 630, adjHeight = 440; // default sizes
	var w = 630, h = 440;
	var popW = 630, popH = 440;

	if (document.all || document.layers) {
   		w = screen.availWidth;
   		h = screen.availHeight-100;
	}

	if (window.screen) {
	        popW = w * percent / 100;
        	popH = h * percent / 100;
    	}
	var topPos = (w-popW)/2, leftPos = (h-popH)/2;

    	popup=window.open(nextpage,windowName,'width=' + popW + ',height=' + popH + ',top='+topPos+',left='+leftPos +',toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=no');
    	if (!popup.opener)
    		popup.opener = self;
    		//setTimeout('self.close()',1000);
}

function openfixwin(nextpage,windowName,width,height) {
    	popup=window.open(nextpage,windowName,'width=' + width + ',height=' + height + ',top='+ 0 +',left='+ 0 +',toolbar=yes,resizable=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=no');
    	if (!popup.opener)
    		popup.opener = self;
}

function openscrollwin(nextpage,windowName,width,height) {
    	popup=window.open(nextpage,windowName,'width=' + width + ',height=' + height + ',top='+ 0 +',left='+ 0 +',toolbar=yes,resizable=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes');
    	if (!popup.opener)
    		popup.opener = self;
}

function openwin(nextpage,windowName,width,height) {
    	popup=window.open(nextpage,windowName,'width=' + width + ',height=' + height + ',top='+ 0 +',left='+ 0 +',toolbar=no,resizable=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no');
    	if (!popup.opener)
    		popup.opener = self;
}

function opensizablewin(nextpage,windowName,width,height) {
    	popup=window.open(nextpage,windowName,'width=' + width + ',height=' + height + ',top='+ 0 +',left='+ 0 +',toolbar=no,resizable=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=no');
    	if (!popup.opener)
    		popup.opener = self;
}

//-->
