var speed = 50;
var cdel = 2000;
var maxfont = 20;

// Expanding and shrinking text banner Javascript
// copyright 24th July 2005, by Stephen Chapman http://javascript.about.com
// permission to use this Javascript on your web page is granted
// provided that this copyright notice is included
var x = y = 0;
var msg;

function start() 
{
 bnr('1');
}

function bnr(dir)
{
 if (dir) 
 {
  msg = msgArray[y];
  if (x < maxfont) 
  {
   x++;
   setTimeout("bnr(1)",speed);
  }else setTimeout("bnr(0)",cdel);
 } 
 else 
 {
  if (x > 1) 
  {
   x--;
   setTimeout("bnr(0)",speed);
  }
  else 
  {
   setTimeout("bnr(1)",10);
   y++;
   if (y>=msgArray.length) y=0;
  }
 }
 document.getElementById('btx').innerHTML = msg;
 btx.style.fontFamily="Garamond";
 btx.style.fontWeight="bold";
 btx.style.fontSize=x+'px';
}

window.onload = start;
                  
