function clickArrow() {
    stopPE = 1;
}

function ml() {
	BCvideoivw('Left');

    if (scrollCount <= 0) {
    	scrollCount = items_count-1;
    	$('bigScrollBox').style.left = '-' + (items_count - 1) * scrollboxwidth + 'px';
    } else {
        scrollCount--;
		BCMoveBy(scrollboxwidth);
    }
}

function mr() {
	BCvideoivw('Right');

    if (scrollCount == Math.floor(items_count - 1)) {
    	scrollCount = 0;
    	$('bigScrollBox').style.left = '0';
    } else {
        scrollCount++;
		BCMoveBy(-scrollboxwidth);
    }
}

function BCvideoivw(part) {
	if (stopPE == 1) {
        videoivw('VideoSidebarHomePfeil' + part, 'VideoSidebarHomePfeil' + part);
    }

    $('bigScrollBox').style.display = 'block';
}

function BCMoveBy(stop) {
	new Effect.MoveBy('bigScrollBox', 0, stop,
	{
		duration: 0.4,
		fps: 25,
		transition: Effect.Transitions.sinoidal,
		queue: 'end'
	});
}