function removeOldMoveEditsection() {
for ( var i= 0, l= onloadFuncts.length; i < l; ++i )
if ( onloadFuncts == moveEditsection )
onloadFuncts.splice( i, 1 );
}
removeOldMoveEditsection();
function moveEditsection2()
{
if ( ! this.oldEditsectionLinks )
{
var spans= document.getElementsByTagName( "span" );
for ( var i= 0; i < spans.length; )
{
var item= spans.item( i );
if ( item.className == "editsection" )
{
var parent= item.parentNode;
if ( pickUpText( spans.item( ++i ) ) == "Weblinks" ) {
parent.removeChild( item );
continue;
}
var style= item.style;
style.fontSize= "x-small";
style.fontWeight= "normal";
style.cssFloat= "none";
style.marginLeft= "0px";
parent.appendChild( document.createTextNode( " " ) );
parent.appendChild( item );
}
++i;
}
}
}
addOnloadHook( moveEditsection2 );