function validate_subscribe()
{
	valid = true;

	if (subscribe.fname.value == "first name")
	{
		alert ("Please fill in your first name.");
		document.subscribe.fname.focus();
		valid = false;
		return valid;
	}

	if (subscribe.lname.value == "last name")
	{
		alert ("Please fill in your last name.");
		document.subscribe.lname.focus();
		valid = false;
		return valid;
	}

	if (subscribe.email.value == "email")
	{
		alert ("Please fill in a valid email address.");
		document.subscribe.email.focus();
		valid = false;
		return valid;
	}
}



function validate_tellfriend()
{
	if (tellfriend.frname.value == "")
	{
		alert ("Oops! We can't send the email because the form was incomplete. Please fill in your friend's name.");
		document.tellfriend.frname.focus();
		valid = false;
		return valid;
	}

	if (tellfriend.fremail.value == "")
	{
		alert ("Oops! We can't send the email because the form was incomplete. Please fill in your friend's email address.");
		document.tellfriend.fremail.focus();
		valid = false;
		return valid;
	}

	if (tellfriend.yrname.value == "")
	{
		alert ("Oops! We can't send the email because the form was incomplete. Please fill in your name.");
		document.tellfriend.yrname.focus();
		valid = false;
		return valid;
	}

	if (tellfriend.yremail.value == "")
	{
		alert ("Oops! We can't send the email because the form was incomplete. Please fill in your email address.");
		document.tellfriend.yremail.focus();
		valid = false;
		return valid;
	}
}
