$(document).ready(function() {

    $("#quote p").hide();                      
    var txt2 = $("#quote p:first");
    quote(txt2);    

});

function quote(txt2) {

    if (!txt2.length) {
        txt2 = $("#quote p:first");
    }
        txt2.fadeIn("slow",function() {
            txt2.oneTime(3000,function () {
                txt2.fadeOut("slow",function() {
                    quote(txt2);
                });
                txt2 = txt2.next("p");
            });
        });

}
