//=== Quitar el color resaltado a los links===================================== lnkFotoVtas2_3
function restaurarLinkIdx(){
	$("#lnkDiseno").css("color","");
	$("#lnkProg").css("color","");
	$("#lnkAS").css("color","");
	$("#lnkOfi").css("color","");
	$("#lnkVentas").css("color","");
	$("#lnkAtencionCliente").css("color","");
	$("#lnkProyectos").css("color","");
	$("#lnkBaseDatos").css("color","");
	$("#lnkFoto1").css("color","");
	$("#lnkFotoZendFram_1").css("color","");
	$("#lnkFotoHackinEtico_1").css("color","");
	$("#lnkFotoPhpMysql_1").css("color","");
	$("#lnkFotoMetasploit_1").css("color","");
	$("#lnkFotoVulnerabilidad_1").css("color","");
	
	
	
}
//=== Dejar resaltado el color a los links, y definir el linkeo de cada uno====
$(document).ready(function(){
	var color_letra_s = '#FDD542';	


//  I N I C I O   C O D I G O   F O T O S  // 

	$("#lnkFotoVtas2_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);	
		
		$("#tdDetalleFotosVentas2").load("ficha_taller_ventas2.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFotoVtas2_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosVentas2").load("ficha_taller_ventas2.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFotoVtas2_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosVentas2").load("ficha_taller_ventas2.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFotoVtas2_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosVentas2").load("ficha_taller_ventas2.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFotoVtas2_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosVentas2").load("ficha_taller_ventas2.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFotoVtas2_6").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosVentas2").load("ficha_taller_ventas2.php?opcion=foto6", function() {
			$(this).hide().fadeIn(271);
		});
	});


	$("#lnkFotoJava_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJava").load("ficha_curso_java.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFotoJava_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJava").load("ficha_curso_java.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFotoJava_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJava").load("ficha_curso_java.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFotoJava_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJava").load("ficha_curso_java.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});


	$("#lnkFotoJava_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJava").load("ficha_curso_java.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFotoZendFram_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram_6").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto6", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram_7").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto7", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram_8").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto8", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram_9").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto9", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram_10").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto10", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram_11").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto11", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram_12").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframework").load("ficha_curso_zendframework.php?opcion=foto12", function() {
			$(this).hide().fadeIn(271);
		});
	});
	//**************Curso de hacking Etico********************
	$("#lnkFotoHackinEtico_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_6").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto6", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_7").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto7", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_8").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto8", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_9").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto9", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_10").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto10", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_11").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto11", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_12").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto12", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoHackinEtico_13").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosHackingEtico").load("ficha_curso_hacking_etico.php?opcion=foto13", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	
	// ***********  curso MYSQL  *************
	$("#lnkFotoPhpMysql_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMysql").load("ficha_curso_phpmysql.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMysql").load("ficha_curso_phpmysql.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMysql").load("ficha_curso_phpmysql.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMysql").load("ficha_curso_phpmysql.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMysql").load("ficha_curso_phpmysql.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql_6").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMysql").load("ficha_curso_phpmysql.php?opcion=foto6", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	//****  CURSO METASPLOIT **********
	
	$("#lnkFotoMetasploit_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosMetasploit").load("ficha_curso_metasploit.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoMetasploit_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosMetasploit").load("ficha_curso_metasploit.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoMetasploit_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosMetasploit").load("ficha_curso_metasploit.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoMetasploit_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosMetasploit").load("ficha_curso_metasploit.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoMetasploit_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosMetasploit").load("ficha_curso_metasploit.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	// *********  curso de vulnerabilidades ************
	
	$("#lnkFotoVulnerabilidad_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosVulnerabilidades").load("ficha_curso_vulnerabilidad.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoVulnerabilidad_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosVulnerabilidades").load("ficha_curso_vulnerabilidad.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoVulnerabilidad_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosVulnerabilidades").load("ficha_curso_vulnerabilidad.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoVulnerabilidad_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosVulnerabilidades").load("ficha_curso_vulnerabilidad.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoVulnerabilidad_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosVulnerabilidades").load("ficha_curso_vulnerabilidad.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoVulnerabilidad_6").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosVulnerabilidades").load("ficha_curso_vulnerabilidad.php?opcion=foto6", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	// *********  curso de ZendFramework Octubre 2011 ************
	
	$("#lnkFotoZendFram2_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframeworkOct2011").load("ficha_curso_zendframework2.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram2_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframeworkOct2011").load("ficha_curso_zendframework2.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram2_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframeworkOct2011").load("ficha_curso_zendframework2.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram2_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframeworkOct2011").load("ficha_curso_zendframework2.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram2_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframeworkOct2011").load("ficha_curso_zendframework2.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram2_6").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframeworkOct2011").load("ficha_curso_zendframework2.php?opcion=foto6", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram2_7").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframeworkOct2011").load("ficha_curso_zendframework2.php?opcion=foto7", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoZendFram2_8").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosZendframeworkOct2011").load("ficha_curso_zendframework2.php?opcion=foto8", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	
	
	
	// *********  curso de phpMysql Noviembre 2011 ************
	
	$("#lnkFotoPhpMysql2_1").click(function(evento){ 
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMySqlNov2011").load("ficha_curso_phpmysql2.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql2_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMySqlNov2011").load("ficha_curso_phpmysql2.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql2_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMySqlNov2011").load("ficha_curso_phpmysql2.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql2_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMySqlNov2011").load("ficha_curso_phpmysql2.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql2_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMySqlNov2011").load("ficha_curso_phpmysql2.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql2_6").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMySqlNov2011").load("ficha_curso_phpmysql2.php?opcion=foto6", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql2_7").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMySqlNov2011").load("ficha_curso_phpmysql2.php?opcion=foto7", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql2_8").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMySqlNov2011").load("ficha_curso_phpmysql2.php?opcion=foto8", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoPhpMysql2_9").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosPhpMySqlNov2011").load("ficha_curso_phpmysql2.php?opcion=foto9", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	//***************************
	
	// ***********  FERIA 2011 DICIEMBRE  *************
	$("#lnkFotoFeria1_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosFeriaDic2011").load("ficha_curso_feria1.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoFeria1_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosFeriaDic2011").load("ficha_curso_feria1.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFotoFeria1_6").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosFeriaDic2011").load("ficha_curso_feria1.php?opcion=foto6", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoFeria1_7").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosFeriaDic2011").load("ficha_curso_feria1.php?opcion=foto7", function() {
			$(this).hide().fadeIn(271);
		});
	});	
	$("#lnkFotoFeria1_9").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosFeriaDic2011").load("ficha_curso_feria1.php?opcion=foto9", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoFeria1_10").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosFeriaDic2011").load("ficha_curso_feria1.php?opcion=foto10", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoFeria1_11").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosFeriaDic2011").load("ficha_curso_feria1.php?opcion=foto11", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoFeria1_12").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosFeriaDic2011").load("ficha_curso_feria1.php?opcion=foto12", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	
	//++++++++++++++++++++++++++++++++++++++
	
	//**************Curso de Joomla enero 2012********************
	$("#lnkFotoJoomla_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJoomlaEne2012").load("ficha_curso_joomla_ene12.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoJoomla_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJoomlaEne2012").load("ficha_curso_joomla_ene12.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoJoomla_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJoomlaEne2012").load("ficha_curso_joomla_ene12.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoJoomla_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJoomlaEne2012").load("ficha_curso_joomla_ene12.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoJoomla_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJoomlaEne2012").load("ficha_curso_joomla_ene12.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoJoomla_6").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJoomlaEne2012").load("ficha_curso_joomla_ene12.php?opcion=foto6", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoJoomla_7").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJoomlaEne2012").load("ficha_curso_joomla_ene12.php?opcion=foto7", function() {
			$(this).hide().fadeIn(271);
		});
	});
	$("#lnkFotoJoomla_8").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotosJoomlaEne2012").load("ficha_curso_joomla_ene12.php?opcion=foto8", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	
	
	
	//****************************
	
	
	

   



	$("#lnkFoto1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos").load("ficha_detalle_foto1.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos").load("ficha_detalle_foto1.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos").load("ficha_detalle_foto1.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos").load("ficha_detalle_foto1.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos").load("ficha_detalle_foto1.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto6").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos").load("ficha_detalle_foto1.php?opcion=foto6", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto2_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos2").load("ficha_detalle_foto2.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto2_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos2").load("ficha_detalle_foto2.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto2_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos2").load("ficha_detalle_foto2.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto2_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos2").load("ficha_detalle_foto2.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto2_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos2").load("ficha_detalle_foto2.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto2_6").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos2").load("ficha_detalle_foto2.php?opcion=foto6", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFoto3_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos3").load("ficha_detalle_foto3.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto3_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos3").load("ficha_detalle_foto3.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFoto4_1").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos4").load("ficha_detalle_foto4.php?opcion=foto1", function() {
			$(this).hide().fadeIn(271);
		});
	});
	
	$("#lnkFoto4_2").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos4").load("ficha_detalle_foto4.php?opcion=foto2", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFoto4_3").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos4").load("ficha_detalle_foto4.php?opcion=foto3", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFoto4_4").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos4").load("ficha_detalle_foto4.php?opcion=foto4", function() {
			$(this).hide().fadeIn(271);
		});
	});

	$("#lnkFoto4_5").click(function(evento){
		evento.preventDefault();
		//restaurarLinkIdx();
		//$(this).css("color",color_letra_s);		
		$("#tdDetalleFotos4").load("ficha_detalle_foto4.php?opcion=foto5", function() {
			$(this).hide().fadeIn(271);
		});
	});



//  F I N   C O D I G O   F O T O S  // 


	$("#lnkDiseno").click(function(evento){
		evento.preventDefault();
		restaurarLinkIdx();
		$(this).css("color",color_letra_s);		
		$("#tdDetalleCursos").load("fichas_cursos_diseno.php", function() {
			$(this).hide().fadeIn(500);
		});
	});
	$("#lnkProg").click(function(evento){
		evento.preventDefault();
		restaurarLinkIdx();
		$(this).css("color",color_letra_s);
		$("#tdDetalleCursos").load("fichas_cursos_programacion.php",function() { 
			$(this).hide().fadeIn(500);
		});		
	});
	$("#lnkAS").click(function(evento){
		evento.preventDefault();
		restaurarLinkIdx();
		$(this).css("color",color_letra_s);
		$("#tdDetalleCursos").load("fichas_cursos_as400.php",function() {
			$(this).hide().fadeIn(500);
		});		
	});  
	$("#lnkOfi").click(function(evento){
		evento.preventDefault();
		restaurarLinkIdx();
		$(this).css("color",color_letra_s);
		$("#tdDetalleCursos").load("fichas_cursos_ofimatica.php",function() {
			$(this).hide().fadeIn(500);
		});						
	});  
	$("#lnkVentas").click(function(evento){
		evento.preventDefault();
		restaurarLinkIdx();
		$(this).css("color",color_letra_s);
		$("#tdDetalleCursos").load("fichas_cursos_ventas.php",function() {
			$(this).hide().fadeIn(500);
		});
	}); 
	$("#lnkAtencionCliente").click(function(evento){
		evento.preventDefault();
		restaurarLinkIdx();
		$(this).css("color",color_letra_s);
		$("#tdDetalleCursos").load("fichas_cursos_atencion_cliente.php",function() {
			$(this).hide().fadeIn(500);
		});
	});
	$("#lnkProyectos").click(function(evento){
		evento.preventDefault();
		restaurarLinkIdx();
		$(this).css("color",color_letra_s);
		$("#tdDetalleCursos").load("cursos_proyectos.php",function() {
			$(this).hide().fadeIn(500);
		});						
	});  
	
	$("#lnkBaseDatos").click(function(evento){
		evento.preventDefault();
		restaurarLinkIdx();
		$(this).css("color",color_letra_s);
		$("#tdDetalleCursos").load("cursos_basedatos.php",function() {
			$(this).hide().fadeIn(500);
		});						
	}); 
	
	//Cargar por defecto el curso de diseno
	$("#tdDetalleCursos").load("fichas_cursos_diseno.php", function() {
		$(this).hide().fadeIn(500);
	});
});

function cargarContenido(pagina){
	$("#tdDetalleCursos").load(pagina, function() {
		$(this).hide().fadeIn('slow');
	});
}//end 
