Bringing content from other pages without refreshing the entire page
You seem to have some copy pasted code there.

How about

function enableLinks( selector , path , container )
{
  /* Allow ajax to work */
  $( selector ).click( function()
  {
    var page = this.hash.substr(1);
    $.get( path + page + ".php", function( html ) 
    {
      $( container ).html( html );
    });    
  });
  /* Allow bookmarks to work */
  if ( location.hash )
    $("a[href="+location.hash+"]").click();
  else
    $(selector).click();
}

$(function()
{
  enableLinks( "#nav-tabs-list a" , "content/" , "#content-container" );
  enableLinks( "#sidebar-container #sidebar-tabs-container a" , 
               "content/sidebar-content/" ,
               "#sidebar-content-container" );
});


The things you do with location.hash are a bit of a mystery to me.