function submitform(n)
{
	if (document.forms.length > 0) {
		document.forms[n].submit()
	}
}
