    //set image paths
    src = ["images/slideshow1.jpg", "images/slideshow2.jpg", "images/slideshow3.jpg", "images/slideshow4.jpg", "images/slideshow5.jpg"]


    //set corresponding urls
    //url = ["http://freewarejava.com", "http://javascriptkit.com", "http://dynamicdrive.com", "http://www.geocities.com"]

    //set duration for each image
    duration = 4;

    //Please do not edit below
    ads = []; ct = 0;
    function switchAd() {
        var n = (ct + 1) % src.length;
        if (ads[n] && (ads[n].complete || ads[n].complete == null)) {
            document["Ad_Image"].src = ads[ct = n].src;
        }
        ads[n = (ct + 1) % src.length] = new Image;
        ads[n].src = src[n];
        setTimeout("switchAd()", duration * 1000);
    }
    //function doLink() {
        //location.href = url[ct]; } 
    onload = function () {
        if (document.images)
            switchAd();
    }
