<!--

function validateregister() {

if (document.registration.firstname.value.length < 1) {

alert("Please enter your first name.");

return false;

}

if (document.registration.lastname.value.length < 1) {

alert("Please enter your last name.");

return false;

}

if (document.registration.username.value.length < 1) {

alert("Please enter a username.");

return false;

}

if (document.registration.password.value.length < 1) {

alert("Please enter your password.");

return false;

}

if (document.registration.phone.value.length < 1) {

alert("Please enter your phone number.");

return false;

}

if (document.registration.email.value.length < 1) {

alert("Please enter your email address.");

return false;

}

if (document.registration.email.value!=document.registration.verifyemail.value) {

alert("Email and verfiy email not matching.");

return false;

}

if (document.registration.country.value.length < 1) {

alert("Please select your country.");

return false;

}

if (document.registration.street_address.value.length < 1) {

alert("Please enter your street address.");

return false;

}

if (document.registration.town.value.length < 1) {

alert("Please enter your city/town.");

return false;

}

if (document.registration.province.value.length < 1) {

alert("Please enter your state/province.");

return false;

}

if (document.registration.captchaentered.value!=document.registration.captchahidden.value) {

alert("Catacha code does not match");

return false;

}

if (document.registration.postcode.value.length < 1) {

alert("Please enter your zipcode/postcode.");

return false;

}




return true;

}

function agreeornot(myel1,myel2) {

var chobj1=myel1;

var chobj2=myel2;

if (chobj1.checked)

chobj2.disabled=0;

else {

chobj2.disabled=1;

}

}

//-->
