var g_u67ecd03db26a0_img = document.getElementById("u67ecd03db26a0_slideshowImg"); var g_u67ecd03db26a0_i = 0; var last_u67ecd03db26a0_i = 0; g_u67ecd03db26a0_img.setAttribute("src",u67ecd03db26a0_images[0]); function u67ecd03db26a0_swap() { while (g_u67ecd03db26a0_i == last_u67ecd03db26a0_i) { if (g_u67ecd03db26a0_random) g_u67ecd03db26a0_i = Math.floor(Math.random() * (u67ecd03db26a0_images.length-1)+.5); else { g_u67ecd03db26a0_i++; if (g_u67ecd03db26a0_i >= u67ecd03db26a0_images.length) g_u67ecd03db26a0_i = 0; } } last_u67ecd03db26a0_i = g_u67ecd03db26a0_i; g_u67ecd03db26a0_img.setAttribute("src",u67ecd03db26a0_images[g_u67ecd03db26a0_i]); setTimeout("u67ecd03db26a0_swap()",g_u67ecd03db26a0_delay); } if (u67ecd03db26a0_images.length > 1) { if (g_u67ecd03db26a0_random) { u67ecd03db26a0_swap() } else { setTimeout("u67ecd03db26a0_swap()",g_u67ecd03db26a0_delay); } }