

	

	var h=0;

var exp;

	var altura = 0;

	var velocidad = 10;

		function extender() {

		var objeto = document.getElementById("titulo");

		objeto.style.display = 'block';

		altura += velocidad;

		if (!(altura >= 100)) {

			objeto.style.height = altura + 'px';

			window.setTimeout ("extender();", 20);

		}

		

	}

	function contraer() {

		var objeto2 = document.getElementById("titulo");

		altura -= velocidad;

		if (!(altura <= 0)) {

			objeto2.style.height = altura + 'px';

			window.setTimeout ("contraer();", 20);

		} else {

			objeto2.style.display = 'none';

			objeto2.style.height = '0px';

		}

		}

	

	function extender_contraer() {

		if (	altura <= 0) {

			extender();

		} else {

			contraer();

		}

	}

	

	

	var h1=0;

var exp1;

	var altura1 = 0;

	var velocidad1 = 10;

		function extender1() {

		var objeto1 = document.getElementById("titulo1");

		objeto1.style.display = 'block';

		altura1 += velocidad1;

		if (!(altura1 >= 160)) {

			objeto1.style.height = altura1 + 'px';

			window.setTimeout ("extender1();", 20);

		}

		

	}

	function contraer1() {

		var objeto21 = document.getElementById("titulo1");

		altura1 -= velocidad1;

		if (!(altura1 <= 0)) {

			objeto21.style.height = altura1 + 'px';

			window.setTimeout ("contraer1();", 20);

		} else {

			objeto21.style.display = 'none';

			objeto21.style.height = '0px';

		}

		

	}

	function extender1_contraer1() {

		if (	altura1 <= 0) {

			extender1();

		} else {

			contraer1();

		}

	}

	

	var h2=0;

var exp2;

	var altura2 = 0;

	var velocidad2 = 10;

		function extender2() {

		var objeto22 = document.getElementById("titulo2");

		objeto22.style.display = 'block';

		altura2 += velocidad2;

		if (!(altura2 >= 150)) {

			objeto22.style.height = altura2 + 'px';

			window.setTimeout ("extender2();", 20);

		}

		

	}

	function contraer2() {

		var objeto222 = document.getElementById("titulo2");

		altura2 -= velocidad2;

		if (!(altura2 <= 0)) {

			objeto222.style.height = altura2 + 'px';

			window.setTimeout ("contraer2();", 20);

		} else {

			objeto222.style.display = 'none';

			objeto222.style.height = '0px';

		}

		

	}

	function extender2_contraer2() {

		if (	altura2 <= 0) {

			extender2();

		} else {

			contraer2();

		}

	}

	

	var h3=0;

var exp3;

	var altura3 = 0;

	var velocidad3 = 10;

	var alt= 0;

		function extender3() {

		var objeto3 = document.getElementById("titulo3");

		objeto3.style.display = 'block';

		altura3 += velocidad3;

		if (!(altura3 >= 200)) {

			objeto3.style.height = altura3 + 'px';

				

			window.setTimeout ("extender3();", 20);

		}

	    

		

			

		

	}

	function contraer3() {

		var objeto23 = document.getElementById("titulo3");

		altura3 -= velocidad3;

		if (!(altura3 <= 0)) {

			objeto23.style.height = altura3 + 'px';

			window.setTimeout ("contraer3();", 20);

		} else {

			objeto23.style.display = 'none';

			objeto23.style.height = '0px';

		}

		

	}

	function extender3_contraer3() {

		if (	altura3 <= 0) {

			extender3();

		} else {

			contraer3();

		}

	}

	

	var h4=0;

var exp4;

	var altura4 = 0;

	var velocidad4 = 10;

		function extender4() {

		var objeto4 = document.getElementById("titulo4");

		objeto4.style.display = 'block';

		altura4 += velocidad4;

		if (!(altura4 >= 210)) {

			objeto4.style.height = altura4 + 'px';

			window.setTimeout ("extender4();", 20);

		}

		

	}

	function contraer4() {

		var objeto24 = document.getElementById("titulo4");

		altura4 -= velocidad4;

		if (!(altura4 <= 0)) {

			objeto24.style.height = altura4 + 'px';

			window.setTimeout ("contraer4();", 20);

		} else {

			objeto24.style.display = 'none';

			objeto24.style.height = '0px';

		}

		

	}

	function extender4_contraer4() {

		if (	altura4 <= 0) {

			extender4();

		} else {

			contraer4();

		}

	}

	

	var h5=0;

var exp5;

	var altura5 = 0;

	var velocidad5 = 10;

		function extender5() {

		var objeto5 = document.getElementById("titulo5");

		objeto5.style.display = 'block';

		altura5 += velocidad5;

		if (!(altura5 >= 130)) {

			objeto5.style.height = altura5 + 'px';

			window.setTimeout ("extender5();", 20);

		}

		

	}

	function contraer5() {

		var objeto25 = document.getElementById("titulo5");

		altura5 -= velocidad5;

		if (!(altura5 <= 0)) {

			objeto25.style.height = altura5 + 'px';

			window.setTimeout ("contraer5();", 20);

		} else {

			objeto25.style.display = 'none';

			objeto25.style.height = '0px';

		}

		

	}

	function extender5_contraer5() {

		if (	altura5 <= 0) {

			extender5();

		} else {

			contraer5();

		}

	}

	

	var h6=0;

var exp6;

	var altura6 = 0;

	var velocidad6 = 10;

		function extender6() {

		var objeto6 = document.getElementById("titulo6");

		objeto6.style.display = 'block';

		altura6 += velocidad6;

		if (!(altura6 >= 120)) {

			objeto6.style.height = altura6 + 'px';

			window.setTimeout ("extender6();", 20);

		}

		

	}

	function contraer6() {

		var objeto26 = document.getElementById("titulo6");

		altura6 -= velocidad6;

		if (!(altura6 <= 0)) {

			objeto26.style.height = altura6 + 'px';

			window.setTimeout ("contraer6();", 20);

		} else {

			objeto26.style.display = 'none';

			objeto26.style.height = '0px';

		}

		

	}

	function extender6_contraer6() {

		if (	altura6 <= 0) {

			extender6();

		} else {

			contraer6();

		}

	}

	

	var h10=0;

var exp10;

	var altura10 = 0;

	var velocidad10 = 10;

		function extender10() {

		var objeto10 = document.getElementById("titulo10");

		objeto10.style.display = 'block';

		altura10 += velocidad10;

		if (!(altura10 >= 120)) {

			objeto10.style.height = altura10 + 'px';

			window.setTimeout ("extender10();", 20);

		}

		

	}

	function contraer10() {

		var objeto210 = document.getElementById("titulo10");

		altura10 -= velocidad10;

		if (!(altura10 <= 0)) {

			objeto210.style.height = altura10 + 'px';

			window.setTimeout ("contraer10();", 20);

		} else {

			objeto210.style.display = 'none';

			objeto210.style.height = '0px';

		}

		

	}

	function extender10_contraer10() {

		if (	altura10 <= 0) {

			extender10();

		} else {

			contraer10();

		}

	}

	

	var h7=0;

var exp7;

	var altura7 = 0;

	var velocidad7 = 10;

		function extender7() {

		var objeto7 = document.getElementById("titulo7");

		objeto7.style.display = 'block';

		altura7 += velocidad7;

		if (!(altura7 >= 140)) {

			objeto7.style.height = altura7 + 'px';

			window.setTimeout ("extender7();", 20);

		}

		

	}

	function contraer7() {

		var objeto27 = document.getElementById("titulo7");

		altura7 -= velocidad7;

		if (!(altura7 <= 0)) {

			objeto27.style.height = altura7 + 'px';

			window.setTimeout ("contraer7();", 20);

		} else {

			objeto27.style.display = 'none';

			objeto27.style.height = '0px';

		}

		

	}

	function extender7_contraer7() {

		if (	altura7 <= 0) {

			extender7();

		} else {

			contraer7();

		}

	}

	

	var h8=0;

var exp8;

	var altura8 = 0;

	var velocidad8 = 10;

		function extender8() {

		var objeto8 = document.getElementById("titulo8");

		objeto8.style.display = 'block';

		altura8 += velocidad8;

		if (!(altura8 >= 100)) {

			objeto8.style.height = altura8 + 'px';

			window.setTimeout ("extender8();", 20);

		}

		

	}

	function contraer8() {

		var objeto28 = document.getElementById("titulo8");

		altura8 -= velocidad8;

		if (!(altura8 <= 0)) {

			objeto28.style.height = altura8 + 'px';

			window.setTimeout ("contraer8();", 20);

		} else {

			objeto28.style.display = 'none';

			objeto28.style.height = '0px';

		}

		

	}

	function extender8_contraer8() {

		if (	altura8 <= 0) {

			extender8();

		} else {

			contraer8();

		}

	}

	

	var h9=0;

var exp9;

	var altura9 = 0;

	var velocidad9 = 10;

		function extender9() {

		var objeto9 = document.getElementById("titulo9");

		objeto9.style.display = 'block';

		altura9 += velocidad9;

		if (!(altura9 >= 100)) {

			objeto9.style.height = altura9 + 'px';

			window.setTimeout ("extender9();", 20);

		}

		

	}

	function contraer9() {

		var objeto29 = document.getElementById("titulo9");

		altura9 -= velocidad9;

		if (!(altura9 <= 0)) {

			objeto29.style.height = altura9 + 'px';

			window.setTimeout ("contraer9();", 20);

		} else {

			objeto29.style.display = 'none';

			objeto29.style.height = '0px';

		}

		

	}

	function extender9_contraer9() {

		if (	altura9 <= 0) {

			extender9();

		} else {

			contraer9();

		}

	}

	

	var h11=0;

var exp11;

	var altura11 = 0;

	var velocidad11 = 10;

		function extender11() {

		var objeto111 = document.getElementById("titulo11");

		objeto111.style.display = 'block';

		altura11 += velocidad11;

		if (!(altura11 >= 210)) {

			objeto111.style.height = altura11 + 'px';

			window.setTimeout ("extender11();", 20);

		}

		

	}

	function contraer11() {

		var objeto2111 = document.getElementById("titulo11");

		altura11 -= velocidad11;

		if (!(altura11 <= 0)) {

			objeto2111.style.height = altura11 + 'px';

			window.setTimeout ("contraer11();", 20);

		} else {

			objeto2111.style.display = 'none';

			objeto2111.style.height = '0px';

		}

		

	}

	function extender11_contraer11() {

		if (	altura11 <= 0) {

			extender11();

		} else {

			contraer11();

		}

	}

	

	

	

	var h12=0;

var exp12;

	var altura12 = 0;

	var velocidad12 = 10;

		function extender12() {

		var objeto112 = document.getElementById("titulo12");

		objeto112.style.display = 'block';

		altura12 += velocidad12;

		if (!(altura12 >= 250)) {

			objeto112.style.height = altura12 + 'px';

			window.setTimeout ("extender12();", 20);

		}

		

	}

	function contraer12() {

		var objeto2112 = document.getElementById("titulo12");

		altura12 -= velocidad12;

		if (!(altura12 <= 0)) {

			objeto2112.style.height = altura12 + 'px';

			window.setTimeout ("contraer12();", 20);

		} else {

			objeto2112.style.display = 'none';

			objeto2112.style.height = '0px';

		}

		

	}

	function extender12_contraer12() {

		if (	altura12 <= 0) {

			extender12();

		} else {

			contraer12();

		}

	}

	

	

	var h13=0;

var exp13;

	var altura13 = 0;

	var velocidad13 = 10;

		function extender13() {

		var objeto113 = document.getElementById("titulo13");

		objeto113.style.display = 'block';

		altura13 += velocidad13;

		if (!(altura13 >= 290)) {

			objeto113.style.height = altura13 + 'px';

			window.setTimeout ("extender13();", 20);

		}

		

	}

	function contraer13() {

		var objeto2113 = document.getElementById("titulo13");

		altura13 -= velocidad13;

		if (!(altura13 <= 0)) {

			objeto2113.style.height = altura13 + 'px';

			window.setTimeout ("contraer13();", 20);

		} else {

			objeto2113.style.display = 'none';

			objeto2113.style.height = '0px';

		}

		

	}

	function extender13_contraer13() {

		if (	altura13 <= 0) {

			extender13();

		} else {

			contraer13();

		}

	}

	

	

	var h14=0;

var exp14;

	var altura14 = 0;

	var velocidad14 = 10;

		function extender14() {

		var objeto114 = document.getElementById("titulo14");

		objeto114.style.display = 'block';

		altura14 += velocidad14;

		if (!(altura14 >= 210)) {

			objeto114.style.height = altura14 + 'px';

			window.setTimeout ("extender14();", 20);

		}

		

	}

	function contraer14() {

		var objeto2114 = document.getElementById("titulo14");

		altura14 -= velocidad14;

		if (!(altura14 <= 0)) {

			objeto2114.style.height = altura14 + 'px';

			window.setTimeout ("contraer14();", 20);

		} else {

			objeto2114.style.display = 'none';

			objeto2114.style.height = '0px';

		}

		

	}

	function extender14_contraer14() {

		if (	altura14 <= 0) {

			extender14();

		} else {

			contraer14();

		}

	}

	

	

	var h15=0;

var exp15;

	var altura15 = 0;

	var velocidad15 = 10;

		function extender15() {

		var objeto115 = document.getElementById("titulo15");

		objeto115.style.display = 'block';

		altura15 += velocidad15;

		if (!(altura15 >= 210)) {

			objeto115.style.height = altura15 + 'px';

			window.setTimeout ("extender15();", 20);

		}

		

	}

	function contraer15() {

		var objeto2115 = document.getElementById("titulo15");

		altura15 -= velocidad15;

		if (!(altura15 <= 0)) {

			objeto2115.style.height = altura15 + 'px';

			window.setTimeout ("contraer15();", 20);

		} else {

			objeto2115.style.display = 'none';

			objeto2115.style.height = '0px';

		}

		

	}

	function extender15_contraer15() {

		if (	altura15 <= 0) {

			extender15();

		} else {

			contraer15();

		}

	}

	

	

	

	var h16=0;

var exp16;

	var altura16 = 0;

	var velocidad16 = 10;

		function extender16() {

		var objeto116 = document.getElementById("titulo16");

		objeto116.style.display = 'block';

		altura16 += velocidad11;

		if (!(altura16 >= 260)) {

			objeto116.style.height = altura16 + 'px';

			window.setTimeout ("extender16();", 20);

		}

		

	}

	function contraer16() {

		var objeto2116 = document.getElementById("titulo16");

		altura16 -= velocidad16;

		if (!(altura16 <= 0)) {

			objeto2116.style.height = altura16 + 'px';

			window.setTimeout ("contraer16();", 20);

		} else {

			objeto2116.style.display = 'none';

			objeto2116.style.height = '0px';

		}

		

	}

	function extender16_contraer16() {

		if (	altura16 <= 0) {

			extender16();

		} else {

			contraer16();

		}

	}

	

	

visible = "defecto";



function verComponente(componente) {

	

	document.getElementById(visible).style.display = 'none';

	document.getElementById(componente).style.display = 'block';

	visible = componente;

	

	}



	

	

	

	

	

	

	
