// JavaScript Document
        $(function() {
            // create the image rotator
            setInterval("rotateImages()", 4000);
        });

        function rotateImages() {
            var CurrentPhoto = $('#photoShow div.current');
            var NextPhoto = CurrentPhoto.next();
            if (NextPhoto.length == 0)
                NextPhoto = $('#photoShow div:first');

            CurrentPhoto.removeClass('current').addClass('previous');
            NextPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 }, 4000,
                function() {
                    CurrentPhoto.removeClass('previous');
                });
        }
