// launch.js

function launch(filename,width,height,winName,isScroll) {
	var undefined;

	var features = "width=" + width + ",height=" + height;
	features += ",menubar=0,toolbar=0,location=0,directories=0,status=0,resizable=0,hotkeys=0";
	if ('' + isScroll == "true")
	{
		features += ",scrollbars=1";
	} else {
		features += ",scrollbars=0";
	}

	void eval(winName + '= window.open("' + filename + '","' + winName + '","' + features + '")');

	//if (!(UA.isIE && UA.isMac))
	//{
		// Try to focus it
	//	if (('' + window.focus) != "undefined" && ('' + window.focus) != '') 
	//	{
	//		eval(winName + '.focus()');
	//	}
	//}
}
