$(document).ready(function()
{
	$("#toc ol>li>a").unwrap();

        //$("#toc ol>li>a").each(function()
	//{
		//$(this).removeAttr("href").css({ color: "#000000", cursor: "default" }).wrap("<b class=\"top-level\"></b>");
	//});

        $(".right_nav ol>li>a").unwrap();

        //$(".right_nav ol>li>a").each(function()
	//{
		//$(this).removeAttr("href").css({ color: "#000000", cursor: "default" }).wrap("<b class=\"top-level\"></b>");
	//});
});

jQuery.fn.unwrap = function () {
   return this.each( function(){
      $(this.childNodes).insertBefore("this");
   });
};
