function submitForm(id) 
{
  frm = document.getElementById(id);
  frm.submit();
}