function validate_form ( )
{
    valid = true;

    if ( document.feedback.Name.value == "" )
    {
        alert ( "Please fill in the 'Name' box." );
        return false;
    } 


	    if (document.feedback.Email.value == "" || document.feedback.Email.value.indexOf("@") == -1 || document.feedback.Email.value.indexOf(".") == -1 )
    {
        alert ( "Please fill in the 'Email Address' box with a valid email address." );
        return false;
    }  


    if ( document.feedback.Comments.value == "" )
    {
        alert ( "Please fill in the 'Comments' box." );
        return false;
    } 
	 if ( document.feedback.security_code.value == "" )
    {
        alert ( "Please enter a valid 'security code'." );
        return false;
    } 
	
	
    return valid;
}
