// allgemeiner fassen!
function wopen(doc, name) {
var w=null;
  if (is.ie||is.ns6) {
    w=window.open(doc, name, "menubar=no,locationbar=no,top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+"");
    w.resizeTo(screen.availWidth,screen.availHeight);
    w.moveTo(0,0);
  }
  else {
    if (is.ns4) {
      var w=window.open(doc, name, "menubar=no,locationbar=no");
    }
  }
  return w;
}
function fenster(winObj, doc, name) {
  if (is.ie||is.ns) {
    if (!winObj||winObj.closed) winObj=wopen(doc, name);
    winObj.focus();
    return winObj;
  }
  else return null
}

// Objekt zur Speicherung der Fenstereigenschaten
function fenEig() {
  this.doc="";
  this.name="";
  this.x=0;
  this.y=0;
  this.w=200;
  this.h=150;
  this.menu="yes";
  this.loc="yes";
  this.scrbars="yes";
  this.res="yes";
}
// Funktion zur Erstellung eines Fensters mit den gew. Eigenschaften
function winOpen(eig) {
var win=null;
  with(eig) {
    if (is.ie||is.ns) {
      win=window.open(doc, name, "menubar="+menu+",location="+loc+",outerHeight="+h+",outerWidth="+w+",scrollbars="+scrbars+",resizable="+res+",top="+x+",left="+y);
      win.moveTo(x,y);
    }
  }
  return win;
}

function hilfeFenster(winObj, winEig) {
  if (is.ie||is.ns) {
    if (!winObj||winObj.closed) winObj=winOpen(winEig);
    winObj.focus();
    return winObj;
  }
  else return null;
}