var g_u67ef2e66480c3_img = document.getElementById("u67ef2e66480c3_slideshowImg"); var g_u67ef2e66480c3_i = 0; var last_u67ef2e66480c3_i = 0; g_u67ef2e66480c3_img.setAttribute("src",u67ef2e66480c3_images[0]); function u67ef2e66480c3_swap() { while (g_u67ef2e66480c3_i == last_u67ef2e66480c3_i) { if (g_u67ef2e66480c3_random) g_u67ef2e66480c3_i = Math.floor(Math.random() * (u67ef2e66480c3_images.length-1)+.5); else { g_u67ef2e66480c3_i++; if (g_u67ef2e66480c3_i >= u67ef2e66480c3_images.length) g_u67ef2e66480c3_i = 0; } } last_u67ef2e66480c3_i = g_u67ef2e66480c3_i; g_u67ef2e66480c3_img.setAttribute("src",u67ef2e66480c3_images[g_u67ef2e66480c3_i]); setTimeout("u67ef2e66480c3_swap()",g_u67ef2e66480c3_delay); } if (u67ef2e66480c3_images.length > 1) { if (g_u67ef2e66480c3_random) { u67ef2e66480c3_swap() } else { setTimeout("u67ef2e66480c3_swap()",g_u67ef2e66480c3_delay); } }