$(document).ready(function(){ 


	$("#DivElementoMenuCatalogo").click(function(event){
		window.open("catalogo.php","_self");
	});
	
	$("#DivElementoMenuCatalogo").mouseover(function(event){
		$(this).css("cursor","pointer");
	});

	$("#DivElementoMenuCatalogo").mouseleave(function(event){
		$(this).css("cursor","auto");
	});		
	
	$("#DivElementoMenuCotizador").click(function(event){
		window.open("cotizadorCountier.php","_self");
	});	
	
	$("#DivElementoMenuCotizador").mouseover(function(event){
		$(this).css("cursor","pointer");
	});

	$("#DivElementoMenuCotizador").mouseleave(function(event){
		$(this).css("cursor","auto");
	});		
	
	
	$("#DivElementoMenuTendencias").click(function(event){
		window.open("tendenciasEjecutivas.php","_self");
	});
	
	$("#DivElementoMenuTendencias").mouseover(function(event){
		$(this).css("cursor","pointer");
	});

	$("#DivElementoMenuTendencias").mouseleave(function(event){
		$(this).css("cursor","auto");
	});		
	

	$("#DivElementoMenuPerfil").click(function(event){
		window.open("perfilCountier.php","_self");
	});

	$("#DivElementoMenuPerfil").mouseover(function(event){
		$(this).css("cursor","pointer");
	});

	$("#DivElementoMenuPerfil").mouseleave(function(event){
		$(this).css("cursor","auto");
	});	

	$("#DivElementoMenuContacto").click(function(event){
		window.open("ContactoCountier.php","_self");
	});

	$("#DivElementoMenuContacto").mouseover(function(event){
		$(this).css("cursor","pointer");
	});

	$("#DivElementoMenuContacto").mouseleave(function(event){
		$(this).css("cursor","auto");
	});		


/**************************************************************************************/
	$("#botonDerecha").click(function(event){
		mueveDerecha('barraImagenes');
	});
	
	$("#botonIzquierda").click(function(event){
		mueveIzquierda('barraImagenes');
	});	
	

   $(".bordeInvisible").mouseover(function(){
												$(this).css("filter","alpha(opacity=100)");
												$(this).css("opacity","1");
												$(this).css("z-index","5555");
												//$(this).css("top","-30px");
											}
   );
    $(".bordeInvisible").mouseleave(function(){
												$(this).css("filter","alpha(opacity=50)");
												$(this).css("opacity","0.5");
												$(this).css("z-index","5");	
												//$(this).css("top","0px");
											}
   );   

/******************************************************************/
	$("#DivElementoMenuCatalogo").hover(function(event){
		rollOverBoton("#DivElementoMenuCatalogo","125px");
	});
   
 
	$("#DivElementoMenuCatalogo").mouseleave(function(event){
		rollLeaveBoton("#DivElementoMenuCatalogo","130px");
	});
	
 	$("#DivElementoMenuCatalogoInferior").hover(function(event){
		rollOverBotonInferior("#DivElementoMenuCatalogoInferior","0px");
	});		
	
 	$("#DivElementoMenuCatalogoInferior").mouseleave(function(event){
		rollLeaveBotonInferior("#DivElementoMenuCatalogoInferior","5px");
	});	
/************************************************************/		

 	$("#DivElementoMenuCotizador").hover(function(event){
		rollOverBoton("#DivElementoMenuCotizador","84px");
	});
   
 
	$("#DivElementoMenuCotizador").mouseleave(function(event){
		rollLeaveBoton("#DivElementoMenuCotizador","89px");
	});
	
 	$("#DivElementoMenuCotizadorInferior").hover(function(event){
		rollOverBotonInferior("#DivElementoMenuCotizadorInferior","-25px");
	});
   
 
	$("#DivElementoMenuCotizadorInferior").mouseleave(function(event){
		rollLeaveBotonInferior("#DivElementoMenuCotizadorInferior","-20px");
	});	
/***************************************************************/
 	$("#DivElementoMenuTendencias").hover(function(event){
		rollOverBoton("#DivElementoMenuTendencias","43px");
	});
   
 
	$("#DivElementoMenuTendencias").mouseleave(function(event){
		rollLeaveBoton("#DivElementoMenuTendencias","48px");
	});
	
 	$("#DivElementoMenuTendenciasInferior").hover(function(event){
		rollOverBotonInferior("#DivElementoMenuTendenciasInferior","-50px");
	});
   
 
	$("#DivElementoMenuTendenciasInferior").mouseleave(function(event){
		rollLeaveBotonInferior("#DivElementoMenuTendenciasInferior","-45px");
	});	
	
	
	
/************************************************************/	
	
 	$("#DivElementoMenuPerfil").hover(function(event){
		rollOverBoton("#DivElementoMenuPerfil","2px");
	});
   
 
	$("#DivElementoMenuPerfil").mouseleave(function(event){
		rollLeaveBoton("#DivElementoMenuPerfil","7px");
	});	
	
 	$("#DivElementoMenuPerfilInferior").hover(function(event){
		rollOverBotonInferior("#DivElementoMenuPerfilInferior","-75px");
	});
   
 
	$("#DivElementoMenuPerfilInferior").mouseleave(function(event){
		rollLeaveBotonInferior("#DivElementoMenuPerfilInferior","-70px");
	});		
/*****************************************************************/
 	$("#DivElementoMenuContacto").hover(function(event){
		rollOverBoton("#DivElementoMenuContacto","-39px");
	});
   
 
	$("#DivElementoMenuContacto").mouseleave(function(event){
		rollLeaveBoton("#DivElementoMenuContacto","-34px");
	});

 	$("#DivElementoMenuContactoInferior").hover(function(event){
		rollOverBotonInferior("#DivElementoMenuContactoInferior","-100px");
	});
   
 
	$("#DivElementoMenuContactoInferior").mouseleave(function(event){
		rollLeaveBotonInferior("#DivElementoMenuContactoInferior","-95px");
	});	
	
	
/********************************************************************/		 
   
 });
		
