var g_u6983bfcee3d77_img = document.getElementById("u6983bfcee3d77_slideshowImg"); var g_u6983bfcee3d77_i = 0; var last_u6983bfcee3d77_i = 0; g_u6983bfcee3d77_img.setAttribute("src",u6983bfcee3d77_images[0]); function u6983bfcee3d77_swap() { while (g_u6983bfcee3d77_i == last_u6983bfcee3d77_i) { if (g_u6983bfcee3d77_random) g_u6983bfcee3d77_i = Math.floor(Math.random() * (u6983bfcee3d77_images.length-1)+.5); else { g_u6983bfcee3d77_i++; if (g_u6983bfcee3d77_i >= u6983bfcee3d77_images.length) g_u6983bfcee3d77_i = 0; } } last_u6983bfcee3d77_i = g_u6983bfcee3d77_i; g_u6983bfcee3d77_img.setAttribute("src",u6983bfcee3d77_images[g_u6983bfcee3d77_i]); setTimeout("u6983bfcee3d77_swap()",g_u6983bfcee3d77_delay); } if (u6983bfcee3d77_images.length > 1) { if (g_u6983bfcee3d77_random) { u6983bfcee3d77_swap() } else { setTimeout("u6983bfcee3d77_swap()",g_u6983bfcee3d77_delay); } }