<script>

function submitForm(){
document.getElementById("form1").submit();
}

</script>