function openNewWindow(w, h, url, name) {
   // may want to include a feature here where if the width or height are too big,
   // it sizes the popup window down so it doesn't go off user's screen.
   var features = 'width='+w+',height='+h+',scrollbars=yes,resizeable=yes,dependent=no,menubar=no';
   window.open(url, name, features);
}

