window.onload = function() { var el = document.getElementById('mathcaptcha'); var src= document.createElement('script'); src.setAttribute('src', '/scripts/mathcaptcha.js'); document.body.appendChild(src); var div = document.createElement('div'); div.style.border = '1px solid #cccccc'; div.style.cssFloat = 'right'; div.style.padding = 5+'px'; div.style.width = 290+'px'; div.style.height = 100+'px'; div.innerHTML = '
Please solve this small math problem to prove you are human.
5then subtract6with6Multiply'; el.parentNode.insertBefore(div, el.nextSibling); };