currentItem = 1;
totalItems = 1; //wordt in code opnieuw gezet

showNext = function() {
	if(currentItem == totalItems) {
		showItem(1);
	} else {
		showItem(currentItem+1);
	}
}

showPrevious = function() {
	if(currentItem == 1) {
		showItem(totalItems);
	} else {
		showItem(currentItem-1);
	}
}

showItem = function(item) {
	document.getElementById('news_' + currentItem).style.display = 'none';
	document.getElementById('news_select_' + currentItem).className = 'news_page_select';
	document.getElementById('news_' + item).style.display = 'block';
	document.getElementById('news_select_' + item).className = 'news_page_select_active';
	currentItem = item;
	
	window.clearTimeout(timeoutID);
	setTimer();
}
setTimer = function() {
	timeoutID = setTimeout("showNext()", 10000);
}