title: Javascript setTimeout ignoring time parameter
body: <p>It's not the first time I've used setTimeout(), but I can't figure out what the problem is. The code part of the setTimeout() is executing correctly, but it is executing immediately without the delay. If anyone can see the problem, that would help. Here's the code:</p>
  
  <pre><code>if(token==1){
      img1.src=ssImages[imgNum];
      num1=0;
      num2=10;
      setTimeout('crossFade()',2500);
  }
  </code></pre>