if (window.document.captureEvents!=null)
	window.document.captureEvents(Event.KEYPRESS);
window.document.onkeypress = checkReturn;

function checkReturn(e)
{
   keyPressed = "";
   if (navigator.appName.indexOf("scape")!=-1)
	keyPressed = String.fromCharCode(e.which);
   else if (navigator.appName.indexOf("xplorer")!=-1)
	keyPressed = String.fromCharCode(window.event.keyCode);
   if (keyPressed=="\r" || keyPressed=="\n")
	  jsubmit1();
}


