<!-- Beginning of JavaScript -

// CREDITS MUST REMAIN:
// Simple pull-scroller by Urs Dudli and Peter Gehrig. Distributed by http://www.hypergurl.com
// Copyright (c) 2000 Peter Gehrig and Urs Dudli. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.hypergurl.com.


// CONFIGURATION:
//      Add your messages here. You may add as many messages as you like.
var message = new Array()
message[0]="Welcome to Dongara Telecentre........"
message[1]="Need computer training....?"
message[2]="Looking for colour photocopying....?"
message[3]="Phone us today on 99272111...."
message[4]="Enjoy and have fun at the Dongara Telecentre!!"

//	Configure the speed of the message. A lower value means higher speed.
var pause=25

// 	Configure the standstill-time between the messages (milliseconds).
var standstill=2500

//	Configure the maximum space between the letters.
var max_space=20

// Do not edit the variables below
var space=" "
var i_substring=0
var i_message=0
var i_space=max_space
var all_space=" "
var content=""

function reducespace() {
	all_space=" "
	for (i=0;i<i_space;i++) {
		all_space+=" "
	}
	for (i=0;i<message[i_message].length-1;i++) {
		var thisletter=message[i_message].substring(i,i+1)
		thisletter=thisletter+all_space
		content+=thisletter
	}
	showmessage()
}

function showmessage() {
	window.status=content
	i_space--
	if (i_space>=0) {
		content=""
		var timer=setTimeout("reducespace()", pause)
	}
	else {
		clearTimeout(timer)
		i_space=max_space
		var timer=setTimeout("changemessage()", standstill)
	}
}

function changemessage() {
	i_message++
	if (i_message>message.length-1) {
		i_message=0
	}
	reducespace()
}

// - End of JavaScript - -->