$(document).ready(function (){
	//Pop-up laptops ASUS
	$("#asus-popup").animate({ 
   	marginRight: "190px",
	}, 3000 );

	// Ocultar asus pop-up
	$("#asus-popup-cerrar").click(function(){
		$("#asus-popup").hide("slow");
	});
	
	
	//Elemento menu: nosotros
	$("#elemento-menu-nosotros").animate({
		opacity: "0.4"
	}, "fast");
	$("#elemento-menu-nosotros").hover(
		function (){
			$(this).animate({
				opacity: "1"
			}, "fast");
		},
		function (){
			$(this).animate({
				opacity: "0.4"
			}, "fast");
		}
	);

	//Elemento menu: productos
	$("#elemento-menu-productos").animate({
		opacity: "0.4"
	}, "fast");
	$("#elemento-menu-productos").hover(
		function (){
			$(this).animate({
				opacity: "1"
			}, "fast");
		},
		function (){
			$(this).animate({
				opacity: "0.4"
			}, "fast");
		}
	);

	//Elemento menu: servicios
	$("#elemento-menu-servicios").animate({
		opacity: "0.4"
	}, "fast");
	$("#elemento-menu-servicios").hover(
		function (){
			$(this).animate({
				opacity: "1"
			}, "fast");
		},
		function (){
			$(this).animate({
				opacity: "0.4"
			}, "fast");
		}
	);

	//Elemento menu: portafolio
	$("#elemento-menu-portafolio").animate({
		opacity: "0.4"
	}, "fast");
	$("#elemento-menu-portafolio").hover(
		function (){
			$(this).animate({
				opacity: "1"
			}, "fast");
		},
		function (){
			$(this).animate({
				opacity: "0.4"
			}, "fast");
		}
	);

	//Elemento menu: contacto
	$("#elemento-menu-contacto").animate({
		opacity: "0.4"
	}, "fast");
	$("#elemento-menu-contacto").hover(
		function (){
			$(this).animate({
				opacity: "1"
			}, "fast");
		},
		function (){
			$(this).animate({
				opacity: "0.4"
			}, "fast");
		}
	);
	
	$('a.galeria-eeepc').lightBox();
});
