
var newTop, newHeight;

function getAttr() {

var posTop, posHeight;

 	if (document.all && document.all.schieber.style.getAttribute) {
		 posTop = document.all.schieber.style.getAttribute("top", "false");
		 posHeight = document.all.schieber.style.getAttribute("height", "false");
	}
	else if (document.getElementById) {
	   posTop = document.getElementById("schieber").style.top;
	   posHeight = document.getElementById("schieber").style.height;
	}
	
	newTop = posTop.substr(0,posTop.indexOf("px")) - 1;
	newHeight = posHeight.substr(0,posHeight.indexOf("px")) - 1;
}
	
function doMove()
{

    	if (document.all && document.all.schieber.style.setAttribute) {
        document.all.schieber.style.setAttribute("height", newHeight, "false");
        document.all.schieber.style.setAttribute("top", newTop, "false");
    
      } else {
        document.getElementById("schieber").style.height = newHeight;
        document.getElementById("schieber").style.top = newTop;
      }
			
			meScroll();
}

function meScroll()
{

	newHeight = newHeight - 1;
	newTop = newTop + 1;

	if (newHeight > 0) {	
		newTop++;
		newHeight--;
		setTimeout("doMove()",1);
  }		
}
