<!--     ABRIR VENTANA NUEVA CON TAMAÑO PREDETERMINADO       -->
function Abrir_Ventana_resizable(theURL,w,h) 
{ 
	var windowprops ="top=0, left=0, toolbar=no, location=no, status=no, menubar=no, directories=no, scrollbars=no, resizable=yes,width=" + w + ",height=" + h;
	window.open(theURL,"Mapa",windowprops); 
}

function cabecera(lang) 
{ 
	/*alert(eval('lang'))*/
	document.write('<link rel="stylesheet" type="text/css" href="../css/estils.css">')
	document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
	document.write('<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">')
	document.write('<META NAME="DC.Language" SCHEME="RFC1766" CONTENT="Spanish">')
	document.write('<META HTTP-EQUIV="Content-Language" CONTENT="es">')
	document.write('<META NAME="distribution" CONTENT="global">')
	document.write('<META HTTP-EQUIV="Pragma" CONTENT="no-cache">')
	document.write('<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">')
	document.write('<META NAME="robots" CONTENT="all | index | follow">')
	document.write('<META NAME="author" CONTENT="Jordi Casanovas Adell">')
	document.write('<META NAME="title" CONTENT="AURA BOUTIQUE - El Vendrell - Tarragona - Novia, comunión y modistería a medida">')
	document.write('<META NAME="Description" CONTENT="Aura Boutique, el que estas buscant!">')
	switch(lang)
	{
		case "cat":
		  document.write('<TITLE>AURA BOUTIQUE - El Vendrell - Tarragona - Núvia, comunió i modisteria a mida</TITLE>')
		  break    
		case "esp":
		  document.write('<TITLE>AURA BOUTIQUE - El Vendrell - Tarragona - Novia, comunión y modistería a medida</TITLE>')		  
		  break
		default:
		  document.write('')
	}
	document.write('<META NAME="keywords" CONTENT="designer wedding dresses, brides dresses, haute couture, diseñador vestidos de novia, vestidos de novias, vestidos comunion, alta costura, confeccion a medida, vestidos a medida, disseny vestits de nuvia, vestits de nuvia, vestits comunio, confeccio a mida, vestits a mida, modisteria a mida, San Patrick, Giorgio Novias, Alba Moda, Jesus Peiro, Antonio Miro, Raimon Bundo, Pierre Cardin, Yolancris">')
}

function Abrir_Ventana(theURL,w,h) 
{ 
	var windowprops ="top=0, left=0, toolbar=no, location=no, status=no, menubar=no, directories=no, scrollbars=no, resizable=no,width=" + w + ",height=" + h;
	window.open(theURL,"titulo",windowprops); 
}

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function CaricaFoto(img){
  foto1= new Image();
  foto1.src=(img);
  Controlla(img);
}
function Controlla(img){
  if((foto1.width!=0)&&(foto1.height!=0)){
    viewFoto(img);
  }
  else{
    funzione="Controlla('"+img+"')";
    intervallo=setTimeout(funzione,20);
  }
}
var num=0;
function viewFoto(img)
{
	num=num+1;
  largh=foto1.width+20;
  altez=foto1.height+20;
  stringa="width="+largh+",height="+altez;
  finestra=window.open(img,"",stringa);
}
//  End -->

<!--     INABILITAR EL BOTON DERECHO DEL MOUSE     -->
var message="Opció reservada al propietari de la pàgina";
function click(e) 
{
	if (document.all) 
	{
		if (event.button == 2) 
		{
			alert(message);
			return false;
		}
	}
	if (document.layers) 
	{
		if (e.which == 3) 
		{
			alert(message);
			return false;
		}
	}
}
if (document.layers) 
{
	document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;


<!--     CARREGAR FLASH     -->
function home(flash, nom, colorfons, amplada, altura)
{
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+amplada+'px" height="'+altura+'px" id="'+nom+'" align="middle">')
	document.write('<param name="allowScriptAccess" value="sameDomain" />')
	document.write('<param name="movie" value="'+flash+'" />')
	document.write('<param name="quality" value="high" />')
	document.write('<param name="bgcolor" value="#'+colorfons+'" />')
	document.write('<embed src="'+flash+'" quality="high" bgcolor="#'+colorfons+'" width="'+amplada+'px" height="'+altura+'px" name="'+nom+'" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />')
	document.write('</object>')
}