	$(window).load(function() {
		$('#slider').nivoSlider( {
			effect:'boxRainReverse',
	        directionNav:false, // Next & Prev navigation
			controlNav:false
			});
		
	});
    	$(function(){
	$('.menu a')
		.css( {backgroundPosition: "-70px 230px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(-20px 115px)"}, {duration:300})
		})
		.mouseout(function(){
		
			var $this = $(this);
			
			$(this).stop().animate({backgroundPosition:"(-20px 230px)"}, {duration:200, complete:function(){
				$(this).css({backgroundPosition: "-20px 230px"});
			}})
			
			var ul = $this.next();
			
			if( ul.length > 0 )
			{
				ul.find('li').hover(function()
				{
					$this.stop(true, true).css({background: '#dc2d33', color: '#fff'});
				},
				function()
				{
					if( !$this.hasClass('current') )
					$this.stop(true, true).css({background: '#fff', color: '#252525'});
				});
			}
		})
		});
    
		$(document).ready(function()
		{
			$("#footer").footerSticker();
			
			$(".box_last a").tipsy({gravity: "s", fade: true});
		});
