var g_u692bf51d6dadc_img = document.getElementById("u692bf51d6dadc_slideshowImg"); var g_u692bf51d6dadc_i = 0; var last_u692bf51d6dadc_i = 0; g_u692bf51d6dadc_img.setAttribute("src",u692bf51d6dadc_images[0]); function u692bf51d6dadc_swap() { while (g_u692bf51d6dadc_i == last_u692bf51d6dadc_i) { if (g_u692bf51d6dadc_random) g_u692bf51d6dadc_i = Math.floor(Math.random() * (u692bf51d6dadc_images.length-1)+.5); else { g_u692bf51d6dadc_i++; if (g_u692bf51d6dadc_i >= u692bf51d6dadc_images.length) g_u692bf51d6dadc_i = 0; } } last_u692bf51d6dadc_i = g_u692bf51d6dadc_i; g_u692bf51d6dadc_img.setAttribute("src",u692bf51d6dadc_images[g_u692bf51d6dadc_i]); setTimeout("u692bf51d6dadc_swap()",g_u692bf51d6dadc_delay); } if (u692bf51d6dadc_images.length > 1) { if (g_u692bf51d6dadc_random) { u692bf51d6dadc_swap() } else { setTimeout("u692bf51d6dadc_swap()",g_u692bf51d6dadc_delay); } }