// JavaScript Document
<!--
// Scrolling status Bar text Script
// 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()
ar[0] = "Welcome to KeLa Energy LLC"
ar[1] = "Technology for alternate energy sources"
ar[2] = "Profitable, environmentally sound fuel"
ar[3] = "Converting coal waste to a high-yield, cost-effective and marketable product"
ar[4] = "7575 Dr. Phillips Blvd • Suite 325 • Orlando, FL 32819"
ar[5] = "Tel: (407) 363-5774 • Fax: (407) 345-0541 • info@KeLaEnergy.com"
ar[6] = ""
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
					}
							}