
function validate(frm)
{
	if(frm.yourname.value.length == 0)
	{
		alert("Please fill in all fields on the form.");
		frm.yourname.focus();
		return false;
	}
	if(frm.yourlocation.value.length == 0)
	{
		alert("Please fill in all fields on the form.");
		frm.yourlocation.focus();
		return false;
	}
	if(frm.youremail.value.length == 0)
	{
		alert("Please fill in all fields on the form.");
		frm.youremail.focus();
		return false;
	}
	if(frm.yourtitle.value.length == 0)
	{
		alert("Please fill in all fields on the form.");
		frm.yourtitle.focus();
		return false;
	}
	if(frm.yourcomment.value.length == 0)
	{
		alert("Please fill in all fields on the form.");
		frm.yourcomment.focus();
		return false;
	}
	return true;
}

