// JavaScript for 'email this page' feature
function chkForm(Frm)
{
	var AlertMsg = '';
	var GoAhead=1;
	
	if (Frm.EmailTo.value=='')
	{AlertMsg=AlertMsg+'You must enter a valid recipient\'s email address.\n';GoAhead=0;}
	if (Frm.EmailFrom.value=='')
	{AlertMsg=AlertMsg+'You must provide a valid email address.\n';GoAhead=0;}
	
	if (GoAhead==0)
	{alert(AlertMsg);return false;}
	else
	{return true;}
}
// JavaScript for 'Contact Us' feature
function chkContactFrm(Frm)
{
	var GoAhead = 1;
	var AlertMsg = '';
	
	if (Frm.Email.value=='')
	{AlertMsg = AlertMsg + 'Please provide an email address.\n';GoAhead=0;}

	if (Frm.Comment.value=='')
	{AlertMsg = AlertMsg + 'Please enter a comment.\n';GoAhead=0;}

	if (GoAhead==0)
	{alert(AlertMsg);return false;}
	else
	{return true;}
}

