

var newslist=new Array();
var cnt=0;			// current news item
var curr = "";
var i=-1;			// current letter being typed

//Look out for events, competitions, promotions and more during national Enterprise Week from 12th November - 18th November
newslist[1]=new Array("<a href=http://www.croydonbusiness.com/news-detail.asp?NEWSID=71>Croydon businesses prove to be the best in South London</a> ","")
newslist[2]=new Array("<a href=http://www.croydonbusiness.com/news-detail.asp?NEWSID=70>London’s SMEs see opportunity in downturn</a> ","")
newslist[3]=new Array("<a href=http://www.croydonbusiness.com/news-detail.asp?NEWSID=69>TACKLING UNEMPLOYMENT IN CROYDON</a> ","")
newslist[4]=new Array("<a href=http://www.croydonbusiness.com/news-detail.asp?NEWSID=68>BUDGET 2009 </a> ","")
newslist[5]=new Array("<a href=http://www.croydonbusiness.com/news-detail.asp?NEWSID=67>Croydon’s new Economic Development Company makes two key appointments </a> ","")
newslist[6]=new Array("<a href=http://www.croydonbusiness.com/news-detail.asp?NEWSID=66>Boris Johnson visits the Croydon Stand at MIPIM 2009</a> ","")
newslist[7]=new Array("<a href=http://www.croydonbusiness.com/news-detail.asp?NEWSID=65>CROYDON - A BEACON FOR ECONOMIC PROSPERITY</a> ","")
newslist[8]=new Array("<a href=http://www.croydonbusiness.com/news-detail.asp?NEWSID=64>TACKLING THE RECESSION HEAD ON</a> ","")
newslist[9]=new Array("<a href=http://www.croydonbusiness.com/news-detail.asp?NEWSID=63>FOOTFALL AND SALES COMBINE TO MAKE FOR AN UPBEAT START TO 2009 </a> ","")

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 = "<span class='class1'>&nbsp;&nbsp;"+curr+"...</span>";
    setTimeout('newsticker()',25)
    return;
  }
  // new item
  i = -1; curr = "";
  if (cnt<newslist.length-1)
    cnt++;
  else
    cnt=0;
  setTimeout('newsticker()',5000)
}
//  End -->

