function validate() {
	var i = document.rgnform;
	if(i.name.value=="" ){
   	   alert("Please type your Name.");
		i.name.focus();
		i.name.select();
		return false;
	}else if(i.cdNumber.value==""  || i.cdNumber.value < 1 ){
   	   alert("Please type minimum of 1 CD.");
		i.cdNumber.focus();
		i.cdNumber.select();
		return false;
	}else if(i.email.value=="" ){
   	   alert("Please type your Email Address.");
		i.email.focus();
		i.email.select();
		return false;
	}else if(i.address.value=="" ){
   	   alert("Please type your Postal Address.");
		i.address.focus();
		i.address.select();
		return false;
	}else if(i.city.value=="" ){
   	   alert("Please type the name of the City.");
		i.city.focus();
		i.city.select();
		return false;
	}else if(i.state.value=="State" ){
   	   alert("Please select your State.");
		i.state.focus();
		i.state.select();
		return false;
	}else if(i.zip.value==""){
   	   alert("Please type your 5 digit Zip Code.");
		i.zip.focus();
		i.zip.select();
		return false;
	}else if(i.phone.value=="" ){
   	   alert("Please type your phone number.");
		i.phone.focus();
		i.phone.select();
		return false;
	}                                                                 
	return true;	
}
