
var xNow = 150;
var yNow = -10;
function maus_runner(maus) {
  document.maus_runner.src='images/maus.gif';
  var maus = document.getElementById("maus");
  maus.style.left = xNow;
  maus.style.top = yNow;
  cpMoveObj(maus, -2, -1.6, 1);
}

function cpMoveObj(i, ax, ay, n)
{
	xNow = xNow + ax;
	yNow = yNow + ay;
	i.style.left = xNow;
	i.style.top = yNow;
	if (xNow < -10 ) {
		document.maus_runner.src='images/maus2.png';
		document.schalter_unten.src='images/schalter2.gif';
		window.setTimeout("window.location = 'site2.html'", 500);
		return;
	}
	window.setTimeout("cpMoveObj(document.getElementById('maus'),"+ax+","+ay+","+n+");", 1);
}
