function contact( address, dom ){
	// send an email without a clear text appearing in HTML
	// copyright 2004, 2007 Alexander von Thorn

	def = "swoc.org"
	if( address == "#alex#" ){
		address = "avt"
		dom = "worldhouse.com"
		}
	if( dom == "" ){ dom = def }
	str =  "mailto:" + address + "@" + dom
	location.replace( str )
	history.go( str )

	} // contact ()


function externalLinks()
{
	if (!document.getElementsByTagName) return;
	var myanchors = document.getElementsByTagName("a");
	for (var i=0; i<myanchors.length; i++)
	{
		var thisanchor = myanchors[i];
		if (thisanchor.getAttribute("href") && thisanchor.getAttribute("rel") == "external")
		{
			thisanchor.target = "_blank";
		}
	}
}


function newwindow(linkchange)
{
	var newanchor = document.getElementById(linkchange);
	newanchor.target = "_blank";
}

