var g_u692bf4ccc4c39_img = document.getElementById("u692bf4ccc4c39_slideshowImg"); var g_u692bf4ccc4c39_i = 0; var last_u692bf4ccc4c39_i = 0; g_u692bf4ccc4c39_img.setAttribute("src",u692bf4ccc4c39_images[0]); function u692bf4ccc4c39_swap() { while (g_u692bf4ccc4c39_i == last_u692bf4ccc4c39_i) { if (g_u692bf4ccc4c39_random) g_u692bf4ccc4c39_i = Math.floor(Math.random() * (u692bf4ccc4c39_images.length-1)+.5); else { g_u692bf4ccc4c39_i++; if (g_u692bf4ccc4c39_i >= u692bf4ccc4c39_images.length) g_u692bf4ccc4c39_i = 0; } } last_u692bf4ccc4c39_i = g_u692bf4ccc4c39_i; g_u692bf4ccc4c39_img.setAttribute("src",u692bf4ccc4c39_images[g_u692bf4ccc4c39_i]); setTimeout("u692bf4ccc4c39_swap()",g_u692bf4ccc4c39_delay); } if (u692bf4ccc4c39_images.length > 1) { if (g_u692bf4ccc4c39_random) { u692bf4ccc4c39_swap() } else { setTimeout("u692bf4ccc4c39_swap()",g_u692bf4ccc4c39_delay); } }