function showPopup(url,name,hoehe,breite, oben, links)
  { var wnd;
    wnd=window.open(url,name,"scrollbars=auto,resizable=yes,top="+oben+",left="+links+",width=" + breite + ",height=" + hoehe);
    wnd.moveTo(links,oben);
    wnd.focus();
  }

function showPopupMaxWidth(url,name,links,breite)
  { var wnd;
    wnd=window.open(url,name,"scrollbars=auto,resizable=yes,top=0,left="+links+",width="+breite+",height="+(screen.availHeight-50));
    wnd.moveTo(links);
    wnd.focus();
  }
  
 function showPopupRightMaxHeight(url,name,top,breite)
  { var wnd;
    wnd=window.open(url,name,"scrollbars=auto,resizable=yes,top=0,left=0,width=" + breite + ",height=" + (screen.availHeight-40-top));
    wnd.moveTo((screen.availWidth-breite-20),top);
    wnd.focus();
  }

 function showPopupRight(url,name,top,hoehe,breite)
  { var wnd;
    wnd=window.open(url,name,"scrollbars=auto,resizable=yes,top=0,left=0,width=" + breite + ",height=" + hoehe);
    wnd.moveTo((screen.availWidth-breite-20),top);
    wnd.focus();
  }

 function showPopupMaxRel(url,name,wFakt,hFakt)
  { var wnd;
    wnd=window.open(url,name,"scrollbars=auto,resizable=yes,top=0,left=0,width=" + (screen.availWidth-10)*wFakt + ",height=" + (screen.availHeight-30)*hFakt);
    wnd.moveTo(0,0);
    wnd.focus();
  }

 function showPopupMax(url,name)
  { var wnd;
    wnd=window.open(url,name,"scrollbars=auto,resizable=yes,top=0,left=0,width=" + (screen.availWidth-10) + ",height=" + (screen.availHeight-30));
    wnd.moveTo(0,0);
    wnd.focus();
  }

 function ShowPopUpMaxScroll (what, id) 
  { var newF;
    newF=window.open(what,id,"scrollbars=yes,resizable=yes,width=" + (screen.availWidth-10)+",height=" + (screen.availHeight-30));
    newF.moveTo(0,0);
  }