[javascript] simple pop-up question

[FONT=Trebuchet MS]i’m using the following script to open a pop up window, but when i do, i need there to be a scrollbar and i’m not sure where to add that in the code.

thanks in advance!

my best,
david


 <html>
 <head>
 <script type="text/javascript">
 //<![CDATA[
 function popup(url,windowname,width,height) {
     width=(width)?width:screen.width/3;
     height=(height)?height:screen.height/3;
     var screenX = (screen.width/2 - width/2);
     var screenY = (screen.height/2 - height/2);
     var features= "width=" + width + ",height=" + height;
     features += ",screenX=" + screenX + ",left=" + screenX;
     features += ",screenY=" + screenY  +",top=" + screenY;
     var mywin=window.open(url, windowname, features);
     if (mywin) 
         mywin.focus();
     return mywin;
 }
 //]]>
 </script>
 </head>
 <body>

 Popup example:<br />

 <a href="http://www.google.com"  onclick="popup(this.href,'win1',400,300);return false">
     Google.com in centered sized window</a>

 </body>
 

[/FONT]