<!--
function checkform(form) 
{
var strURL;
strURL=form.ReferralUrl.value.indexOf("://");

	// *** Check for blank URL
	if (form.ReferralUrl.value == "" ) 
	{
		alert("Linked URL is a required field. Please enter a valid URL.");
		form.ReferralUrl.focus();
		passed = false;
	}

	// *** Check for valid URL
	else if (strURL != -1)
	{
		alert(form.ReferralUrl.value + " should not contain \"http://\".");
		form.ReferralUrl.focus();
		passed = false;
	}

	// *** Check for valid URL
	else if (form.ReferralUrl.value.indexOf(".") < 0 ) 
	{
		alert(form.ReferralUrl.value + " is not a valid URL. Please enter a valid Web site address.");
		form.ReferralUrl.focus();
		passed = false;
	}

	// *** If everything is in order, submit add site critiria.
	else 
	{
		passed = true;
	}
	return passed;
}
//-->
