function stuckUp(url, name, w, h) {
  var winl = Math.round ((screen.width - w) / 2); //the Math.round bit fixes a Safari centering bug
  var wint = Math.round ((screen.height - h) / 2); //the Math.round bit fixes a Safari centering bug
  winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',location=no,menubar=no,status=no,scrollbars=no';
  win = window.open(url, name, winprops);
  if (window.focus) { win.window.focus(); }
}