JavaScript IE issues
<p>I have the following site:
<a href="http://webofdreams.ro/vworker/finemaid/finemaid.html" rel="nofollow">http://webofdreams.ro/vworker/finemaid/finemaid.html</a></p>

<p>There are some java script(jquery 172) issues with it:
When loaded in IE9 it will go to the server folder instead of loading the index page.
in ie7+ when clicked the services tab and then again the overview tab it will do the same thing. 
It also seems to throw random errors every now and then.
Is there any incompatibility between jquery and IE7,8,9?
The code:</p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
    &lt;script type="text/javascript" src="js2/jquery-1.7.2.min.js"&gt;&lt;/script&gt;    
    &lt;script type="text/javascript" src="js2/custom3.js"&gt;&lt;/script&gt;
&lt;/head&gt;
       &lt;div class="main"&gt;
            &lt;div class="contentNav clearfix"&gt;
                &lt;ul class="secondaryNav"&gt;
                    &lt;li&gt;&lt;a id="activeLink" class="show1 navButton left" href=""&gt;Overview&lt;/a&gt;&lt;/li&gt;
                    &lt;li&gt;&lt;a class="show2 navButton"&gt;Services&lt;/a&gt;&lt;/li&gt;
                   &lt;/ul&gt;
            &lt;/div&gt;
            &lt;div class="primaryContent clearfix"&gt;                   
                &lt;div class="container clearfix"&gt;
                    &lt;div  class="container1"&gt; 
                        &lt;h1&gt;      
                            Fine Maid&lt;br /&gt;                    
                             Bay C1 - 3911 Brandon St. S.E.&lt;br /&gt;
                            Calgary, AB., T2G 4A7&lt;br /&gt;                                                
                            (403) 454-5526&lt;br /&gt;
                            For more information visit us at &lt;a href=" http://www.finemaid.com/contact.php" title="Finemaid homepage" class="mainLink"&gt;www.finemaid.com&lt;/a&gt;           
                        &lt;/h1&gt;                    
                        &lt;p class="clearfix"&gt;Fine Maid offers a fresh approach to the concept of Residential and Office Cleaning. Very openly, the company offers a variety of cleaning packages with fixed prices (which is something that many other major companies shy away from advertising on their websites). For custom cleaning projects or long-term janitorial cleaning contracts, Fine Maid will provide custom quotes upon consolations with prospective clients and visits to sites.&lt;/p&gt;
                        &lt;p&gt;Many household are paying increased attention these days to their cleaning products used. Fine Maid offers residential cleaning services using – at customer's discretion – their eco friendly, scent-free, hypo-allergenic, and environmentally responsible cleaning products.
Fine Maid website provides a wealth of information regarding Government issued recall alerts, other advisory and useful content. For more information&lt;a href="http://www.finemaid.com/useful_resources.php" target="_blank" title="More Info" class="mainLink"&gt; visit here.&lt;/a&gt;&lt;/p&gt;
                        &lt;p&gt;Booking your next cleaning appointment with Fine Maid can not be easier: for any of the fixed-priced residential / office cleaning packages, the website provides a step-by-step booking process (similar to an airline travel booking), allowing customers to book their preferred date and time for when the cleaning person or crew should arrive to their address to perform the cleaning tasks clearly stated in each package's description (which we recommend customers to read, for better understanding of what's included in a package and what not).&lt;/p&gt;
                        &lt;p&gt;Fine Maid has clear-stated policies, and the "what happens if" is explained in great detail, giving customers peace of mind. You can book your next cleaning appointment in confidence with Fine Maid in Calgary and area!&lt;/p&gt;         
                    &lt;/div&gt;
                    &lt;div class="container2"&gt;
                        &lt;ul class="services"&gt;
                            &lt;li&gt;cleaning services Calgary &lt;/li&gt;
                            &lt;li&gt;residential cleaning Calgary &lt;/li&gt;
                            &lt;li&gt;office cleaning Calgary  &lt;/li&gt;
                            &lt;li&gt;Calgary cleaning companies &lt;/li&gt;
                            &lt;li&gt;cleaning Calgary&lt;/li&gt;
                            &lt;li&gt;commercial cleaning Calgary&lt;/li&gt;
                            &lt;li&gt;home cleaning Calgary&lt;/li&gt;
                            &lt;li&gt;cleaning Calgary services&lt;/li&gt;
                            &lt;li&gt;residential cleaning&lt;/li&gt;
                            &lt;li&gt;Calgary cleaning services&lt;/li&gt;
                            &lt;li&gt;Maid service Calgary&lt;/li&gt;
                            &lt;li&gt;Calgary cleaning company&lt;/li&gt;
                            &lt;li&gt;quality cleaning services &lt;/li&gt;
                            &lt;li&gt;professional cleaning services Calgary&lt;/li&gt;
                        &lt;/ul&gt;
                        &lt;ul class="services"&gt;
                            &lt;li&gt;eco cleaning services&lt;/li&gt;
                            &lt;li&gt;house cleaning Calgary&lt;/li&gt;
                            &lt;li&gt;eco cleaning services Calgary&lt;/li&gt;
                            &lt;li&gt;condo cleaning Calgary&lt;/li&gt;
                            &lt;li&gt;scent-free cleaning products Calgary&lt;/li&gt;
                            &lt;li&gt;hypo-allergenic cleaning products Calgary&lt;/li&gt;
                            &lt;li&gt;environmentally responsible cleaning products Calgary&lt;/li&gt;
                            &lt;li&gt;Calgary cleaning&lt;/li&gt;
                            &lt;li&gt;Janitorial services Calgary&lt;/li&gt;
                            &lt;li&gt;Carpet cleaning Calgary&lt;/li&gt;
                            &lt;li&gt;quality cleaning services Calgary&lt;/li&gt;
                            &lt;li&gt;Maid Calgary&lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;/div&gt;
&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p><strong>custom3.js</strong></p>

<pre><code>//show hide the main div 1 and 2 content
$(document).ready(function() {
    $('.show1').click(function(){
        if ($('.container1').is(':visible')){
            return
        }
        else { $('.container1').show()
            $('.container2').hide(); 
            $('.show1').attr('id', 'activeLink');
            $('.show2').removeAttr('id', 'activeLink');
        }
    });

    $('.show2').click(function(){
        if ($('container2').is(':visible')){
            return
        }
        else { $('.container2').show();
            $('.container1').hide();
            $('.show2').attr('id', 'activeLink');
            $('.show1').removeAttr('id', 'activeLink');
        }
    });            
});
</code></pre>

<p>​
​</p>
