/////////////////////////////////////////
// *** OCFrontEnd version 3.1.1012.0 ***
/////////////////////////////////////////

function RM_Login_ShowMsg(pAlert, pFocusId, pSync)
{
	if(pAlert)
	{
		if( ! pSync)
		{
			window.setTimeout('RM_Login_ShowMsg(unescape("' + escape(pAlert) + '"), '
			+ (pFocusId ? 'unescape("' + escape(pFocusId) + '")' : 'null')
			+ ", true);", 10);
			return;
		}

		var oElem;
		if(pFocusId)
		{
			oElem = document.getElementById(pFocusId);
		}

		if(oElem)
		{
			try { oElem.select(); } catch(e) { }
		}

		alert(pAlert);

		if(oElem)
		{
			try { oElem.focus(); } catch(e) { }
		}
	}
}

function RM_Login_SetFocus(pId, pSync)
{
	if( ! pSync)
	{
		window.setTimeout('RM_Login_SetFocus("' + pId + '", true);', 10);
		return;
	}

	var oElem = document.getElementById(pId);
	if(oElem)
	{
		try { oElem.focus(); } catch(e) { }
	}
}

