 $(document).ready(function() {
						
	//$('#footer .footlinks').removeClass('no-js');
	
	var slideNav = (function() {
		var wrapHeight = 60;
		var move = 18;
		var spanHeight,
			nav = $('#header ul.level_1'),
			lis = $('li', nav),
			anchors = $('a', lis).css('padding', 0);
			
		$.each(anchors, function() {
			var a = $(this),
				val = a.text();
				
			a.html('<span class="first">' + val + '</span> <span class="wrap-sec"><span class="second">' + val + '</span></span>')
			 .end()
			 .children('span.first')
				//.css('paddingTop', 0) // strange for IE
		});
		
		//spanHeight = lis.eq(0).height();
		
		anchors.hover(function() {
			
			$(this).find('span.first').animate({
				top : move
			}, { duration: 200, queue : false });
			
			$(this).find('span.wrap-sec').fadeIn("fast");
			
			$(this).find('span.second').animate({
				bottom : 0
			}, { duration: 200, queue : false });
			
		}, function() {
			
			$(this).find('span.wrap-sec').css("display", "none");
			$(this).find('span.first').animate({
				top : 0
			}, { duration: 200, queue: false });
			
			$(this).find('span.second').animate({
				bottom : -20
			}, { duration: 200, queue : false });
			
			
		});
		
	})();
	
  });
	

