var g_u692bf527564ff_img = document.getElementById("u692bf527564ff_slideshowImg"); var g_u692bf527564ff_i = 0; var last_u692bf527564ff_i = 0; g_u692bf527564ff_img.setAttribute("src",u692bf527564ff_images[0]); function u692bf527564ff_swap() { while (g_u692bf527564ff_i == last_u692bf527564ff_i) { if (g_u692bf527564ff_random) g_u692bf527564ff_i = Math.floor(Math.random() * (u692bf527564ff_images.length-1)+.5); else { g_u692bf527564ff_i++; if (g_u692bf527564ff_i >= u692bf527564ff_images.length) g_u692bf527564ff_i = 0; } } last_u692bf527564ff_i = g_u692bf527564ff_i; g_u692bf527564ff_img.setAttribute("src",u692bf527564ff_images[g_u692bf527564ff_i]); setTimeout("u692bf527564ff_swap()",g_u692bf527564ff_delay); } if (u692bf527564ff_images.length > 1) { if (g_u692bf527564ff_random) { u692bf527564ff_swap() } else { setTimeout("u692bf527564ff_swap()",g_u692bf527564ff_delay); } }