function  checkscript()
{
	var sdate	= document.onlineform.startDate.value;
	var edate	= document.onlineform.endDate.value;

	var fname			= document.onlineform.fname.value;
	var forganisers		= document.onlineform.organisers.value;

	var hall			= document.onlineform.hallrequired.value;
	var contactperson	= document.onlineform.contactperson.value;
	var contactland		= document.onlineform.contactland.value;
	var contactmobile	= document.onlineform.contactmobile.value;

	var contactemail	= document.onlineform.contactemail.value;

	var captcha = document.onlineform.captchatxt.value;

	if (sdate === '' || edate === '' || fname === '' || forganisers === '' || hall === '' || contactperson === '' || (contactland === '' && contactmobile === '') ||  contactemail === '' || captcha === '')
	{
		 alert("Please make sure that the: \n\n\t1) dates required,\n\t2) the function name,\n\t3) organisers name,\n\t4) hall required,\n\t5) your name,\n\t6) your contact numbers,\n\t7) email address\n\t8) the three black sybmols\n\n\tare filled  in before submission!");
		 if(sdate ==='') { document.onlineform.startDate.focus();	return false; }
		 else if(edate ===''){ document.onlineform.endDate.focus();	return false; }
		 else if(fname ===''){ document.onlineform.fname.focus();	return false; }
		 else if(forganisers ===''){ document.onlineform.organisers.focus();	return false; }
		 else if(hall ===''){ document.onlineform.hallrequired.focus();	return false; }
		 else if(contactperson ===''){ document.onlineform.contactperson.focus();	return false; }
		 else if(contactland ==='' && contactmobile ===''){ document.onlineform.contactland.focus();	return false; }
		 else if(contactemail ===''){ document.onlineform.contactemail.focus();	return false; }
		 else if(captcha ===''){ document.onlineform.captchatxt.focus();	return false; }
	}
}
