function statusmessageobject(p,d) {
  this.msg = message
  this.out = " "
  this.pos = position
  this.delay = delay
  this.i     = 0
  this.reset = clearmessage
}
function clearmessage() {
  this.pos = position
}
var position = 30
var delay    = 1000
var message  = "Fall, 2007, Lectures every FRIDAY, Seminars every SATURDAY"

var scroll = new statusmessageobject()
function scroller() {
  for (scroll.i = 0; scroll.i < scroll.pos; scroll.i++) {
    scroll.out += " "
  }
    if (scroll.pos >= 0)
   scroll.out += scroll.msg
  else scroll.out = scroll.msg.substring(-scroll.pos,scroll.msg.length)
  window.status = scroll.out
  scroll.out = " "
  scroll.pos--
    if (scroll.pos < -(scroll.msg.length)) {
   scroll.reset()
  }
    setTimeout ('scroller()',scroll.delay)
}
