
function validatePass() {

if((document.quote.name.value.length<5) || (document.quote.name.value.length>22)){
	alert("Please enter a valid name");
}else if((document.quote.company.value.length<2) || (document.quote.company.value.length>22)){
	alert("Please enter a valid company name");
}else if((document.quote.number.value.length<5) || (document.quote.number.value.length>13)){
	alert("Please enter a valid phone number");
}else if(document.quote.pass.value !== "r3cyc1e"){
 	alert("Password incorrect, please try again.");
}else{
	document.quote.submit();
}

}


