$(document).ready(function() {

	

	// Article Hover
	$("#sidebar a").hover(function(){
		var currentLink = $(this);
		$(this).animate({paddingLeft: "20px"}, 50);
		var arrow = "<span>&raquo;</span>";
		$(arrow).prependTo(currentLink).hide().fadeIn(250);		
	}, function() {
		$(this).animate({paddingLeft: "15px"}, 50);
		$("#sidebar span").remove();
	});
	
	// Fading Elementfortytwo
	// $("#logo").css({backgroundPosition: "0px -166px"});
	// $("#logo h1").addClass("logo");
	
	
	// $("#logo h1").hover(function() {
	//	$(this).animate({opacity: ".1"}, 600);										
	// }, function() {
	//	$(this).animate({opacity: "1"}, 250);	
	// });
	
	// Cycle Controls
	$("#cyclebox").cycle({
		fx:     'fade', 
		speed:  'fast', 
		timeout: 15000, 
		speed: 1000,
		next:   '#cycle-next', 
		prev:   '#cycle-back' 		
	});

});