<!--

var newwindow;
function aprifoto(filename,alt,w,h){	t=(screen.height-h)/2;	l=(screen.width-w)/2;	newwindow =window.open('','_blank','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+t+',left='+l+',width='+w+',height='+h); 	newwindow.document.write("<html><head><title>Le ore di Marilyn | Galleria</title></head><body topmargin=0 marginheight=0 leftmargin=0 marginwidth=0>");	newwindow.document.write("<a href=# onclick=window.close()><img src="+filename+" width="+w+" height="+h+" border=0 alt='"+alt+"'></a>");	newwindow.document.write("</body></html>");	newwindow.document.close();}

function aprivideo(videoname,alt,w,h){	t=(screen.height-h)/2;	l=(screen.width-w)/2;	newwindow =window.open('','_blank','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,top='+t+',left='+l+',width='+w+',height='+h); 	newwindow.document.write("<html><head><title>Le ore di Marilyn | Galleria</title></head><body topmargin=0 marginheight=0 leftmargin=0 marginwidth=0>");	newwindow.document.write("<object width="+w+" height="+h+"> <param name=movie value=http://www.youtube.com/v/"+videoname+"> </param>");
    newwindow.document.write("<embed src=http://www.youtube.com/v/"+videoname+" type=application/x-shockwave-flash width="+w+" height="+h+"> </embed> </object>");	newwindow.document.write("</body></html>");	newwindow.document.close();}



function checkframe(){	if (parent.location.href == self.location.href) window.location.href = 'index1.html';}

function popup(url){	newwindow=window.open(url,'image','width=500,height=500,resizable=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1');	if (window.focus) {newwindow.focus()}}




function getmailaddr(username)
{
var suffix;
suffix='&#64;le&#111;&#114;&#101;&#100;&#105;&#109;&#97;&#114;&#105;&#108;&#121;&#110;&#46;&#105;&#116;';
return(username+suffix);
}


function getmaillink(username)
{
var mailto;
mailto='&#109;&#97;&#105;&#108;&#116;&#111;&#58';
return(mailto+getmailaddr(username));
}	

/* ESEMPIO
document.write('<a href="'+getmaillink('info')+'">'+getmailaddr('info')+'</a>');
*/

//-->