


// conmutador visibilidad del menu superior de la home

function toggleContenido( targetId1,targetId2){
  if (document.getElementById){
  		target1 = document.getElementById( targetId1 );
		target2 = document.getElementById( targetId2 );
		
		

		
  			if (target1.style.display == "none"){
  				target1.style.display = "";
  			} else {
  				target1.style.display = "none";
			}
			
		if (target2.style.display != "none"){
  				target2.style.display = "none";
  			} 
			
			
			
  	}
}


// conmutador visibilidad persiana descargas

function toggleSubmenu( targetId1,targetId2,targetId3,targetId4,targetId5,targetId6,targetId7,targetId8){
  if (document.getElementById){
  		target1 = document.getElementById( targetId1 );
		target2 = document.getElementById( targetId2 );
		target3 = document.getElementById( targetId3 );
		target4 = document.getElementById( targetId4 );
		target5 = document.getElementById( targetId5 );
		target6 = document.getElementById( targetId6 );
		target7 = document.getElementById( targetId7 );
		target8 = document.getElementById( targetId8 );

		
  			if (target1.style.display == "none"){
  				target1.style.display = "";
  			} else {
  				target1.style.display = "none";
			}
			
		if (target2.style.display != "none"){
  				target2.style.display = "none";
  			} 
			
			if (target3.style.display != "none"){
  				target3.style.display = "none";
  			} 
			
			if (target4.style.display != "none"){
  				target4.style.display = "none";
  			} 
			
			if (target5.style.display != "none"){
  				target5.style.display = "none";
  			} 
			
			if (target6.style.display != "none"){
  				target6.style.display = "none";
  			} 
			
			if (target7.style.display != "none"){
  				target7.style.display = "none";
  			} 
			if (target8.style.display != "none"){
  				target8.style.display = "none";
  			} 
			
  	}
}


// conmutador visibilidad programa curso

function togglePrograma( targetId1){
  if (document.getElementById){
  		target1 = document.getElementById( targetId1 );
		
  			if (target1.style.display == "none"){
  				target1.style.display = "";
  			} else {
  				target1.style.display = "none";
			}
  	}
}



// conmutador visibilidad persiana Tesis

function toggleTesis( targetId1,targetId2,targetId3,targetId4,targetId5,targetId6,targetId7,targetId8,targetId9,targetId10,targetId11,targetId12,targetId13 ){
  if (document.getElementById){
  		target1 = document.getElementById( targetId1 );
		target2 = document.getElementById( targetId2 );
		target3 = document.getElementById( targetId3 );
		target4 = document.getElementById( targetId4 );
		target5 = document.getElementById( targetId5 );
		target6 = document.getElementById( targetId6 );
		target7 = document.getElementById( targetId7 );
		target8 = document.getElementById( targetId8 );
		target9 = document.getElementById( targetId9 );
		target10 = document.getElementById( targetId10 );
		target11 = document.getElementById( targetId11 );
		target12 = document.getElementById( targetId12 );
		target13 = document.getElementById( targetId13 );
		

		
  			if (target1.style.display == "none"){
  				target1.style.display = "";
  			} else {
  				target1.style.display = "none";
			}
			
		if (target2.style.display != "none"){
  				target2.style.display = "none";
  			} 
			
			if (target3.style.display != "none"){
  				target3.style.display = "none";
  			} 
			
			if (target4.style.display != "none"){
  				target4.style.display = "none";
  			} 
			
			if (target5.style.display != "none"){
  				target5.style.display = "none";
  			} 
			
			if (target6.style.display != "none"){
  				target6.style.display = "none";
  			} 
			
			
			if (target7.style.display != "none"){
  				target7.style.display = "none";
  			}
			
			if (target8.style.display != "none"){
  				target8.style.display = "none";
  			}
			
			if (target9.style.display != "none"){
  				target9.style.display = "none";
  			} 
			
			if (target10.style.display != "none"){
  				target10.style.display = "none";
  			} 
			
			if (target11.style.display != "none"){
  				target11.style.display = "none";
  			}
			
			if (target12.style.display != "none"){
  				target12.style.display = "none";
  			} 
			
			if (target13.style.display != "none"){
  				target13.style.display = "none";
  			} 
			
  	}
}

