var message = "<#cc0000>Advertise <green>with, <#0066ff>us, <#cc0000>and increase <purple>your traffic.!"
var neonbasecolor="blue"
var neontextcolor="black"
var flashspeed=25 //in milliseconds

///No need to edit below this line/////

var n=0
var color_map = new Array();

if (document.all){
 current_color = neontextcolor;
 for (m=0, i = 0; m < message.length; m++, i++)
 {
  // Overlook color control tags
  if(message.charAt(m) == '<')
  {
   color_holder = "";
   ++m;
   while(message.charAt(m) != '>')
   {
    color_holder += message.charAt(m)
    ++m;
   }
   ++m;

   color_map[i] = current_color = color_holder;

  }
  else
   color_map[i] = current_color;

  document.write('<span id="neonlight">'+message.charAt(m)+'</span>')
 }

 //cache reference to neonlight array
 var tempref=document.all.neonlight
}
else
 for (i = 0; i < message.length; i++)
 {
  if(message.charAt(i) == '<')
  {
   ++i;
   while(message.charAt(i) != '>')
    ++i;
   ++i;
  }
 document.write(message.charAt(i))
 }


function neon()
{
 var color_holder = "";
 var actual_counter = 0;

 //Change all letters to base color
 if (n==0)
  for (i = 0; i < tempref.length; i++)
   tempref[i].style.color = neonbasecolor;

 //cycle through and change individual letters to neon color
 tempref[n].style.color = color_map[n];

 if (n < tempref.length - 1)
  n++
 else
 {
  n=0
  clearInterval(flashing)
  setTimeout("beginneon()",1500)
  return
 }
}

function beginneon(){
 if (document.all)
  flashing=setInterval("neon()",flashspeed)
}
beginneon()