// JavaScript Document - Validate form fields

function validate_form ( )
{
    valid = true;

    if ( document.form1.Fullname.value == "" )
    {
        alert ( "Please fill in the 'Full name' field." );
        valid = false;
    }
	else if ( document.form1.I_am_a.selectedIndex == 0 )
    {
        alert ( "Please specify." );
        valid = false;
    }
	else if ( document.form1.Email.value == "" )
    {
        alert ( "Please input your email address." );
        valid = false;
    }
    else if ( document.form1.Feedback.value == "" )
    {
        alert ( "Please input your Comment-Query." );
        valid = false;
    }
    return valid;
}
