


$(function(){
	   $('#navigation ul li')
		   .css({backgroundPosition: '0px 0px'}) // workaround for FF 2.0 bug
		   .hover(
			   function(){
			   $(this).animate(
					{
						backgroundPosition: '(0px 28px)'
					}, 200);
			   },
			   function(){
			   $(this).animate(
					{
						backgroundPosition: '(0px 0px)'
					}, 200);
			   }
			   
			   );
	});


$(document).ready( function(){
  $('.rounded').corners("3px");
});

$(document).ready(function() {
	$("#quote-box-text").fortune();
});

$(function(){
	positionFooter(); 
	function positionFooter(){
		if($(document).height() < $(window).height()){
			$("#pageFooterOuter").css({position: "absolute",top:($(window).scrollTop()+$(window).height()-$("#pageFooterOuter").height())+"px"})
		}	
	}
 
	$(window)
		.scroll(positionFooter)
		.resize(positionFooter)
});



