/*   You will have to play with the positioning, width and height of the div.  The width will depend
on how long your message is.  If you want more of a pause between messages then add 
more spaces to the end of the messages.
              
Enter the messages you want displayed here
*/
var msg=new Array()
msg[0]="    Welcome to Moorfield Estate Agents Website!...                     "
msg[1]="    Moorfield prides itself on providing a...                      "
msg[2]="    high quality estate agency service through its friendly...                          "
msg[3]="    and knowledgeable staff, who will always be there...                   "
msg[4]="    to help you through every stage of your move.                     "
msg[5]="    Telephone: 0117 377 2155                      "


// This sets the speed at which the letters of the message are displayed
speed=100
a=0
temp=""
arrlen=msg.length
i=0
function Scrollbox()
{
if(i>=arrlen)
{i=0}
len=msg[i].length
temp=temp+msg[i].substr(a,1)

/* If you want a different font and color then change it here in Both places */
if(document.getElementById)
{
elm=document.getElementById("scrolltext")
elm.innerHTML="<FONT size='2' face='Arial' color='#415587'>"+temp+"</FONT>"
}
else
{
if(document.layers)
{
document.scrolltext.document.write("<FONT size='2' face='Arial' color='#FFFFFF weight='normal>"+temp+"</FONT>")
document.scrolltext.document.close()
}
}
a++
if(a<len)
{counts=setTimeout("Scrollbox()",speed)}
else
{
a=0
if(document.getElementById)
{elm.innerHTML=" "}
else
{
document.scrolltext.document.write(" ")
document.scrolltext.document.close()
}
temp=""
i++
counts=setTimeout("Scrollbox()",speed)
}
}