Код:
<script language="JavaScript1.2"> <!-- var ns6=document.getElementById&&!document.all?1:0 var head="display:''" var folder='' function expandit(curobj){ folder=ns6?curobj.nextSibling.nextSibling.style:document.all[curobj.sourceIndex+1].style if (folder.display=="none") folder.display="" else folder.display="none" } //--> </script> <script type="text/javascript"> var arr=document.getElementsByTagName("dl") i=0 str=document.URL while(arr[i] ){ if(arr[i].className=="post-sig"){ name=arr[i].innerHTML name=name.substring(43) arr[i].innerHTML="<dt><span>Подпись автора</span></dt><dd><p><span style='cursor:hand' onClick='expandit(this)'>Показать подпись</span><span style='display:none' style=&{head};><br>"+name+"</span></p></dd>" } i++ } </script>