/****************************************************
* Funcions per les finestres
*****************************************************/
function obrirFinestra(url)
{
	open(url, 'Sizewindow', 'width=900,height=600,scrollbars=yes,toolbar=no')
}

function obrirFinestraFotos(url)
{
	open(url, 'Sizewindow', 'width=850,height=680,scrollbars=no,toolbar=no')
}

function obrirFinestra2(url)
{
	open(url, 'Sizewindow', 'width=450,height=450,scrollbars=yes,toolbar=no')
}

/****************************************************
* Funcio per obtenir una imatge aleatoria
*****************************************************/
function VecImagenes()
{
	n=0;
	this[n++]="images/portada01.jpg";
	this[n++]="images/portada02.jpg";
	this[n++]="images/portada03.jpg";
	this[n++]="images/portada04.jpg";
	this[n++]="images/portada05.jpg";
	this[n++]="images/portada06.jpg";
	this[n++]="images/portada07.jpg";
	this[n++]="images/portada08.jpg";
	this[n++]="images/portada09.jpg";
	this[n++]="images/portada10.jpg";
	this.N=n;
}

/****************************************************
* Funcions per l'scroll vertical
*****************************************************/




