

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

newslist[0]=new Array("<a href=news.html?col1=open#CollapsiblePanel6>Land sale concluded for Tesco Rainham distribution centre</a> ","")
newslist[1]=new Array("<a href=news.html?col1=open#CollapsiblePanel4>Two latest expansion developments now complete and handed over to occupiers</a> ","")
newslist[2]=new Array("<a href=news.html?col1=open#CollapsiblePanel5>New marketing brochure for Beam Reach 8 available</a> ","")
newslist[3]=new Array("<a href=news.html?col1=open#CollapsiblePanel3>Employment led development opportunity 7.05 hectares (17.42 acres) at Beam Reach 6</a> ","")
newslist[4]=new Array("<a href=news.html?col1=open#CollapsiblePanel1>Tesco to build new distribution centre at Beam Reach 5</a> ","")
newslist[5]=new Array("<a href=news.html?col1=open#CollapsiblePanel2>900 jobs to be created... click here for more</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 = "<strong><font color='#ffffff' size='2'>LATEST NEWS ...&nbsp;&nbsp;"+curr+"_</font><strong>";
    document.getElementById("mtxt").innerHTML = "&nbsp;"+ curr+"...";
	setTimeout('newsticker()',5)
    return;
  }
  // new item
  i = -1; curr = "";
  if (cnt<newslist.length-1)
    cnt++;
  else
    cnt=0;
  setTimeout('newsticker()',5000)
}
//  End -->


