var $j = jQuery.noConflict();
$j(function() {
        setInterval("rotateImages()", 5000);
		
    });
			
    function rotateImages() {
        var oCurPhoto = $j("#photoShow div.current");
        var oNxtPhoto = oCurPhoto.next();
        if (oNxtPhoto.length == 0)
            oNxtPhoto = $j("#photoShow div:first");

        oCurPhoto.removeClass('current').addClass('previous');
        oNxtPhoto.css({ opacity: 0.0 }).addClass('current').animate({ opacity: 1.0 }, 3000,
            function() {
                oCurPhoto.removeClass('previous');
            });
    }