var NumeroImagenes = 8;
var texto=
'...el proyecto retoma la arcaica concepci&oacute;n m&aacute;gica que envuelve al universo de la joya, de lo valioso, de lo &uacute;nico y de lo extra&ntilde;o... propone &mdash;frente a los habituales colmados con escaparates abarrotados de joyas&mdash; un envoltorio donde se expongan las piezas valiosas, como &uacute;nicas, exclusivas... para ello se genera una atm&oacute;sfera misteriosa, extra&ntilde;a... hueca, ingr&aacute;vida, y a la vez oriental y contenidamente barroca... se origina mediante una geometr&iacute;a que envuelve como un cofre, como un joyero, capaz de albergar con la delicadeza y el misterio que requiere la pieza valiosa... &uacute;nica.<br />...hay resonancias teatrales... algunos tratamientos de la b&oacute;veda recuerdan a los telones oscuros..., la iluminaci&oacute;n escenogr&aacute;fica que punt&uacute;a y acent&uacute;a exclusivamente.<br /><br /><br />FICHA T&Eacute;CNICA<br /><br />Director de proyecto: Daniel Galar Irurre, arquitecto<br />Iluminaci&oacute;n: Anton Aman - ALS LIGHTING<br /><br />Constructor: Ignacio Huarte &ndash; Construcciones CLEYS<br />Proyecto: marzo 2006<br />Fin de obra: diciembre 2007<br /><br />Cliente: Danieli Joyeros<br />Fotograf&iacute;as: Jose M. Cutillas<br /><br /><br />PUBLICACIONES<br /><br />Domus (Italia) 922<br />Detail (Espa&ntilde;a) 6/2008<br />BH Magazino (Grecia) 25<br />Hinge Magazine (Hong Kong) 173<br />TC CUadernos 88<br />On dise&ntilde;o 297<br />FAD 50 Aņos<br />Dise&ntilde;o Interior 191-197<br />Proyecto Contract 47<br />CIC 454<br />Pasajes Dise&ntilde;o 7<br />Arquitectura y Dise&ntilde;o 96<br />Living Deco 30-33<br />Antae 3<br />Arketypo 13<br />Promateriales 25<br />Formas de Proyectar 2<br />VIA Interiorismo 20<br />Interiorismo Plus 23<br />COA Lleida Nov 2008<br />EBEN Interiors 64';



/*===================================================================
FIN CONFIGURACION
===================================================================*/





function PreCarga (objetoImagen, rutaImagen) 
{
    if (document.images)
    {
	eval (objetoImagen +' = new Image()')
	eval (objetoImagen +'.src = "' + rutaImagen + '"')
    }
}
function inicio(){

	var i=0
	for(i=1;i<=NumeroImagenes;i++){
		PreCarga ('Image'+i,'image'+i+'.jpg');
		PreCarga ('ImageBig'+i,'image'+i+'_big.jpg');
		if(i==1){
			document.getElementById('enlaces').innerHTML+='<a href="JavaScript:ShowWork1 (\'null\',\'miImagen\','+i+')" style="color:#FED100;">&bull;</a>\n';
			imagenactual = new Image();
			imagenactual.src = 'image'+i+'_big.jpg';
			if(imagenactual.naturalWidth){			
				document.getElementById("ampliar").attributes['href'].value = "javascript:muestra_imagen('image"+i+"_big.jpg',"+imagenactual.naturalWidth+","+imagenactual.naturalHeight+")";
			}
			else {				
				document.getElementById("ampliar").attributes['href'].value = "javascript:muestra_imagen('image"+i+"_big.jpg',"+imagenactual.width+","+imagenactual.height+")";
			}
		}
		else{
			document.getElementById('enlaces').innerHTML+='<a href="JavaScript:ShowWork1 (\'null\',\'miImagen\','+i+')">&bull;</a>\n';
		}
	}
	document.getElementById('Textos-Obra').innerHTML=texto;
}
var num_imagen = 2;
function ShowWork (capa,nombreImagen,objetoImagen) 
{
    if (document.layers && capa!=null)
	eval('document.' + capa + '.document.images["' + nombreImagen + '"].src = ' + objetoImagen + '.src')
    else
	document.images[nombreImagen].src = eval(objetoImagen + ".src")
}


function ShowWork1 (capa,nombreImagen,objetoImagen) 
{
    if(NumeroImagenes<objetoImagen){
	objetoImagen = 1;
    }
    if (document.layers && capa!=null)
	eval('document.' + capa + '.document.images["' + nombreImagen + '"].src = Image' + objetoImagen + '.src');
    else
	document.images[nombreImagen].src = eval("Image" +objetoImagen + ".src");
   num_imagen = objetoImagen + 1;
document.getElementById('enlaces').innerHTML="";
	for(i=1;i<=NumeroImagenes;i++){
		if(i==objetoImagen){
			document.getElementById('enlaces').innerHTML+='<a href="JavaScript:ShowWork1 (\'null\',\'miImagen\','+i+')" style="color:#FED100;">&bull;</a>\n';
			imagenactual = new Image();
			imagenactual.src = 'image'+i+'_big.jpg';
			if(imagenactual.naturalWidth){			
				document.getElementById("ampliar").attributes['href'].value = "javascript:muestra_imagen('image"+i+"_big.jpg',"+imagenactual.naturalWidth+","+imagenactual.naturalHeight+")";
			}
			else {				
				document.getElementById("ampliar").attributes['href'].value = "javascript:muestra_imagen('image"+i+"_big.jpg',"+imagenactual.width+","+imagenactual.height+")";
			}
		

		}
		else {
		document.getElementById('enlaces').innerHTML+='<a href="JavaScript:ShowWork1 (\'null\',\'miImagen\','+i+')">&bull;</a>\n';
		}
	}
}

OCULTO="none";
VISIBLE="block";
 
function mostrar(blo) {
  document.getElementById(blo).style.display=VISIBLE;
  document.getElementById('ver_off').style.display=VISIBLE;
  document.getElementById('ver_on').style.display=OCULTO;
}
 
function ocultar(blo) {
  document.getElementById(blo).style.display=OCULTO;
  document.getElementById('ver_off').style.display=OCULTO;
  document.getElementById('ver_on').style.display=VISIBLE;
}


function shownNext(){
	ShowWork1(null,"miImagen",num_imagen);	
}

function Textos(nombrediv) {
	if(document.getElementById(nombrediv).style.display == '') {
        	document.getElementById(nombrediv).style.display = 'none';
	} else {
        	document.getElementById(nombrediv).style.display = '';
        }
}

function muestra_imagen(archivo,ancho,alto){
	//xInnerHtml('c1','')
	
	xWidth ('ampliacion',ancho + 6)
	xHeight ('ampliacion',alto + 6 + 20)
	xWidth ('c1',ancho)
	xHeight ('c1',alto)
	xWidth ('cerrarampliacion',ancho)
	
	
	xInnerHtml('c1','<img src="' + archivo + '" width="' + ancho + '" height="' + alto + '" border="2">')
	
	xShow('ampliacion');	
}

function cerrar_ampliacion(){
	xHide('ampliacion');
	
}