
	
<!-- Beginning of JavaScript Applet -------------------

/* 
   Scoller: Scroll some Text in the statuswindow. 

   This script is a freescript and can be used and modified at will.
   If you use it, you do it at your own risk. I take no responsibility
   whatsoever. If it doesn't work, don't blame me...

   Comments and enhancements are welcome.

   Stephan Mohr <stephan.mohr@uni-tuebingen.de>

 */

var timerid = 0;
var scrollOn = false;
var waitfor=100;
var maxspc=150;
var msg = "";

function scroll_stop()
{
  if (scrollOn) {
    clearTimeout(timerid);
    scrollOn = false;
  }
}

function scroll_start()
{
  var i=0;

  scroll_stop();
  msg="Contact Premier Title & Closing Services for peace of mind with *your* next real estate transaction!     Phone  414-977-8640 ";
  msg+=" ";
  for (i=0;i<maxspc;i++) msg=" "+msg;
  scrollOn=true;
  timerid=window.setTimeout("scroller(0)",waitfor);
}

function scroller(pos)
{
  var out = "";
 
  scrollOn=false;
  if (pos < msg.length) window.status = msg.substring(pos, msg.length);
  else pos=-1;
  ++pos;

  scrollOn=true;
  timerid=window.setTimeout("scroller("+pos+")",waitfor);
}

// -- End of JavaScript code -------------- -->


