function toggleBookmark(contentId, source)
{
  var updater = new $j.ajax({
    url:  'bookmarks.php',
    type: 'POST',
    data: ({
      action : 'toggle',
      method : 'ajax',
      source : source,
      contentId : contentId
    }),
    dataType: 'html',
    astnc:  false,
    success:  function(msg) {
      if (source == 'bookmarks' && msg == 'removed')
      {
        $j('#bookmarkRow' + contentId).fadeOut('slow');
      }
      else
      {
        $j('#bookmarkLink' + contentId).html(msg);
      }
    }
  });
  
  return false;
}

