// (C) 2000 www.CodeLifter.com // http://www.codelifter.com // Free for all users, but leave in this header // NS4-6,IE4-6 // Fade effect only in IE; degrades gracefully // ======================================= // set the following variables // ======================================= // Set slideShowSpeed (milliseconds) var slideShowSpeed = 6000 // Specify the image files // to add more images, just continue // the pattern, adding to the array below // ======================================= // do not edit anything below this line // ======================================= var t var j = 1 var tss; var counter = 1; var last_counter = 1; var preLoad = new Array() function clear(count) { for (i = 0; i < count; i++) { var headerimage = document.getElementById('header_images'+i) if (headerimage) { headerimage.style.visibility="hidden"; } } } function run_slide_show(count) { if (count>0){ clear(count); var headerimage = document.getElementById('header_images'+j); if (headerimage) { headerimage.style.visibility="visible"; } j = j + 1; if (j > (count-1)) j=0 t = setTimeout('run_slide_show('+count+')', slideShowSpeed) } } function init_slide_show(count) { run_slide_show(count); } function item_redirect(item) { item_array = item.split('~'); if(item_array[1] == 0) { window.open(item_array[0]); } else if((item_array[1] == 1) || (item_array[1] == 2)) { window.location.href=item_array[0]; } } function rotateimages(){ var picture = "picture" + counter; var last_picture = "picture" + last_counter; eval("document.images." + last_picture + ".style").display = "none"; last_counter = counter; eval("document.images." + picture + ".style").display = "block"; counter++; if (counter > total) counter = 1; tss = setTimeout("rotateimages()", slideShowSpeed); }