// Java Document

function wopen(url, name, w, h)
{
// Fudge factors for window decoration space.
 // In my tests these work well on all platforms & browsers.
 var left = (screen.width/2)-(w/2);
var top = (screen.height/2)-(h/2);


 var win = window.open(url,
  name, 
  'width=' + w + ', height=' + h + ', ' +
  'location=no, menubar=no, ' +
  'status=no, toolbar=no, scrollbars=yes, resizable=no, top=100, left=300');
 win.resizeTo(w, h);
 win.focus();
 
}
// -->
