$(document).ready(function() {

	// MENU ANIMATION
	$('.menuBtn').mouseenter(function() {
		var obj_o = $('.menuBtn_o',this)
		$('.menuBtn_n',this).fadeOut(180, function() {
			obj_o.stop(true, true).animate({bottom: '0px'}, 180);
		});
	});
	$('.menuBtn').mouseleave(function() {
		var obj_n = $('.menuBtn_n',this);
		$('.menuBtn_o',this).animate({bottom: '-42px'}, 180, function() {
			obj_n.fadeIn(180);
		});
	});

	// IMAGE ROLLOVER
	$(".formBtn_n").hover(
		function () {
			$(this).removeClass("formBtn_n").addClass("formBtn_o").fadeIn('fast');
		},
		function () {
			$(this).removeClass("formBtn_o").addClass("formBtn_n").fadeIn('fast');
		}
	);	

	// LANGUAGES BUTTONS
	/*$(".lang_btn").live({
	  mouseenter: function() {	
		  $(this).find(".background_o").animate({
			top: '0px'
		  }, 300, "swing");
		  $(this).find(".label_n").animate({
			top: '27px'
		  }, 600, "swing");
		  $(this).find(".label_o").animate({
			top: '1px'
		  }, 300, "swing");
	  },
	  
	  mouseleave: function() {	
		  $(this).find(".background_o").animate({
			top: '27px'
		  }, 600, "swing");
		  $(this).find(".label_n").animate({
			top: '1px'
		  }, 300, "swing");
		  $(this).find(".label_o").animate({
			top: '27px'
		  }, 600, "swing");
	  }
	});
	
	
	// MAIN BUTTONS
	$(".main_btn").live({
	  mouseenter: function() {	
		  $(this).find(".main_btn_o").animate({
			top: '0px'
		  }, 300, "swing");
		  $(this).find(".main_btn_n").animate({
			top: '26px'
		  }, 600, "swing");
	  },
	  
	  mouseleave: function() {	
		  $(this).find(".main_btn_o").animate({
			top: '26px'
		  }, 600, "swing");
		  $(this).find(".main_btn_n").animate({
			top: '-26px'
		  }, 300, "swing");
	  }
	});

	// CONTENT BUTTONS
	$("button").live({
	  mouseenter: function() {	
		$(this).animate({ color: "#FFFFFF" }, 300);
		$(this).animate({ backgroundColor: "#df231a" }, 200);
	  },
	  
	  mouseleave: function() {	
		$(this).animate({ color: "#000000" }, 200);
		$(this).animate({ backgroundColor: "#dfdfdf" }, 300);
	  }
	});*/
});

