document.write('<STYLE TYPE="text/css">A { text-decoration: underline; } A:link { color: #333399; } A:visited { color: #7777dd; } A:active { color: red; } A:hover { color: red; }</STYLE>');

var messagefooter='Valley Plastics Co., Inc. * 399 Phillips Ave. * Toledo, OH 43612';
var bar='http://www.valleyplasticsinc.com/images/barblue.gif';
var neonbasecolor="#0000ff";
var neontextcolor="#993333";
var flashspeed=65;  //in milliseconds
var n=0, m, tempref;

function showfooter()
{
document.write('<center><img src="' + bar + '"><br><div style="font-family:arial, helvetica, sans-serif; font-size:11px; font-weight:normal; color:#333399; text-decoration:none"><b>');
if (document.all)
  {
  document.write('<font color="'+neonbasecolor+'">');
  for (m=0;m<messagefooter.length;m++)
    document.write('<span id="neonlight">'+messagefooter.charAt(m)+'</span>');
  document.write('</font>');

  //cache reference to neonlight array
  tempref=document.all.neonlight;
  }
else
  document.write(messagefooter);

beginneon();

document.write('<br>419-666-2349 * Fax: 419-666-2829</b><br>E-mail: <a href="mailto:info@valleyplasticsinc.com" onMouseOver="window.status=\'Send mail to Valley Plastics Co.\'; return true" onMouseOut="window.status=\'\'; return true">info@valleyplasticsinc.com</a></div></center><br>');
}

function neon()
{

//Change all letters to base color
if (n==0)
  {
  for (m=0;m<messagefooter.length;m++)
    tempref[m].style.color=neonbasecolor;
  }

//cycle through and change individual letters to neon color
tempref[n].style.color=neontextcolor;

if (n<tempref.length-1)
  n++;
else
  {
  n=0;
  clearInterval(flashing);
  setTimeout("beginneon()",1500);
  return;
  }
}

function beginneon()
{
if (document.all)
  flashing=setInterval("neon()",flashspeed)
}

showfooter();