title: pick random value from associated array using javascript?
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/4550505/javascript-getting-random-value-from-an-array">JavaScript: Getting random value from an array</a><br>
    <a href="https://stackoverflow.com/questions/4428013/how-can-i-choose-an-object-key-at-random">How can I choose an object key at random?</a>  </p>
  </blockquote>
  
  
  
  <p>suppose we have an array like this:</p>
  
  <pre><code>var MrArray = new Array(5);
  MrArray['one']='oneValue';
  MrArray['two']='twoValue';
  MrArray['three']='threeValue';
  MrArray['four']='fourValue';
  MrArray['five']='fiveValue';
  </code></pre>
  
  <p>ok?
  the Array is associated.
  and we have string key and string value.
  now! how can i pick a random value from that?
  <strong>Edit:i want to use like this:</strong></p>
  
  <pre><code>&lt;A href="Array value Here"&gt;Array Key Here&lt;/a&gt;
  </code></pre>
  
  <p>Regards
  Sam</p>