function scrollup()
	{
         var p=document.getElementById('innerdet');
         var pos=p.offsetTop;

         if(pos<0)
         	{
                 var w=pos+=4;
                 p.style.top=w+'px';
                 }
         else
         	{
                 clearInterval(scrollact);
                 }
         }

function scrolldown()
	{
        var p=document.getElementById('innerdet');
	//var hoehe=p.offsetHeight;
	var hoehe=p.offsetHeight;	
        var pos=p.offsetTop;

	if(hoehe>630) {
		var scrollY=630-hoehe;
		
		if(pos>scrollY)
			{
			var w=pos-=4;
			p.style.top=w+'px';
			}
		else {
			clearInterval(scrollact);
			}
		}
	}

function iko(richt)
	{
         var p=document.getElementById('innerdet');
         var pos=p.offsetLeft;

         if(richt=='up')
         	{
                 scrollact=setInterval("scrollup()",60);
         	}

         if(richt=='do')
         	{
		scrollact=setInterval("scrolldown()",60);
                 }
         }


function ikost()
	{
         window.clearInterval(scrollact);
         }
