function submitform()
{
	if(document.form1.onsubmit())
		{
			document.form1.submit();
		}
}

