function scrollMe(to) {
	
	
	toPixel = (to - 1) * 270;
	f_scroll.scrollTo(0,toPixel);
}

function nextSection() {
	slideShow = false;
	if (currentSection < slides)
	{
		currentSection += 1;
		scrollMe(currentSection);
	}
	else
	{
		currentSection = 1;
		scrollMe(currentSection);
	}
}

function prevSection() {
	slideShow = false;
	if (currentSection > 1)
	{
		currentSection -= 1;
		scrollMe(currentSection);
	}
	else
	{
		currentSection = slides;
		scrollMe(currentSection);
	}

}

function runShow() {
	nextSection();
	setTimeout('runShow()', speed);
}

