function ValidateContactForm( curr_form )
{
    if( curr_form.Customer_Name.value == "" ) 
    {
        alert("Please tell us your first name.");
        curr_form.Customer_Name.focus();
        return false;
    }
    
    if( curr_form.Email_Address.value == "" ) 
    {
        alert("Please tell us your email address.");
        curr_form.Email_Address.focus();
        return false;
    }
    
    // Email address must be in correct format
    if( curr_form.Email_Address.value.search( /^[a-zA-Z0-9\-\_\.]+\@[a-zA-Z0-9\-\_\.]+\.[a-zA-Z0-9]+$/ ) == -1 ) 
    {
        alert("The email address you have entered appears to be invalid.  Please try again.");
        curr_form.Email_Address.focus();
        return false;
    }
    
    // Make sure email addresses match
    if( curr_form.Email_Address.value != curr_form.Email_Confirm.value )
    {
        alert("The email addresses you have entered do not match.  Please try again.");
        curr_form.Email_Confirm.focus();
        return false;
    }
    
    // Make sure the question type was selected
    if( curr_form.Question_Type.value == 0 ) 
    {
        alert( "Please select a question type from the list provided." );
        curr_form.Question_Type.focus();
        return( false );
    }
    
    // If the question type loan status, redirect
    if( curr_form.Question_Type.value == "Loan Status" )
    {
        var msg = "Please do not contact us about your loan status.  When your loan\n"
                + "application has been reviewed, we will contact you by phone or email.\n\n"
                + "Thank you for choosing NationalPayday.com";
                
        alert( msg );
        document.location.replace( "index.shtml" );
        return( false );
    }
    
    // If the question type was password, show message
    if( curr_form.Question_Type.value == "Password" )
    {
        var msg = "In order for us to answer your question, please make sure that\n"
                + "your have entered your name correctly and that your Social\n"
                + "Security Number is included in the comments field.\n\n"
                + "Click OK to submit your question.\n"
                + "Click CANCEL to modify your information."
                
        if( ! confirm( msg ) )
        {
            return( false );
        }
        
        return( true );
    }
    
    // If the question type was rejected, redirect
    if( curr_form.Question_Type.value == "Rejected" )
    {
        var msg = "We send all denial notification via email.  Please check your inbox.\n\n"
                + "Thank you for chosing Nationalpayday.com.\n";
                
        alert( msg );
        document.location.replace( "index.shtml" );
        return( false );
    }


    // If the question type was about changing bank accounts, redirect
    if( curr_form.Question_Type.value == "Change Bank" )
    {
        var msg = "Please click OK to access the new EFT form.  Please be sure to fill it out,\n"
                + "sign it, and fax it to us along with a voided check and bank statement from\n"
                + "your new account.";
                
        if( confirm( msg ) ) document.location.replace( "eft_for_bank_change.html" );
        return( false );     
    }
      
    // Alert one more time about FAQ
    var msg = "Did you read our Frequently Asked Questions prior to submitting this form?\n\n"
            + "Most questions that we receive have already been answered and have been\n"
            + "added to our online FAQ.\n\n"
            + "Click OK to submit your question.\n"
            + "Click CANCEL to view our FAQ."
            
    if( ! confirm( msg ) )
    {
        document.location.replace( "faq.htm" );
        return( false );
    }
    
    return( true );
}