var g_u67328fa2e6418_img = document.getElementById("u67328fa2e6418_slideshowImg"); var g_u67328fa2e6418_i = 0; var last_u67328fa2e6418_i = 0; g_u67328fa2e6418_img.setAttribute("src",u67328fa2e6418_images[0]); function u67328fa2e6418_swap() { while (g_u67328fa2e6418_i == last_u67328fa2e6418_i) { if (g_u67328fa2e6418_random) g_u67328fa2e6418_i = Math.floor(Math.random() * (u67328fa2e6418_images.length-1)+.5); else { g_u67328fa2e6418_i++; if (g_u67328fa2e6418_i >= u67328fa2e6418_images.length) g_u67328fa2e6418_i = 0; } } last_u67328fa2e6418_i = g_u67328fa2e6418_i; g_u67328fa2e6418_img.setAttribute("src",u67328fa2e6418_images[g_u67328fa2e6418_i]); setTimeout("u67328fa2e6418_swap()",g_u67328fa2e6418_delay); } if (u67328fa2e6418_images.length > 1) { if (g_u67328fa2e6418_random) { u67328fa2e6418_swap() } else { setTimeout("u67328fa2e6418_swap()",g_u67328fa2e6418_delay); } }