title: change iframe url with javascript . firefox issue
body: <p>I have a main page that loads a default link in an iframe  <code>http://mypage.com/myurl</code>. Having it in a blog, I want to dynamically change that default link inside the iframe, for every post page.  I load the default link like that: </p>
  
  <pre><code>&lt;iframe width='1000' height='500' name='iframename' frameborder='0'
          src='http:/mypage.com/myurl'&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>(works on all browsers) and i change dynamically the link inside the iframe by putting this code in every post page: </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      document.iframename.location = "http://mypage.com/mynewurl"; 
  &lt;/script&gt;
  </code></pre>
  
  <p>It works fine on chrome and ie, but it does not work on firefox!!  </p>
  
  <p>Any ideas or work around?  </p>
  
  <p>Here a simplified example <a href="http://www.tinyurl.com/9l7zt2n" rel="nofollow">www.tinyurl.com/9l7zt2n</a>  see the difference with firefox it loads the default link in the iframe. ie and chrome can change with the added javascript. </p>
  
  <p>If it helps to test it on the blog  <a href="http://www.tinyurl.com/9axhquh" rel="nofollow">www.tinyurl.com/9axhquh</a>  u can see it working on chrome and ie, if u click on any post title or "read more" to load the post's page, the iframe on top changes accordingly</p>
  
  <p>Any ideas or work around? </p>