Javascript Syntax Error
<p>hiere is my code, within a loop.
I want to solve my closure problem.
But on click I receive an error message "Syntac Error".
Any help. Thanks in advance.</p>

<pre><code>var html  = '&lt;div style="margin-top:10px"&gt;';
    html += '&lt;div class="weiter"&gt;  Kartenauswahl in die Recherche &amp;uuml;bernehmen &lt;/div&gt;';
    html += '&lt;div class="weiter" style="display:block;clear:left;margin-top:7px" 
              onclick="function(obj) { return getChildObject(obj)}(obj)"&gt;Weiter&lt;/div&gt;';
    html += '&lt;/div&gt;';
</code></pre>
