jQuery - SyntaxError: Unexpected end of input
<p>I need help fixing my jQuery script. I'm not sure about the rules of jQuery. After this script runs, I need it to loop. </p>

<pre><code>    &lt;script&gt;

$(document).ready(function(){

        var $title = $('#banner-title span').replaceWith('Testimonials');
    var $title2 = $('#banner-title span').replaceWith('Rental Program');
    var $title3 = $('#banner-title span').replaceWith('Services');

        $title.fadeIn('fast',function() {
        $title.delay(7500).fadeOut('fast',function() {
        $title2.fadeIn('fast',function() {
        $title2.delay(7500).fadeOut('fast',function() {
        $title3..fadeIn('fast',function() {
        $title3.delay(7500).fadeOut('fast');

        }); 
    }

&lt;/script&gt;
</code></pre>
