jquery dynatree array function
<p>I have an array of functions and also I am using a dynatree plugin inside it.</p>

<p>Example:</p>

<pre><code>fn1: function(){ 
   .....
}),
fn2: function(){ 
   .....
}),
fn3: { param1: xValue, param2: yValue }
</code></pre>

<p>Now I would like to add a function in fn3 like,</p>

<pre><code>fn3: fn3a

//In fn3a
function fn3a(){
    //Based on condition add values.
    if...
        param1: xValue, param2: yValue
    else...
       param1: xValue, param2: zValue
}
</code></pre>

<p>How can I define those params in {...} in function.</p>

<p>Please suggest. 
Thanks in advance.</p>
