constructing js function name dynamically
<p>I want to call a function this way </p>

<pre><code>redBall(this);
</code></pre>

<p>but I want to dynamically construct from a string. I tried something like this but it's not working.</p>

<pre><code>var color = 'red';
color+'Ball'(this);
</code></pre>
