
function handleKeyPress(evnt){
	var retVal = true;
	if (evnt.which == 13)
	{
		var testTarget = new String(evnt.target);
		if ((-1 != testTarget.indexOf("account_account_accn")) || (-1 != testTarget.indexOf("account_pword")))
		{
			document.MainForm.submit();
			retVal = false;
		}
	}
	return retVal;
}
function IEHandleKeyPress(){
	if (event.keyCode == 13)
	{
		document.MainForm.submit();
		event.returnValue = false;
	}
}

if (navigator.appName != "Microsoft Internet Explorer")
{
	window.captureEvents(Event.KEYPRESS);
	window.onKeyPress = handleKeyPress;
}


function setfocus() {
document.MainForm.account_account_accn.focus();
}



function FormPost() {

this.document.MainForm.submit();

}
