var g_u67ef2d21c0535_img = document.getElementById("u67ef2d21c0535_slideshowImg"); var g_u67ef2d21c0535_i = 0; var last_u67ef2d21c0535_i = 0; g_u67ef2d21c0535_img.setAttribute("src",u67ef2d21c0535_images[0]); function u67ef2d21c0535_swap() { while (g_u67ef2d21c0535_i == last_u67ef2d21c0535_i) { if (g_u67ef2d21c0535_random) g_u67ef2d21c0535_i = Math.floor(Math.random() * (u67ef2d21c0535_images.length-1)+.5); else { g_u67ef2d21c0535_i++; if (g_u67ef2d21c0535_i >= u67ef2d21c0535_images.length) g_u67ef2d21c0535_i = 0; } } last_u67ef2d21c0535_i = g_u67ef2d21c0535_i; g_u67ef2d21c0535_img.setAttribute("src",u67ef2d21c0535_images[g_u67ef2d21c0535_i]); setTimeout("u67ef2d21c0535_swap()",g_u67ef2d21c0535_delay); } if (u67ef2d21c0535_images.length > 1) { if (g_u67ef2d21c0535_random) { u67ef2d21c0535_swap() } else { setTimeout("u67ef2d21c0535_swap()",g_u67ef2d21c0535_delay); } }