/* BEGIN 
   Soap 2 htm output */

function Is ()
{
    var agt=navigator.userAgent.toLowerCase()

    // --- BROWSER VERSION ---
    this.major = parseInt(navigator.appVersion)
    this.minor = parseFloat(navigator.appVersion)

    this.nav  = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1)))
    this.nav2 = (this.nav && (this.major == 2))
    this.nav3 = (this.nav && (this.major == 3))
    this.nav4 = (this.nav && (this.major == 4))

    this.ie   = (agt.indexOf("msie") != -1)
    this.ie3  = (this.ie && (this.major == 2))
    this.ie4  = (this.ie && (this.major == 4))

    this.opera = (agt.indexOf("opera") != -1)
     
    this.nav4up = this.nav && (this.major >= 4)
    this.ie4up  = this.ie  && (this.major >= 4)
}



/* Dizionario Popup */

function SplashWin()
	{
		var Dizionario = window.open("popdiz.htm", "MetaWindow", "width=450,height=240, scrollbars=yes");
		
		
	}

	

/* FanClub Popup */

function SplashWin3()
	{
		var FanClub = window.open("fcmail.htm", "MetaWindow", "width=450,height=200, scrollbars=yes");
		
		
	}	
	

/* Monografie Popup */

function SplashWin4()
	{
		var Monografie = window.open("trequat.htm", "MetaWindow", "width=450,height=180, scrollbars=yes");
		
		
	}
	
	
/* Pippo Popup */

function SplashWin5()
	{
		var Pippo = window.open("subpag/pbciao.htm", "MetaWindow", "width=450,height=202, scrollbars=yes");
		
		
	}	
	
	/* Bertu Popup */

function SplashWin6()
	{
		var Bertu = window.open("subpag/rbciao.htm", "MetaWindow", "width=450,height=172, scrollbars=yes");
		
		
	}
		
	/* Peru Popup */

function SplashWin7()
	{
		var Peru = window.open("subpag/ppciao.htm", "MetaWindow", "width=450,height=188, scrollbars=yes");
		
		
	}	
	
	/* Franco Popup */

function SplashWin8()
	{
		var Franco = window.open("subpag/fbciao.htm", "MetaWindow", "width=450,height=172, scrollbars=yes");
		
		
	}	
	


/* NEON */

neonBaseColor = "blue";
neonColor = "#996600";
num = 0;
num2 = 0;
num3 = 0;
num4 = neonColor;
function startNeon() {
message = neon.innerText;
neon.innerText = "";
for(i = 0; i != message.length; i++) {
neon.innerHTML += "<span id=\"neond\" style=\"color:"+neonBaseColor+"\">"+message.charAt(i)+"<\/span>"};
neon2();
}
function neon2() {
if(num != message.length) {
document.all.neond[num].style.color = neonColor;
num++;
setTimeout("neon2()", 100);
}
else {
num = 0;
num2 = message.length;
setTimeout("neon4onev()", 2000);
   }
}
function neon4onev() {
document.all.neond[num].style.color = neonBaseColor;
document.all.neond[num2-1].style.color = neonBaseColor;
if(Math.floor(message.length / 2) + 1 != num2) {
num++;
num2--;
setTimeout("neon4onev()", 50);
}
else {
setTimeout("neon5()", 50);
   }
}
function neon5() {
if(num3 != message.length && num3 != message.length+1) {
document.all.neond[num3].style.color = neonColor;
num3 = num3 + 2;
setTimeout("neon5()",100);
}
else {
setTimeout("neon52()", 50);
   }
}
function neon52() {
if(num3 == message.length) {
num3++;
neon52a();
}
else {
num3--;
neon52a();
   }
}
function neon52a() {
if(num3 != 1) {
num3 = num3 - 2;
document.all.neond[num3].style.color = neonColor;
setTimeout("neon52a()", 100);
}
else {
if(num4 == neonColor) {
num3 = 0;
neonColor = neonBaseColor;
setTimeout("neon5()", 2000);
}
else {
neonColor = num4;
num3 = 0;
setTimeout("neon4onev2()", 50);
      }
   }
}
function neon4onev2() {
document.all.neond[num].style.color = neonColor;
document.all.neond[num2 - 1].style.color = neonColor;
if(message.length != num2) {
num--;
num2++;
setTimeout("neon4onev2()", 50);
}
else {
num = 0;
num2 = 0;
setTimeout("neon3()", 2000);
   }
}
function neon3() {
if(num != message.length) {
document.all.neond[num].style.color = neonBaseColor;
num++;
setTimeout("neon3()", 100);
}
else {
num = 0;
neon2();
   }
}


/* END */