 $().ready(function()
 {
 $("ul#bookmarks li a").click(function()
 {
 $("ul#bookmarks .active").removeClass("active");
 $(this).parent().addClass("active");

 var element_index = $("#bookmarks a").index(this);

 $("#content .xxx:visible").hide();
 $("#content .xxx").eq(element_index).show();

 return false;
 });
 });
