jQuery(document).ready(function($){  
	$("#twitter").getTwitter({
		//userName: $("#twitter").attr("title"),
		userName: "beatnologic",
		numTweets: 5,
		loaderText: "Loading tweets...",
		slideIn: true,
		showHeading: false,
		headingText: "Latest Tweets",
		showProfileLink: false	
	});
	
	//hide tracklists
	for(i=1; i<=5; i++){
		$("#whut"+i).hide();					
	}

	//toggles
	$("#toggle1").toggle(function(){
	 $("#whut1").animate({ height: 'hide', opacity: 'hide' }, 'slow');
	},function(){
	 $("#whut1").animate({ height: 'show', opacity: 'show' }, 'slow');
	});
	
	$("#toggle2").toggle(function(){
	 $("#whut2").animate({ height: 'hide', opacity: 'hide' }, 'slow');
	},function(){
	 $("#whut2").animate({ height: 'show', opacity: 'show' }, 'slow');
	});
	
	$("#toggle3").toggle(function(){
	 $("#whut3").animate({ height: 'hide', opacity: 'hide' }, 'slow');
	},function(){
	 $("#whut3").animate({ height: 'show', opacity: 'show' }, 'slow');
	});
	
	$("#toggle4").toggle(function(){
	 $("#whut4").animate({ height: 'hide', opacity: 'hide' }, 'slow');
	},function(){
	 $("#whut4").animate({ height: 'show', opacity: 'show' }, 'slow');
	});
	
	$("#toggle5").toggle(function(){
	 $("#whut5").animate({ height: 'hide', opacity: 'hide' }, 'slow');
	},function(){
	 $("#whut5").animate({ height: 'show', opacity: 'show' }, 'slow');
	});
	
	//image rotation
	$('#image_rotate').innerfade({ 
		speed: 'slow', 
		timeout: 4000, 
		type: 'sequence', 
		containerheight: '400px'
	});
});