
function submitWhenEnter() 
{
	if (window.event.keyCode==13) 
	{
		document.forms[0].submit();
	}
}