function noSpam(user,domain) {
locationstring = "mailto:" + user + "@" + domain; window.location = locationstring; }

var googleAnalyticsLoader = setInterval(function(){
	if (typeof _gat == "undefined") return true;
	else clearInterval(googleAnalyticsLoader);
	
	var pageTracker = _gat._getTracker("UA-117050-3");
	pageTracker._initData();
	pageTracker._trackPageview();
},500);

j$(function() {
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	var googleAnalytics = document.createElement('SCRIPT');
	googleAnalytics.src = gaJsHost + "google-analytics.com/ga.js";
	googleAnalytics.type = "text/javascript";
	document.body.appendChild(googleAnalytics);
	
	j$('input[title!=""]').hint();
	
	var animate = function (el, opacity, isin, call) {
		var name = 'animating_'+call;
		el.isin = isin;
		if (j$(el).attr(name) == '1') return true;
		j$(el).attr(name, '1');
		j$(el).parent().animate({opacity: opacity}, 'normal', 'linear', function(){
			j$(el).attr(name, '0');
			if (el.isin == !isin) j$(el)[call]();
		});
	};
	
	j$("ul#menu_bar > li:not(.selected) > a").attr('animating1', '0').attr('animating2', '0')
		.mouseover(function(){animate(this, 0.5, true, 'mouseout');})
		.mouseout(function(){animate(this, 1, false, 'mouseover');});
	
	// Hack for IE: Test-animate the navigation bar to clear up a couple of pixel issues.
	if (document.all) j$("ul#menu_bar > li > a").each(function(n,o){
		j$(o).parent().animate({opacity: 1}, 'fast', 'linear');
	});
	
});
