

function frn_openWin(theURL,winName,features,w,h) {
  if ( w != "" && w != undefined ) {
    breite = RegExp("(width=[0-9]+)");
    if (  features.search("width=") >= 0 ) { 
      features = features.replace(breite,"width="+w);
    } else {
      features = features + ",width=" + w + "";
    }
  }
  if ( h != "" && h != undefined ) {
    hoehe = RegExp("(height=[0-9]+)");
    if ( features.search("height=") >= 0 ) {
      features = features.replace(hoehe, "height=" + h);
    } else {
      features = features + ",height=" + h + "";
    }
  }
  Fenster = window.open(theURL,winName,features);
  Fenster.focus();
}

function openWin(theURL,winName,features) {
    Fenster = window.open(theURL,winName,features);
    Fenster.focus();
 }
function frn_hilfe() {
    frn_openWin('http://www.freenet.de/hilfe/','_hilfe',frn_hilfe);
 }
 function hilfe() {
    frn_openWin('http://www.freenet.de/hilfe/','_hilfe',frn_hilfe);
 }

function frn_best_helpPopUp(webapp,src)
{ 
helpUrl = "/"+webapp+"/pos2/popups/hilfe/"+src+"/index.html"; 
frn_openWin(helpUrl,'_hilfe',frn_best_help);
}
