function pop(x)
	{
	miniwin=window.open(x, 'mini', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=525,height=450');
	miniwin.focus();
	}

function pop2(x)
	{
	miniwin=window.open(x, 'mini', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=700,height=550');
	miniwin.focus();
	}


var whitespace = " \t\n\r";
var n1 = "@tectane.com"

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 pop(x)
	{
	window.open(x, 'loading', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=560,height=560')
	}

function mail(x,y)
	{
	path = "mailto:";
	path += x + y + n1;
	window.location.href=path;
	}

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

