var g_u67329729bfc84_img = document.getElementById("u67329729bfc84_slideshowImg"); var g_u67329729bfc84_i = 0; var last_u67329729bfc84_i = 0; g_u67329729bfc84_img.setAttribute("src",u67329729bfc84_images[0]); function u67329729bfc84_swap() { while (g_u67329729bfc84_i == last_u67329729bfc84_i) { if (g_u67329729bfc84_random) g_u67329729bfc84_i = Math.floor(Math.random() * (u67329729bfc84_images.length-1)+.5); else { g_u67329729bfc84_i++; if (g_u67329729bfc84_i >= u67329729bfc84_images.length) g_u67329729bfc84_i = 0; } } last_u67329729bfc84_i = g_u67329729bfc84_i; g_u67329729bfc84_img.setAttribute("src",u67329729bfc84_images[g_u67329729bfc84_i]); setTimeout("u67329729bfc84_swap()",g_u67329729bfc84_delay); } if (u67329729bfc84_images.length > 1) { if (g_u67329729bfc84_random) { u67329729bfc84_swap() } else { setTimeout("u67329729bfc84_swap()",g_u67329729bfc84_delay); } }