$(function() {
	$('#event_scroll a').bind('mouseover', function(evt) {
		var hoverId = parseInt($(this).html()) - 1;

		if ($(this).parent().find('a')[hoverId] == $(this).parent().find('a.active')[0]) {
			return;
		}

		$(this).parent().find('a.active').removeClass('active');
		$($(this).parent().find('a')[hoverId]).addClass('active');

		$('#content_container .home .event').fadeOut(50);
		$($('#content_container .home .event')[hoverId]).fadeIn(150);
	});
});
