Cufon.replace('.cufon, h3, h1');
$(document).ready(function() {
	$("#menu li a").hover(function() {
		$(this).animate({ borderBottomWidth: '5px' }, 100);
	}, function() {
		$(this).animate({ borderBottomWidth: '0px' }, 100);
	});
	
	$(".headlines a:gt(0)").hide();
	setInterval(function() {
		$(".headlines :first-child").slideUp(400).next('a').delay(400).slideDown(400).end().appendTo('.headlines');
	}, 5000);
	
	$("#sponsorlogos img:gt(0)").hide();
	setInterval(function() {
		$("#sponsorlogos :first-child").fadeOut().next('img').fadeIn().end().appendTo('#sponsorlogos');
	}, 4000);
	
	// BC Logo animation
	$("#bclink").css({ opacity: 0.2 }).hover(function() {
		$(this).stop().animate({ opacity: 1 }, 200);
	}, function() {
		$(this).stop().animate({ opacity: 0.2 }, 500);
	});
}); 
