var opentextkomplett = null;
function doopentextkomplett(ber,idx1)
{
  if (opentextkomplett && !opentextkomplett.closed)
  {
    opentextkomplett.close();
  }
  pleft = 0;
  ptop = 0;
  properties = "toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no";
  opentextkomplett = window.open('','opentextkomplett','top='+ptop+',left='+pleft+',width=400,height=400,'+properties);

  var titletext = "";var ltxt = "";
  if (ber==NP) { titletext = np_tit[idx1]; if(np_tx2[idx1]==1){ltxt=np_2txt[idx1]} else {ltxt=np_ktxt[idx1]} }
  if (ber==VO) { titletext = vo_tit[idx1]; if(vo_tx2[idx1]==1){ltxt=vo_2txt[idx1]} else {ltxt=vo_ktxt[idx1]} }
  if (ber==PB) { titletext = pb_tit[idx1]; if(pb_tx2[idx1]==1){ltxt=pb_2txt[idx1]} else {ltxt=pb_ktxt[idx1]} }
  if (ber==MO) { titletext = mo_tit[idx1]; if(mo_tx2[idx1]==1){ltxt=mo_2txt[idx1]} else {ltxt=mo_ktxt[idx1]} }
  if (ber==SP) { titletext = sp_tit[idx1]; if(sp_tx2[idx1]==1){ltxt=sp_2txt[idx1]} else {ltxt=sp_ktxt[idx1]} }
  if (ber==PP) { titletext = pp_tit[idx1]; if(pp_tx2[idx1]==1){ltxt=pp_2txt[idx1]} else {ltxt=pp_ktxt[idx1]} }
  if (ber==LP) { titletext = lp_tit[idx1]; if(lp_tx2[idx1]==1){ltxt=lp_2txt[idx1]} else {ltxt=lp_ktxt[idx1]} }
  if (ber==VL) { titletext = vl_tit[idx1]; if(vl_tx2[idx1]==1){ltxt=vl_2txt[idx1]} else {ltxt=vl_ktxt[idx1]} }
  if (ber==HP) { titletext = hp_tit[idx1]; if(hp_tx2[idx1]==1){ltxt=hp_2txt[idx1]} else {ltxt=hp_ktxt[idx1]} }
  if (ber==AP) { titletext = ap_tit[idx1]; if(ap_tx2[idx1]==1){ltxt=ap_2txt[idx1]} else {ltxt=ap_ktxt[idx1]} }
  if (ber==BA) { titletext = ba_tit[idx1]; if(ba_tx2[idx1]==1){ltxt=ba_2txt[idx1]} else {ltxt=ba_ktxt[idx1]} }
  if (ber==ID) { titletext = id_tit[idx1]; if(id_tx2[idx1]==1){ltxt=id_2txt[idx1]} else {ltxt=id_ktxt[idx1]} }
  if (ber==MB) { titletext = mb_tit[idx1]; if(mb_tx2[idx1]==1){ltxt=mb_2txt[idx1]} else {ltxt=mb_ktxt[idx1]} }
  if (ber==IP) { titletext = ip_tit[idx1]; if(ip_tx2[idx1]==1){ltxt=ip_2txt[idx1]} else {ltxt=ip_ktxt[idx1]} }
  if (ber==NP) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+np_txt[idx1]; }
  if (ber==VO) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+vo_txt[idx1]; }
  if (ber==PB) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+pb_txt[idx1]; }
  if (ber==MO) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+mo_txt[idx1]; }
  if (ber==SP) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+sp_txt[idx1]; }
  if (ber==PP) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+pp_txt[idx1]; }
  if (ber==LP) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+lp_txt[idx1]; }
  if (ber==VL) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+vl_txt[idx1]; }
  if (ber==HP) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+hp_txt[idx1]; }
  if (ber==AP) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+ap_txt[idx1]; }
  if (ber==BA) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+ba_txt[idx1]; }
  if (ber==ID) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+id_txt[idx1]; }
  if (ber==MB) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+mb_txt[idx1]; }
  if (ber==IP) { ltxt = '<b>'+ltxt+' ...</b><br><br>'+ip_txt[idx1]; }
  opentextkomplett.document.open();
  opentextkomplett.document.write('<html><head><link rel=stylesheet type="text/css" MEDIA="screen" href="projektstyles.css"></head><body text="#7F7F7F" bgcolor="#FFFFFF" link="#7F7F7F" vlink="#7F7F7F" alink="#7F7F7F">');
  opentextkomplett.document.write('<table cellpadding=10 width="350"><tr><td><p class="caption"><br><b>'+titletext+'</b></p><p class="caption">'+ltxt+'<br><br>');
  opentextkomplett.document.write('<br><a href="javascript:window.close();">( Fenster schlie&szlig;en )</a><br></p></td></tr></table></body></html>');
  opentextkomplett.document.close()
  opentextkomplett.focus();
}
