title: Javascript Random problem?
body: <pre><code>var swf=["1.swf","2.swf","3.swf"];
  var i = Math.floor(Math.random()*swf.length);
  
  alert(swf[i]); // swf[1]  &gt;&gt; 2.swf
  </code></pre>
  
  <p>This case ,Random output <code>One</code> number.</p>
  
  <p>How to Random output <code>two different numbers</code> ?</p>