<!--
var msg = "Welcome to a selection of The Rookery Guest Rooms"
var delay = 50
var startPos = 100
var timerID = null
var timerRunning = false
var pos = 0
StartScrolling()
function StartScrolling(){
    StopTheClock()
    for (var i = 0; i < startPos; i++) msg = " " + msg
    DoTheScroll()
}
function StopTheClock(){
    if(timerRunning)
        clearTimeout(timerID)
    timerRunning = false
}
function DoTheScroll(){
    if (pos < msg.length)
        self.status = msg.substring(pos, msg.length);
    else
        pos=-1;
    ++pos
    timerRunning = true
    timerID = self.setTimeout("DoTheScroll()", delay)
}
//-->