// JavaScript Document
<!-- 
var good;
function InitTellFriend()
{
	document.getElementById("friendSubj").value = "It will be very interesting for you!";
	locat = "Hi, old chap,\nYou may want to check out this site: "+window.location;
	
	theright = locat.lastIndexOf('/');
	locat = locat.substring(0, theright);

	document.getElementById("friendMessage").value = locat;
}

function checkEmailAddress(field) 
{
	var goodEmail = field.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi);
	if (goodEmail) 
	{
		good = true;
	}
	else 
	{
		alert("Please enter a valid address.");
		field.focus();
		field.select();
		good = false;
	}
	return good;
}
function mailThisUrl() 
{
	good = false;
	if (checkEmailAddress(document.getElementById("friendEmail").value) == true) 
	{
		top.location.href = "mailto:"+document.getElementById("friendEmail").value+"?subject="+document.getElementById("friendSubj").value+"&body="+document.getElementById("friendMessage").value;
	}
	document.getElementById("friendEmail").focus();
	document.getElementById("friendEmail").select();
}
-->