jQuery tabs switch and anchor links
<p>I made two tabs and switchable one to another, 
on Tab1 I put 3 anchor links to Tab2 articles.
How can I click tab1's link, then tab2 opens and go to the anchor?
if someone could help me out. Thanks.</p>

<p><strong><a href="http://jsfiddle.net/jnWCg/" rel="nofollow">jsfiddle online Sample</a></strong> </p>

<p>HTML</p>

<pre><code>&lt;div class="wrap"&gt;
    &lt;a href="#tab1" class="active"&gt;Tab1&lt;/a&gt;
    &lt;a href="#tab2"&gt;Tab2&lt;/a&gt;
    &lt;div id="tab1"&gt;

        &lt;a href="#anchor_a" &gt;ANCHOR POINT A&lt;/a&gt;
        &lt;a href="#anchor_b"&gt;ANCHOR POINT B&lt;/a&gt;
        &lt;a href="#anchor_c"&gt;ANCHOR POINT C&lt;/a&gt;

    &lt;/div&gt;
    &lt;div id="tab2"&gt;
        &lt;div id="anchor_a"&gt;&lt;/div&gt;
                &lt;div id="anchor_b"&gt;&lt;/div&gt;
                &lt;div id="anchor_c"&gt;&lt;/div&gt;
        &lt;/div&gt;
 &lt;/div&gt;
</code></pre>

<p>JS</p>

<pre><code>$('.wrap &gt; div').eq(1).hide();
    $('.wrap &gt; a').click(function(){
        $(this).addClass('active').siblings().removeClass('active');
        $('.wrap &gt; div').hide().filter(this.hash).show();
    });
</code></pre>
