function fncPopUp(strFile,intWidth,intHeight,strWindowName,strFeatures)
{	if (typeof strWindowName == "undefined")		// if no window name was specified
		strWindowName = "";										// set it no nothing
	if (typeof strFeatures == "undefined")				// if no features were specified
		strFeatures = "";
	else
		strFeatures = strFeatures + ",";
	if (typeof intWidth == "undefined")
		intWidth = "800";
	if (typeof intHeight == "undefined")
		intHeight = "600";
	if (strWindowName=="help")
		window.open(strFile,strWindowName,strFeatures + ",width=" + intWidth + ",height=" + intHeight);	
	else
		window.open(strFile,strWindowName,strFeatures + "scrollbars=yes,status=yes,resizable=yes,width=" + intWidth + ",height=" + intHeight);	
}
function fncPopUpOnTop(strFile,intWidth,intHeight,strWindowName,strFeatures)
{	if (typeof strWindowName == "undefined")		// if no window name was specified
		strWindowName = "";										// set it no nothing
	if (typeof strFeatures == "undefined")				// if no features were specified
		strFeatures = "";
	else
		strFeatures = strFeatures + ",";
	if (typeof intWidth == "undefined")
		intWidth = "800";
	if (typeof intHeight == "undefined")
		intHeight = "600";
	if (strWindowName=="help")
		return window.open(strFile,strWindowName,strFeatures + ",width=" + intWidth + ",height=" + intHeight);	
	else
		return window.open(strFile,strWindowName,strFeatures + "scrollbars=yes,status=yes,resizable=yes,width=" + intWidth + ",height=" + intHeight);	
}
function MakeModularWindowTop(p_ModularWindow)
{
	if (p_ModularWindow)
	{
		try
		{
			p_ModularWindow.focus();
		}
		catch(e)
		{
			//p_ModularWindow	=	null;
		}
	}
}