var g_u69357cf1b4fc4_img = document.getElementById("u69357cf1b4fc4_slideshowImg"); var g_u69357cf1b4fc4_i = 0; var last_u69357cf1b4fc4_i = 0; g_u69357cf1b4fc4_img.setAttribute("src",u69357cf1b4fc4_images[0]); function u69357cf1b4fc4_swap() { while (g_u69357cf1b4fc4_i == last_u69357cf1b4fc4_i) { if (g_u69357cf1b4fc4_random) g_u69357cf1b4fc4_i = Math.floor(Math.random() * (u69357cf1b4fc4_images.length-1)+.5); else { g_u69357cf1b4fc4_i++; if (g_u69357cf1b4fc4_i >= u69357cf1b4fc4_images.length) g_u69357cf1b4fc4_i = 0; } } last_u69357cf1b4fc4_i = g_u69357cf1b4fc4_i; g_u69357cf1b4fc4_img.setAttribute("src",u69357cf1b4fc4_images[g_u69357cf1b4fc4_i]); setTimeout("u69357cf1b4fc4_swap()",g_u69357cf1b4fc4_delay); } if (u69357cf1b4fc4_images.length > 1) { if (g_u69357cf1b4fc4_random) { u69357cf1b4fc4_swap() } else { setTimeout("u69357cf1b4fc4_swap()",g_u69357cf1b4fc4_delay); } }