$(document).ready(function(){
    $("#theform").validate();
  });



function submitform()
{
  document.theform.submit();
} 
