// JavaScript Document

var message="Votre solution informatique";
var flashspeed=100;
var n=0;

if (document.all||document.getElementById)
{
   document.write('<font style="font-family:Eras Bold ITC;font-size:24px;" color="#666666">');
   for (m=0;m<message.length;m++)
      document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>');
   
   document.write('</font>');
}
else
   document.write(message);

function crossref(number)
{
   var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number);
   return crossobj;
}

function neon()
{
   if (n==0)
   {
      for (m=0;m<message.length;m++)
         crossref(m).style.color="#666666";
   }

   crossref(n).style.color="#CB0101";

   if (n<message.length-1)
   {
      n++;
   }
   else
   {
      n=0;
      clearInterval(flashing);
      setTimeout("StartNeon()", 1500);
      return;
   }
}

function StartNeon()
{
   if (document.all||document.getElementById)
      flashing=setInterval("neon()", flashspeed)
}

StartNeon();
