function abrirPopup(coleccion,imagen,ancho){ coleccion = coleccion.toLowerCase(); var popX=(screen.width-ancho)/2; var popY=(screen.height-600)/2; var opciones_pop="toolbar=no,location=no,status=no,scrollbars=yes,resizable=no,directories=no,personalbar=no,menubar=no"; var popup=window.open("","popup",opciones_pop); popup.location.href="../ampliar.php?d="+coleccion+"&i="+imagen; popup.resizeTo(ancho+38,575); popup.moveTo(popX,popY); popup.focus(); return; } function abrirVentana(idioma){ var coorX=(screen.width-800)/2; var coorY=(screen.height-550)/2; var opciones_win="width=800, height=550, toolbar=no,location=no,status=yes,scrollbars=no,resizable=no,directories=no,personalbar=no,menubar=no"; var ventana=self.open(idioma,"ventana",opciones_win); ventana.moveTo(coorX,coorY); ventana.focus(); return; } function validForm(Form,mensaje){ if(Form.nombre.value=="" || Form.direccion.value=="" || Form.email.value=="" || Form.telefono.value=="" || Form.comentarios.value==""){ alert(mensaje); return false; } return true; } function Silene(idioma){ parent.frames[1].location.href="coleccion.php?c=silene&op=portada"; parent.frames[2].location.href="ampli_idioma.htm?idioma="+idioma; parent.frames[3].location.href="coleccion.php?c=silene&op=tira"; } function Anas(idioma){ parent.frames[1].location.href="coleccion.php?c=anas&op=portada"; parent.frames[2].location.href="ampli_idioma.htm?idioma="+idioma; parent.frames[3].location.href="coleccion.php?c=anas&op=tira"; } function Ardea(idioma){ parent.frames[1].location.href="coleccion.php?c=ardea&op=portada"; parent.frames[2].location.href="ampli_idioma.htm?idioma="+idioma; parent.frames[3].location.href="coleccion.php?c=ardea&op=tira"; } function idioma(){ url = document.navegador.secciones.options[document.navegador.secciones.selectedIndex].value if (url != "no") window.parent.frames[0].window.location = url; } function Espanol(){ parent.document.title="MUEBLES DE CALIDAD DE SORIA"; parent.frames[0].location.href="menuEs.htm"; parent.frames[1].location.href="centro.htm"; parent.frames[2].location.href="textoEs.htm"; parent.frames[3].location.href="info.htm"; } function Frances(){ parent.document.title="MEUBLES DE QUALITÉ DE SORIA"; parent.frames[0].location.href="menuFr.htm"; parent.frames[1].location.href="centro.htm"; parent.frames[2].location.href="textoFr.htm"; parent.frames[3].location.href="info.htm"; } function Ingles(){ parent.document.title="FURNITURES OF QUALITY FROM SORIA"; parent.frames[0].location.href="menuIn.htm"; parent.frames[1].location.href="centro.htm"; parent.frames[2].location.href="textoIn.htm"; parent.frames[3].location.href="info.htm"; } function Portugues(){ parent.document.title="MÓVEIS DE SÓRIA E DE QUALIDADE"; parent.frames[0].location.href="menuPo.htm"; parent.frames[1].location.href="centro.htm"; parent.frames[2].location.href="textoPo.htm"; parent.frames[3].location.href="info.htm"; } function Contacto(idioma){ parent.frames[1].location.href="representantes.htm"; if (idioma=="po") parent.frames[2].location.href="comentariosPo.htm"; else if (idioma=="fr") parent.frames[2].location.href="comentariosFr.htm"; else if (idioma=="in") parent.frames[2].location.href="comentariosIn.htm"; else parent.frames[2].location.href="comentariosEs.htm"; } function Premio(idioma){ if (idioma=="es") parent.frames[2].location.href="premioEs.htm"; else if (idioma=="fr") parent.frames[2].location.href="premioFr.htm"; else if (idioma=="in") parent.frames[2].location.href="premioIn.htm"; else parent.frames[2].location.href="premioPo.htm"; }