function validateContactUs(x) {
	if(x.Contact_Name.value == "") {
		alert("You must supply us with your Contact Name before submitting your enquiry!");
		return false;
	}
	if(x.Enquiry.value == "") {
		alert("You must supply us with your Enquiry before submitting your enquiry!");
		return false;
	}
	return true;
}

function validateRequestQuote(x) {
	if(x.contact.value == "") {
		alert("You must supply us with your Contact Name before submitting your enquiry!");
		return false;
	}
	return true;
}

function validateRequestService(x) {
	if(x.contact.value == "") {
		alert("You must supply us with your Contact Name before submitting your enquiry!");
		return false;
	}
	return true;
}

function validateRequestParts(x) {
	if(x.contact.value == "") {
		alert("You must supply us with your Contact Name before submitting your enquiry!");
		return false;
	}
	return true;
}

function validateRequestAccount(x) {
	if(x.business.value == "") {
		alert("You must supply us with your Business Name before submitting your enquiry!");
		return false;
	}
	if(x.name.value == "") {
		alert("You must supply us with your Contact Name before submitting your enquiry!");
		return false;
	}
	if(x.email.value == "") {
		alert("You must supply us with your Email Address before submitting your enquiry!");
		return false;
	}
	if(x.phone.value == "") {
		alert("You must supply us with your Phone Number before submitting your enquiry!");
		return false;
	}
	if(x.address.value == "") {
		alert("You must supply us with your Address before submitting your enquiry!");
		return false;
	}
	if(x.city.value == "") {
		alert("You must supply us with your City before submitting your enquiry!");
		return false;
	}
	if(x.state.value == "") {
		alert("You must supply us with your State before submitting your enquiry!");
		return false;
	}
	if(x.post.value == "") {
		alert("You must supply us with your Postcode before submitting your enquiry!");
		return false;
	}
	if(x.country.value == "") {
		alert("You must supply us with your Country before submitting your enquiry!");
		return false;
	}
	return true;
}
function Validate () {

		if (document.login.username.value == '' &&  document.login.password.value == '') {
                alert(' Please enter User ID and Password');
                return false;
        }
        if (document.login.username.value == '' ) {
                alert(' Please enter User ID ');
                return false;
        }

		 if (document.login.password.value == '') {
                alert(' Please enter Password ');
                return false;
        }

        return true;
}
