﻿// JScript File


function submitForm() {
   //validate form
   //jkeen
   
   var bisValid
   
    if (document.getElementById) {
    
        if (document.getElementById('send_to').value =="" )
            {
            bisValid = false;
            }
        else
            {
            
            if (document.getElementById('location').value =="" )
            {
            bisValid = false;
            }
            else
            {
            bisValid = true;
            }
 
        }
    
    if (bisValid == false){
        alert("please enter your email address and location.");
    }
    
    return bisValid;
    
    }
    
    
    
}