function scrollBanner(seed) {
	// set pause in milliseconds between each movement
	var speed = 100

	// assign one-space string to variable (space pads left side of status bar)
	var str = " "

	// create global array
	var ar = new Array()

	// *************************************************************************************************************
	// *************************************************************************************************************
""
ar[0]="VIKAS SECURED TOP SCORE IN CBSE + 2 - 2008 RESULTS... "
ar[1]="476 / 500 HT NO: 4234995 NAME: BHAGAVATHI BHARADWAZ... "
ar[2]="475 / 500 HT NO: 4234452 NAME: SALONI MEHTA... "
ar[3]="Admissions are in progress for the academic year 2009-10... "
ar[4]="… From class VIII to XII of CBSE board"
ar[5]= "… For hostel reservation please contact counselor admissions on Ph. 0891-2500005"

	// *************************************************************************************************************
	// *************************************************************************************************************

	// join all messages to one string variable with no delimiter
	var total = ar.join("")

	// if message has not yet reached the left side of the status bar
	if (seed > 0) {
		// assign string of seed spaces to variable
		for (var i = 0; i < seed; ++i) {
			str += " "
		}

		// append message to end of output string
		str += total

		// message moved one position to the left
		seed--

		// assign expression containing recursive call with literal argument in form of string
		var cmd = "scrollBanner(" + seed + ")"

		// place computed message in status bar
		window.status = str
		
		// recursive call after speed milliseconds
		timerID = setTimeout(cmd, speed)
	} else 
		// if a substring of the total message still remains in status bar
		if (-seed < total.length) {
			// assign part of message that has not slided off the left
			str += total.substring(-seed, total.length)

			// message has moved one position to the left
			seed--

			// assign expression containing recursive call with literal argument in form of string
			var cmd = "scrollBanner(" + seed + ")"

			// place computed message in status bar
			window.status = str
		
			// recursive call after speed milliseconds
			timerID = setTimeout(cmd, speed)
		} else {
			// assign a one-space string to status bar
			window.status = str 

			// recursive call after speed milliseconds at initial position
			timerID = setTimeout("scrollBanner(100)", speed)
		}
}


 
 
 
 
 
 
 
