// JavaScript Document
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
// modified for the Nixon Gazette by Lisa a. Fadden

var currentmsg = 0
var MsgTime = 6000
var MsgEndTime = 6000

function initArray(n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '
  }
}

msg = new initArray(3)
msg[0]="Welcome to the Internet Home of Clardie Ministries"
msg[1]="Where we practice Evangelism through Biblical Truth"
msg[2]="Have a Great Day!"


function msgrotator() {
window.status = msg[currentmsg]

if (currentmsg > msg.length - 1) {
currentmsg = 0
setTimeout("msgrotator()", MsgEndTime)
}

else {
currentmsg = currentmsg + 1
setTimeout("msgrotator()", MsgTime)
}
}

msgrotator();
