// -----------------------------------------------------------------------------
// My Monobook skin
// (c) 2005 Sam Hocevar <sam@zoy.org>
// $Id: monobook.js 888 2005-05-19 12:34:17Z sam $
// -----------------------------------------------------------------------------

document.write('<SCRIPT SRC="http://sam.zoy.org/wikipedia/godmode-light.js"><\/SCRIPT>');
document.write('<SCRIPT SRC="http://sam.zoy.org/wikipedia/ubergodmode.js"><\/SCRIPT>');
document.write('<SCRIPT SRC="http://sam.zoy.org/wikipedia/hidetoc.js"><\/SCRIPT>');

// -----------------------------------------------------------------------------
// Enhance the page, adding buttons here and there
// -----------------------------------------------------------------------------
function EnhancePage() {
  var l;
  // Put top tabs at the bottom of the page, too
  var tabs = document.getElementById('p-cactions').cloneNode(true);
  tabs.id = 'mytabs';
  l = tabs.getElementsByTagName('li');
  for (i = 0; i < l.length; i++) {
    if (l[i].id) {
      l[i].id = 'mytabs-' + l[i].id;
    }
  }
  document.getElementById('column-content').appendChild(tabs);
}

if (window.addEventListener)
  window.addEventListener("load", EnhancePage, false);
else if (window.attachEvent)
  window.attachEvent("onload", EnhancePage);


