function validate()
{
	var msg = 'The following fields are required:' + '\n';
	if (!document.opform.full_name.value) msg += '- Author Full Name' + '\n';
	if (!(/^[\w\-]+(\.[\w\-]+)*@[A-z0-9]+(\-[A-z0-9]*)*[A-z0-9]+\.[A-z]{2,6}$/.test(document.opform.email.value))) msg += '- Valid Email Address' + '\n';
	if (!(/([0-9-()]{7,})/.test(document.opform.phone_no.value))) msg += '- Valid Phone Number' + '\n';
	if (!document.opform.piece_title.value)	msg += '- Title of Piece' + '\n';
	if (msg == 'The following fields are required:' + '\n')
	{
		msg = '';
	}
	if (!document.opform.terms.checked) msg += 'In order to submit this form you must agree to the' + '\n' + 'terms and guidelines by selecting the checkbox.';
	
	if (msg)
	{
		alert(msg);
		return false;
	}
}