
function pop_cg(link) {
var l=link
var testo = "<html><head><title>Attenzione !</title><link  href=./css/fenice/fenice.css rel=stylesheet type=text/css><SCRIPT language=\"JavaScript\" type=\"text/javascript\" src=\"./lib/javascript/opener.js\"></SCRIPT></head>";
testo += "<body>";
testo += "<table width=\"390\" border=\"0\"><tr><td bgcolor=\"#DDDDDD\"><h1>Associazione Fenice</h1><td></tr><tr><td class=label align=center> Sei sicuro di voler cancellare definitivamente i dati ?<br><br> Verr&agrave; cancellato il contenuto selezionato e tutti i contenuti derivati<br><a href=\"javascript:updateParent('"+link+"')\"><img src=./css/fenice/cg/cancella.gif border=0 align=left></a></td></tr></table>";
testo += "</body></html>";
var ident_finestra = window.open('','modulo','height=200,width=390');
ident_finestra.document.open();
ident_finestra.document.write(testo);
opener.document.location.href=link
close();
ident_finestra.document.close();
}


function apriJPG(file, w, h)
{
var dimensioni="'scroll=no, width="+w+",height="+h+"'";
var testo="<html><title>Roberglass</title><body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" bgcolor=\"#FFFFFF\"><div align=center><img src=./upload/realizzazioni/"+file+" border=0></div></body></html>";
var ident_finestra = window.open('', '', dimensioni);
ident_finestra.document.open();
ident_finestra.document.write(testo);
ident_finestra.document.close();
}

function caricaFlash(val,w,h)
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+w+'" height="'+h+'" hspace="0" vspace="0">\n');
    document.write('<param name="movie" value="'+val+'">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<param name="SCALE" value="exactfit">\n');
	document.write('<embed src="'+val+'" quality="high"  width="'+w+'" height="'+h+'" hspace="0" vspace="0" name="lay" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" scale="exactfit" pluginspage="http://www.macromedia.com/go/getflashplayer">\n');
    document.write('</object>');
}
