// JavaScript Document
//counter
rCount = 3;
counter=0;

function stepup(){
counter=counter+1;
if (counter >= rCount){
	counter=0;}
return counter;}

function stepdown(){
if (counter == 0){
	counter = rCount-1;}
else {
	counter=counter-1;}
return counter;}

//image changer
function getDownImageB(){
	document.imageBack.src='../layout/common_images/ArrowLeftYellow.png';}
function getUpImageB(){
	document.imageBack.src='../layout/common_images/ArrowLeftGreen.png';}
function getDownImageN(){
	document.imageNext.src='../layout/common_images/ArrowRightYellow.png';}
function getUpImageN(){
	document.imageNext.src='../layout/common_images/ArrowRightGreen.png';}