$(document).ready(function(){
	$('.menu td').each(function(){
		if($(this).attr('current') == '1')
			$(this).addClass("menuHover");
		$(this).click(function(){
			document.location = $(this).children('a').attr('href');
		});
	})
	$('.menu td').mouseover(function(){	
		var current = $(this);
		$('.menuHover').each(function(){
			if($(this).attr('current') != '1' && $(this) != current)
				$(this).removeClass('menuHover')
		});
		$(this).addClass("menuHover");
	});
	$('.menu td').mouseout(function(){	
		var current = $(this);
		$('.menuHover').each(function(){
			if($(this).attr('current') != '1')
				$(this).removeClass('menuHover')
		});
		$(this).addClass("menuHover");
	});
	$('.menu').mouseout(function(){	
		$('.menuHover').each(function(){
			if($(this).attr('current') != '1')
				$(this).removeClass('menuHover')
		});		
	});
});

try{
	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-24551229-1']);
	_gaq.push(['_trackPageview']);
	
	(function() {
	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	})();	
}
catch(err)
{
	
}

setInterval(function(){
	$.get("_data.asp", function(data){		
		$('#dataTopo').text(data);
	})
}, 30000);


