var g_u68b24d4346053_img = document.getElementById("u68b24d4346053_slideshowImg"); var g_u68b24d4346053_i = 0; var last_u68b24d4346053_i = 0; g_u68b24d4346053_img.setAttribute("src",u68b24d4346053_images[0]); function u68b24d4346053_swap() { while (g_u68b24d4346053_i == last_u68b24d4346053_i) { if (g_u68b24d4346053_random) g_u68b24d4346053_i = Math.floor(Math.random() * (u68b24d4346053_images.length-1)+.5); else { g_u68b24d4346053_i++; if (g_u68b24d4346053_i >= u68b24d4346053_images.length) g_u68b24d4346053_i = 0; } } last_u68b24d4346053_i = g_u68b24d4346053_i; g_u68b24d4346053_img.setAttribute("src",u68b24d4346053_images[g_u68b24d4346053_i]); setTimeout("u68b24d4346053_swap()",g_u68b24d4346053_delay); } if (u68b24d4346053_images.length > 1) { if (g_u68b24d4346053_random) { u68b24d4346053_swap() } else { setTimeout("u68b24d4346053_swap()",g_u68b24d4346053_delay); } }