 // JavaScript Document
<!--
link = "Palinsesto.htm";
if (document.all)
    {
    X = document.body.clientWidth-50;
    Y = document.body.clientHeight-200;
    }
else
    {
    X = window.innerWidth-50;
    Y = window.innerHeight-200;
    }

document.write('<STYLE TYPE=text/css>\n.cadremagique {\n    position:relative; width:'+X+'px; height:'+Y+'px;\n}\n</STYLE>\n');

a =1;
b=0;
textotab = new Array;
textotab[0] = 'Una web Tv tascabile e in movimento [X] te ;-)';
textotab[1] = 'on-line dal tuo ipod,iphone,ipad';
textotab[2] = 'on-line dal tuo videofonino,smart phone,pocket pc';
textotab[3] = 'on-line dal tuo portable game player ';
textotab[4] = 'vedi,suggerisci,commenta,downloada i video,';
textotab[5] = 'e poi diffondili in maniera virale';
textotab[6] = 'con la tua Personal Area Network';
textotab[7] = 'Mi - Tu';
textotab[8] = '[X] i nati dopo il 9 novembre 1989 ^_^';


function AnimTexto()
{
if(a < 45)
    {
    texto = "<TABLE WIDTH=100% HEIGHT=80%><TR><TD ALIGN=center VALIGN=middle NOWRAP><P ALIGN=center STYLE=\"font-size:"+a+"px\"><FONT FACE=\"Arial\">"+textotab[b]+"</FONT></P></TD></TR></TABLE>"
    if (document.layers)
        {
        document.texto1.document.texto2.document.write(texto)
        document.texto1.document.texto2.document.close()
        }
    else if (document.getElementById)
        document.getElementById("texto3").innerHTML=texto;
    else if (document.all)
        texto3.innerHTML=texto;
    a++;
    tempoEJS = setTimeout("AnimTexto()", 1)
    }
else
    {
    if(b < (textotab.length)-1)
        {
        a = 1;
        b++;
        tempoEJS = setTimeout("AnimTexto()", 2099);
        }
    else
        tempoEJS = setTimeout("document.location.href=link", 2099);
    }
}
document.write('<ilayer id="texto1" width='+X+' height='+Y+'><layer id="texto2" width='+X+' height='+Y+'><div id="texto3" CLASS=cadremagique></div></layer></ilayer><FONT FACE=\"Verdana\" SIZE=1><CENTER><A HREF=\"'+link+'\"></A></CENTER></FONT>');
window.onload = AnimTexto;
//-->
