Window resizing issue
<p>I have an application that open's some dynamic popup either using <code>window.open()</code> or using <code>window.showModalDialog()</code> the content of jsp's being popped up varies and is dynamic in nature, can i adjust the page size on addition of new fields dynamically?</p>

<p>this toggle Message is called on change of a radio button</p>

<p><code>    toggleMessage(element){
 var versionNoCreated; 
if(element.value == 'yes') 
{
 window.dialogWidth='20px'; 
//window.resizeTo(20,20); 
}
 else 
{
 window.dialogWidth='200px'; 
//window.resizeTo(200,200);
 }
} </code></p>
