$(document).ready(function() {
	
	$('table.graf2').hide();
	$('#graf0').show();
	
	$('table.toplist tr').hover(
		function() {	
			$('table.toplist tr').children('td').css('background', 'none');
			$(this).children('td').css('background', '#424344');
			var thisIndex = $('table.toplist tr').index(this);
			if ($('#graf'+thisIndex).is(':visible') != true) {
				$('table.graf2').hide();
				$('#graf'+thisIndex).fadeIn('fast');
			}
		}, 
		function() {
		// nothing to do :(
	});});
/*	
	$(function() {
		$(".phots").jCarouselLite({
			btnNext: ".next",
			btnPrev: ".prev"
		});
	});	
	
	$(function() {
		$(".phots li").hover(function() {
			$(this).children("div").css("display", "block");
			}, function() {$(this).children("div").css("display", "none");}
		);	
	});
	
});
*/