
            var theIndex = 1;
            var theImage = 1;

            theImages = new Array('images/top01.jpg', 'images/top02.jpg', 'images/top03.jpg', 'images/top04.jpg');

            function slideShow() {

                if (theIndex == theImages.length) {
                    // reset after last image
                    theIndex = 0;
                }

                if (theImage == 1) {
                    $("#img2").attr('src', theImages[theIndex]);
                    $("#img1").fadeOut(400);
                    $("#img2").fadeIn(400);
                    theImage = 2;
                }
                else {
                    $("#img1").attr('src', theImages[theIndex]);
                    $("#img2").fadeOut(400);
                    $("#img1").fadeIn(400);
                    theImage = 1;
               }

                theIndex++;

            }

