function winOpen(URL,plainWindow,hght,wdth)	{
	hght = (hght < 1) ? Math.round(window.screen.height*hght) : hght;//>
	wdth = (wdth < 1) ? Math.round(window.screen.width*wdth) : wdth;//>
	var x=Math.round((window.screen.width-wdth)/2); x = (x < 0) ? 0 : x;//>
	var y=Math.round((window.screen.height-hght)/2); y = (y < 0) ? 0 : y-20;//>
	eval("popup=window.open('"+URL+"','"+plainWindow+"','height="+hght+",width="+wdth+",toolbar=yes,status=no,directories=no,location=yes,scrollbars=yes,menubar=yes,resizable=yes,top=" + y + ",left=" + x + "');");
	if (!popup.opener) popup.opener = self;
}

function winOpen2(URL,plainWindow,wdth,hght)	{
	//alert(URL+"\n\n"+plainWindow+"\n\n"+hght+"\n\n"+wdth);
	hght = (hght < 1) ? Math.round(window.screen.height*hght) : hght;//>
	wdth = (wdth < 1) ? Math.round(window.screen.width*wdth) : wdth;//>
	var x=Math.round((window.screen.width-wdth)/2); x = (x < 0) ? 0 : x;//>
	var y=Math.round((window.screen.height-hght)/2); y = (y < 0) ? 0 : y-20;//>
	eval("popup=window.open('"+URL+"','"+plainWindow+"','height="+hght+",width="+wdth+",toolbar=no,status=no,directories=no,location=no,scrollbars=yes,menubar=no,resizable=yes,top=" + y + ",left=" + x + "');");
	if (!popup.opener) popup.opener = self;
}