
:javascript
  <!--
  function autoResize(id){
      var newheight;
      var newwidth;

      if(document.getElementById){
          newheight=document.getElementById(id).contentWindow.document .body.scrollHeight;
          
      }

      document.getElementById(id).height= (newheight) + "px";
      alert("test");
      
  }
  //-->



%iframe{:src =>"http://astore.amazon.fr/vieminima-21" , :width => "800px",:style => "", :height => 4000, :frameborder => 0, :scrolling => "no", :id => "ifram-shop", :onLoad => "autoResize('ifram-shop');"}

