	 var ultimo_llamado = "inicial";	 var pulsada=new Array();	 var pulsada2=new Array();	 	 function toolsBar(id,classe,ev)  {		 if (ev==0)	 {			if(pulsada[0]!=id) document.getElementById(id).className=classe;			document.getElementById('desCUADRO').childNodes[0].nodeValue = "";		 } else if(ev==1) {			if(pulsada[0]!=id) document.getElementById(id).className=classe;		 } else {			if(pulsada[0]!=id&&pulsada!='') document.getElementById(pulsada[0]).className=pulsada[1];			 pulsada[0]=id;			 pulsada[1]='toolsBarOff';			 document.getElementById(id).className=classe;		 }	 }	 	 function toolsBar2(id,classe,ev)  {		 if (ev==0)	 {			if(pulsada2[0]!=id) document.getElementById(id).className=classe;			document.getElementById('desCUADRO').childNodes[0].nodeValue = "";		 } else if(ev==1) {			if(pulsada2[0]!=id) document.getElementById(id).className=classe;		 } else {			if(pulsada2[0]!=id&&pulsada2!='') document.getElementById(pulsada2[0]).className=pulsada2[1];			 pulsada2[0]=id;			 pulsada2[1]='toolsBarOff';			 document.getElementById(id).className=classe;		 }	 } 		 function showPic (whichpic,quitaTHUMB) {	 	  		  if (document.getElementById) {		 		document.getElementById('placeholder').src = "blank.jpg";			  		document.getElementById('placeholder').src = whichpic.foto;				if (whichpic.titular_1) {				  	document.getElementById('titular_1').childNodes[0].nodeValue = whichpic.titular_1;					document.getElementById('descripcion_1').childNodes[0].nodeValue = whichpic.descripcion_1;					document.getElementById('titular_2').childNodes[0].nodeValue = whichpic.titular_2;					document.getElementById('descripcion_2').childNodes[0].nodeValue = whichpic.descripcion_2;					document.getElementById('Titular').childNodes[0].nodeValue = whichpic.Titular;																			} else {				 	document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;					document.getElementById('descripcion_1').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;					document.getElementById('titular_2').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;					document.getElementById('descripcion_2').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;				}		   				  } 		 		 if(quitaTHUMB==true) {		 		document.getElementById(ultimo_llamado).style.visibility="hidden";		 }		 	 }	 	 function showPic2 (whichpic) {		  if (document.getElementById) {		  		if (whichpic.Titular) {					document.getElementById('desCUADRO').childNodes[0].nodeValue = whichpic.Titular;									} else {				 	document.getElementById('desCUADRO').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;				}		   				  } 	 }	 	 function mostrar(nombreCapa){ 	 		if(nombreCapa == 1) {				document.getElementById("capa1").style.visibility="visible"; 				document.getElementById("capa2").style.visibility="hidden";				document.getElementById("capa3").style.visibility="hidden";				document.getElementById("capa4").style.visibility="hidden";				document.getElementById("imagen1").src="menu_1_roll.gif";				document.getElementById("imagen2").src="menu_2.gif";				document.getElementById("imagen3").src="menu_3.gif";				document.getElementById("imagen4").src="menu_4.gif";				//				toolsBar(4,'toolsBarOver',2);				document.getElementById('placeholder').src = "blank.jpg";				document.getElementById('placeholder').src = "mecanismos/kuik3.jpg";				document.getElementById('titular_1').childNodes[0].nodeValue = "Descripción";				document.getElementById('descripcion_1').childNodes[0].nodeValue = "El coche tenia que girar sobre si mismo en un eje perpendicular a las ruedas posteriores.";				document.getElementById('titular_2').childNodes[0].nodeValue = "Productora";				document.getElementById('descripcion_2').childNodes[0].nodeValue = "Arena shots vision";				document.getElementById('Titular').childNodes[0].nodeValue = "Giro coche de juguete";				document.getElementById(ultimo_llamado).style.visibility="hidden";				//				showTHUMB('thumbquick');			} else if(nombreCapa == 2) {				document.getElementById("capa2").style.visibility="visible"; 				document.getElementById("capa1").style.visibility="hidden";				document.getElementById("capa3").style.visibility="hidden";				document.getElementById("capa4").style.visibility="hidden";				//				document.getElementById("imagen1").src="menu_1.gif";				document.getElementById("imagen2").src="menu_2_roll.gif";				document.getElementById("imagen3").src="menu_3.gif";				document.getElementById("imagen4").src="menu_4.gif";				toolsBar(30,'toolsBarOver',2);				document.getElementById('placeholder').src = "blank.jpg";				document.getElementById('placeholder').src = "pequenas/absolut-arbusto.jpg";				document.getElementById('titular_1').childNodes[0].nodeValue = "Descripción";				document.getElementById('descripcion_1').childNodes[0].nodeValue = "Arbusto con forma de botella de absolut.";				document.getElementById('titular_2').childNodes[0].nodeValue = "";				document.getElementById('descripcion_2').childNodes[0].nodeValue = "";				document.getElementById('Titular').childNodes[0].nodeValue = "Absolut";				document.getElementById(ultimo_llamado).style.visibility="hidden";						} else if(nombreCapa == 3) {				document.getElementById("capa3").style.visibility="visible"; 				document.getElementById("capa1").style.visibility="hidden";				document.getElementById("capa2").style.visibility="hidden";				document.getElementById("capa4").style.visibility="hidden";				//				document.getElementById("imagen1").src="menu_1.gif";				document.getElementById("imagen2").src="menu_2.gif";				document.getElementById("imagen3").src="menu_3_roll.gif";				document.getElementById("imagen4").src="menu_4.gif";				toolsBar(60,'toolsBarOver',2);				document.getElementById('placeholder').src = "blank.jpg";				document.getElementById('placeholder').src = "medianas/eragon/detalle.jpg";				document.getElementById('titular_1').childNodes[0].nodeValue = "Descripción";				document.getElementById('descripcion_1').childNodes[0].nodeValue = "Escultura de dos cabezas de dragon a partir de la ilustración de la portada del libro para el acto de presentacion. Fabricadas en espuma de poliuretano y fibra de vidrio.";				document.getElementById('titular_2').childNodes[0].nodeValue = "";				document.getElementById('descripcion_2').childNodes[0].nodeValue = "";				document.getElementById('Titular').childNodes[0].nodeValue = "Eragon";				document.getElementById(ultimo_llamado).style.visibility="hidden";			} else if(nombreCapa == 4) {				document.getElementById("capa4").style.visibility="visible"; 				document.getElementById("capa2").style.visibility="hidden";				document.getElementById("capa3").style.visibility="hidden";				document.getElementById("capa1").style.visibility="hidden";				//				document.getElementById("imagen1").src="menu_1.gif";				document.getElementById("imagen2").src="menu_2.gif";				document.getElementById("imagen3").src="menu_3.gif";				document.getElementById("imagen4").src="menu_4_roll.gif";				toolsBar(89,'toolsBarOver',2);				document.getElementById('placeholder').src = "blank.jpg";				document.getElementById('placeholder').src = "alimentarias/loacker.jpg";				document.getElementById('titular_1').childNodes[0].nodeValue = "Descripción";				document.getElementById('descripcion_1').childNodes[0].nodeValue = "Maqueta de una galleta en resina plástica. Letras grabada por medio de una fresa controlada por ordenador (control numérico)";				document.getElementById('titular_2').childNodes[0].nodeValue = "";				document.getElementById('descripcion_2').childNodes[0].nodeValue = "";				document.getElementById('Titular').childNodes[0].nodeValue = "Galleta Loacker";				document.getElementById(ultimo_llamado).style.visibility="hidden";			}	 		 } 	 	 function showTHUMB(nombreCapa){ 	 				document.getElementById(nombreCapa).style.visibility="visible"; 			ultimo_llamado = nombreCapa;	  }	 	 function ocultar(nombreCapa){ 	 		document.getElementById(nombreCapa).style.visibility="hidden"; 	 } 	 
