<!--
	function setFocus(sFieldName)
	{
		var sFormname = "frmMain";
		if (document.forms)
		{
			if (document.forms[sFormname])
			{
				if (document.forms[sFormname])
				{
					var oField = eval('document.forms[sFormname].' + sFieldName);
					if (oField) 
						oField.focus();					
				}
			}
		} 
		else if (document.getElementById)
		{
			var oField = document.getElementById(sFieldName);
			if (oField) oField.focus();
		}		
	}
		
	function userConfirm(sMsg)
	{
		return window.confirm(sMsg);		
	}
	
	function _getLayerObj(whichLayer) 
	{
		if (document.getElementById)
		{
			// this is the way the standards work
			if (document.getElementById(whichLayer))
				return document.getElementById(whichLayer);
		}
		else if (document.all)
		{
			// this is the way old msie versions work
			if (document.all[whichLayer])
				return document.all[whichLayer];
		}
		else if (document.layers)
		{
			// this is the way nn4 works
			if (document.layers[whichLayer])
				return document.layers[whichLayer];
		}
	}
//-->