var g_u6732973ec4f64_img = document.getElementById("u6732973ec4f64_slideshowImg"); var g_u6732973ec4f64_i = 0; var last_u6732973ec4f64_i = 0; g_u6732973ec4f64_img.setAttribute("src",u6732973ec4f64_images[0]); function u6732973ec4f64_swap() { while (g_u6732973ec4f64_i == last_u6732973ec4f64_i) { if (g_u6732973ec4f64_random) g_u6732973ec4f64_i = Math.floor(Math.random() * (u6732973ec4f64_images.length-1)+.5); else { g_u6732973ec4f64_i++; if (g_u6732973ec4f64_i >= u6732973ec4f64_images.length) g_u6732973ec4f64_i = 0; } } last_u6732973ec4f64_i = g_u6732973ec4f64_i; g_u6732973ec4f64_img.setAttribute("src",u6732973ec4f64_images[g_u6732973ec4f64_i]); setTimeout("u6732973ec4f64_swap()",g_u6732973ec4f64_delay); } if (u6732973ec4f64_images.length > 1) { if (g_u6732973ec4f64_random) { u6732973ec4f64_swap() } else { setTimeout("u6732973ec4f64_swap()",g_u6732973ec4f64_delay); } }