1 var ak_js = document.getElementById( "ak_js" );
4 ak_js = document.createElement( 'input' );
5 ak_js.setAttribute( 'id', 'ak_js' );
6 ak_js.setAttribute( 'name', 'ak_js' );
7 ak_js.setAttribute( 'type', 'hidden' );
10 ak_js.parentNode.removeChild( ak_js );
13 ak_js.setAttribute( 'value', ( new Date() ).getTime() );
15 var commentForm = document.getElementById( 'commentform' );
18 commentForm.appendChild( ak_js );
21 var replyRowContainer = document.getElementById( 'replyrow' );
23 if ( replyRowContainer ) {
24 var children = replyRowContainer.getElementsByTagName( 'td' );
26 if ( children.length > 0 ) {
27 children[0].appendChild( ak_js );