

var ventana;

var cont=0;

//texto por defecto a mostrar en la barra de título en caso de omitir el argumento titulo

var titulopordefecto = "Maritere Braschi";



function afoto(cual,titulo)

{

if(cont==1){ventana.close();ventana=null}

if(titulo==null){titulo=titulopordefecto}

ventana=window.open('','ventana','resizable=yes,scrollbars=no');

ventana.document.write('<html><head><title>' + titulo + '</title></head><body style="overflow:hidden" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" scroll="no" onUnload="opener.cont=0"><img src="' + cual + '" onLoad="opener.redimensionar(this.width, this.height)">');

ventana.document.close();

cont++;

}

function redimensionar(ancho,alto)

{

ventana.resizeTo(ancho+12,alto+28)

ventana.moveTo(0,0);

//ventana.moveTo((screen.width-ancho)/2,(screen.height-alto)/2) //centra la ventana. Eliminar si no se quiere centrar el popup

}



function PopupPic(sPicURL) { 

				window.open("popup.htm?"+sPicURL, "", "resizable=1,HEIGHT=200,WIDTH=200");

}


function musica(){

			var so = new SWFObject("musica_fondo.swf", "maritere_braschi_musica", "1", "1", "8", "#FFFFFF");

			so.addParam("menu","false");

			so.addParam("wmode","transparent");

		    so.write("player");

}

function mi_flash_load(swf_mov){

			var so = new SWFObject(swf_mov+".swf", "maritere_braschi", "700", "480", "8", "#FFFFFF");

			so.addParam("menu","false");

			so.addParam("wmode","transparent");

		   	so.write("maritere_braschi");

}



	var alternateContentES = "<center><img src='maritere braschi talkshow.jpg'></center><br>Lo sentimos...<BR>"

	+ 'el contenido de esta pagina web requiere la nueva version de Adobe Flash Player para ser visualizada.<BR>'

	+ "<a href=http://www.adobe.com/go/getflash/> consigalo aqui </a>";

	

	var alternateContentIN = "<center><img src='maritere braschi talkshow.jpg'></center><br>We apologise for the inconvenience...<BR>"

	+ "This content requires the new version of Adobe Flash Player.<BR>"

	+ "<a href=http://www.adobe.com/go/getflash/ > you can get it here </a>";

	

function play(){

	document.all["player"].src="fondo.mp3";

}

function parar(){

	document.all["player"].src="null.mp3";

}