
function validateform( objform )
{
	var retVal = ( ValidateControl( objform.Name, true, 'text', 'Name' )
		&& ValidateControl( objform.Company, false, 'text', 'Company' )
		&& ValidateControl( objform.Address, false, 'text', 'Address' )
		&& ValidateControl( objform.MarketingUpdates, false, 'text', 'Marketing Updates' )
		&& ValidateControl( objform.City, false, 'text', 'City' )
		&& ValidateControl( objform.State, false, 'text', 'State' )
		&& ValidateControl( objform.Postcode, false, 'text', 'Postcode' )
		&& ValidateControl( objform.Phone, true, 'phone', 'Telephone Number (including area code)' )
		&& ValidateControl( objform.Other, false, 'phone', 'Other Phone Number (including area code)' )
		&& ValidateControl( objform.Mobile, false, 'text', 'Mobile Number' )
		&& ValidateControl( objform.Fax, false, 'phone', 'Fax Number (including area code)' )
		&& ValidateControl( objform.Email, false, 'email', 'Email Address' )

		&& ValidateControl( objform.PartNumber, false, 'text', 'Part Number' )
		&& ValidateControl( objform.Description, false, 'text', 'Description' )
		&& ValidateControl( objform.MadePreviously, false, 'text', 'Made Previously' )
		&& ValidateControl( objform.OriginalInvoiceNo, false, 'text', 'Original Invoice No' )
		&& ValidateControl( objform.End_Connector_Type_1, false, 'text', 'End Connector Type 1' )
		&& ValidateControl( objform.Qty1, false, 'text', 'Quantity 1' )
		&& ValidateControl( objform.Colour1, false, 'text', 'Colour 1' )
		&& ValidateControl( objform.End_Connector_Label_1, false, 'text', 'End Connector Label 1' )
		&& ValidateControl( objform.LabelQty1, false, 'text', 'Label Quantity 1' )
		&& ValidateControl( objform.LabelColour1, false, 'text', 'Label Colour 1' )
		&& ValidateControl( objform.End_Connector_Type_2, false, 'text', 'End Connector Type 2' )
		&& ValidateControl( objform.Qty2, false, 'text', 'Quantity 2' )
		&& ValidateControl( objform.Colour2, false, 'text', 'Colour 2' )
		&& ValidateControl( objform.End_Connector_Label_2, false, 'text', 'End Connector Label 2' )
		&& ValidateControl( objform.LabelQty2, false, 'text', 'Label Quantity 2' )
		&& ValidateControl( objform.LabelColour2, false, 'text', 'Label Colour 2' )
		&& ValidateControl( objform.CableType, false, 'text', 'Cable Type' ) );
			
	if ( retVal )
		objform.btnSubmit.disabled = true;

	return retVal;
}