//use for ALL generic windows
function openWin(URL, winName, width, height, scollbars)
{
	//This launches a new window and then
	//focuses it if window.focus() is supported.
	
	
	
	if (scollbars == undefined){
		var pscroll = "yes"
	}
	else{
		var pscroll = "no"
	}
	
	win = window.open(URL, winName, "width=" + width + ",height=" + height + ",scrollbars="+ pscroll +",toolbar=no,left=50,top=1,resizable=yes");

		//delay a bit here because IE4 encounters errors
		//when trying to focus a recently opened window
 		setTimeout('win.focus();',250);

}

