$(document).ready(function(){$(".tocitem").click(function(){location.href=$("a:first",this).attr("href")});$(".tocpreview").click(function(){var D=$(this).attr("id");var C="#"+D.substr(1,D.length)+" > a";location.href=$(C).attr("href")});$(".tocitem, .tocitem_last, .tocpreview").mouseover(function(){$(this).css("cursor","pointer")});$(".tocitem, .tocitem_last").hover(function(){A($(this).attr("id"),true);B("p"+$(this).attr("id"),true)},function(){A($(this).attr("id"),false);B("p"+$(this).attr("id"),false)});$(".tocpreview").hover(function(){var D=$(this).attr("id");var C=D.substr(1);A(C,true);B(D,true)},function(){var D=$(this).attr("id");var C=D.substr(1);A(C,false);B(D,false)});function B(E,D){var C=$("#"+E+" > .tochint");if(D){C.show("fast")}else{C.hide("fast")}}function A(E,D){var C=$("#"+E+" > .row");if(D){C.animate({paddingLeft:"8px"},200)}else{C.animate({paddingLeft:"0px"},200)}C.parent().css("background-color",((D)?"#eee":"transparent"))}});