
function swaponly(){
	img=document.getElementById('image1');
	imgprint=document.getElementById('printimg');
	imgprint.src=images[x].src;
	img.style.backgroundImage='url('+imagesrc[x]+')';
}
function swap(){
	if(doswap){
		img=document.getElementById('image1');
		imgprint=document.getElementById('printimg');
		if(x>anzahl)
			x=0;
		imgprint.src=images[x].src;
		img.style.backgroundImage='url('+imagesrc[x]+')';
		x++;
		window.setTimeout('swap()',4000);
	}
}
function setSwap(wert){
	doswap=wert;
	if(wert==true)
		swap();
}
