“too much recursion” in onload event
<p>I am trying to include a form from one page on one domain to another page on another domain. Here is my code which I put after my block form. </p>

<pre><code>function IncludeSrc(src) {
  var s= document.createElement("script");
  s.src = src;
  s.async = true;
  document.getElementsByTagName("head")[0].appendChild(s);
 }
 var onLoadFunc = window.onload;
 window.onload=function(){
   if (typeof(onLoadFunc)=='function') onLoadFunc();
   IncludeSrc('MYADRESS');
 };
</code></pre>

<p>There is no error in any browser but the form does not load. In Firefox console I found the error <code>too much recursion</code>. The address of the script is valid, I checked it. What am I doing wrong?</p>
