function Next() {
	document.getElementById('bild').src=bild[index];
	index++;
	if (index >= bild.length) {
		index = 0;
	}
}

function Back() {
	document.getElementById('bild').src=bild[index];
	index--;
	if (index <= 0) {
		index = bild.length - 1;
	}
}

function AutoShow() {
	if (run == false) {
		Next();
		setTimeout("AutoShow()", 4000);
	}
}

function AutoChek() {
	if (run == false) {
		run = true;
		stop();
	} else {
		run = false;		
		AutoShow();
	}
}

