var g_u68b227d3e6d07_img = document.getElementById("u68b227d3e6d07_slideshowImg"); var g_u68b227d3e6d07_i = 0; var last_u68b227d3e6d07_i = 0; g_u68b227d3e6d07_img.setAttribute("src",u68b227d3e6d07_images[0]); function u68b227d3e6d07_swap() { while (g_u68b227d3e6d07_i == last_u68b227d3e6d07_i) { if (g_u68b227d3e6d07_random) g_u68b227d3e6d07_i = Math.floor(Math.random() * (u68b227d3e6d07_images.length-1)+.5); else { g_u68b227d3e6d07_i++; if (g_u68b227d3e6d07_i >= u68b227d3e6d07_images.length) g_u68b227d3e6d07_i = 0; } } last_u68b227d3e6d07_i = g_u68b227d3e6d07_i; g_u68b227d3e6d07_img.setAttribute("src",u68b227d3e6d07_images[g_u68b227d3e6d07_i]); setTimeout("u68b227d3e6d07_swap()",g_u68b227d3e6d07_delay); } if (u68b227d3e6d07_images.length > 1) { if (g_u68b227d3e6d07_random) { u68b227d3e6d07_swap() } else { setTimeout("u68b227d3e6d07_swap()",g_u68b227d3e6d07_delay); } }