Dynamic Sidebar

I am newbie here, and I want to ask help regarding my issues. I am trying to create dynamic sidebar that will work same as with this site (http://www.taylor-dejongh.com/about/). there is left and right sidebar and when i change pages the right sidebar will automatically hide/show depends on the requirements of the rightsidebar. below is the sample code. hope somebody can assist me. Appreciated

<div id="content-wrap">
<div class="sidebar-left">

<!-- BELOW IS THE SCRIPTING FOR THE NAV/SUBNAV -->
<span class="ancestor"><a href="http://www.taylor-dejongh.com/about/">About</a> </span>
    <ul id="page-menu">
        <li class="page_item page-item-28 current_page_item">
          <a href="http://www.taylor-dejongh.com/about/representative-projects/">Representative Projects</a></li>
        <li class="page_item page-item-31"><a href="http://www.taylor-dejongh.com/about/clients/">Clients</a></li>
        <li class="page_item page-item-64"><a href="http://www.taylor-dejongh.com/about/banking-relationships/">Banking Relationships</a></li>
        <li class="page_item page-item-66"><a href="http://www.taylor-dejongh.com/about/rankings-awards/">Rankings &#038; Awards</a></li>
    </ul>
</div><!-- END SIDEBAR LEFT -->
<!-- BEGIN SIDEBAR RIGHT -->

<div id="content">
<h2 class="page-title">Representative Projects</h2>
<div class="post" id="post-28">
<?php
    if( have_posts() ):
    while( have_posts() ): the_post(); ?>
        <p><?php the_content(); ?></p>
    <?php endwhile;
        endif;
?>
</div></div>
</div><!-- END CONTENT WRAP -->
Sponsor our Newsletter | Privacy Policy | Terms of Service