// Scrolling status Bar text Script - Borrowed from Scotch College Website 2002
// Being of Scrolling text in the Status bar
var speed = 50 //decrease value to increase speed (must be positive) 
var pause = 2500 //increase value to increase pause
var timerID = null 
var bannerRunning = false
var ar = new Array()
// -----------------------------------------------------------------
// EDIT VALUES BELOW FOR TEXT OF STATUS BAR
// -----------------------------------------------------------------
ar[0] = "Welcome to the Jolimont Primary School Web Site ..."
ar[1] = "News: Jolimont enrolments continue to increase."
ar[2] = "News: Our brand image at Jolimont is'Go Forward With Us'"
ar[3] = "News: Save trees and subscribe to an electronic copy of our fortnightly newsletter."
ar[4] = "News: Jolimont wins the 2007 Interschool Athletics Shield."

// Add more Arrays by continuing method above

// -----------------------------------------------------------------
// DO NOT EDIT CONTENT BELOW
// -----------------------------------------------------------------
var currentMessage = 0
var offset = 0
function stopBanner() {
	if (bannerRunning)
		clearTimeout(timerID)
		bannerRunning = false
		}
function startBanner() {
		stopBanner()
		showBanner()
}
function showBanner() { 
		var text = ar[currentMessage]
		if (offset < text.length) {
			if (text.charAt(offset) == " ")
			offset++ 
			var partialMessage = text.substring(0, offset + 1)
			window.status = partialMessage
			offset++ 
			timerID = setTimeout("showBanner()", speed)
			bannerRunning = true
				} else {
			offset = 0
			currentMessage++
				if (currentMessage == ar.length)
					currentMessage = 0
					timerID = setTimeout("showBanner()", pause)
					bannerRunning = true
					}
							}
// -->
<!--
//this is to start the Scrolling Status Bar
startBanner();
// -->