/**
 * @author Xoro
 */
$(document).ready(function(){
				
	//Menu
	$( "#menu-link a" ).hover(
		function() {
			$(this).animate({
				color: "#d4721d",
			}, 300, "easeOutCubic" );
		},
		function() {
			$(this).animate({
				color: "#FFF",
			}, 300, "easeOutCubic" );
		}
	);
	
	//Logo > menu-logo
	//Menu Logo
	$( "#menu-logo a" ).hover(
		function() {
			$(this).animate({
				color: "#d4721d",
			}, 300, "easeOutCubic" );
		},
		function() {
			$(this).animate({
				color: "#000",
			}, 300, "easeOutCubic" );
		}
	);
	
	
	//Lang
	$( ".langHeader a" ).hover(
		function() {
			$(this).animate({
				color: "#d4721d",
			}, 300, "easeOutCubic" );
		},
		function() {
			$(this).animate({
				color: "#000",
			}, 300, "easeOutCubic" );
		}
	);
	
	
	//Sub-Menu
	$( "#menu-sub-link a" ).hover(
		function() {
			$(this).animate({
				color: "#d4721d",
			}, 300, "easeOutCubic" );
		},
		function() {
			$(this).animate({
				color: "#606060",
			}, 300, "easeOutCubic" );
		}
	);
	
	//Footer
	$( "#footer a" ).hover(
		function() {
			$(this).animate({
				color: "#000",
			}, 300, "easeOutCubic" );
		},
		function() {
			$(this).animate({
				color: "#FFF",
			}, 300, "easeOutCubic" );
		}
	);
	
	//MenuVinos
	$( "#menu-vinos a" ).hover(
		function() {
			$(this).animate({
				color: "#d4721d",
			}, 300, "easeOutCubic" );
		},
		function() {
			$(this).animate({
				color: "#000",
			}, 300, "easeOutCubic" );
		}
	);
	
	//Elimar el efecte hover del link actual en el menu
	$("#menuLinkActive a").unbind('mouseenter mouseleave');
	$("#menuLinkActive a").css("color", "#d4721d");
	
	$("#langActive").unbind('mouseenter mouseleave');
	$("#langActive").css("color", "#d4721d");
	
});

var $buoop = {vs:{i:8,f:3.5,o:10.5,s:4,n:9}} 
$buoop.ol = window.onload; 
window.onload=function(){ 
 if ($buoop.ol) $buoop.ol(); 
 var e = document.createElement("script"); 
 e.setAttribute("type", "text/javascript"); 
 e.setAttribute("src", "http://browser-update.org/update.js"); 
 document.body.appendChild(e); 
} 
