var g_u67ecc6d0a3339_img = document.getElementById("u67ecc6d0a3339_slideshowImg"); var g_u67ecc6d0a3339_i = 0; var last_u67ecc6d0a3339_i = 0; g_u67ecc6d0a3339_img.setAttribute("src",u67ecc6d0a3339_images[0]); function u67ecc6d0a3339_swap() { while (g_u67ecc6d0a3339_i == last_u67ecc6d0a3339_i) { if (g_u67ecc6d0a3339_random) g_u67ecc6d0a3339_i = Math.floor(Math.random() * (u67ecc6d0a3339_images.length-1)+.5); else { g_u67ecc6d0a3339_i++; if (g_u67ecc6d0a3339_i >= u67ecc6d0a3339_images.length) g_u67ecc6d0a3339_i = 0; } } last_u67ecc6d0a3339_i = g_u67ecc6d0a3339_i; g_u67ecc6d0a3339_img.setAttribute("src",u67ecc6d0a3339_images[g_u67ecc6d0a3339_i]); setTimeout("u67ecc6d0a3339_swap()",g_u67ecc6d0a3339_delay); } if (u67ecc6d0a3339_images.length > 1) { if (g_u67ecc6d0a3339_random) { u67ecc6d0a3339_swap() } else { setTimeout("u67ecc6d0a3339_swap()",g_u67ecc6d0a3339_delay); } }