var whitespace = " \t\n\r";
var a = "@"
var c = "ca"
var d = "."
var n1 = "roun"
var n2 = "dhe"
var n3 = "arth"

function isEmpty(s)
	{
	return ((s == null) || (s.length == 0))
	}

function isBlanks(s)
	{
		 var i;
		 for (i = 0; i < s.length; i++)
		 {
			var c = s.charAt(i);
			if (whitespace.indexOf(c) == -1) {return false};
		 }
		 return true;
	}

function isInvalid(s)
	{
	var at = false;
	var dot = false;
	if (s.indexOf("@") != -1) {at = true;};
	if (s.indexOf(".") != -1) {dot = true;};
	for (var i = 0; i < s.length; i++)
		{
		ch = s.substring(i, i + 1)
		if ((ch >= "A" && ch <= "Z") || (ch >= "a" && ch <= "z")
				|| (ch == "@") || (ch == ".") || (ch == "_")
				|| (ch == "-") || (ch >= "0" && ch <= "9"))
				{}
				else {return true};
		}
	if ((at == true) && (dot == true)) {return false;}
		else {return true;}
	}

function chk(v)
	{
	if (isEmpty(v)) {document.reg.email.focus();document.reg.email.select();alert("Oops! You did not enter an e-mail address where we can send you news about our site...\nPlease enter your e-mail address before clicking the submit button. Thank you!");return false};
	if (isBlanks(v)) {document.reg.email.focus();document.reg.email.select();alert("Oops! Your e-mail address was left blank... \nPlease enter your e-mail address before clicking the submit button. Thank you!");return false};
	if (isInvalid(v)) {document.reg.email.focus();document.reg.email.select();alert("Oops! Your e-mail address seems to contain an error or be incomplete... \nPlease verify your e-mail address before clicking the submit button. Thank you!");return false};
	return true;
	}

function pop(x)
	{
	window.open(x, 'loading', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=550,height=560')
	}

function woop(x,y)
	{
	path = "mai";
	path += "lto";
	path += ":";
	path += x + y + a;
	path += n1 + n2;
	path += n3 + d + c;
	window.location.href=path;
	}

function squirt(x,y)
	{
	document.write('<A HREF="javascript:woop(\'' + x + '\',\'' + y + '\')" onmouseover="window.status=\'Click to send e-mail\'; return true;" onmouseout="window.status=\'\'">');
	document.write(x + y + a + n1 + n2 + n3 + d + c + '</a>');
	}
