var g_u692be12bea535_img = document.getElementById("u692be12bea535_slideshowImg"); var g_u692be12bea535_i = 0; var last_u692be12bea535_i = 0; g_u692be12bea535_img.setAttribute("src",u692be12bea535_images[0]); function u692be12bea535_swap() { while (g_u692be12bea535_i == last_u692be12bea535_i) { if (g_u692be12bea535_random) g_u692be12bea535_i = Math.floor(Math.random() * (u692be12bea535_images.length-1)+.5); else { g_u692be12bea535_i++; if (g_u692be12bea535_i >= u692be12bea535_images.length) g_u692be12bea535_i = 0; } } last_u692be12bea535_i = g_u692be12bea535_i; g_u692be12bea535_img.setAttribute("src",u692be12bea535_images[g_u692be12bea535_i]); setTimeout("u692be12bea535_swap()",g_u692be12bea535_delay); } if (u692be12bea535_images.length > 1) { if (g_u692be12bea535_random) { u692be12bea535_swap() } else { setTimeout("u692be12bea535_swap()",g_u692be12bea535_delay); } }