function MenuArrow(){
    this.init = function(){
    	(function($) {
			$("#navigation li").css("list-style", "none");
			
			if (!$.browser.msie) 
				$('#naviArrow').css('display', 'block');
			
			$("#navigation li a").mouseover(function(e) { menuArrow.over(e); });
			$("#navigation li a").mouseout(function() { menuArrow.out(); });
			
			$('#naviArrow').css('top', $("#navigation li.current")[0].offsetTop + 7);
			
			
    	})(jQuery);
    }
	
    this.over = function(e){
    	(function($) {
    		//easing: "easeOutBounce"}
    		console.log(e.currentTarget.offsetTop);
    		$('#naviArrow').animate({
    		    top: e.currentTarget.offsetTop + 7
    		  },  { queue:false, duration:200} , function() {
    		    // Animation complete.
    		});
    	})(jQuery);
    }
    
    this.out = function(){
    	(function($) {
    		$('#naviArrow').animate({
    		    top: $("#navigation li.current")[0].offsetTop + 7
    		  },  { queue:false, duration:200 }, function() {
    		    // Animation complete.
    		});
    	})(jQuery);
    }

    var self = this;
}

var menuArrow = new MenuArrow();

(function($) {
	$(document).ready(function(){
		menuArrow.init();
	});

})(jQuery);
