function validateReminderForm(theForm){
	if (theForm.Name.value==""){
		alert("Please enter your name.");
		theForm.Name.focus();
		return(false);
	}
	Ctrl = theForm.Email;
	if (theForm.Email.value==""){
	alert("Please enter your email address.");
	theForm.Email.focus();
	return(false);
	}
	else if (Ctrl.value==" " || Ctrl.value.indexOf ('@',0) == -1)
	{
	alert("Please enter a valid email address.");
	theForm.Email.focus();
	return(false);
	}
	else if (Ctrl.value==" " || Ctrl.value.indexOf ('.',0) == -1){
	alert("Please enter a valid email address.");
	theForm.Email.focus();
	return(false);
	}
  if (theForm.FriendName.value==""){
		alert("Please enter your friend or relatives name.");
		theForm.FriendName.focus();
		return(false);
	}

if (theForm.reminder_startDay.value==""){
		alert("Please select the day of the event.");
		theForm.reminder_startDay.focus();
		return(false);
	}
if (theForm.reminder_startMonth.value==""){
		alert("Please select the month of the event.");
		theForm.reminder_startMonth.focus();
		return(false);
	}
if (theForm.reminder_startYear.value==""){
		alert("Please select the starting year that you would like to be reminded of this event.");
		theForm.reminder_startYear.focus();
		return(false);
	}

	return(true);
	}