// JavaScript Document

		$(function() {
            // create the image rotator
            setInterval("rotateAlbum1()", 3000);
        });

        function rotateAlbum1() {
            var oCurPhoto = $('.album-rotate img.current');
            var oNxtPhoto = oCurPhoto.next();
            if (oNxtPhoto.length == 0)
                oNxtPhoto = $('.album-rotate img:first');

            oCurPhoto.removeClass('current').addClass('previous');
            oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 }, 1000,
                function() {
                    oCurPhoto.removeClass('previous');
                });
        }
