function form_check() {

	if(document.forms['form'].pname.value == "") {
		alert("Please enter the name of the presenter.");
		document.forms['form'].pname.focus();
		return false;
	}
	if(document.forms['form'].ptitle.value == "") {
		alert("Please enter the presenter's title.");
		document.forms['form'].ptitle.focus();
		return false;
	}
	if(document.forms['form'].cname.value == "") {
		alert("Please enter the name of the contact (probably you).");
		document.forms['form'].cname.focus();
		return false;
	}
	if(document.forms['form'].organisation.value == "") {
		alert("Please enter the name of your organisation.");
		document.forms['form'].organisation.focus();
		return false;
	}
	if(document.forms['form'].phone.value == "") {
		alert("Please enter your phone number so we may contact you regarding this.");
		document.forms['form'].phone.focus();
		return false;
	}
	if(document.forms['form'].email.value == "") {
		alert("Please enter your email so we may contact you regarding this.");
		document.forms['form'].email.focus();
		return false;
	}
	if(document.forms['form'].presentationtitle.value == "") {
		alert("Please enter the title of the presentation.");
		document.forms['form'].presentationtitle.focus();
		return false;
	}
	if(document.forms['form'].presentationdesc.value == "") {
		alert("Please enter about 150 word description of the presentation.");
		document.forms['form'].presentationdesc.focus();
		return false;
	}
	
}


/* CHECKS */
function check_email() {
	var validEmail = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
	if(!document.forms['form'].email.value.match(validEmail)) {
		alert("Please enter a valid email.");
		document.forms['form'].email.focus();
		return false;
	}
}

