var x;
x=$(document);
x.ready(inicializarEventos);

function inicializarEventos()
{
$("#entrarEmail").mouseover(hoverIngresar);  
$("#entrarEmail2").mouseout(hoverIngresar2);  

$("#imgCTA").mouseover(hoverImgCTA);  
$("#imgCTA2").mouseout(hoverImgCTA2);  

$("#local").mouseover(hoverLocal);  
$("#local2").mouseout(hoverLocal2);  

$("#elSindicato").mouseover(hoverelSindicato);  
$("#elSindicato2").mouseout(hoverelSindicato2);  
$("#agenda").mouseover(hoverAgenda);  
$("#agenda2").mouseout(hoverAgenda2); 
$("#prensa").mouseover(hoverPrensa);  
$("#prensa2").mouseout(hoverPrensa2); 
$("#leyes").mouseover(hoverLeyes);  
$("#leyes2").mouseout(hoverLeyes2); 
$("#formacion").mouseover(hoverFormacion);  
$("#formacion2").mouseout(hoverFormacion2); 
$("#turismo").mouseover(hoverTurismo);  
$("#turismo2").mouseout(hoverTurismo2); 
$("#jubilados").mouseover(hoverJubilados);  
$("#jubilados2").mouseout(hoverJubilados2); 
$("#populares").mouseover(hoverPopulares);  
$("#populares2").mouseout(hoverPopulares2); 
$("#cta").mouseover(hoverCTA);  
$("#cta2").mouseout(hoverCTA2); 
$("#afiliacion").mouseover(hoverAfiliacion);  
$("#afiliacion2").mouseout(hoverAfiliacion2); 
$("#contactenos").mouseover(hoverContactenos);  
$("#contactenos2").mouseout(hoverContactenos2); 

$("#inicio").mouseover(hoverInicio);  
$("#inicio2").mouseout(hoverInicio2); 
}

//INGRESAR
function hoverIngresar(){
$("#entrarEmail").hide();
$("#entrarEmail2").show();
}
function hoverIngresar2(){
$("#entrarEmail").show();
$("#entrarEmail2").hide();
}
//LOGO CTA
function hoverImgCTA(){
$("#imgCTA").hide();
$("#imgCTA2").show();
}
function hoverImgCTA2(){
$("#imgCTA").show();
$("#imgCTA2").hide();
}

//INICIO
function hoverInicio(){
$("#inicio").hide();
$("#inicio2").show();
}
function hoverInicio2(){
$("#inicio").show();
$("#inicio2").hide();
}

//LOCAL
function hoverLocal(){
$("#local").hide();
$("#local2").show();
}
function hoverLocal2(){
$("#local").show();
$("#local2").hide();
}

/////////////MENU/////////////////
//////SINDICATO
function hoverelSindicato(){
$("#elSindicato").hide();
$("#elSindicato2").show();
$("#contactenos").show();
$("#contactenos2").hide();
$("#afiliacion").show();
$("#afiliacion2").hide();
$("#cta").show();
$("#cta2").hide();
$("#populares").show();
$("#populares2").hide();
$("#jubilados").show();
$("#jubilados2").hide();
$("#turismo").show();
$("#turismo2").hide();
$("#formacion").show();
$("#formacion2").hide();
$("#leyes").show();
$("#leyes2").hide();
$("#prensa").show();
$("#prensa2").hide();
$("#agenda").show();
$("#agenda2").hide();
}
function hoverelSindicato2(){
$("#elSindicato").show();
$("#elSindicato2").hide();
}
///////AGENDA
function hoverAgenda(){
$("#agenda").hide();
$("#agenda2").show();
$("#contactenos").show();
$("#contactenos2").hide();
$("#afiliacion").show();
$("#afiliacion2").hide();
$("#cta").show();
$("#cta2").hide();
$("#populares").show();
$("#populares2").hide();
$("#jubilados").show();
$("#jubilados2").hide();
$("#turismo").show();
$("#turismo2").hide();
$("#formacion").show();
$("#formacion2").hide();
$("#leyes").show();
$("#leyes2").hide();
$("#prensa").show();
$("#prensa2").hide();
$("#elSindicato").show();
$("#elSindicato2").hide();
}
function hoverAgenda2(){
$("#agenda").show();
$("#agenda2").hide();
}
///////PRENSA
function hoverPrensa(){
$("#prensa").hide();
$("#prensa2").show();
$("#contactenos").show();
$("#contactenos2").hide();
$("#afiliacion").show();
$("#afiliacion2").hide();
$("#cta").show();
$("#cta2").hide();
$("#populares").show();
$("#populares2").hide();
$("#jubilados").show();
$("#jubilados2").hide();
$("#turismo").show();
$("#turismo2").hide();
$("#formacion").show();
$("#formacion2").hide();
$("#leyes").show();
$("#leyes2").hide();
$("#agenda").show();
$("#agenda2").hide();
$("#elSindicato").show();
$("#elSindicato2").hide();
}
function hoverPrensa2(){
$("#prensa").show();
$("#prensa2").hide();
}
///////LEYES
function hoverLeyes(){
$("#leyes").hide();
$("#leyes2").show();
$("#contactenos").show();
$("#contactenos2").hide();
$("#afiliacion").show();
$("#afiliacion2").hide();
$("#cta").show();
$("#cta2").hide();
$("#populares").show();
$("#populares2").hide();
$("#jubilados").show();
$("#jubilados2").hide();
$("#turismo").show();
$("#turismo2").hide();
$("#formacion").show();
$("#formacion2").hide();
$("#prensa").show();
$("#prensa2").hide();
$("#agenda").show();
$("#agenda2").hide();
$("#elSindicato").show();
$("#elSindicato2").hide();
}
function hoverLeyes2(){
$("#leyes").show();
$("#leyes2").hide();
}
/////FORMACION
function hoverFormacion(){
$("#formacion").hide();
$("#formacion2").show();
$("#contactenos").show();
$("#contactenos2").hide();
$("#afiliacion").show();
$("#afiliacion2").hide();
$("#cta").show();
$("#cta2").hide();
$("#populares").show();
$("#populares2").hide();
$("#jubilados").show();
$("#jubilados2").hide();
$("#turismo").show();
$("#turismo2").hide();
$("#leyes").show();
$("#leyes2").hide();
$("#prensa").show();
$("#prensa2").hide();
$("#agenda").show();
$("#agenda2").hide();
$("#elSindicato").show();
$("#elSindicato2").hide();
}
function hoverFormacion2(){
$("#formacion").show();
$("#formacion2").hide();
}
/////TURISMO
function hoverTurismo(){
$("#turismo").hide();
$("#turismo2").show();
$("#contactenos").show();
$("#contactenos2").hide();
$("#afiliacion").show();
$("#afiliacion2").hide();
$("#cta").show();
$("#cta2").hide();
$("#populares").show();
$("#populares2").hide();
$("#jubilados").show();
$("#jubilados2").hide();
$("#formacion").show();
$("#formacion2").hide();
$("#leyes").show();
$("#leyes2").hide();
$("#prensa").show();
$("#prensa2").hide();
$("#agenda").show();
$("#agenda2").hide();
$("#elSindicato").show();
$("#elSindicato2").hide();
}
function hoverTurismo2(){
$("#turismo").show();
$("#turismo2").hide();
}
/////JUBILADOS
function hoverJubilados(){
$("#jubilados").hide();
$("#jubilados2").show();
$("#contactenos").show();
$("#contactenos2").hide();
$("#afiliacion").show();
$("#afiliacion2").hide();
$("#cta").show();
$("#cta2").hide();
$("#populares").show();
$("#populares2").hide();
$("#turismo").show();
$("#turismo2").hide();
$("#formacion").show();
$("#formacion2").hide();
$("#leyes").show();
$("#leyes2").hide();
$("#prensa").show();
$("#prensa2").hide();
$("#agenda").show();
$("#agenda2").hide();
$("#elSindicato").show();
$("#elSindicato2").hide();
}
function hoverJubilados2(){
$("#jubilados").show();
$("#jubilados2").hide();
}
////POPULARES
function hoverPopulares(){
$("#populares").hide();
$("#populares2").show();
$("#contactenos").show();
$("#contactenos2").hide();
$("#afiliacion").show();
$("#afiliacion2").hide();
$("#cta").show();
$("#cta2").hide();
$("#jubilados").show();
$("#jubilados2").hide();
$("#turismo").show();
$("#turismo2").hide();
$("#formacion").show();
$("#formacion2").hide();
$("#leyes").show();
$("#leyes2").hide();
$("#prensa").show();
$("#prensa2").hide();
$("#agenda").show();
$("#agenda2").hide();
$("#elSindicato").show();
$("#elSindicato2").hide();
}
function hoverPopulares2(){
$("#populares").show();
$("#populares2").hide();
}
////CTA
function hoverCTA(){
$("#cta").hide();
$("#cta2").show();
$("#contactenos").show();
$("#contactenos2").hide();
$("#afiliacion").show();
$("#afiliacion2").hide();
$("#populares").show();
$("#populares2").hide();
$("#jubilados").show();
$("#jubilados2").hide();
$("#turismo").show();
$("#turismo2").hide();
$("#formacion").show();
$("#formacion2").hide();
$("#leyes").show();
$("#leyes2").hide();
$("#prensa").show();
$("#prensa2").hide();
$("#agenda").show();
$("#agenda2").hide();
$("#elSindicato").show();
$("#elSindicato2").hide();
}
function hoverCTA2(){
$("#cta").show();
$("#cta2").hide();
}
/////AFILIACION
function hoverAfiliacion(){
$("#afiliacion").hide();
$("#afiliacion2").show();
$("#contactenos").show();
$("#contactenos2").hide();
$("#cta").show();
$("#cta2").hide();
$("#populares").show();
$("#populares2").hide();
$("#jubilados").show();
$("#jubilados2").hide();
$("#turismo").show();
$("#turismo2").hide();
$("#formacion").show();
$("#formacion2").hide();
$("#leyes").show();
$("#leyes2").hide();
$("#prensa").show();
$("#prensa2").hide();
$("#agenda").show();
$("#agenda2").hide();
$("#elSindicato").show();
$("#elSindicato2").hide();
}
function hoverAfiliacion2(){
$("#afiliacion").show();
$("#afiliacion2").hide();
}
////CONTACTENOS
function hoverContactenos(){
$("#contactenos").hide();
$("#contactenos2").show();
$("#afiliacion").show();
$("#afiliacion2").hide();
$("#cta").show();
$("#cta2").hide();
$("#populares").show();
$("#populares2").hide();
$("#jubilados").show();
$("#jubilados2").hide();
$("#turismo").show();
$("#turismo2").hide();
$("#formacion").show();
$("#formacion2").hide();
$("#leyes").show();
$("#leyes2").hide();
$("#prensa").show();
$("#prensa2").hide();
$("#agenda").show();
$("#agenda2").hide();
$("#elSindicato").show();
$("#elSindicato2").hide();
}
function hoverContactenos2(){
$("#contactenos").show();
$("#contactenos2").hide();
}
///////////////////FIN MENU


