var g_u69c282f19c232_img = document.getElementById("u69c282f19c232_slideshowImg"); var g_u69c282f19c232_i = 0; var last_u69c282f19c232_i = 0; g_u69c282f19c232_img.setAttribute("src",u69c282f19c232_images[0]); function u69c282f19c232_swap() { while (g_u69c282f19c232_i == last_u69c282f19c232_i) { if (g_u69c282f19c232_random) g_u69c282f19c232_i = Math.floor(Math.random() * (u69c282f19c232_images.length-1)+.5); else { g_u69c282f19c232_i++; if (g_u69c282f19c232_i >= u69c282f19c232_images.length) g_u69c282f19c232_i = 0; } } last_u69c282f19c232_i = g_u69c282f19c232_i; g_u69c282f19c232_img.setAttribute("src",u69c282f19c232_images[g_u69c282f19c232_i]); setTimeout("u69c282f19c232_swap()",g_u69c282f19c232_delay); } if (u69c282f19c232_images.length > 1) { if (g_u69c282f19c232_random) { u69c282f19c232_swap() } else { setTimeout("u69c282f19c232_swap()",g_u69c282f19c232_delay); } }