var g_u67329795f2b0b_img = document.getElementById("u67329795f2b0b_slideshowImg"); var g_u67329795f2b0b_i = 0; var last_u67329795f2b0b_i = 0; g_u67329795f2b0b_img.setAttribute("src",u67329795f2b0b_images[0]); function u67329795f2b0b_swap() { while (g_u67329795f2b0b_i == last_u67329795f2b0b_i) { if (g_u67329795f2b0b_random) g_u67329795f2b0b_i = Math.floor(Math.random() * (u67329795f2b0b_images.length-1)+.5); else { g_u67329795f2b0b_i++; if (g_u67329795f2b0b_i >= u67329795f2b0b_images.length) g_u67329795f2b0b_i = 0; } } last_u67329795f2b0b_i = g_u67329795f2b0b_i; g_u67329795f2b0b_img.setAttribute("src",u67329795f2b0b_images[g_u67329795f2b0b_i]); setTimeout("u67329795f2b0b_swap()",g_u67329795f2b0b_delay); } if (u67329795f2b0b_images.length > 1) { if (g_u67329795f2b0b_random) { u67329795f2b0b_swap() } else { setTimeout("u67329795f2b0b_swap()",g_u67329795f2b0b_delay); } }