//////



var g_NewPopupWin;

function launchWin(winurl, winname, winfeatures)
{
	//This launches a new window and then
	//focuses it if window.focus() is supported.
	g_NewPopupWin = window.open(winurl, winname, winfeatures);

	//delay a bit here because IE4 encounters errors
	//when trying to focus a recently opened window
 	setTimeout('g_NewPopupWin.focus();',500);
}



//////