// JavaScript Document

<!-- STAMPA
function Stampa() {
window.print();
}
//-->

<!-- 
function apri(uri,nome,mnbar,tlbar,lcbar,drbar,stbar,scbar,rsz,wdt,hgt) {
window.open(uri,nome,"menubar=" + mnbar + ",toolbar=" + tlbar + ",location=" + lcbar + ",directories=" + drbar + ",status=" + stbar + ",scrollbars=" + scbar + ",resizable=" + rsz + ",width=" + wdt + ",height=" + hgt);
}
//-->


// Eventi Onload

window.onload = function() {
	// e-mail
	if(document.getElementById) {
		var mail = document.getElementById('emailpiuma');
		if(mail) {   		
			mail.innerHTML = '<a href="mailto:piuma'+ '@'+'phoenixdown'+'.'+'it">piuma'+ '@'+'phoenixdown'+'.'+'it</a>';
		}
		var mailpiuma = document.getElementById('mailpiuma');
		if(mailpiuma) {   		
			mailpiuma.innerHTML = '<a href="mailto:piuma'+ '@'+'phoenixdown'+'.'+'it">piuma'+ '@'+'phoenixdown'+'.'+'it</a>';
		}
	}
	
}



<!--popup flash
function popWin(a,b,c){
window.open(a,b,c);
}
//-->


<!-- copia orologio
function ClipBoard1() {
Tabella.holdtext1.innerText = document.Tabella.Codice1.innerText;
Copied = Tabella.holdtext1.createTextRange();
Copied.execCommand("RemoveFormat");
Copied.execCommand("Copy");
}
function ClipBoard2() {
Tabella.holdtext2.innerText = document.Tabella.Codice2.innerText;
Copied = Tabella.holdtext2.createTextRange();
Copied.execCommand("RemoveFormat");
Copied.execCommand("Copy");
}
function ClipBoard3() {
Tabella.holdtext3.innerText = document.Tabella.Codice3.innerText;
Copied = Tabella.holdtext3.createTextRange();
Copied.execCommand("RemoveFormat");
Copied.execCommand("Copy");
}
function ClipBoard4() {
Tabella.holdtext4.innerText = document.Tabella.Codice4.innerText;
Copied = Tabella.holdtext4.createTextRange();
Copied.execCommand("RemoveFormat");
Copied.execCommand("Copy");
}
// fine-->


<!-- BEGIN MYSHOUTBOX.COM CODE -->
function showShoutbox() {
	var x=-30;
	var y=-60;
	if (document.layers) {
		x=0;
		y=0;
	} else {
		x=0;
		y=0;
	}
	if (x<0) x=0;
	if (y<0) y=0;
	var w=window.open("http://88768.myshoutbox.com/","shoutbox","top="+y+",left="+x+",width=200,height=400,location=0,menubar=0,toolbar=0,status=0,resizable=0,scrollbars=1");
	w.focus();
	return;
}

//-->


<!-- POPUP1
function popup1(url) {
popup = window.open(url,"popup",'location=0,toolbar=0,status=0,menubar=0,scrollbars=0,resizable=0,width=450,height=350,left=150,top=100,directories=0')
}
//FINE-->


<!-- POPUP 2
function popup2(url) {
popup = window.open(url,"popup",'location=0,toolbar=0,status=0,menubar=0,scrollbars=0,resizable=0,width=450,height=400,left=150,top=100,directories=0')
}
//FINE-->


<!-- POPUP 3
function popup3(url) {
popup = window.open(url,"popup",'location=0,toolbar=0,status=0,menubar=0,scrollbars=1,resizable=0,width=500,height=450,left=150,top=100,directories=0')
}
//FINE-->

<!-- POPUP JUKEBOX
function popupjukebox(url) {
popup = window.open(url,"popup",'location=0,toolbar=0,status=0,menubar=0,scrollbars=0,resizable=0,width=270,height=160,left=100,top=100,directories=0')
}
//FINE-->

<!-- POPUP GUESTBOOK LA PAGINA DI
function commenta(url) {
popup = window.open(url,"popup",'location=0,toolbar=0,status=0,menubar=0,scrollbars=1,resizable=0,width=550,height=500,left=150,top=100,directories=0')
}
//FINE-->


<!--POPUP FF7 copertina OST
function popupFF7(url) {
popup = window.open(url,"popup",'location=0,toolbar=0,status=0,menubar=0,scrollbars=0,resizable=0,width=550,height=400,left=150,top=100,directories=0')
}
//-->


<!-- PREFERITI
var url="http://www.phoenixdown.it/"
var title="Phoenixdown Non il solito sito su Final Fantasy..."

function Preferiti() {
netscape="Fare clic su OK, quindi premere CTRL+D per aggiungere questo sito ai Segnalibri."
if (navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite(url,title);
}
else if (navigator.appName=='Netscape')
{
alert(netscape);
}
}
//FINE-->


<!-- 
//Gradual-Highlight image script- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",80)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.3
else if (which2.filters)
which2.filters.alpha.opacity=30
}

function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=18
else if (window.highlighting)
clearInterval(highlighting)
}
// FINE-->

<!-- ALFA OPHACITY
function alphaon(x) {
document[x].filters.alpha.opacity +=80;
}
function alphaoff(x) {
test=x;
provatimer=setInterval("prova(test)", 100)
}
function prova(x) {
if (document[x].filters.alpha.opacity>50) {
document[x].filters.alpha.opacity -= 10
}
else {clearInterval(provatimer)}
}
//-->
