title: Replace &amp; to &
body: <p>Due to some Javascript actions to vars I got <code>&amp;amp;</code> instead of <code>&amp;</code> in my var:
  So I tried this:</p>
  
  <pre><code>  url_summer = 'http://192.168.0.20/menulb.php?w=chapter&amp;if=If_menulb&amp;p=' + page ;
    url_summer = url_summer.replace(/&amp;amp;/g, '&amp;');
    alert(url_summer) ;
  </code></pre>
  
  <p>And the alert gives me:</p>
  
  <pre><code>http://192.168.0.20/menulb.php?w=chapter&amp;amp;if=If_menulb&amp;amp;p=521
  </code></pre>
  
  <p>This is strange, the function replace doesn't want to change <code>&amp;amp;</code> to <code>&amp;</code>. 
  If I do the same to change <code>&amp;amp;</code> to <code>+</code> it works!</p>
  
  <pre><code>url_summer = url_summer.replace(/&amp;amp;/g, '+');
  </code></pre>
  
  <p>How cant I change <code>&amp;amp;</code> to <code>&amp;</code> ?</p>