title: javascript popup size not increasing dynamically
body: <p>i have created a transparent popup with a text box.but the transparent window is of fixed size. i want to increase size of transparent popUp according to html page on which show popUp.</p>
  
  <p>i have used this script :
  <a href="http://www.pat-burt.com/csspopup.js" rel="nofollow">http://www.pat-burt.com/csspopup.js</a></p>
  
  <p>style used is:</p>
  
  <pre><code>#blanket {
      background-color:#111;
      opacity: 0.65;
      filter:alpha(opacity=65);
      position:absolute;
      z-index: 9001;
      top:0px;
      left:0px;
      width:100%;
  }
  #popUpDiv {
      position:absolute;
      background-color:#eeeeee;
      width:300px;        
      height:300px;
      z-index: 9002;
  }
  </code></pre>
  
  <p>i am using this script for onload() event</p>
  
  <p>please help and provide some advice or reference.</p>
  
  <p>Thanks to all</p>