/**
 * Macromedia-generated function to power the jump menu
 */
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
/**
 * Opens a new popup window.
 * @param theURL
 * @param winName
 * @param features
 * @param w
 * @param h
 */
function openWindow(theURL,winName,features, w, h) {
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+w+',height='+h);
}
/**
 * Opens a new popup window that is centered on the screen
 * @param theURL
 * @param winName
 * @param features
 * @param w
 * @param h
 * @return nothing
 */
function openCenteredWindow(theURL,winName,features, w, h) {
  if(window.screen){
    var l = (screen.width-w)/2;
    var t = (screen.height-h)/2;
    features+=(features!='')?',':'';
    features+=',left='+l+',top='+t;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+w+',height='+h);
}
