User:JohannesWärn/myskin.js

function swapSibling(node1, node2) { node1.parentNode.replaceChild(node1, node2); node1.parentNode.insertBefore(node2, node1); } window.onload = function { swapSibling(document.getElementById("p-personal"), document.getElementById("p-search")); swapSibling(document.getElementById("p-cactions"), document.getElementById("p-search")); swapSibling(document.getElementById("p-navigation"), document.getElementById("p-search")); }