var g_u69357c626fc61_img = document.getElementById("u69357c626fc61_slideshowImg"); var g_u69357c626fc61_i = 0; var last_u69357c626fc61_i = 0; g_u69357c626fc61_img.setAttribute("src",u69357c626fc61_images[0]); function u69357c626fc61_swap() { while (g_u69357c626fc61_i == last_u69357c626fc61_i) { if (g_u69357c626fc61_random) g_u69357c626fc61_i = Math.floor(Math.random() * (u69357c626fc61_images.length-1)+.5); else { g_u69357c626fc61_i++; if (g_u69357c626fc61_i >= u69357c626fc61_images.length) g_u69357c626fc61_i = 0; } } last_u69357c626fc61_i = g_u69357c626fc61_i; g_u69357c626fc61_img.setAttribute("src",u69357c626fc61_images[g_u69357c626fc61_i]); setTimeout("u69357c626fc61_swap()",g_u69357c626fc61_delay); } if (u69357c626fc61_images.length > 1) { if (g_u69357c626fc61_random) { u69357c626fc61_swap() } else { setTimeout("u69357c626fc61_swap()",g_u69357c626fc61_delay); } }