document.write=function(e){documentWrite(document.currentScript,e)};function documentWrite(documenturrentScript,e){var i=document.createElement("span");i.innerHTML=e;var o=i.querySelectorAll("script");if(o.length)o.forEach(function(t){if(t.src&&t.src!=""){var script=document.createElement("script");script.src=t.src;document.body.appendChild(script)}});document.body.appendChild(i)} window.onloadHack=function(func){if(!!!func||typeof func!=="function")return;if(document.readyState==="complete")func();else if(window.addEventListener)window.addEventListener("load",func,false);else if(window.attachEvent)window.attachEvent("onload",func,false)};