	$(document).ready(function() {
     		
		   var autogiro = false;
		   var servicios = false;
		   $("#subAutogiro").hide();
		   $("#subServicios").hide();
      	   $('.qsomos').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });
      	   $('.hist').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });
      	   $('.misvis').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });
      	   $('.inst').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });		   
      	   $('.staff').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });		  	
		   
       	   $('.mudInter').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });
      	   $('.alm').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });
      	   $('.embInd').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });
      	   $('.carAer').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });		   
      	   $('.carMar').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });		 
      	   $('.arte').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });		   
      	   $('.mascot').addGlow({ textColor: '#ffff99', haloColor: '#fff', radius: 100 });		 		    	
		   
       	   $('.infoServ a').addGlow({ textColor: '#FFF', haloColor: '#fff', radius: 50 });		 		    	
		   
  		   $('*').bind('glow:started', console.info);
		   $('*').bind('glow:canceled', console.info);
		   //submenus botonera
		   $(".otro").mouseover(function() {
		   		$("#subServicios").hide();
				$("#subAutogiro").hide();
				servicios = false;
				autogiro = false;
		   });
		   $(".autogiro").mouseover(function() {
				if (servicios) {
					$("#subServicios").hide();
					servicios = false;
				}
				if(!autogiro) {
					$("#subAutogiro").fadeIn(1200);
					autogiro = true;		
				}				
			});
			$("#subAutogiro").mouseleave(function() {
				$("#subAutogiro").hide();
				autogiro = false;
			});
			$("#subServicios").mouseleave(function() {
				$("#subServicios").hide();
				servicios = false;
			});
			$(".servicios").mouseover(function() {
				if (autogiro) {
					$("#subAutogiro").hide();
					autogiro = false;
				}
				if(!servicios) {
					$("#subServicios").fadeIn(1200);
					servicios = true;		
				}				
			});
			//banderitas
			$(".lang").mouseover(function(){
					$(this).animate({marginTop: "-=10px"}, 500);
			});
			$(".lang").mouseleave(function(){
					$(this).animate({marginTop: "+=10px"}, 500);
			});
			
	});
