// wechselt das Bild automatisch für das Gewinnspiel
function change_pic_home(pic1,pic2,pic3,zahl){ 
	
		if(zahl==1){
			var picture=pic1;
		}else if (zahl==2){
			var picture=pic2;
		}else if (zahl==3){
			var picture=pic3;
		}
		
		if(zahl==3){
			zahl=1;
		}else{
			zahl=parseInt(zahl)+1;
		}
		
		document.getElementById('home_illustration').innerHTML="";
		document.getElementById('home_illustration').innerHTML='<img src="fileadmin/blickle/files/content/'+picture+'" />';
		
		aktiv = window.setTimeout("change_pic_home('"+pic1+"','"+pic2+"','"+pic3+"','"+zahl+"')",2000);
		
}

