var g_u67ef31fdd7485_img = document.getElementById("u67ef31fdd7485_slideshowImg"); var g_u67ef31fdd7485_i = 0; var last_u67ef31fdd7485_i = 0; g_u67ef31fdd7485_img.setAttribute("src",u67ef31fdd7485_images[0]); function u67ef31fdd7485_swap() { while (g_u67ef31fdd7485_i == last_u67ef31fdd7485_i) { if (g_u67ef31fdd7485_random) g_u67ef31fdd7485_i = Math.floor(Math.random() * (u67ef31fdd7485_images.length-1)+.5); else { g_u67ef31fdd7485_i++; if (g_u67ef31fdd7485_i >= u67ef31fdd7485_images.length) g_u67ef31fdd7485_i = 0; } } last_u67ef31fdd7485_i = g_u67ef31fdd7485_i; g_u67ef31fdd7485_img.setAttribute("src",u67ef31fdd7485_images[g_u67ef31fdd7485_i]); setTimeout("u67ef31fdd7485_swap()",g_u67ef31fdd7485_delay); } if (u67ef31fdd7485_images.length > 1) { if (g_u67ef31fdd7485_random) { u67ef31fdd7485_swap() } else { setTimeout("u67ef31fdd7485_swap()",g_u67ef31fdd7485_delay); } }