var g_u692afe0a0311f_img = document.getElementById("u692afe0a0311f_slideshowImg"); var g_u692afe0a0311f_i = 0; var last_u692afe0a0311f_i = 0; g_u692afe0a0311f_img.setAttribute("src",u692afe0a0311f_images[0]); function u692afe0a0311f_swap() { while (g_u692afe0a0311f_i == last_u692afe0a0311f_i) { if (g_u692afe0a0311f_random) g_u692afe0a0311f_i = Math.floor(Math.random() * (u692afe0a0311f_images.length-1)+.5); else { g_u692afe0a0311f_i++; if (g_u692afe0a0311f_i >= u692afe0a0311f_images.length) g_u692afe0a0311f_i = 0; } } last_u692afe0a0311f_i = g_u692afe0a0311f_i; g_u692afe0a0311f_img.setAttribute("src",u692afe0a0311f_images[g_u692afe0a0311f_i]); setTimeout("u692afe0a0311f_swap()",g_u692afe0a0311f_delay); } if (u692afe0a0311f_images.length > 1) { if (g_u692afe0a0311f_random) { u692afe0a0311f_swap() } else { setTimeout("u692afe0a0311f_swap()",g_u692afe0a0311f_delay); } }