User:Imeriki al-Shimoni/vector.js

function addLoadEvent(func){ var oldonload = window.onload; if (typeof window.onload != 'function') {window.onload = func;} else {window.onload = function {if (oldonload) {oldonload;}func;}} } function loaded{if(document.activeElement.nodeName!='INPUT')document.getElementById('content').focus;} addLoadEvent(loaded);