$(document).ready(function() {
	$('#topanim').s3Slider({
		timeOut: 3000
	});

/*
	$('#sidebar2 dl.calendar dd').hide();
	$('#sidebar2 dl.calendar dt').click(function(){
		$('#sidebar2 dl.calendar dd').slideUp();
		$(this).parent().next().slideDown();
		return false;
	});
*/
	$('dt.toggle').css("cursor","pointer").bind("click", function(){$(this).next('dd').slideToggle(80);return false;});

	$('body.c_local_live #content .content table tbody tr:odd').addClass('odd');
	$('body.c_local_live #content .content table tbody tr:even').addClass('even');



	$("body.c_local_fanpix a[rel=grp]").fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'titlePosition' 	: 'over',
		'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
			return '<span id="fancybox-title-over">Image ' +  (currentIndex + 1) + ' / ' + currentArray.length + ' ' + title + '</span>';
		}
	});


});

