var g_u69b249e73a8fc_img = document.getElementById("u69b249e73a8fc_slideshowImg"); var g_u69b249e73a8fc_i = 0; var last_u69b249e73a8fc_i = 0; g_u69b249e73a8fc_img.setAttribute("src",u69b249e73a8fc_images[0]); function u69b249e73a8fc_swap() { while (g_u69b249e73a8fc_i == last_u69b249e73a8fc_i) { if (g_u69b249e73a8fc_random) g_u69b249e73a8fc_i = Math.floor(Math.random() * (u69b249e73a8fc_images.length-1)+.5); else { g_u69b249e73a8fc_i++; if (g_u69b249e73a8fc_i >= u69b249e73a8fc_images.length) g_u69b249e73a8fc_i = 0; } } last_u69b249e73a8fc_i = g_u69b249e73a8fc_i; g_u69b249e73a8fc_img.setAttribute("src",u69b249e73a8fc_images[g_u69b249e73a8fc_i]); setTimeout("u69b249e73a8fc_swap()",g_u69b249e73a8fc_delay); } if (u69b249e73a8fc_images.length > 1) { if (g_u69b249e73a8fc_random) { u69b249e73a8fc_swap() } else { setTimeout("u69b249e73a8fc_swap()",g_u69b249e73a8fc_delay); } }