
function ShowHide() {
	$("#tliposoluble").animate({
		"height" : "toggle"
	}, {
		duration : 1000
	});
}

function ShowHide2() {
	$("#thidrosoluble").animate({
		"height" : "toggle"
	}, {
		duration : 1000
	});
}

/** usado en hidratos de carbono desplegables js*/
$(function() {
    $('#accordion > li').hover(
        function () {
            var $this = $(this);
            $this.stop().animate({'height':'340px'},500);
            
           $('.heading',$this).stop(true,true).fadeOut();
            $('.bgDescription',$this).stop(true,true).slideDown(500);
            $('.description',$this).stop(true,true).fadeIn();
        },
        function () {
            var $this = $(this);
            $this.stop().animate({'height':'30px'},1000);
          
         	$('.heading',$this).stop(true,true).fadeIn();
            $('.description',$this).stop(true,true).fadeOut(500);
            $('.bgDescription',$this).stop(true,true).slideUp(700);
        }
    );
});

/* usado en menus */
$(function() {
                $('#accordion2 > li').hover(
                    function () {
                        var $this = $(this);
                        $this.stop().animate({'width':'640px', 'height':'200px'},500);
                        
                        $('.heading',$this).stop(true,true).fadeOut();
                        $('.bgDescription',$this).stop(true,true).slideDown(500);
                        $('.description',$this).stop(true,true).fadeIn();
                    },
                    function () {
                        var $this = $(this);
                        $this.stop().animate({'width':'100px','height':'60px'},1000);

                        $('.heading',$this).stop(true,true).fadeIn();
                        $('.description',$this).stop(true,true).fadeOut(500);
                        $('.bgDescription',$this).stop(true,true).slideUp(700);
                    }
                );
            });

/* usado en piramide alimentaria */
function ShowHidepiramide1() {
	$("#piramide1").animate({
		"height" : "toggle"
	}, {
		duration : 1000
	});

	
}

function ShowHiderueda1() {
	$("#rueda1").animate({
		"height" : "toggle"
	}, {
		duration : 1000
	});
	

	
}

function ShowHidetabla1() {
	$("#tabla1").animate({
		"height" : "toggle"
	}, {
		duration : 1000
	});
	
	
}

function ShowHidetabla2() {
	$("#tabla2").animate({
		"height" : "toggle"
	}, {
		duration : 1000
	});
}

/* embarazo */

function ShowHideracionesDiarias() {
	$("#racionesdiarias").animate({
		"height" : "toggle"
	}, {
		duration : 1000
	});
}

function ShowHidepeso() {
	$("#peso").animate({
		"height" : "toggle"
	}, {
		duration : 1000
	});
}
function ShowHidepesoG() {
	$("#pesoG").animate({
		"height" : "toggle"
	}, {
		duration : 1000
	});
}

function ShowHiderecomendacionesembarazo(){  
	$("#recomendacionesembarazo").animate({"height": "toggle"}, { duration: 1000 }); 
	
} 

function showHideAlimentosricosMinerales(){  
	$("#alimentosricosMinerales").animate({"height": "toggle"}, { duration: 1000 }); 
	
}


/* ancianos en necesidades nutricionales */
function ShowHidetablaAncianos(){  
	$("#tablaAncianos").animate({"height": "toggle"}, { duration: 1000 }); 
	

}

function ShowHidecambiosCorporales(){  
	$("#cambiosCorporales").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHidecambiosMetabolicos(){  
	$("#cambiosMetabolicos").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHidepautasDieteticas(){  
	$("#pautasDieteticas").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 


function ShowHideconsumoLacteos(){  
	$("#consumoLacteos").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

/*lactante y madre*/
function ShowHidenecesidadesMadre(){  
	$("#necesidadesMadre").animate({"height": "toggle"}, { duration: 1000 }); 
	

}

function ShowHidenecesidadesLactante(){  
	$("#necesidadesLactante").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
/* vitaminas */
function ShowHidevitaminalipo(){  
	$("#tliposoluble").animate({"height": "toggle"}, { duration: 1000 }); 
	

} 
function ShowHide2(){  
	$("#thidrosoluble").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 


/* necesidades nutricionales embarazo*/


function ShowHidepeso(){  
	$("#peso").animate({"height": "toggle"}, { duration: 1000 }); 
	
} 
function ShowHidepesoG(){  
	$("#pesoG").animate({"height": "toggle"}, { duration: 1000 }); 
	
} 

function ShowHideracionesDiarias(){  
	$("#racionesdiarias").animate({"height": "toggle"}, { duration: 1000 }); 
	
}  

/*infancia */

function ShowHidenecesidadesProteinas(){  
	$("#necesidadesProteinas").animate({"height": "toggle"}, { duration: 1000 }); 
	

}

function ShowHidenecesidadesCalcio(){  
	$("#necesidadesCalcio").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHidenecesidadesHidratos(){  
	$("#necesidadesHidratos").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHidenecesidadesGrasas(){  
	$("#necesidadesGrasas").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 



function ShowHidenecesidadesVitaminas(){  
	$("#necesidadesVitaminas").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
	 
	 
function ShowHidereparticion(){  
	$("#reparticion").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
/* leche y derivados */

function ShowHideleche(){  
	$("#leche").animate({"height": "toggle"}, { duration: 1000 }); 
}

function ShowHideyogurt(){  
	$("#yogurt").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHidequeso(){  
	$("#queso").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
/* carnes y pescados */
function ShowHidecarnes(){  
	$("#carnes").animate({"height": "toggle"}, { duration: 1000 }); 
}
function ShowHideembutidos(){  
	$("#embutidos").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHidepescados(){  
	$("#pescados").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHidemariscos(){  
	$("#mariscos").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
/*legumbres tuberculos y frutos secos*/
function ShowHidelegumbres(){  
	$("#legumbres").animate({"height": "toggle"}, { duration: 1000 }); 
}
function ShowHidetuberculos(){  
	$("#tuberculos").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHidefrutos_secos(){  
	$("#frutos_secos").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
/* consejos saludables --> higiene y manipulacion alimentos*/

function ShowHidehigieneymanip(){  
	$("#higieneymanip").animate({"height": "toggle"}, { duration: 1000 }); 

} 

/* CONSEJOS COMO COCINAR */

function ShowHideasar_horno(){  
	$("#asar_horno").animate({"height": "toggle"}, { duration: 1000 }); 


} 
function ShowHideasar_plancha(){  
	$("#asar_plancha").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHideasar_papillote(){  
	$("#asar_papillote").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHideasar_sal(){  
	$("#asar_sal").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHidehervir(){  
	$("#hervir").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHidecocciones(){  
	$("#cocciones").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHidecoccion_presion(){  
	$("#coccion_presion").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 	

function ShowHideCurado(){  
	$("#curado").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHidedeshidratacion(){  
	$("#deshidratacion").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHideahumados(){  
	$("#ahumados").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHideConservas(){  
	$("#conservas").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHideRefrigeracion(){  
	$("#refrigeracion").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHideCongelacion(){  
	$("#congelacion").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 	
	 
function ShowHideTablaCongelacion(){  
	$("#tabla_congelacion").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
	 

function ShowHideCongelacionAlimentos(){  
	$("#congelacion_alimentos").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
	 



function ShowHideCurado(){  
	$("#curado").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHidedeshidratacion(){  
	$("#deshidratacion").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHideahumados(){  
	$("#ahumados").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHideConservas(){  
	$("#conservas").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHideRefrigeracion(){  
	$("#refrigeracion").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHideCongelacion(){  
	$("#congelacion").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 	
	 
function ShowHideTablaCongelacion(){  
	$("#tabla_congelacion").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
	 
/*tabla de alimentos*/
function ShowHideCongelacionAlimentos(){  
	$("#congelacion_alimentos").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

/*gluten*/

function ShowHideQueesGluten(){  
	$("#quegluten").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
	 
function ShowHidetratamientodieteticogluten(){  
	$("#tratamiento_dietetico_gluten").animate({"height": "toggle"}, { duration: 1000 }); 
	 }  

function ShowHidedietasingluten(){  
	$("#dietasingluten").animate({"height": "toggle"}, { duration: 1000 }); 
	 }  

/*LACTOSA*/

function ShowHideobjetivoNutricional(){  
	$("#objetivoNutricional").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
	 
function ShowHiderecomendacionesNutricional(){  
	$("#recomendacionesNutricional").animate({"height": "toggle"}, { duration: 1000 }); 
	 }  
function ShowHidegruposlactosa() {
	$("#gruposlactosa").animate({
		"height" : "toggle"
	}, {
		duration : 1000
	});
}
/*frutos secos*/


function ShowHidefrutossecos() {
	$("#frutossecos").animate({
		"height" : "toggle"
	}, {
		duration : 1000
	});
}

/*opciones de desayuno*/

function ShowHideparaAdultos(){  
	$("#paraAdultos").animate({"height": "toggle"}, { duration: 1000 }); 
	

}

function ShowHideinnovadoras(){  
	$("#innovadoras").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHideapetitosas(){  
	$("#apetitosas").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHidepautasDieteticas(){  
	$("#pautasDieteticas").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 


function ShowHidecontrolcolesterol(){  
	$("#controlcolesterol").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHideestrenimiento(){  
	$("#estrenimiento").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
function ShowHideintoleranteslactosa(){  
	$("#intoleranteslactosa").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

/*completa desayuno */

function ShowHidealimentosGrasos(){  
	$("#alimentosGrasos").animate({"height": "toggle"}, { duration: 1000 }); 

}


function ShowHideinnovadoras(){  
	$("#innovadoras").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

function ShowHidecondimentosDulces(){  
	$("#condimentosDulces").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 


function ShowHideinfusiones(){  
	$("#infusiones").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 


function ShowHideverdurasHortalizas(){  
	$("#verdurasHortalizas").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
	 
	 
function ShowHidefuentesProteicas(){  
	$("#fuentesProteicas").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 

/*mitos de la leche*/
function ShowHidemito1(){  
	$("#mito1").animate({"height": "toggle"}, { duration: 1000 }); 
	
}

function ShowHidemito2(){  
	$("#mito2").animate({"height": "toggle"}, { duration: 1000 }); 
	
}
function ShowHidemito3(){  
	$("#mito3").animate({"height": "toggle"}, { duration: 1000 }); 
	
}
function ShowHidemito4(){  
	$("#mito4").animate({"height": "toggle"}, { duration: 1000 }); 
	
}
function ShowHidemito5(){  
	$("#mito5").animate({"height": "toggle"}, { duration: 1000 }); 
	
}
function ShowHidemito6(){  
	$("#mito6").animate({"height": "toggle"}, { duration: 1000 }); 
	
}
function ShowHidemito7(){  
	$("#mito7").animate({"height": "toggle"}, { duration: 1000 }); 

}
function ShowHidemito8(){  
	$("#mito8").animate({"height": "toggle"}, { duration: 1000 }); 

}


function ShowHideUno(){  
	$("#Uno").animate({"height": "toggle"}, { duration: 1000 }); 
	 } 
	 
function ShowHideDos(){  
	$("#Dos").animate({"height": "toggle"}, { duration: 1000 }); 
	 }  

function ShowHideTres(){  
	$("#Tres").animate({"height": "toggle"}, { duration: 1000 }); 
	 }  

function ShowHideCuatro(){  
	$("#Cuatro").animate({"height": "toggle"}, { duration: 1000 }); 
	 }  

function ShowHideCinco(){  
	$("#Cinco").animate({"height": "toggle"}, { duration: 1000 }); 
	 }  

function ShowHideSeis(){  
	$("#Seis").animate({"height": "toggle"}, { duration: 1000 }); 
	 }

function ShowHideSiete(){  
	$("#Siete").animate({"height": "toggle"}, { duration: 1000 }); 
	 }

function ShowHideOcho(){  
	$("#Ocho").animate({"height": "toggle"}, { duration: 1000 }); 
	 }

/*glosario*/


$(document).ready(
		
		function(){
			var options = {
			exact:"exact",
			style_name_suffix:false,
			keys:"Ácido Fólico,Ácidos grasos,Ácidos grasos omega 6,Ácidos grasos omega 3,Ácido Láctico,Aditivo,Adipocito,Alergeno,Alergia,Alimento,Alimento fortificado,Anemia ferropénica,Anemia perniciosa,Antioxidante,Aséptico,Astenia,Ateroesclerosis,Bacteria,Bebida isotónica,Beriberi,Betacaroteno,Biodisponibilidad,Bilis,Caloría,Calcio,Cantidad diaria recomendada (CDR),Carbohidrato,Caseína,Celiaquía,Colesterol,Colesterol sérico,Colitis,Condimentar,Desgrasar,Deshidratación,Desnutrición,Deshidratación,Diabetes,Dieta,Dietética,Digestión,Disácarido,Diurético,Edulcorantes,Ejercicio físico aeróbico,Embridar,Endorfinas,Enfermedad de Crohn,Enzima,Escorbuto,Especias,Etiquetado,Fibra,Fisiología,Fósforo,Fructosa,Glucosa,Glucagón,Glucógeno,Glucólisis,Gluconeogénesis,Grasa saturada,grasa poliinsaturada,HDL,Hemoglobina,Hierro,Hidratos de Carbono,Hidrosoluble,Hipercolesterolemia,Hiperglucemia,Hipoglucemia,Ingrediente,Inocuidad de los alimentos,Insulina,Intolerancia a la glucosa,Intolerancia a la lactosa,Infusión,Ingesta calórica,Intestino,Jalea real,Jugo gástrico,Kéfir,Kilocaloría,Lactasa,Lácteos,Lactosa,Lípidos,LDL,Leche,Lecitina,Levadura,Lipoproteínas,Lipoproteínas de baja densidad (LDL),Liposoluble,Lisina,Malnutrición,Metabolismo,Minerales,MCT,Menarquia,Menopausia,Meteorismo,Nefritis,Nutrición,Nutriente,Obesidad,Omega 3,Odinofagia,Ortorexia,Osteomalacia,Pasteurización,Patógeno,Pelagra,Perfil lipídico de un alimento,Pescado azul,Polidipsia,Polifagia,Principios inmediatos,Proteínas,Provitamina,Raciones,Radicales Libres,Raquitismo,Reflujo gastroesofágico,Riboflavina,Sacarosa,Salmuera,Salsas,Seroalbúmina,Selenio,Síndrome de alergia oral,Síndrome de malabsorción,Síndrome metabólico,Sobrepeso,Tiamina,Tiramina,Tocoferoles,Toxicidad,Triglicéridos,Úlcera,Urea,Valor biológico,Vegetariano,Vida útil de un alimento,Vitaminas,Vitamina A,Vitamina C,Vitamina B1 (Tiamina),Vitamina B2 (Rivoflavina),Vitamina B6 (Piridoxina),Vitamina B12,Vitamina E,Vitamina K1,Vitamina K,Vitaminas hidrosolubles,Vitaminas liposolubles,VLDL,Xantosis,Xerostomía,Yodo,Yogur"
		}

		$(document).SearchHighlight(options);

		$(".hilite").hover(
		function (){
			var selWord=$(this).text();
			var wrd = this;
			$.get("/controls/glossary.aspx", { q: selWord},
			function(data){
			$(wrd).attr("title",data);
		});

		},
		function(){ }
		)


		});
/*fin glosario */
