//<![CDATA[

var a
var b
var c
var d
var e
var g
var m

var text=new Array()
var textlink=new Array()
var texttarget=new Array()
var textsplashcolors=new Array()
var data = new Date()
var anno = data.getYear()
var mese = data.getMonth() + 1
var giorno = data.getDate()

a = anno % 19;
b = anno % 4;
c = anno % 7;
d = ((19*a) + 24) % 30
e = ((2*b) + (4*c) + (6*d) + 5) % 7;
if (d + e < 10)
{
        g = d+e+22;
        m = 3;
}
else{
        g = d+e-9;
        m = 4;
}

if (g==26 && m==4)
{
        g = 19;
        m = 4;
}

if (g==25 && m==4 && d==28 && e==6 && a>10)
{
        g=18;
        m=4;
}

if (giorno == 1 && mese == 1) {
text[0]="Nuovo Anno !!!"
textlink[0]="http://it.wikipedia.org/wiki/Capodanno"
texttarget[0]="_blank"
}
else if (giorno == 6 && mese == 1) {
text[0]="Befana !!!"
textlink[0]="http://it.wikipedia.org/wiki/Befana"
texttarget[0]="_blank"
}
else if (giorno == 18 && mese == 1) {
text[0]="Martin Luther King Day"
textlink[0]="http://it.wikipedia.org/wiki/Martin_Luther_King"
texttarget[0]="_blank"
}
else if (giorno == 26 && mese == 1) {
text[0]="Australia Day"
textlink[0]="http://it.wikipedia.org/wiki/Australia_Day"
texttarget[0]="_blank"
}
else if (giorno == 27 && mese == 1) {
text[0]="Giorno della Memoria !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giorno_della_Memoria"
texttarget[0]="_blank"
}
else if (giorno == 4 && mese == 2) {
text[0]="Giornata Mondiale sul Cancro !!!"
textlink[0]="http://en.wikipedia.org/wiki/World_Cancer_Day"
texttarget[0]="_blank"
}
else if (giorno == 10 && mese == 2) {
text[0]="Giorno del Ricordo !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giorno_del_ricordo"
texttarget[0]="_blank"
}
else if (giorno == 12 && mese == 2) {
text[0]="Giornata Mondiale su Darwin !!!"
textlink[0]="http://en.wikipedia.org/wiki/Darwin_Day"
texttarget[0]="_blank"
}
else if (giorno == 14 && mese == 2) {
text[0]="San Valentino !!!"
textlink[0]="http://it.wikipedia.org/wiki/San_Valentino"
texttarget[0]="_blank"
}
else if (giorno == 15 && mese == 2) {
text[0]="Festa dei Singles !!!"
textlink[0]="http://www.vitadasingle.net/index2.html"
texttarget[0]="_blank"
}
else if (giorno == 17 && mese == 2) {
text[0]="Festa del Gatto !!!"
textlink[0]="http://it.wikipedia.org/wiki/Gatto_europeo"
texttarget[0]="_blank"
}
else if (giorno == 21 && mese == 2) {
text[0]="Giornata Internazionale della Madre Lingua !!!"
textlink[0]="http://en.wikipedia.org/wiki/International_Mother_Language_Day"
texttarget[0]="_blank"
}
else if (giorno == 8 && mese == 3) {
text[0]="Festa della Donna !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giornata_Internazionale_della_Donna"
texttarget[0]="_blank"
}
else if (giorno == 19 && mese == 3) {
text[0]="Festa dei Papa' !!!"
textlink[0]="http://www.filastrocche.it/papa/papa.asp"
texttarget[0]="_blank"
}
else if (giorno == 21 && mese == 3) {
text[0]="Equinozio di Primavera !!!"
textlink[0]="http://it.wikipedia.org/wiki/Equinozio"
texttarget[0]="_blank"
}
else if (giorno == 22 && mese == 3) {
text[0]="Giornata dell' Acqua !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giorno_internazionale_dell%27acqua"
texttarget[0]="_blank"
}
else if (giorno == 1 && mese == 4) {
text[0]="Buon Pesce d'Aprile !!!"
textlink[0]="http://it.wikipedia.org/wiki/Pesce_d%27aprile"
texttarget[0]="_blank"
}
else if (giorno == 7 && mese == 4) {
text[0]="Giornata Mondiale della Salute !!!"
textlink[0]="http://en.wikipedia.org/wiki/World_Health_Day"
texttarget[0]="_blank"
}
else if (giorno == 12 && mese == 4) {
text[0]="Primo volo nello Spazio !!!"
textlink[0]="http://it.wikipedia.org/wiki/Yuri_Gagarin"
texttarget[0]="_blank"
}
else if (giorno == 13 && mese == 4) {
text[0]="Nascita di Meucci scopritore del telefono"
textlink[0]="http://it.wikipedia.org/wiki/Antonio_Meucci"
texttarget[0]="_blank"
}
else if (giorno == 22 && mese == 4) {
text[0]="Giornata mondiale della Terra !!!"
textlink[0]="http://it.wikipedia.org/wiki/Terra"
texttarget[0]="_blank"
}
else if (giorno == 23 && mese == 4) {
text[0]="Giornata Mondiale del Libro !!!"
textlink[0]="http://en.wikipedia.org/wiki/World_Book_and_Copyright_Day"
texttarget[0]="_blank"
}
else if (giorno == 25 && mese == 4) {
text[0]="25 Aprile !!!"
textlink[0]="http://it.wikipedia.org/wiki/Resistenza_italiana"
texttarget[0]="_blank"
}
else if (giorno == 26 && mese == 4) {
text[0]="Giornata Intellettuale !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giornata_Mondiale_della_Propriet%C3%A0_Intellettuale"
texttarget[0]="_blank"
}
else if (giorno == 28 && mese == 4) {
text[0]="Giornata in Memoria dei Morti sul Lavoro !!!"
textlink[0]="http://en.wikipedia.org/wiki/International_Workers%27_Memorial_Day"
texttarget[0]="_blank"
}
else if (giorno == 29 && mese == 4) {
text[0]="Internazionale della Danza !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giornata_Internazionale_della_Danza"
texttarget[0]="_blank"
}
else if (giorno == 1 && mese == 5) {
text[0]="Festa dei Lavoratori !!!"
textlink[0]="http://it.wikipedia.org/wiki/Festa_dei_lavoratori"
texttarget[0]="_blank"
}
else if (giorno == 8 && mese == 5) {
text[0]="Festa della Mamma !!!"
textlink[0]="http://it.wikipedia.org/wiki/Festa_della_mamma"
texttarget[0]="_blank"
}
else if (giorno == 9 && mese == 5) {
text[0]="Festa dell' Europa !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giorno_europeo"
texttarget[0]="_blank"
}
else if (giorno == 12 && mese == 5) {
text[0]="Giorno Internazionale delle Balie !!!"
textlink[0]="http://en.wikipedia.org/wiki/International_Nurses_Day"
texttarget[0]="_blank"
}
else if (giorno == 17 && mese == 5) {
text[0]="Giornata mondiale contro l' omofobia !!!"
textlink[0]="http://it.wikipedia.org/wiki/Gay"
texttarget[0]="_blank"
}
else if (giorno == 22 && mese == 5) {
text[0]="Giornata Internazionale della Biodiversita !!!"
textlink[0]="http://en.wikipedia.org/wiki/International_Day_for_Biological_Diversity"
texttarget[0]="_blank"
}
else if (giorno == 31 && mese == 5) {
text[0]="Giornata Mondiale contro il Fumo !!!"
textlink[0]="http://en.wikipedia.org/wiki/World_No_Tobacco_Day"
texttarget[0]="_blank"
}
else if (giorno == 2 && mese == 6) {
text[0]="Festa della Repubblica !!!"
textlink[0]="http://it.wikipedia.org/wiki/Festa_della_Repubblica"
texttarget[0]="_blank"
}
else if (giorno == 5 && mese == 6) {
text[0]="Giornata dell' Ambiente !!!"
textlink[0]="http://it.wikipedia.org/wiki/Movimento_ambientalista"
texttarget[0]="_blank"
}
else if (giorno == 8 && mese == 6) {
text[0]="Giornata Mondiale degli Oceani !!!"
textlink[0]="http://en.wikipedia.org/wiki/World_Ocean_Day"
texttarget[0]="_blank"
}
else if (giorno == 14 && mese == 6) {
text[0]="Giornata Mondiale dei Donatori di Sangue !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giornata_mondiale_del_donatore_di_sangue"
texttarget[0]="_blank"
}
else if (giorno == 17 && mese == 6) {
text[0]="Giornata contro al siccita' !!!"
textlink[0]="http://it.wikipedia.org/wiki/Siccit%C3%A0"
texttarget[0]="_blank"
}
else if (giorno == 20 && mese == 6) {
text[0]="Giornata Mondiale dei Profughi !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giornata_mondiale_dei_profughi"
texttarget[0]="_blank"
}
else if (giorno == 21 && mese == 6) {
text[0]="Solstizio d' Estate !!!"
textlink[0]="http://it.wikipedia.org/wiki/Solstizio"
texttarget[0]="_blank"
}
else if (giorno == 26 && mese == 6) {
text[0]="Giornata contro la droga !!!"
textlink[0]="http://it.wikipedia.org/wiki/Droga"
texttarget[0]="_blank"
}
else if (giorno == 1 && mese == 7) {
text[0]="Giornata Internazionale delle Cooperative !!!"
textlink[0]="http://it.wikipedia.org/wiki/Movimento_cooperativo"
texttarget[0]="_blank"
}
else if (giorno == 4 && mese == 7) {
text[0]="Festa dell' Indipendenza !!!"
textlink[0]="http://it.wikipedia.org/wiki/Rivoluzione_americana"
texttarget[0]="_blank"
}
else if (giorno == 11 && mese == 7) {
text[0]="Giornata Internazionale della Popolazione !!!"
textlink[0]="http://it.wikipedia.org/wiki/Popolazione"
texttarget[0]="_blank"
}
else if (giorno == 14 && mese == 7) {
text[0]="Presa della Bastiglia !!!"
textlink[0]="http://it.wikipedia.org/wiki/Rivoluzione_francese"
texttarget[0]="_blank"
}
else if (giorno == 21 && mese == 7) {
text[0]="Primo uomo sulla Luna !!!"
textlink[0]="http://it.wikipedia.org/wiki/Apollo_11"
texttarget[0]="_blank"
}
else if (giorno == 22 && mese == 7) {
text[0]="Giorno del Pi Greco !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giorno_di_pi_greco"
texttarget[0]="_blank"
}
else if (giorno == 31 && mese == 7) {
text[0]="Festa dei Nonni !!!"
textlink[0]="http://it.wikipedia.org/wiki/Festa_dei_nonni"
texttarget[0]="_blank"
}
else if (giorno == 1 && mese == 8) {
text[0]="Festa dell' Estate !!!"
textlink[0]="http://it.wikipedia.org/wiki/Wicca"
texttarget[0]="_blank"
}
else if (giorno == 6 && mese == 8) {
text[0]="Bomba Atomica su Hiroshima !!!"
textlink[0]="http://it.wikipedia.org/wiki/Bombardamento_atomico_di_Hiroshima_e_Nagasaki"
texttarget[0]="_blank"
}
else if (giorno == 9 && mese == 8) {
text[0]="Giornata Internazionale delle Popolazioni Indigene !!!"
textlink[0]="http://it.wikipedia.org/wiki/Popoli_indigeni"
texttarget[0]="_blank"
}
else if (giorno == 13 && mese == 8) {
text[0]="Giornata Internazionale dei Mancini !!!"
textlink[0]="http://it.wikipedia.org/wiki/Mancinismo"
texttarget[0]="_blank"
}
else if (giorno == 15 && mese == 8) {
text[0]="FerrAgosto !!!"
textlink[0]="http://it.wikipedia.org/wiki/Ferragosto"
texttarget[0]="_blank"
}
else if (giorno == 25 && mese == 8) {
text[0]="Compleanno WebMaster !!!"
textlink[0]="http://lamaniglia.altervista.org/bio.html"
texttarget[0]="_blank"
}
else if (giorno == 8 && mese == 9) {
text[0]="Giornata Internazionale dell' Alfabetismo !!!"
textlink[0]="http://en.wikipedia.org/wiki/International_Literacy_Day"
texttarget[0]="_blank"
}
else if (giorno == 15 && mese == 9) {
text[0]="Giornata Internazionale della Democrazia !!!"
textlink[0]="http://en.wikipedia.org/wiki/International_Day_of_Democracy"
texttarget[0]="_blank"
}
else if (giorno == 18 && mese == 9) {
text[0]="Giornata Internazionale della Pace !!!"
textlink[0]="http://it.wikipedia.org/wiki/Pace"
texttarget[0]="_blank"
}
else if (giorno == 22 && mese == 9) {
text[0]="Equinozio di Autunno !!!"
textlink[0]="http://it.wikipedia.org/wiki/Equinozio"
texttarget[0]="_blank"
}
else if (giorno == 27 && mese == 9) {
text[0]="Giornata Mondiale del Turismo !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giornata_mondiale_del_turismo"
texttarget[0]="_blank"
}
else if (giorno == 1 && mese == 10) {
text[0]="Giornata internazionale dell' Anziano !!!"
textlink[0]="http://it.wikipedia.org/wiki/Senilit%C3%A0"
texttarget[0]="_blank"
}
else if (giorno == 4 && mese == 10) {
text[0]="Giornata Mondiale degli Animali !!!"
textlink[0]="http://en.wikipedia.org/wiki/World_Animal_Day"
texttarget[0]="_blank"
}
else if (giorno == 5 && mese == 10) {
text[0]="Giornata internazionale del Bambino !!!"
textlink[0]="http://it.wikipedia.org/wiki/Bambino"
texttarget[0]="_blank"
}
else if (giorno == 9 && mese == 10) {
text[0]="Giornata internazionale della Vista !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giornata_mondiale_della_vista"
texttarget[0]="_blank"
}
else if (giorno == 12 && mese == 10) {
text[0]="Scoperta dell' America !!!"
textlink[0]="http://it.wikipedia.org/wiki/Columbus_Day"
texttarget[0]="_blank"
}
else if (giorno == 15 && mese == 10) {
text[0]="Giornata Mondiale Pulizia delle Mani !!!"
textlink[0]="http://www.unicef.it/flex/cm/pages/ServeBLOB.php/L/IT/IDPagina/4852"
texttarget[0]="_blank"
}
else if (giorno == 16 && mese == 10) {
text[0]="Giornata mondiale dell' Alimentazione !!!"
textlink[0]="http://it.wikipedia.org/wiki/Organizzazione_per_l%27Alimentazione_e_l%27Agricoltura"
texttarget[0]="_blank"
}
else if (giorno == 17 && mese == 10) {
text[0]="Giornata mondiale del Rifiuto della Miseria !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giornata_mondiale_del_rifiuto_della_miseria"
texttarget[0]="_blank"
}
else if (giorno == 24 && mese == 10) {
text[0]="Giornata delle Nazioni Unite !!!"
textlink[0]="http://it.wikipedia.org/wiki/Organizzazione_delle_Nazioni_Unite"
texttarget[0]="_blank"
}
else if (giorno == 31 && mese == 10) {
text[0]="Halloween !!!"
textlink[0]="http://it.wikipedia.org/wiki/Halloween"
texttarget[0]="_blank"
}
else if (giorno == 2 && mese == 11) {
text[0]="Celebrazione dei Defunti !!!"
textlink[0]="http://it.wikipedia.org/wiki/Commemorazione_dei_Defunti"
texttarget[0]="_blank"
}
else if (giorno == 7 && mese == 11) {
text[0]="Rivoluzione Russa !!!"
textlink[0]="http://it.wikipedia.org/wiki/Rivoluzione_russa_%28La_rivoluzione_d%27ottobre%29"
texttarget[0]="_blank"
}
else if (giorno == 16 && mese == 11) {
text[0]="Giornata Internazionale per la Tolleranza !!!"
textlink[0]="http://it.wikipedia.org/wiki/Tolleranza"
texttarget[0]="_blank"
}
else if (giorno == 17 && mese == 11) {
text[0]="Gatto Nero Day!!!"
textlink[0]="http://it.wikipedia.org/wiki/Gatto_europeo"
texttarget[0]="_blank"
}
else if (giorno == 19 && mese == 11) {
text[0]="Festa dell' Uomo !!!"
textlink[0]="http://it.wikipedia.org/wiki/Giornata_Internazionale_dell%27Uomo"
texttarget[0]="_blank"
}
else if (giorno == 1 && mese == 12) {
text[0]="Giornata Internazionale dell' AIDS !!!"
textlink[0]="http://en.wikipedia.org/wiki/World_AIDS_Day"
texttarget[0]="_blank"
}
else if (giorno == 2 && mese == 12) {
text[0]="Giornata Internazionale contro la Schiavitu' !!!"
textlink[0]="http://it.wikipedia.org/wiki/Schiavit%C3%B9"
texttarget[0]="_blank"
}
else if (giorno == 3 && mese == 12) {
text[0]="Giornata Internazionale per le Persone Disabili !!!"
textlink[0]="http://it.wikipedia.org/wiki/Disabilit%C3%A0"
texttarget[0]="_blank"
}
else if (giorno == 10 && mese == 12) {
text[0]="Giornata Internazionale per i Diritti Umani !!!"
textlink[0]="http://it.wikipedia.org/wiki/Diritti_umani"
texttarget[0]="_blank"
}
else if (giorno == 21 && mese == 12) {
text[0]="Solstizio di Inverno !!!"
textlink[0]="http://it.wikipedia.org/wiki/Solstizio"
texttarget[0]="_blank"
}
else if (giorno == 24 && mese == 12) {
text[0]="Vigilia di Natale !!!"
textlink[0]="http://it.wikipedia.org/wiki/Natale"
texttarget[0]="_blank"
}
else if (giorno == 25 && mese == 12) {
text[0]="Natale !!!"
textlink[0]="http://it.wikipedia.org/wiki/Natale"
texttarget[0]="_blank"
}
else if (giorno == 26 && mese == 12) {
text[0]="Santo Stefano !!!"
textlink[0]="http://it.wikipedia.org/wiki/Santo_Stefano_%28martire%29"
texttarget[0]="_blank"
}
else if (giorno == 31 && mese == 12) {
text[0]="Fine Anno !!!"
textlink[0]="http://it.wikipedia.org/wiki/Capodanno"
texttarget[0]="_blank"
}
else uscita


var textfont="Verdana"

var textweight="bold"

var textfontcolorrollover="#ff0000"

var textfontsize=20

var textfontcolor="#000000"

var textbgcolor="#ffffff"

var textbordercolor="#ffffff"

var textborder=0

var floatingspeed=10

var tempo=60

var textdecoration="none"
var textfontsizeHTML=3
var textweightA="<b>"
var textweightB="</b>"
var textitalic="normal"
var textitalicA=""
var textitalicB=""
var textredirurl="http://"
var textalign="center"
var textvalign="middle"
var ns4=document.layers?1:0
var ns6=document.getElementById&&!document.all?1:0
var ie=document.all?1:0
var numberofmessages=text.length-1
var stepx=new Array()
var stepy=new Array()
var spancontent=new Array()
for (i=0;i<=numberofmessages;i++) {
	stepx[i]=randommaker(floatingspeed)
	stepy[i]=randommaker(floatingspeed)
}
var boxwidth=new Array()
var boxheight=new Array()
for (i=0;i<=numberofmessages;i++) {
	boxwidth[i]=10
	boxheight[i]=10
}
var x,y
var marginbottom
var marginleft=0
var margintop=0
var marginright
var timer
var i_fadestrength=new Array()
var i_fadestep=new Array()
var i_fadenow=new Array()
var i_fadenowmax=new Array()
for (i=0;i<=text.length;i++) {
	i_fadenowmax[i]=randommaker(10)+2
	i_fadestrength[i]=randommaker(99)
	i_fadestep[i]=1
	i_fadenow[i]=0
}

getcontent()
function getcontent() {
	for (i=0;i<=numberofmessages;i++) {
		var content=""
		if (ie || ns6) {
			content="<table cellpadding="+textborder+" cellspacing=0 border=0><tr valign="+textvalign+"><td align="+textalign+">"
			content+="<a href=\""+textlink[i]+"\" target=\""+texttarget[i]+"\" style=\"position:relative;font-family:\'"+textfont+"\';font-size:"+textfontsize+"pt;font-weight:"+textweight+";text-decoration:"+textdecoration+";color:"+textfontcolor+";font-style:"+textitalic+";\" onMouseOver=\"this.style.color=\'"+textfontcolorrollover+"\'\" onMouseOut=\"this.style.color=\'"+textfontcolor+"\'\">"
			content+=text[i]
			content+="</a></td></tr></table>"
		}
		else {
			content="<table cellpadding="+textborder+" cellspacing=0 bgcolor="+textbgcolor+" border="+textborder+"><tr valign="+textvalign+"><td align="+textalign+">"
			content+="<a href=\""+textlink[i]+"\" target=\""+texttarget[i]+"\">"
			content+=textweightA
			content+=textitalicA
			content+="<font face=\""+textfont+"\" size="+textfontsizeHTML+" color=\""+textfontcolor+"\">"
			content+=text[i]
			content+="</font>"
			content+=textitalicB
			content+=textweightB
			content+="</a></td></tr></table>"
		}
		spancontent[i]=content
	}
}

function setValues() {
	if (ie) {
    	marginbottom=document.body.clientHeight-5
    	marginright=document.body.clientWidth-5
		for (i=0;i<=numberofmessages;i++) {
			var thisspan = eval("document.all.span"+i)
    		thisspan.innerHTML=spancontent[i]
			var thisspan = eval("document.all.span"+i)
			boxwidth[i]=thisspan.offsetWidth
			boxheight[i]=thisspan.offsetHeight
			var maxleftstart=marginright-boxwidth[i]
			var maxtopstart=marginbottom-boxheight[i]
			var thisspan = eval("document.all.span"+(i)+".style")
           	thisspan.posLeft=randommaker(maxleftstart)
			thisspan.posTop=randommaker(maxtopstart)
		}
		checkmovement()
	}
	if (ns4) {
    	marginbottom=window.innerHeight-5
    	marginright=window.innerWidth-5
		for (i=0;i<=numberofmessages;i++) {
			var thisspan=eval("document.span"+i+".document")
    		thisspan.write(spancontent[i])
			thisspan.close()
			var thisspan=eval("document.span"+i+".document")
			boxwidth[i]=thisspan.width
			boxheight[i]=thisspan.height
			var maxleftstart=marginright-boxwidth[i]
			var maxtopstart=marginbottom-boxheight[i]
			var thisspan=eval("document.span"+i)
           	thisspan.left=randommaker(maxleftstart)
			thisspan.top=randommaker(maxtopstart)
		}
    	checkmovement()
	}
	if (ns6) {
    	marginbottom=window.innerHeight-11
    	marginright=window.innerWidth-11
		for (i=0;i<=numberofmessages;i++) {
			var thisspan=document.getElementById('span'+i)
			thisspan.innerHTML=spancontent[i]
			var thisspan=document.getElementById('span'+i)
			boxwidth[i]=parseInt(thisspan.offsetWidth)
			boxheight[i]=parseInt(thisspan.offsetHeight)
			var maxleftstart=marginright-boxwidth[i]
			var maxtopstart=marginbottom-boxheight[i]
			var thisspan=document.getElementById('span'+i).style
           	thisspan.left=parseInt(thisspan.left)+randommaker(maxleftstart)
			thisspan.top=parseInt(thisspan.top)+randommaker(maxtopstart)
		}
    	checkmovement()
	}
}

function randommaker(range) {
	rand=Math.floor(range*Math.random())
	if (rand==0) {rand=Math.ceil(range/2)}
    return rand
}

function checkmovement() {
	checkposition()
	movepictures()
    timer=setTimeout("checkmovement()",tempo)
}

function movepictures() {
	if (ie) {
		for (i=0;i<=numberofmessages;i++) {
    		var thisspan=eval("document.all.span"+(i)+".style")
    		thisspan.posLeft+=stepx[i]
			thisspan.posTop+=stepy[i]
			var thisfilter=eval("span"+i)
			i_fadenow[i]++
				if (i_fadenow[i]>=i_fadenowmax[i]) {
					i_fadenow[i]=0
					if (i_fadestrength[i]>=100) {i_fadestep[i]=i_fadestep[i]*-1}
					else if (i_fadestrength[i]<=-20) {i_fadestep[i]=i_fadestep[i]*-1}
				}
			i_fadestrength[i]+=i_fadestep[i]
			thisfilter.filters.alpha.opacity=Math.round(i_fadestrength[i])
    	}
	}

	if (ns6) {
		for (i=0;i<=numberofmessages;i++) {
    		var thisspan=document.getElementById('span'+i).style
    		thisspan.left=parseInt(thisspan.left)+stepx[i]
			thisspan.top=parseInt(thisspan.top)+stepy[i]
			i_fadenow[i]++
			if (i_fadenow[i]>=i_fadenowmax[i]) {
				i_fadenow[i]=0
				if (i_fadestrength[i]>=100) {i_fadestep[i]=i_fadestep[i]*-1}
				else if (i_fadestrength[i]<=-20) {i_fadestep[i]=i_fadestep[i]*-1}
			}
			i_fadestrength[i]+=i_fadestep[i]
			document.getElementById('span'+i).style.MozOpacity=Math.round(i_fadestrength[i])/100
    	}
	}
	if (ns4) {
		for (i=0;i<=numberofmessages;i++) {
    		var thisspan = eval("document.span"+i)
    		thisspan.left+=stepx[i]
			thisspan.top+=stepy[i]
    	}
	}

}

function checkposition() {
	if (ie) {
		for (i=0;i<=numberofmessages;i++) {
			var thisspan=eval("document.all.span"+i+".style")
			if (thisspan.posLeft>marginright-boxwidth[i]-floatingspeed) {
				thisspan.posLeft-=Math.abs(stepx[i]+1)
				stepx[i]=randommaker(floatingspeed)*-1
			}
			if (thisspan.posLeft<marginleft) {
				thisspan.posLeft+=Math.abs(stepx[i])
				stepx[i]=randommaker(floatingspeed)
			}
			if (thisspan.posTop>marginbottom-boxheight[i]-floatingspeed) {
				thisspan.posTop-=Math.abs(stepy[i])
				stepy[i]=randommaker(floatingspeed)*-1

			}
			if (thisspan.posTop<margintop) {
				thisspan.posTop+=Math.abs(stepy[i])
				stepy[i]=randommaker(floatingspeed)
			}
		}
	}
	if (ns4) {
		for (i=0;i<=numberofmessages;i++) {
			var thisspan=eval("document.span"+i)
			if (thisspan.left>marginright-boxwidth[i]-floatingspeed) {
				thisspan.left-=Math.abs(stepx[i]+1)
				stepx[i]=randommaker(floatingspeed)*-1
			}
			if (thisspan.left<marginleft) {
				thisspan.left+=Math.abs(stepx[i])
				stepx[i]=randommaker(floatingspeed)
			}
			if (thisspan.top>marginbottom-boxheight[i]-floatingspeed) {
				thisspan.top-=Math.abs(stepy[i])
				stepy[i]=randommaker(floatingspeed)*-1

			}
			if (thisspan.top<margintop) {
				thisspan.top+=Math.abs(stepy[i])
				stepy[i]=randommaker(floatingspeed)
			}
		}
	}

	if (ns6) {
		for (i=0;i<=numberofmessages;i++) {
			var thisspan=document.getElementById('span'+i).style
			var leftx=parseInt(thisspan.left)
			var topy=parseInt(thisspan.top)
			if (leftx>marginright-boxwidth[i]-floatingspeed) {
				thisspan.left=leftx-Math.abs(stepx[i]+1)
				stepx[i]=randommaker(floatingspeed)*-1
			}
			if (leftx<marginleft) {
				thisspan.left=leftx+Math.abs(stepx[i])
				stepx[i]=randommaker(floatingspeed)
			}
			if (topy>marginbottom-boxheight[i]-floatingspeed) {
				thisspan.top=topy-Math.abs(stepy[i])
				stepy[i]=randommaker(floatingspeed)*-1

			}
			if (topy<margintop) {
				thisspan.top=topy+Math.abs(stepy[i])
				stepy[i]=randommaker(floatingspeed)
			}
		}
	}
}


if (ie || ns6) {
	for (i=0;i<=numberofmessages;i++) {
    	document.write("<span id='span"+i+"' style='position:absolute;top:0px;left:0px;filter:alpha(opacity=0);-moz-opacity:0;border-style:solid;border-color:"+textbordercolor+";border-width:"+textborder+"px;background-color:"+textbgcolor+";'></span>")
    	document.close()
	}
}
if (ns4) {
	for (i=0;i<=numberofmessages;i++) {
    	document.write("<layer name='span"+i+"' left=0 top=0>"+spancontent[i]+"</layer>")
    	document.close()
	}
}
window.onload=setValues


function uscita () {
}

//]]>