function PrevFoto(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);

  }

}

function viewFoto(img){

  largh=foto1.width+20;

  altez=foto1.height+20;

  stringa="width="+largh+",height="+altez;

  finestra=window.open(img,"",stringa);

}

function discurso()

	{

	window.open ("popup/discurso.htm","new1","height=480,width=620,scrollbars=yes,resizable=yes,maximized=no,status,top=18,left=18");

	}

function discurso2()

	{

	window.open ("popup/discurso2.htm","new1","height=480,width=620,scrollbars=yes,resizable=yes,maximized=no,status,top=18,left=18");

	}

function sinopse()

	{

	window.open ("popup/sinopse.htm","new1","height=480,width=620,scrollbars=yes,resizable=yes,maximized=no,status,top=18,left=18");

	}

function janela(arq)

	{

	window.open (arq,"new1","height=480,width=620,scrollbars=yes,resizable=no,maximized=no,status");

	}

function banner(arq)

	{

	window.open (arq,"new1","height=310,width=430,scrollbars=no,resizable=no,maximized=no,status");

	}
function Openme(newin) {

  window.open(newin,"flyout","titlebar=no,resizable=yes,scrollbars=yes,width=450,height=420")

}