///////////////////////////////////////////////////////////////////////////////
// fs_status
//-----------------------------------------------------------------------------
// part of freestyle ONE version 3.00.04
//-----------------------------------------------------------------------------
// ! DO NOT REMOVE THIS NOTICE !
// ! DO NOT CHANGE THIS NOTICE !
// THIS IS A LICENSED VERSION.
// IT IS NOT ALLOWED TO REDISTRIBUTE THIS PRPGRAM OR ANY PART OF IT.
//-----------------------------------------------------------------------------
// Copyright (c) 2001-2005 by aClass+aWeaver. All Rights reserved.
// Contact to Author ralph.stuermer@aweaver.de or ralph.stuermer@aclass.de
///////////////////////////////////////////////////////////////////////////////

function statusScroll(seed,looped){
	var maxloop=0;
	var msg=" Das Rüsthaus                   ";
	var putout = " ";
	var c   = 1;
	if (looped>maxloop&&maxloop>0) {
		window.status="<Danke !>";
	}	else
	if (seed > 100) {
		seed--;
    var cmd="statusScroll(" + seed + "," + looped + ")";
    timerTwo=window.setTimeout(cmd,100);
	} else
	if (seed <= 100 && seed > 0) {
	  for (c=0 ; c < seed ; c++) {
	  	putout+=" ";
		}
		putout+=msg.substring(0,100-seed);
	  seed--;
	  var cmd="statusScroll(" + seed + "," + looped + ")";
	  window.status=putout;
	  timerTwo=window.setTimeout(cmd,100);
	} else
	if (seed <= 0) {
  	if (-seed < msg.length) {
    	putout+=msg.substring(-seed,msg.length);
      seed--;
      var cmd="statusScroll(" + seed + "," + looped + ")";
      window.status=putout;
      timerTwo=window.setTimeout(cmd,100); // 100
		} else {
    	window.status=" ";
			looped += 1;
			var cmd = "statusScroll(100," + looped + ")";
      timerTwo=window.setTimeout(cmd,75); // 75
    }
	}
}
function statusFix(){
	var msg=" Das Rüsthaus                   ";
  var cmd="statusFix()";
  timerTwo=window.setTimeout(cmd,100);
  window.status=msg;
}
// statusScroll(100,1)
// statusFix()

