Javascript function help
<p>Can someone please look at this javascript function and tell me tell me what I am doing wrong? I want to pass in 4 variables. I know very little javascript.</p>

<p>Thanks.</p>

<pre><code>  function chg(back,front,left,right)
  {
      return test("div#post", "#" + "back", "#" + "front", left, right);
  }
</code></pre>

<p><hr /></p>

<p>Here is the onload file</p>

<pre><code>window.onload = function() {
  function chg(back,front,left,right)
  {
      return test("div#post", "#" + "back", "#" + "front", "left", "right");
  }
}
</code></pre>
