function validate_form ( )
{
    valid = true;

    if ( document.form1.name.value.length < 3 )
    {
        alert ( "Please fill in the 'name' box with valid name" );
        valid = false;
    }
    
    if ( document.form1.companyname.value.length < 8 )
    {
        alert ( "Please fill in the 'Company' box with valid name" );
        valid = false;
    }
    
    if ( document.form1.tel.value.length < 8 )
    {
        alert ( "Please fill in the 'Tel' box with valid name" );
        valid = false;
    }
    
    if ( document.form1.fax.value.length < 8 )
    {
        alert ( "Please fill in the 'fax' box with valid name" );
        valid = false;
    }
    
    if ( document.form1.email.value.length < 10)
    {
  		alert ( "Please fill in the 'Email' box with valid name" );
        valid = false;
	}

    return valid;
}

