<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original:  Pete Thompson (thompp@globalnet.co.uk) -->
<!-- Web Site:  http://www.users.globalnet.co.uk/~thompp -->

<!-- Begin
// news ticker function
var newslist=new Array();
var cnt=0;			// current news item
var curr = "";
var i=-1;			// current letter being typed

newslist[0]=new Array("Welcome to the Mull Astronomical Society Web Site!","")
newslist[1]=new Array("Check out our NEWS page for what's new","")
newslist[2]=new Array("Message Board now up and running!","")
newslist[3]=new Array("Society meets on the first Tuesday of the month","")
newslist[4]=new Array("Be sure to join our mailing list","")
newslist[5]=new Array("MEMBERS! Check out the latest information (Password needed)","")

function newsticker()
{
  // next character of current item
  if (i < newslist[cnt][0].length - 1)
  {
    i++;
    temp1 = newslist[cnt][0];
    temp1 = temp1.split('');
    curr = curr+temp1[i];
    temp2 = newslist[cnt][1];
    mtxt.innerHTML = "<medium><a href='"+temp2+"'><font color='#FFFFFF'>"+curr+"_</medium></font></a>";
    setTimeout('newsticker()',10)
    return;
  }
  // new item
  i = -1; curr = "";
  if (cnt<newslist.length-1)
    cnt++;
  else
    cnt=0;
  setTimeout('newsticker()',3000)
}
//  End -->
