//****************************************************************************************************//
//*** dialog function                                                                              ***//
//*** This function simply opens a window in the center of the screen with the appropriate URL.    ***//
//****************************************************************************************************//
function dialog(url, name, height, width) 
{
	var oQuickHelpWindow;
	
	var features = new String();
	var chasm = screen.availWidth;
	var mount = screen.availHeight;

	features += "height=" + height + ",";
	features += "width=" + width + ",";
	features += "left=" + ((chasm - width - 10) * .5) + ",";
	features += "top=" + ((mount - height - 30) * .5) + ",";
	features += "center=yes, status";
	
	oQuickHelpWindow = window.open(url , name, features);
	oQuickHelpWindow.focus();	
}
