var g_u692af4293a655_img = document.getElementById("u692af4293a655_slideshowImg"); var g_u692af4293a655_i = 0; var last_u692af4293a655_i = 0; g_u692af4293a655_img.setAttribute("src",u692af4293a655_images[0]); function u692af4293a655_swap() { while (g_u692af4293a655_i == last_u692af4293a655_i) { if (g_u692af4293a655_random) g_u692af4293a655_i = Math.floor(Math.random() * (u692af4293a655_images.length-1)+.5); else { g_u692af4293a655_i++; if (g_u692af4293a655_i >= u692af4293a655_images.length) g_u692af4293a655_i = 0; } } last_u692af4293a655_i = g_u692af4293a655_i; g_u692af4293a655_img.setAttribute("src",u692af4293a655_images[g_u692af4293a655_i]); setTimeout("u692af4293a655_swap()",g_u692af4293a655_delay); } if (u692af4293a655_images.length > 1) { if (g_u692af4293a655_random) { u692af4293a655_swap() } else { setTimeout("u692af4293a655_swap()",g_u692af4293a655_delay); } }