function validate_webinar(form1){
	
	//First Name
	if(!wordCount(form1.first_name.value)){
		alert('First Name is required.');
		form1.first_name.focus();
		return false;
	}	
	
	//Last Name
	if(!wordCount(form1.last_name.value)){
		alert('Last Name is required.');
		form1.last_name.focus();
		return false;
	}
	
	//email
	if(!wordCount(form1.email.value)){
		alert('Email is required.');
		form1.email.focus();
		return false;
	}
	
	//phone 
	if(!wordCount(form1.phone.value)){
		alert('Phone Number is required.');
		form1.phone.focus();
		return false;
	}	
	
		
	//State
	if(!wordCount(form1.state.value)){
		alert('State is required.');
		form1.state.focus();
		return false;
	}
		
	


return true;	
}


//*****************************************************
//VALIDATORS
//*****************************************************

	//pass any string in, it will validate if it follows: [string]@[string].[string]
	function isEmail(addy){
	  emailExp = /\w@\w.\w/;
		if(!addy.match(emailExp)){
			return false;
		}
	return true;
	}
	
	//pass any string in, it will validate if it follows: ###-###-#### 
	function isPhone(phn){
	  phnExp = /\d{3}-\d{3}-\d{4}/;
		if(!phn.match(phnExp)){
			return false;
		}
	return true;	
	}
	
	//pass any string into this and it will return how many words are in the string.
	function wordCount(obj){
	  	if(obj.length == 0){
			wordTotal = 0;
	   	}else{
			regSpace = /\s/g;
	  		aWords = obj.split(regSpace);
	  		wordTotal = aWords.length;
		}	
	return wordTotal;	
	}