
var logo=new Array(3);
logo[0]="img\\scorr\\l1.jpg";
logo[1]="img\\scorr\\l2.jpg";
logo[2]="img\\scorr\\l3.jpg";


var idlogo=0;
var idt=0;

function on(ide,n)
{document.getElementById(ide).src=immon[n];
}

function off(ide,n)

{
document.getElementById(ide).src=immoff[n];
}

function timer()
{
 idt= setInterval("switchlogo()",5000);
}

function switchlogo()
{
 idlogo++;
 if(idlogo==3)idlogo=0;
 document.getElementById("logo").src=logo[idlogo];

}

function checkAddNews()
{
 var err=1;
 if(document.luogo.text=="") err--;
 return err
}

function on1(ide,n,m)
{document.getElementById(ide).style.color=n;
 document.getElementById(ide).style.background=m;
}

function off1(ide,n,m)

{
document.getElementById(ide).style.color=n;
 document.getElementById(ide).style.background=m;
}


