doba=5000; rotator=0; pocet = 10; obrsrc = new Array(pocet); obrsrc[0] = "http://archive.pamatnik-terezin.cz/wp-content/gallery/feeling/thumbs/thumbs_logo-terezan-memorial_0.jpg"; obrsrc[1] = "http://archive.pamatnik-terezin.cz/wp-content/gallery/feeling/thumbs/thumbs_pt-8183.jpg"; obrsrc[2] = "http://archive.pamatnik-terezin.cz/wp-content/gallery/feeling/thumbs/thumbs_pt-1612.jpg"; obrsrc[3] = "http://archive.pamatnik-terezin.cz/wp-content/gallery/feeling/thumbs/thumbs_img_2850-1.jpg"; obrsrc[4] = "http://archive.pamatnik-terezin.cz/wp-content/gallery/feeling/thumbs/thumbs_img_2692-1.jpg"; obrsrc[5] = "http://archive.pamatnik-terezin.cz/wp-content/gallery/feeling/thumbs/thumbs_img_2856-1.jpg"; obrsrc[6] = "http://archive.pamatnik-terezin.cz/wp-content/gallery/feeling/thumbs/thumbs_img_2921-1.jpg"; obrsrc[7] = "http://archive.pamatnik-terezin.cz/wp-content/gallery/feeling/thumbs/thumbs_img_2764-1.jpg"; obrsrc[8] = "http://archive.pamatnik-terezin.cz/wp-content/gallery/feeling/thumbs/thumbs_img_2795-1.jpg"; obrsrc[9] = "http://archive.pamatnik-terezin.cz/wp-content/gallery/feeling/thumbs/thumbs_img_2736-1.jpg"; obr = new Array(pocet); for (i=0; i < pocet; i++){ obr[i]= new Image(); obr[i].src= obrsrc[i]; } function rotate() { if (rotator==pocet) { rotator=0; } obr= new Image(); obr.src= obrsrc[rotator]; document.images["feel"].src = obrsrc[rotator]; rotator = rotator + 1; window.setTimeout('rotate();',doba); }