function initScroll(way, oButt, content)
	{
	oButt.onmousedown = function () 
		{
		var actif = window.setInterval("run('" + way + "', '" + content + "')", 1);
		oButt.onmouseup = function () { window.clearInterval(actif); };
		oButt.onmouseout = function () { window.clearInterval(actif); };
		};
	oButt.onmouseup = function () { window.clearInterval(actif); };
	oButt.onmouseout = function () { window.clearInterval(actif); };
	}

function run(way, content)
	{
	oContent = document.getElementById(content);

	for (var i = 0; i < oContent.childNodes.length; i++)
		{
		if (oContent.childNodes[i].nodeName == "div" || oContent.childNodes[i].nodeName == "DIV")
			{
			oScrolled = oContent.childNodes[i];
			}
		}

	oScrolled.style.position = "absolute";
	
	if (oScrolled.offsetHeight > oContent.offsetHeight)
		{
		switch (way)
			{
			case "down" :
				var max = (- (oScrolled.offsetHeight - oContent.offsetHeight));
				if (oScrolled.offsetTop > max)
					{
					oScrolled.style.top = ((oScrolled.offsetTop - 2)/10) + "em";
					}
				break;
			
			case "up" :
				if (oScrolled.offsetTop < 0)
					{
					oScrolled.style.top = ((oScrolled.offsetTop + 2)/10) + "em";
					}
				break;
			}
		}
	
	}