// Make Popup Windows
function popup(url, w, h, windowName, r, st, s, l, m, t) {
  // Close Prev Pops
  try {
    win.close();
  } catch(e) {    
  }
  // Fudge Height
  // h += 15;
  // Set Too Center
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  // Call popup
  win = window.open(url, windowName, 'height=' +h+ ', width=' +w+ ', resizable=' +r+ ', status=' +st+ ', scrollbars=' +s+ ', location=' +l+ ', menubar=' +m+  ', toolbar= ' +t+ ', left='+winl+', top='+wint);
  // Focus
  win.focus();    
}