var curmes = 0
var a = 0
var counter = 0
var message = new Array()

message[0] = "Welcome to the PJDS Website."
message[1] = "Take your time and have a good look round."
message[2] = "Use the navigation buttons to see all that we do."
message[3] = "Feel free to contact us with any queries you may have."
message[4] = "You can submit work requests online - just fill in the form on the booking page."
message[5] = "You can apply for job information online - just fill in the form on the vacancies page."
message[6] = "We hope you enjoy your visit. Please bookmark our site so you can return easily."

var temp = ""
function scrollit()
{
a = a + 1
check()
window.status = message[curmes].substring(0,a)
if(a==message[curmes].length + 6)
{
curmes = curmes + 1
a = 0
}
if(curmes > 6)
{
curmes = 0
}
counter = setTimeout("scrollit()",100)
}
function check()
{
if(a <= message[curmes].length)
{
if(message[curmes].substring(a,a + 1)=="")
{
a = a + 1
check()
}
}
}

