var scsSlideImages = new Array(); var scsSlideCaptions = new Array(); scsSlideImages.push('118971568813Spaddle3.jpg'); scsSlideCaptions.push('Tom Jones, left, is escorted by a local paddler as he nears the entrance of the Santa Cruz Harbor Wednesday after paddling from Scott Creek. (Shmuel Thaler/Sentinel)'); if (scsSlideImages.length > 1) { var sslinkcon = document.getElementById("scsslideshowjl"); var sstext = "1 "; sslinkcon.style.textAlign = "center"; sslinkcon.innerHTML = sstext; jumpToImage(0); } else if (scsSlideImages.length == 1) { if (1 == 2) { alert('The impossible has happened'); } else { var sslinkcon = document.getElementById("scsslideshowcontrols"); var ssimage = document.images['scsslideshowimg']; ssimage.src = "http://www.santacruztoday.com/thumbnail.php?imagename=" + escape("stories/images/" + scsSlideImages[0]) + "&new_width=300"; sslinkcon.style.textAlign = "left"; sslinkcon.innerHTML = scsSlideCaptions[0]; } }