var otherSponsorsTimeout;
var currentSponsor="";
function fadeOtherSponsors(){
	if(currentSponsor==""){
		currentSponsor=1;
	}
	$('#other-'+currentSponsor).fadeOut(2000,function(){
		currentSponsor=currentSponsor==$('#other .other-div').size()?1:currentSponsor+1;
		$('#other-'+currentSponsor).fadeIn(2000, function(){
			clearTimeout(otherSponsorsTimeout);
			otherSponsorsTimeout=setTimeout("fadeOtherSponsors();",5000);
		});
	});
}
$(document).ready(function(){
	$('a[rel=blank]').attr("target","_blank");
	if($('#other .other-div').size()>1){
		otherSponsorsTimeout=setTimeout("fadeOtherSponsors();",5000);
	}
	$('.comingSoonMenu').click(function(){ alert("This material is still being prepared and will be available soon."); return false; });
	$('.conferenceOverMenu').click(function(){ alert("This material is no longer available as the conference has already been held."); return false; });
});
