function nospam(user,domain) {
	status="mailto:" + user + "@" + domain;
	locationstring = "mailto:" + user + "@" + domain;
	window.location = locationstring;
}
// tells links with rel="external" to open in a new window
function externalLinks () {
        if (!document.getElementsByTagName) return;
        var anchors = document.getElementsByTagName("a");
        for (var i=0; i<anchors.length; i++) {
                var anchor = anchors[i];
                if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external"){
                        anchor.target = "_blank";
                }
        }
}
// replace loader gif with photo
function fadeInPhoto() {
	$('placeholder').hide();
	$('mainImage').appear();
}

Event.observe(window, 'load', function() {
	externalLinks();
	//if ($('title')){
	//	$('title').observe('click', function(event) {
	//		document.location.href='/';
	//	});
	//}
	//if($('image')){
	//	fadeInPhoto();
	//}
});
