    // ================================================ //
    // Typing Banner v1.1 by Elton Kong (2000/05/01).   //
    // (c)1998-2000 Elton Kong. All Rights Reserved.    //
    // You can freely use or modify the script, as long //
    // as this message is kept intact in the source.    //
    //                                                  //
    // Contact me by:                                   //
    // elton@graffiti.net                               //
    // http://home.netvigator.com/~freya/               //
    // ================================================ //

    // banner messages
    // interval between message advancement
    // interval between character advancement
    // index of message pointer
    // index of character pointer
    var TB_msg, TB_msg_delay, TB_char_delay, TB_msg_index, TB_char_index;

    function TB_runBanner() {
      document.TB_f.t.value+=TB_msg[TB_msg_index].charAt(TB_char_index);

      if (TB_char_index<(TB_msg[TB_msg_index].length-1)) {
        TB_char_index++;
        setTimeout("TB_runBanner()", TB_char_delay);
      } else {
        TB_msg_index =(TB_msg_index+1)%TB_msg.length;
        TB_char_index=0;
        setTimeout("TB_startBanner()", TB_msg_delay);
      }
    }

    function TB_startBanner() {
      document.TB_f.t.value="";
      TB_runBanner();
    }

    function TB_initBanner() {
      TB_msg   = new Array();
 TB_msg[0]='The Daily News brings you comprehensive coverage of Newburyport, Amesbury, Georgetown, Groveland, Merrimac, Newbury, Rowley, and Salisbury.';
 TB_msg[1]='.';
 TB_msg[2]='Keep up with local and regional business news on Tuesdays in our Biz North section.';
 TB_msg[3]='.';
 TB_msg[4]='Planning to go out this weekend? Check out our Do North section on Thursdays..';
 TB_msg[5]='.';
 TB_msg[6]='. ';
 
 
 
 
 
 
 
 
       TB_msg_delay =3000; // milli-seconds
       TB_char_delay=20;  // milli-seconds
 
       TB_msg_index =0;
       TB_char_index=0;
 
       TB_startBanner();
     }
 
     // ================= //
     // End Typing Banner //
     // ================= //

