var g_u68c57f7415ba8_img = document.getElementById("u68c57f7415ba8_slideshowImg"); var g_u68c57f7415ba8_i = 0; var last_u68c57f7415ba8_i = 0; g_u68c57f7415ba8_img.setAttribute("src",u68c57f7415ba8_images[0]); function u68c57f7415ba8_swap() { while (g_u68c57f7415ba8_i == last_u68c57f7415ba8_i) { if (g_u68c57f7415ba8_random) g_u68c57f7415ba8_i = Math.floor(Math.random() * (u68c57f7415ba8_images.length-1)+.5); else { g_u68c57f7415ba8_i++; if (g_u68c57f7415ba8_i >= u68c57f7415ba8_images.length) g_u68c57f7415ba8_i = 0; } } last_u68c57f7415ba8_i = g_u68c57f7415ba8_i; g_u68c57f7415ba8_img.setAttribute("src",u68c57f7415ba8_images[g_u68c57f7415ba8_i]); setTimeout("u68c57f7415ba8_swap()",g_u68c57f7415ba8_delay); } if (u68c57f7415ba8_images.length > 1) { if (g_u68c57f7415ba8_random) { u68c57f7415ba8_swap() } else { setTimeout("u68c57f7415ba8_swap()",g_u68c57f7415ba8_delay); } }