function validate_form ( )
{
    valid = true;
    if ( document.MyForm2.Full_Name.value == "" )
    {
        alert ( "Please fill in your Full Name." );
        document.MyForm2.Full_Name.focus();
        return false;
    }
    if ( document.MyForm2.Email.value == "" )
    {
        alert ( "An Email Address is required." );
        document.MyForm2.Email.focus();
        return false;
    }
       if ( document.MyForm2.Comments.value == "" )
    {
        alert ( "Please fill in the Comments section of this form." );
        document.MyForm2.Comments.focus();
        return false;
    }


}


function validate_rate ( )
{
    valid = true;
    if ( document.MyForm.Customer_Name.value == "" )
    {
        alert ( "Please fill in your Full Name." );
        document.MyForm.Customer_Name.focus();
        return false;
    }
    if ( document.MyForm.Customer_Email.value == "" )
    {
        alert ( "An Email Address is required." );
        document.MyForm.Customer_Email.focus();
        return false;
    }
       if ( document.MyForm.Number_of_Passengers.value == "" )
    {
        alert ( "Please fill in the Number of Passengers." );
        document.MyForm.Number_of_Passengers.focus();
        return false;
    }

       if ( document.MyForm.Travel_Day.value == "" )
    {
        alert ( "Please fill in your Anticipated travel date." );
        document.MyForm.Travel_Day.focus();
        return false;
    }



}



function popupform(myform, see_more)
{
if (! window.focus)return true;
window.open('', see_more, 'height=300,width=470,scrollbars=yes');
myform.target=see_more;
return true;
}


function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=350,left = 262,top = 209');");
}

function validate(chk){
  if (chk.checked == 1)
    return True;
  else
    alert("You did not check the check box agreeing to our Trip Booking Terms & Conditions.")
    return false;
}


function popUpMovie(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=635,height=515');");
}


