// remap jQuery to $
(function($){})(window.jQuery);

/* trigger when page is ready */
$(document).ready(function (){
	var sidebarOrigPosition = "-" + ($("#sidebar").outerHeight() - 20);

	$("#sidebar").delay(2000).animate({
		top: sidebarOrigPosition,
		opacity: 0.5
	}, 2000)
	
	$("#sidebar").hover(
		function() {
			$(this).stop(true).animate({
				top: 0,
				opacity: 0.8
			})
		},
		function() {
			$(this).stop().animate({
				top: sidebarOrigPosition,
				opacity: 0.5
			})
		}
	)
});
