JQuery: Code is malfunctioning
<p>I'm trying to reuse parts of some JQuery code I've used before for another website, but for some reason, this use of it is causing the whole page to be blank. When I comment the JQuery code out, it displays as intended. The code is below (this is inside my <code>&lt;head&gt;</code> element):</p>

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

&lt;!-- Jquery Stuff --&gt;

&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt;

&lt;!-- &lt;script src="js/jquery-1.3.2.min.js"&gt;&lt;/script&gt; --&gt; &lt;!--For when DNS is down! :D --&gt;

&lt;script type="text/javascript"&gt;

jQuery.noConflict();

(function($) {
$(function() {



/* hacky nav highlighting */
var loc = window.location.href;
//strip the existing current state
$('#nav .current').removeClass('current');

//add class to current section...
//About
if(loc.indexOf('about.html') &gt; -1){
       $('#nav #about').addClass('current');
}
//Pictars
else if(loc.indexOf('pictures') &gt; -1){
       $('#nav #pictures').addClass('current');
}
//Forums
else if(loc.indexOf('forums') &gt; -1){
       $('#nav #forums').addClass('forums');
}
//Archives
else if (loc.indexOf('archives') &gt; -1) {
    $('#nav #archives').addClass('current');
}
//Submit Content
else if (loc.indexOf('submit') &gt; -1) {
    $('#nav #submit').addClass('current');
}
//Feedback
else if (loc.indexOf('feedback') &gt; -1) {
    $('#nav #feedback').addClass('current');
}
);

});
})(jQuery);

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

<p>What do you think is happening? Are there any glaring errors in my code? I'm quite new to JQuery, so I'm very confused. Thanks!</p>
