function popWin(URL, Width, Height, Resizable, Scrollbars) {

	if ((Width == null) || (Width == "")) { Width = 570; }
	if ((Height == null) || (Height == "")) { Height = 340; }
	if ((Resizable == null) || (Resizable == "")) { Resizable = "no"; }
	if ((Scrollbars == null) || (Scrollbars == "")) { Scrollbars = "no"; }

	var positionX = (screen.availWidth - Width) / 2;
	var positionY = (screen.availHeight - Height) / 2;

	Day = new Date();
	WindowName = Day.getTime();

	window.open(URL,WindowName,"width=" + Width + ",height=" + Height + ",left=" + positionX + ",top=" + positionY + ",channelmode=0,dependent=0,directories=0,location=0,menubar=0,resizable=" + Resizable + ",scrollbars=" + Scrollbars + ",status=0,toolbar=0");
}

function popWin2(URL, Width, Height, Resizable, Scrollbars) {

	if ((Width == null) || (Width == "")) { Width = 570; }
	if ((Height == null) || (Height == "")) { Height = 340; }
	if ((Resizable == null) || (Resizable == "")) { Resizable = "yes"; }
	if ((Scrollbars == null) || (Scrollbars == "")) { Scrollbars = "yes"; }

	var positionX = (screen.availWidth - Width) / 2;
	var positionY = (screen.availHeight - Height) / 2;

	Day = new Date();
	WindowName = Day.getTime();

	window.open(URL,WindowName,"width=" + Width + ",height=" + Height + ",left=" + positionX + ",top=" + positionY + ",channelmode=0,dependent=0,directories=0,location=1,menubar=1,resizable=" + Resizable + ",scrollbars=" + Scrollbars + ",status=1,toolbar=1");
}

function MM_preloadImages() { //v3.0
	var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function sf(){document.gsaForm.q.focus();}
