Display nav bar on multiple pages
<p>I have a script that I put together from another post but I need the script to allow more URLs...</p>

<p>Basically, I have a "SUB MENU" that I only want to SHOW when the PARENT or PARENT SUBPAGES are active...the code I have working for a single page is:</p>

<pre><code>var myurl = "http://localhost/wordpress/?page_id=36"; 
var currenturl = window.location; 
if(myurl != currenturl) { 
    $(document).ready(function() {
    $('#main_nav ul.sub-menu').css({display: "none"}); 
    });
}
</code></pre>

<p>...I tried using the code again with different var names for the additional URLs but no luck...and I can't seem to find how to create a URL array...or if I can even do this at all.</p>

<p>I only need this to work for 4-5 URLs...any help would be greatly appreciated...THANKS in advance!</p>
