function validate() 
	{
		var msg = "The following information is missing:\n\n";
		var goalert = false;
			if (hostworkshop.facname.value == "") {
				msg += 'Facility Name\n';
				goalert = true;
			}
			
			if (hostworkshop.facadd1.value == "") {
				msg += 'Facility Address 1\n';
				goalert = true;
			}
	
			if (hostworkshop.faccity.value == "") {
				msg += 'Facility City\n';
				goalert = true;
			}
			
			if (hostworkshop.facstate.value == "") {
				msg += 'Facility State\n';
				goalert = true;
			}
				
			if (hostworkshop.faczip.value == "") {
				msg += 'Facility Zip Code\n';
				goalert = true;
			}
			
			if (hostworkshop.facphone.value == "") {
				msg += 'Facility Phone\n';
				goalert = true;
			}
			
			if (hostworkshop.contactname.value == "") {
				msg += 'Contact Name\n';
				goalert = true;
			}
			
			if (hostworkshop.contacttitle.value == "") {
				msg += 'Contact Title/Role\n';
				goalert = true;
			}
			
			if (hostworkshop.contactemail.value == "") {
				msg += 'Contact Email\n';
				goalert = true;
			}
			
			if (hostworkshop.workshopdt1month.value == "") {
				msg += 'Workshop Date 1st Choice Month\n';
				goalert = true;
			}
			
			if (hostworkshop.workshopdt1day.value == "") {
				msg += 'Workshop Date 1st Choice Day\n';
				goalert = true;
			}
			
			if (hostworkshop.workshopdt2month.value == "") {
				msg += 'Workshop Date 2nd Choice Month\n';
				goalert = true;
			}
			
			if (hostworkshop.workshopdt2day.value == "") {
				msg += 'Workshop Date 2nd Choice Day\n';
				goalert = true;
			}
			
			if (hostworkshop.maxcap.value == "") {
				msg += 'Maximum Capacity\n';
				goalert = true;
			}
			
		if (goalert == true) {
			alert(msg);
			return false;
		} else {
			var e = hostworkshop.contactemail.value;
			
			if (e.indexOf('@')==-1) { //does it have an @ in it?
				alert('Please provide a valid email address\n\nThe address is missing an @ symbol');
				return false;
			} 
			
			var atsplit = hostworkshop.contactemail.value.split('@');
			if (atsplit[0]=='') { //are there any characters before the @ symbol
				alert('Please provide a valid email address\n\nThe address is missing characters before the @ symbol');
				return false;
			}
			
			if (atsplit[1].indexOf('.')==-1) { //does it have a . after the @
				alert('Please provide a valid email address\n\nThe address is missing a . (dot) after the @ symbol');
				return false;
			} 
			
			var atdotsplit = atsplit[1].split('.');
			if (atdotsplit[0]=='') { //does it have characters immediately after the @				
				alert('Please provide a valid email address\n\nThe address is missing characters immediately after the @ symbol');
				return false;
			}
			
			var dotsplit = hostworkshop.contactemail.value.split('.');
			//alert(dotsplit[dotsplit.length-1]);
			if (dotsplit[dotsplit.length-1]=='') { //are there any characters after the last .
				alert('Please provide a valid email address\n\nThe address is missing characters after the last .(dot)');
				return false;
			}
			
			//otherwise submit the form
			hostworkshop.submit();		
		} 
	}