// PopUpPhoto tipical use:
// <a onclick="PopUpPhoto('BrowserTitle','Image w/path','img width','img height')>...</a>"
// 
function PopUpPhoto(Title, Image, Width, Height)
{
	newwindow=window.open('','name','width='+Width+',height='+Height+'');
	var tmp = newwindow.document;
	tmp.write('<head><title>'+Title+'</title></head>');
	tmp.write('<img src="'+Image+'" width="'+Width+'" height="'+Height+'" alt="'+Title+'">');
	tmp.write('<body topmargin="0" leftmargin="0">');
	tmp.close();
}

// PopUpPlaylist tipical use:
// <body onload="PopUpPlaylist()">...</body>
// 
function PopUpPlaylist()
{
	newwindow=window.open('','TESTAplay','width=270,height=190');
	var tmp = newwindow.document;
	tmp.write('<html><head><title>TESTAplay</title></head><body bgcolor="#708090" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">');
	tmp.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="270" height="190" id="XSPF-FMP3" align="middle">');
	tmp.write('<param name="allowScriptAccess" value="sameDomain" />');
	tmp.write('<param name="movie" value="http://playlist.testamusic.it/XSPF_RadioV.swf?action=play&playlist=http://playlist.testamusic.it/playlist.xml&folder=http://playlist.testamusic.it/&textcolor=033066&color=E6E9FB&loop=playlist&acp=true&shuffle=yes&lma=yes&viewinfo=true&display=1@: @1@ - @" />');
	tmp.write('<param name="quality" value="high" />');
	tmp.write('<param name="bgcolor" value="#ffffff" />');
	tmp.write('<embed src="http://playlist.testamusic.it/XSPF_RadioV.swf?action=play&playlist=http://playlist.testamusic.it/playlist.xml&folder=http://playlist.testamusic.it/&textcolor=033066&color=E6E9FB&loop=playlist&acp=true&shuffle=yes&lma=yes&viewinfo=true&display=1@: @1@ - @" quality="high" bgcolor="#ffffff" width="270" height="190" name="FMP3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	tmp.write('</object></body></html>');
	tmp.close();
}
