function reloadShowModalDialog(page, dialogWidth, dialogHeight, inputParams)
{
	var scrollFlag = "no";
	if(arguments[4] != null && arguments[4] == "yes")
	{
		scrollFlag = "yes";
	}
	var sFeature = "dialogWidth:"+ dialogWidth +"px; dialogHeight:"+ dialogHeight +"px;center:yes;help:no;resizeble:no;scroll:" + scrollFlag + ";status:no";
	var result = showModalDialog(page, inputParams, sFeature);	
	return result;
}
function reloadShowDialog(page, dialogWidth, dialogHeight)
{
	newwin = window.open(page,"","scrollbars");
	if(dialogWidth == "")
	{
		dialogWidth = screen.width;
	}
	if(dialogHeight == "")
	{
		dialogHeight = screen.height;
	}
	if(document.all)
	{
		newwin.moveTo((screen.width - dialogWidth)/2, (screen.height - dialogHeight)/2);
		newwin.resizeTo(dialogWidth,dialogHeight);
	}
}
