<!--
scrlTimer = null;

/**
 *	Scroll content area
 *
 *	@param Number dir, direction 1 - up, 2 - down
 */
function scrl(dir)
{
	direction = dir;
	var speed = 5,
		pg = document.getElementById('scrlArea'),
		height = pg.offsetHeight,
		y = pg.offsetTop-30,
		visibleHeight = 460;
	if (dir == 2 && y>-height+visibleHeight) {
		pg.style.top = y-speed + "px";
		scrlTimer = setTimeout("scrl(2)", 50);
	} else if (dir == 1 && y<0) {
		pg.style.top = y+speed + "px";
		scrlTimer = setTimeout("scrl(1)", 50);
	}
}

/**
 *	Stop scrolling
 */
function stopscrl() 
{
	clearTimeout(scrlTimer);
}
//-->

