// On page load, fill the box with content.
$(document).ready(function() {
    $("#quoteContainer").load("php/randomquote.php");
});


$(document).ready(function() {

// On click of the Next button...
    $("#updateQuote").click(function(){ 

// Use the Slide Up animation to close the #wrapper div...
        $("div#bragbox").slideUp(function() 

// Then load INTO the quoteContainer div the output of randomquote.php
            {$("#quoteContainer").load("wp-content/themes/whiteboard/scripts/randomquote.php");});

// And after that, execute the Slide Down animation
        $("div#bragbox").slideDown();
    });
});
