var g_u67ef32d2f0f1f_img = document.getElementById("u67ef32d2f0f1f_slideshowImg"); var g_u67ef32d2f0f1f_i = 0; var last_u67ef32d2f0f1f_i = 0; g_u67ef32d2f0f1f_img.setAttribute("src",u67ef32d2f0f1f_images[0]); function u67ef32d2f0f1f_swap() { while (g_u67ef32d2f0f1f_i == last_u67ef32d2f0f1f_i) { if (g_u67ef32d2f0f1f_random) g_u67ef32d2f0f1f_i = Math.floor(Math.random() * (u67ef32d2f0f1f_images.length-1)+.5); else { g_u67ef32d2f0f1f_i++; if (g_u67ef32d2f0f1f_i >= u67ef32d2f0f1f_images.length) g_u67ef32d2f0f1f_i = 0; } } last_u67ef32d2f0f1f_i = g_u67ef32d2f0f1f_i; g_u67ef32d2f0f1f_img.setAttribute("src",u67ef32d2f0f1f_images[g_u67ef32d2f0f1f_i]); setTimeout("u67ef32d2f0f1f_swap()",g_u67ef32d2f0f1f_delay); } if (u67ef32d2f0f1f_images.length > 1) { if (g_u67ef32d2f0f1f_random) { u67ef32d2f0f1f_swap() } else { setTimeout("u67ef32d2f0f1f_swap()",g_u67ef32d2f0f1f_delay); } }