var g_u697b4cc7a6fd4_img = document.getElementById("u697b4cc7a6fd4_slideshowImg"); var g_u697b4cc7a6fd4_i = 0; var last_u697b4cc7a6fd4_i = 0; g_u697b4cc7a6fd4_img.setAttribute("src",u697b4cc7a6fd4_images[0]); function u697b4cc7a6fd4_swap() { while (g_u697b4cc7a6fd4_i == last_u697b4cc7a6fd4_i) { if (g_u697b4cc7a6fd4_random) g_u697b4cc7a6fd4_i = Math.floor(Math.random() * (u697b4cc7a6fd4_images.length-1)+.5); else { g_u697b4cc7a6fd4_i++; if (g_u697b4cc7a6fd4_i >= u697b4cc7a6fd4_images.length) g_u697b4cc7a6fd4_i = 0; } } last_u697b4cc7a6fd4_i = g_u697b4cc7a6fd4_i; g_u697b4cc7a6fd4_img.setAttribute("src",u697b4cc7a6fd4_images[g_u697b4cc7a6fd4_i]); setTimeout("u697b4cc7a6fd4_swap()",g_u697b4cc7a6fd4_delay); } if (u697b4cc7a6fd4_images.length > 1) { if (g_u697b4cc7a6fd4_random) { u697b4cc7a6fd4_swap() } else { setTimeout("u697b4cc7a6fd4_swap()",g_u697b4cc7a6fd4_delay); } }