onClick - Hide/Display Div
<p>In this i want a function that when the user click on "<strong>Button 01</strong>" it should make visible the DIVid "<strong>01</strong>". After this when click on some other button, it should it hide the previous  <em>DIVid</em> and make visible the relevant <em>DIVid</em>.</p>

<p>I have created a <a href="http://jsfiddle.net/aki_shaitan/ruDek/" rel="nofollow">fiddle</a>.</p>

<pre><code>function Visibility() {
    var har_element = document.getElementById('C');
    var meth_element = document.getElementById('D');
    var main_element = document.getElementById('E');

    var vis = har_element.style;    

    if(vis.display == 'block') {vis.display = 'block';
        meth_element.style.display='block';
        main_element.style.display='block';
    } else {
        vis.display = 'block';
        meth_element.style.display='block';
        main_element.style.display='block';
    }
}
</code></pre>
