<!-- RCSid: $Header: /utm/pse/utv/src/yta/docs/js/window2.js,v 1.8 2001/07/03 08:03:00 rach001 Exp $ -->

function OpenWindow(URL,Width,Height)
{
newWin=window.open(URL,'Ord','toolbar=0,scrollbars=no,status=no,resize=no,width='+Width+',height='+Height);
newWin.focus();
}
function OpenWindow_scroll(URL,Width,Height)
{
newWin=window.open(URL,'Ord','toolbar=0,scrollbars=yes,status=no,resize=no,width='+Width+',height='+Height);
newWin.focus();
}
function OpenWindow_scroll_resizable(URL,Width,Height)
{
newWin=window.open(URL,'Ord','toolbar=0,scrollbars=yes,status=no,resizable=yes,width='+Width+',height='+Height);
newWin.focus();
}
function openwin() {
		url="http://195.163.131.192/popup.asp";
		width=590;
		height=447;
		v = parseInt(navigator.appVersion)
		ie = (navigator.appName=="ie" && v>=4)
		mac= (navigator.platform.indexOf("Mac")!=-1) ? true : false;
	
		if (ie && mac && v==5) width-=20
		if (ie && mac ) height-=20
		window.open(url,"kram", 'menubar=no,resizable=no,width=' + width + ',height=' + height + ',titlebar=no,alwaysRaised=yes,status=yes,left='+(screen.width/2-width/2)+',top='+(screen.height/2-height/2-height/10)+',screenX=0,screenY=0');
	}
