
  var xxx_bereiche_vorhanden = 0;
  var AVChomeurl = "";
  var AVCrun = "";
  var AVCrun2 = "";
  var UGaktiv = "";
  if (-1 != String(document.location).indexOf("avccd_"))
  { AVCrun = "CD";
    AVChomeurl = "../global/avccd_first.htm";
  }
  else
  { AVCrun = "HP";
    AVChomeurl = "../global/i_first.htm";
  }
  if ((-1 != String(document.location).indexOf("screen")) && (-1 != String(document.location).indexOf("http")))
    AVCrun2 = "HPonWWW";
  else
    AVCrun2 = "HPonCD";
  if (-1 != String(document.location).indexOf("i_ug.php"))
    UGaktiv = "Underground";

  function imagestatus_watchdog ()
  { All_Images = "loaded";
    for(i = 1; i < document.images.length; ++i)
    { if((document.images[i].complete == false) && (-1 == document.images[i].src.indexOf("cgi-bin")))
      { All_Images = "unloaded";
        i = document.images.length;
      }
    }
    window.setTimeout("imagestatus_watchdog()",400);
  }
  var All_Images = "unloaded";
  var Background_Image = "unloaded";
  var first_stop_display_toggle = 0;




  var Fenster_groesse_x = 0;
  var Fenster_groesse_x_alt = 0;
  var Fenster_groesse_y = 0;
  var Fenster_groesse_y_alt = 0;
  var border_oben_x = 0;                  //boerder höhen / breite usw..
  var border_oben_y = 0;
  var border_hoehe_y = 0;
  var border_breite_x = 851;
  var menu_branch_hoehe_y = 0;            //Höhe des Menü-Baumes
  var menu_branch_hoehe_y_alt = 0;
  var xxx_bereiche_hoehe_y = 0;           //Höhe der xxx-Felder
  var xxx_bereiche_hoehe_y_alt = 0;
  var global_minwidth = 980;
  var set_borderalign = "top";
  function ausrichten_watchdog ()
  { if (document.all && (-1 == navigator.userAgent.indexOf("Opera"))) {  //IE
      Fenster_groesse_x = document.documentElement.clientWidth;
      Fenster_groesse_y = document.documentElement.clientHeight;
    }
    else if (-1 != navigator.userAgent.indexOf("Opera")) {  //Opera
      Fenster_groesse_x = window.innerWidth;
      Fenster_groesse_y = window.innerHeight;
    }
    else {  //Moz und andere
      Fenster_groesse_x = window.document.width;   //NICHT "window.innerWidth;" verwenden, da die Scrolleiste nicht berücksichtigt wird !!!
      Fenster_groesse_y = window.innerHeight;
    }

  //    document.getElementById('darkdebug').innerHTML = "<br> y=" +Fenster_groesse_y +" x=" +Fenster_groesse_x;

    //Höhe der xxx-Felder
    var y_tmp = 0;
    var y_tmp2 = 0;
    if (xxx_bereiche_vorhanden == 1)
    { for (var i = 1; i <= 7; i++)
      { var tmp_id = "xx" +i +"_bereich";
        y_tmp = (document.getElementById(tmp_id).offsetHeight);
        if (y_tmp > y_tmp2) y_tmp2 = y_tmp;
      }
    }
    xxx_bereiche_hoehe_y = y_tmp2 + 0;

    //Höhe des Baumes:
    menu_branch_hoehe_y = document.getElementById("branch").offsetHeight;
    //Falls AVC-CD, dann muss eine MIN-Höhe eingehalten werden...
    if (menu_branch_hoehe_y < 200)
      menu_branch_hoehe_y = 200;

    //Höhe des Border aus den verschiednen höchsten Bereichen:
    if ((xxx_bereiche_hoehe_y + 160) < (menu_branch_hoehe_y + 430))
      border_hoehe_y = (menu_branch_hoehe_y + 430);
    else
      border_hoehe_y = (xxx_bereiche_hoehe_y + 160);
    //Falls zu klein wird wenn bei AVC-CD ohne Inhalt!!!
    if (border_hoehe_y < 700)
      border_hoehe_y = 700;

    if (Fenster_groesse_x < global_minwidth)
      Fenster_groesse_x = global_minwidth;

    //Falls das Fenster größer sein sollte...
    if (Fenster_groesse_y > (border_hoehe_y +42 +77 +24)) {    //24 kommt von  "style073_border_bottom.gif" die da nicht frin sind
      border_oben_y = Fenster_groesse_y-border_hoehe_y-77-24;
      set_borderalign = "bottom";
    }
    else {
      border_oben_y = 50;
      set_borderalign = "top";
    }

    //Flag setzen, ob sich was an Fenster geändert hat ...
    var changeBorder_setup = ((menu_branch_hoehe_y_alt != menu_branch_hoehe_y) || (xxx_bereiche_hoehe_y_alt != xxx_bereiche_hoehe_y) || (Fenster_groesse_x_alt != Fenster_groesse_x) || (Fenster_groesse_y_alt != Fenster_groesse_y))

    //Da sich beim IE der Text NICHT markieren lässt, wenn das "body"-Element nicht groß ist, muss es auf auch auf die Größe gesetzt werden.
    if (changeBorder_setup == true) {
      if (document.all) {
        document.getElementById("koerper").style.width = Fenster_groesse_x +"px";
        document.getElementById("koerper").style.height = (border_oben_y + border_hoehe_y) +"px";
      }
    }

    // Nun evt. alles neu ausrichten
    if (changeBorder_setup == true) {
      border_punkt_oben_x = Math.floor(((Fenster_groesse_x/2) - (border_breite_x/2)));  //Math.floor = nächst niedrigere Zahl!

      function pos_set (_id, _width, _height, _left, _top) {
        if (_width < 1) alert(_id +"-" +_width);
        if (_height < 1) alert(_id +"-" +_height);
        if(isNaN(_width) == false)
          document.getElementById(_id).style.width = _width +'px';
        if(isNaN(_height) == false)
          document.getElementById(_id).style.height = _height +'px';
        if(isNaN(_left) == false)
          document.getElementById(_id).style.left = _left +'px';
        if(isNaN(_top) == false)
          document.getElementById(_id).style.top = _top +'px';
      }

      //alles im Bereich
      pos_set('alles_frame', '-', '-', border_punkt_oben_x, border_oben_y);
      pos_set('border_top', '-', '-', '-', -13);
      pos_set('border_toptop_font', '-', '-', 540, -22);
      pos_set('border_backmirror', border_breite_x-2, border_hoehe_y, 2, '-');
//      //Nur wenn noch genug höhe unterm Menübaum da ist den "Streckt" aufbauen!!
//      if (border_hoehe_y-(menu_branch_hoehe_y+280) > 420) {
//        document.getElementById('border_backstreck').style.visibility = "visible";
//        pos_set('border_backstreck', border_breite_x-2, border_hoehe_y-(menu_branch_hoehe_y+420), 2, (menu_branch_hoehe_y+420));
//      }
//      else {
//        document.getElementById('border_backstreck').style.visibility = "hidden";
//        document.getElementById('border_backstreck').style.height = "1px";
//      }
      pos_set('border_backlineleft', 2, border_hoehe_y-21, '-', 21);
      pos_set('border_backlineright', 2, border_hoehe_y-21, border_breite_x-1, 21);
      pos_set('border_bottom', '-', '-', 1, border_hoehe_y);
      pos_set('border_bottommargin', 10, 50, '-', border_hoehe_y);
      pos_set('xxx_bereicheback', '-', '-', 226, 135);
      pos_set('xxx_bereicheback_top', '-', '-', '-', '-');
      pos_set('xxx_bereicheback_mirror', 584, (xxx_bereiche_hoehe_y-28), '-', 28);
      pos_set('xxx_bereicheback_bottom', '-', '-', '-', xxx_bereiche_hoehe_y);
      pos_set('xxx_bereiche', '-', '-', 240, 148);
      pos_set('menu_alles', '-', '-', 0, 119);
      pos_set('menu_top', '-', '-', '-', '-');
      pos_set('menu_stretch', 151, menu_branch_hoehe_y-127, '-', 202);
      pos_set('menu_bottom', '-', '-', 1, menu_branch_hoehe_y-127+202);
      pos_set('menu_baum', '-', '-', 1, 107);
      pos_set('menuline_alles', 300, 16, 260, -4);
    }

    //Background laden?
    if (All_Images == "loaded") {
      function load_backimage () {
        //Für Opera muss erst geladen und dann gestylt werden, weil ers sonst nicht anzeigt
        if (Background_Image != "style073_back_loaded") {
          document.getElementById("koerper").style.backgroundImage = "url(../graphics/style073/style073_back3a.jpg)";
          //Der Opera brauch noch einen loop da er sonst nichts anzeigt! Beim Moz und IE kann sofort gestylt werden, weils besser aussiht, wenn sofort an der richtigen position aufblendet!!
          if (-1 != navigator.userAgent.indexOf("Opera")) {
            Background_Image = "style073_back_loaded";
            return;
          }
        }

        document.getElementById("koerper").style.backgroundAttachment = "fixed";
        document.getElementById("koerper").style.backgroundRepeat = "no-repeat";
        if (set_borderalign == "bottom")
          document.getElementById("koerper").style.backgroundPosition = "center " +(border_hoehe_y +border_oben_y -1000 +77 +24) +"px"; // Erzeugt die "Bottom"-Ausrichtung.
        else {
          if (Fenster_groesse_y > (border_hoehe_y +border_oben_y))
            document.getElementById("koerper").style.backgroundPosition = "center " +(border_hoehe_y +border_oben_y -1000 +77 +24) +"px";
          else
            document.getElementById("koerper").style.backgroundPosition = "center " +(Fenster_groesse_y -1000 +77) +"px";
        }
        Background_Image = "style073_back_finished";
      }

      if ((Background_Image == "unloaded") || (Background_Image == "style073_back_loaded"))
        load_backimage();
      else if (changeBorder_setup == true)
        load_backimage();
    }

    //Soll der xxx-Background sichtbar sein?
    if (xxx_objekt_active.xxxfeld_status.indexOf("noxxxback") > -1)
      document.getElementById("xxx_bereicheback").style.visibility = "hidden";
    else
      document.getElementById("xxx_bereicheback").style.visibility = "visible";


    Fenster_groesse_y_alt = Fenster_groesse_y;
    Fenster_groesse_x_alt = Fenster_groesse_x;
    xxx_bereiche_hoehe_y_alt = xxx_bereiche_hoehe_y;
    menu_branch_hoehe_y_alt = menu_branch_hoehe_y;

    window.setTimeout("ausrichten_watchdog()",400);
  }
  function min_feld_setzen ()
  { document.getElementById('globalminwidth').style.height = html_seiten_min_hoehe +'px';
    document.getElementById('globalminwidth').style.width = global_minwidth +'px';
  }



  function aufbau()
  { min_feld_setzen ();
    aufbau_frame ();
    js_aufbau ();
    ausrichten_watchdog ();
    //frame aufblenden
    document.getElementById('alles').style.overflow = "visible";
    window.setTimeout("fsizehp_watchdog()",300);
  }




  function aufbau_frame ()
  { var tba = '<table cellspacing="0" cellpadding="0" style="width:auto;"><tr><td style="width:1px;"><nobr>';
    var tbm = '</nobr></td><td style="width:1px;"><nobr>';
    var tbe = '</nobr></td></tr></table>';

    var lx = '';
    var lm = '<div style="height:14px; width:5px;">&nbsp;</div>';
    var ln = '<div style="height:14px; width:5px; font-size:0px; line-height:0px;">&nbsp;</div>';  //War früher die linien
    var lnb = '<div style="height:14px; width:5px; font-size:0px; line-height:0px;">&nbsp;</div>';  //War früher die linien
    var lnbe = '<div style="height:14px; width:5px; font-size:0px; line-height:0px;">&nbsp;</div>';   //War früher die linien
    function xxxfield(_id)
    { var x = '<div ';
      if (_id != "none")
        x += 'id="' +_id +'" ';
      x += 'style="height:0px; width:8px; margin-right:4px; text-align:left;"><div style="height:10px; width:8px; margin-top:1px; border:1px solid rgb(155,155,155); background-color:rgb(195,195,195);">';
        x += '<div style="height:1px; width:5px; margin-top:2px; border-top:1px solid rgb(155,155,155); font-size:1px; line-height:1px;">&nbsp;</div>';
        x += '<div style="height:1px; width:7px; margin-top:0px; border-top:1px solid rgb(155,155,155); font-size:1px; line-height:1px;">&nbsp;</div>';
        x += '<div style="height:1px; width:6px; margin-top:1px; border-top:1px solid rgb(155,155,155); font-size:1px; line-height:1px;">&nbsp;</div>';
      x += '</div></div>';
     return x;
    }
    function div_linebdivw ()
    { var tmp = '<img src="../graphics/style073/style073_menu_fontbr.gif" style="position:relative; width:153px; height:1px; left:-3px; margin-top:1px; margin-bottom:1px;">';
      tmp = "";
    return tmp;
    }
    function div_linebdiv ()
    { var tmp = '<img src="../graphics/style073/style073_menu_fontbrgif" style="position:relative; width:153px; height:1px; left:-3px; margin-top:2px; margin-bottom:1px;">';
      tmp = "";
    return tmp;
    }



    var t = '';
    t += '<div id="branch" style="width:137px;">';
      t += '<table cellspacing="0" cellpadding="0" style="width:68%; margin-bottom:2px; height:18px;"><tr><td style="padding-left:3px; font-size:10px; line-height:10px; font-weight:bold; color:rgb(245,245,245); vertical-align:middle;">Inhalt:</td><td style="width:1%; vertical-align:middle;"><a href="JavaScript:brl_all(\'only_open\')" title="Öffnet die Baumstruktur"><img src="../graphics/style073/style073_menu_arrowb.gif"></a></td><td style="width:1%; vertical-align:middle;"><a href="JavaScript:brl_all(\'only_close\')" title="Schließt die Baumstruktur"><img src="../graphics/style073/style073_menu_arrowt.gif"></a></td></tr></table>';
      t += '<div style="width:auto; padding-left:3px;">';
        if (AVCrun == "HP") {
        t += tba +'<a href="JavaScript:brl(\'i_first\')" class="brli">Startseite</a>' +tbe;
        t += '<div class="brxm" id="i_first">' +brxm(i_first_xa,lnbe +tbm, "noxxxbranch") +'</div>' +div_linebdiv();
        t += tba +'<a href="JavaScript:brl(\'i_products\')" class="brli">Produkte</a>' +tbe;
        t += '<div class="brxm" id="i_products">';
          //Kein Baum-Link weil Tab sofort sichtbar sein soll:
          t += '<div class="brxm" id="i_products_selection">' +brxm(i_products_selection_xa,lnb +tbm, "noxxxbranch") +'</div>';
          t += tba +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav\')" class="brli">screenAV</a>' +tbe;
          t += '<div class="brxm" id="i_products_screenav">';
            t += tba +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_what\')" class="brli">Einführung</a>' +tbe;
            t += '<div class="brxm" id="i_products_screenav_what">' +brxm(i_products_screenav_what_xa,ln +tbm +ln +tbm) +'</div>';
            t += tba +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features\')" class="brli">Features</a>' +tbe;
            t += '<div class="brxm" id="i_products_screenav_features">';
              //Kein Baum-Link weil Tab sofort sichtbar sein soll:
              t += '<div class="brxm" id="i_products_screenav_features_list">' +brxm(i_products_screenav_features_list_xa,ln +tbm +ln +tbm+ lnb +tbm, "noxxxbranch") +'</div>';
              t += tba +ln +tbm +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features_streamingmedia\')" class="brli">Video-Streams</a>' +tbe;
              t += '<div class="brxm" id="i_products_screenav_features_streamingmedia">' +brxm(i_products_screenav_features_streamingmedia_xa,ln +tbm +ln +tbm +ln +tbm) +'</div>';
              t += tba +ln +tbm +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features_effectsbasic\')" class="brli">Effekte</a>' +tbe;
              t += '<div class="brxm" id="i_products_screenav_features_effectsbasic">' +brxm(i_products_screenav_features_effectsbasic_xa,ln +tbm +ln +tbm +ln +tbm) +'</div>';
              t += tba +ln +tbm +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features_avcmacros\')" class="brli">AVC-Macros</a>' +tbe;
              t += '<div class="brxm" id="i_products_screenav_features_avcmacros">' +brxm(i_products_screenav_features_avcmacros_xa,ln +tbm +ln +tbm +ln +tbm) +'</div>';
              t += tba +ln +tbm +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features_realtime\')" class="brli">Echtzeit</a>' +tbe;
              t += '<div class="brxm" id="i_products_screenav_features_realtime">' +brxm(i_products_screenav_features_realtime_xa,ln +tbm +ln +tbm +ln +tbm) +'</div>';
              t += tba +ln +tbm +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features_panoramavisions\')" class="brli">Panoramen</a>' +tbe;
              t += '<div class="brxm" id="i_products_screenav_features_panoramavisions">' +brxm(i_products_screenav_features_panoramavisions_xa,ln +tbm +ln +tbm +ln +tbm) +'</div>';
              t += tba +ln +tbm +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features_remotecontrol\')" class="brli">Fernsteuerung</a>' +tbe;
              t += '<div class="brxm" id="i_products_screenav_features_remotecontrol">' +brxm(i_products_screenav_features_remotecontrol_xa,ln +tbm +ln +tbm +ln +tbm) +'</div>';
              t += tba +ln +tbm +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features_multimonitor\')" class="brli">Multimonitor</a>' +tbe;
              t += '<div class="brxm" id="i_products_screenav_features_multimonitor">' +brxm(i_products_screenav_features_multimonitor_xa,ln +tbm +ln +tbm +ln +tbm) +'</div>';
              t += tba +ln +tbm +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features_stereo3d\')" class="brli">3D-Stereo</a>' +tbe;
              t += '<div class="brxm" id="i_products_screenav_features_stereo3d">' +brxm(i_products_screenav_features_stereo3d_xa,ln +tbm +ln +tbm +ln +tbm) +'</div>';
              t += tba +ln +tbm +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features_curvilinear\')" class="brli">curviLINEAR</a>' +tbe;
              t += '<div class="brxm" id="i_products_screenav_features_curvilinear">' +brxm(i_products_screenav_features_curvilinear_xa,ln +tbm +ln +tbm +ln +tbm) +'</div>';
              t += tba +ln +tbm +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features_avcwarp\')" class="brli">AVC-WARP</a>' +tbe;
              t += '<div class="brxm" id="i_products_screenav_features_avcwarp">' +brxm(i_products_screenav_features_avcwarp_xa,ln +tbm +ln +tbm +ln +tbm) +'</div>';
              t += tba +ln +tbm +ln +tbm +lnbe +tbm +'<a href="JavaScript:brl(\'i_products_screenav_features_netrendering\')" class="brli">AVC-NET-RENDERING</a>' +tbe;
              t += '<div class="brxm" id="i_products_screenav_features_netrendering">' +brxm(i_products_screenav_features_netrendering_xa,ln +tbm +ln +tbm +lm +tbm) +'</div>';
            t += '</div>';
            t += tba +ln +tbm +lnb +tbm +'<a href="JavaScript:brl(\'i_products_screenav_windows\')" class="brli">Fenster</a>' +tbe;
            t += '<div class="brxm" id="i_products_screenav_windows">' +brxm(i_products_screenav_windows_xa,ln +tbm +ln +tbm) +'</div>';
            //Kein Baum-Link weil Tab sofort sichtbar sein soll:
            t += '<div class="brxm" id="i_products_screenav_versions">' +brxm(i_products_screenav_versions_xa,ln +tbm+ lnb +tbm, "noxxxbranch") +'</div>';
            //Kein Baum-Link weil Tab sofort sichtbar sein soll:
            t += '<div class="brxm" id="i_products_screenav_requirements">' +brxm(i_products_screenav_requirements_xa,ln +tbm+ lnbe +tbm, "noxxxbranch") +'</div>';
            t += '<div style="height:7px; overflow:hidden;">' +tba +ln  +tbe +'</div>'; //Abstandshalter..
          t += '</div>';
          t += tba +lnb +tbm +'<a href="JavaScript:brl(\'i_products_showcontrol\')" class="brli">ShowControl</a>' +tbe;
          t += '<div class="brxm" id="i_products_showcontrol">' +brxm(i_products_showcontrol_xa,ln +tbm) +'</div>';
          t += tba +lnb +tbm +'<a href="JavaScript:brl(\'i_products_nexus\')" class="brli">NEXUS</a>' +tbe;
          t += '<div class="brxm" id="i_products_nexus">' +brxm(i_products_nexus_xa,ln +tbm) +'</div>';
          t += tba +lnb +tbm +'<a href="JavaScript:brl(\'i_products_adapter\')" class="brli">Adapter</a>' +tbe;
          t += '<div class="brxm" id="i_products_adapter">' +brxm(i_products_adapter_xa,ln +tbm) +'</div>';
          t += tba +lnbe +tbm +'<a href="JavaScript:brl(\'i_products_netadapter\')" class="brli">AVC-NET-Adapter</a>' +tbe;
          t += '<div class="brxm" id="i_products_netadapter">' +brxm(i_products_netadapter_xa,lm +tbm) +'</div>';
        t += '</div>' +div_linebdiv();
        t += tba +'<a href="JavaScript:brl(\'i_download\')" class="brli">Download</a>' +tbe;
        t += '<div class="brxm" id="i_download">' +brxm(i_download_xa,lx) +'</div>' +div_linebdiv();
        t += tba +'<nobr><a href="JavaScript:brl(\'i_news\')" class="brli">News</a> &nbsp; <a href="../global/i_news.htm?_ht_1" style="color:rgb(190,150,100); font-size:10px; font-weight:normal;">' +last_news +'.' +last_newsjahrz +'</a></nobr>' +tbe;
        t += '<div class="brxm" id="i_news">' +brxm(i_news_xa,lx) +'</div>' +div_linebdiv();
        t += tba +'<a href="JavaScript:brl(\'i_gallery\')" class="brli">Referenzen&amp;Galerie</a>' +tbe;
        t += '<div class="brxm" id="i_gallery">'
          t += tba +lnb +tbm +'<a href="../global/i_avcbr_ref.htm?_ht_5" class="brli" style="color:rgb(170,173,175);">Referenzen</a>' +tbe;
          t += brxm(i_gallery_xa,lx)
        t += '</div>' +div_linebdiv();
        t += tba +'<a href="JavaScript:brl(\'i_preise\')" class="brli">Preise & Bestellen</a>' +tbe;
        t += '<div class="brxm" id="i_preise">' +brxm(i_preise_xa,lx) +'</div>' +div_linebdiv();
        t += tba +'<a href="JavaScript:brl(\'i_support\')" class="brli">Support</a>' +tbe;
        t += '<div class="brxm" id="i_support">';
          t += tba +lnb +tbm +'<a href="JavaScript:brl(\'i_support_email\')" class="brli">E-Mail</a>' +tbe;
          t += '<div class="brxm" id="i_support_email">' +brxm(i_support_email_xa,ln +tbm) +'</div>';
          t += tba +lnb +tbm +'<a href="JavaScript:brl(\'i_support_software\')" class="brli">Software</a>' +tbe;
          t += '<div class="brxm" id="i_support_software">' +brxm(i_support_software_xa,ln +tbm) +'</div>';
          t += tba +lnbe +tbm +'<a href="JavaScript:brl(\'i_support_hardware\')" class="brli">Hardware</a>' +tbe;
          t += '<div class="brxm" id="i_support_hardware">' +brxm(i_support_hardware_xa,lm +tbm) +'</div>';
        t += '</div>' +div_linebdiv();
        t += tba +'<a href="JavaScript:brl(\'i_documentation\')" class="brli">Dokumentation</a>' +tbe;
        t += '<div class="brxm" id="i_documentation">';
          t += tba +lnb +tbm +'<a href="../../avc_documentation/documentation.htm" class="brli">In diesem Fenster</a>' +tbe;
          t += tba +lnbe +tbm +'<a href="../../avc_documentation/documentation.htm" class="brli" target="_blank">Im neuen Fenster</a>' +tbe;
        t += '</div>' +div_linebdiv();
        t += tba +'<a href="JavaScript:brl(\'i_links\')" class="brli">Links</a>' +tbe;
        t += '<div class="brxm" id="i_links">' +brxm(i_links_xa,lx) +'</div>' +div_linebdiv();
        t += tba +'<a href="JavaScript:brl(\'i_avcbr\')" class="brli">Über AVC</a>' +tbe;
        t += '<div class="brxm" id="i_avcbr">';
          t += tba +lnb +tbm +'<a href="JavaScript:brl(\'i_avcbr_avc\')" class="brli">AVC</a>' +tbe;
          t += '<div class="brxm" id="i_avcbr_avc">' +brxm(i_avcbr_avc_xa,ln +tbm) +'</div>';
          t += tba +lnb +tbm +'<a href="JavaScript:brl(\'i_avcbr_ref\')" class="brli">Referenzen</a>' +tbe;
          t += '<div class="brxm" id="i_avcbr_ref">' +brxm(i_avcbr_ref_xa,ln +tbm) +'</div>';
          t += tba +lnb +tbm +'<a href="JavaScript:brl(\'i_avcbr_services\')" class="brli">Dienstleistungen</a>' +tbe;
          t += '<div class="brxm" id="i_avcbr_services">' +brxm(i_avcbr_services_xa,ln +tbm) +'</div>';
          t += tba +lnbe +tbm +'<a href="JavaScript:brl(\'i_avcbr_impressum\')" class="brli">Impressum</a>' +tbe;
          t += '<div class="brxm" id="i_avcbr_impressum">' +brxm(i_avcbr_impressum_xa,lm +tbm) +'</div>';
        t += '</div>';
        }
        else {
        t += tba +'<a href="JavaScript:brl(\'avccd_first\')" class="brli">Startseite</a>' +tbe;
        t += '<div class="brxm" id="avccd_first">' +brxm(avccd_first_xa,lx +tbm) +'</div>' +div_linebdiv();
        t += tba +'<a href="JavaScript:brl(\'avccd_deanumber\')" class="brli">Händlernummer</a>' +tbe;
        t += '<div class="brxm" id="avccd_deanumber">' +brxm(avccd_deanumber_xa,lx +tbm) +'</div>' +div_linebdiv();
        t += tba +'<a href="JavaScript:brl(\'avccd_installationen\')" class="brli">Installationen</a>' +tbe;
        t += '<div class="brxm" id="avccd_installationen">' +brxm(avccd_installationen_xa,lx +tbm) +'</div>' +div_linebdiv();
        t += tba +'<a href="JavaScript:brl(\'avccd_contact\')" class="brli">Kontakt</a>' +tbe;
        t += '<div class="brxm" id="avccd_contact">' +brxm(avccd_contact_xa,lx +tbm) +'</div>';
        }
        //Derzeit nicht verwendet
        t += '<a href="nix" class="brlix" id="xx7menulink"></a>';
      t += '</div>';
      if ((AVCrun == "HP")) {
      t += '<div class="halbbr"></div>';
      t += '<table cellspacing="0" cellpadding="0" style="width:100%; height:14px;"><tr><td style="padding-left:3px; vertical-align:middle; font-size:10px; line-height:10px; font-weight:bold; color:rgb(245,245,245); background-image:url(../graphics/style073/style073_menu_headlinemirror.gif); background-repeat:repeat-x;">AVC Top-Links:</td></tr></table>';
      t += '<div style="width:auto; padding-left:3px;">';
        t += tba +'<a href="../global/i_download.htm?_ht_1" class="brli">Download-Software</a><br>' +tbe +div_linebdiv();
        t += tba +'<a href="../global/i_products_screenav_features_netrendering.htm?_ht_1" class="brli">AVC-NET-RENDERING</a><br>' +tbe;
        t += tba +'<a href="../global/i_gallery.htm?_ht_3" class="brli">VideoArena</a>' +tbe +div_linebdiv();
      t += '</div>';
      }
      if ((AVCrun == "HP") && (AVCrun2 == "HPonWWW")) {
      t += '<div class="halbbr"></div>';
      t += '<table cellspacing="0" cellpadding="0" style="width:100%; height:14px;"><tr><td style="padding-left:3px; vertical-align:middle; font-size:10px; line-height:10px; font-weight:bold; color:rgb(245,245,245); background-image:url(../graphics/style073/style073_menu_headlinemirror.gif); background-repeat:repeat-x;">Sonstiges:</td></tr></table>';
      t += div_linebdivw();
      t += '<div style="width:auto; padding-left:3px;">';
        t += tba +'<a href="javascript:search_oeffnen()" class="brli">Suchen-Fenster</a>' +tbe +div_linebdiv();
        t += tba +'<a href="../global/i_support_email.htm" class="brli">E-Mail</a><br>' +tbe  +div_linebdiv();
        t += tba +'<a href="../global/i_avcbr_impressum.htm" class="brli">Impressum</a><br>' +tbe;
      t += '</div>';
      }
      if (UGaktiv == "Underground") {
      t += '<div class="halbbr"></div>';
      t += '<table cellspacing="0" cellpadding="0" style="width:100%; height:14px;"><tr><td style="padding-left:3px; vertical-align:middle; font-size:10px; line-height:10px; font-weight:bold; color:rgb(245,245,245); background-image:url(../graphics/style073/style073_menu_headlinemirror.gif); background-repeat:repeat-x;">Underground:</td></tr></table>';
      t += div_linebdivw();
      t += '<div style="width:auto; padding-left:3px;">';
        t += '<div class="brxm" id="i_ug">' +brxm(i_ug_xa,lx +tbm) +'</div>' +div_linebdiv();
      t += '</div>';
      }
    t += '</div>';
    var t_menubaum = t;

    t = '';
    t += '<div id="alles" style="position:absolute; width:50px; height:50px; left:0px; top:0px; overflow:hidden; z-index:3;">';
      t += '<div id="alles_frame" style="position:absolute; width:0px; height:0px; left:0px; top:0px; z-index:5;">';
        /////////////////// Border
        t += '<table id="border_toptop_font" style="position:absolute; width:auto; height:30px; left:0px; top:0px; z-index:6;" cellspacing="0" cellpadding="0"><tr><td style="height:30px; padding-top:1px; color:rgb(220,220,220); text-align:center; font-family:Tahoma; font-size:9px; line-height:9px; font-weight:bold; vertical-align:middle; background-image:url(../graphics/style073/style073_border_toptop_fontmirror.gif); background-repeat:repeat-x; background-position:center; white-space:nowrap;">';
          if ((AVCrun == "CD") && (AVCrun2 == "HPonCD"))         //AVC-CD
            t += 'AVC-DVD';
          else if ((AVCrun == "HP") && (AVCrun2 == "HPonCD"))    //AVC Homepage von CD
            t += 'AVC Homepage von <span style="font-family:Tahoma; font-size:9px; line-height:9px; font-weight:bold; color:rgb(255,255,255); white-space:nowrap; letter-spacing:1px;">AVC-DVD</span>';
          else                                                   //AVC
           t += 'AVC Homepage';
        t += '</td><td style="background-image:url(../graphics/style073/style073_border_toptop_fontright.gif); background-repeat:no-repeat; background-position:center;"><div style="width:37px;">&nbsp;</div></td></tr></table>';
        t += '<img id="border_top" usemap="#avclandkarte" src="../graphics/style073/style073_border_top.jpg" style="position:absolute; left:0px; top:0px; z-index:5;">';
          t += '<map name="avclandkarte"><area shape="rect" coords="10,30,80,110" href="' +AVChomeurl +'" title="Zurück zur Startseite"></map>';
        t += '<div id="border_backmirror" style="position:absolute; width:0px; height:0px; left:0px; top:0px; background-image:url(../graphics/style073/style073_border_backmirror.gif); background-repeat:repeat-y; z-index:3;">&nbsp;</div>';
        //t += '<img id="border_backstreck" src="../graphics/style073/style073_border_backstreck.jpg" style="position:absolute; left:0px; top:0px; z-index:4;">';
        t += '<img id="border_backlineleft" src="../graphics/style073/style073_border_backlineleft.gif" style="position:absolute; left:0px; top:0px; z-index:37;">';
        t += '<img id="border_backlineright" src="../graphics/style073/style073_border_backlineright.gif" style="position:absolute; left:0px; top:0px; z-index:37;">';
        t += '<img id="border_bottom" src="../graphics/style073/style073_border_bottom.gif" style="position:absolute; left:0px; top:0px; z-index:5;">';
        t += '<div id="border_bottommargin" style="position:absolute; width:0px; height:0px; left:0px; top:0px; z-index:5;">&nbsp;</div>';
        /////////////////// xxx_objekte Inhalt
        t += '<div id="xxx_bereicheback" style="position:absolute; width:0px; height:0px; left:0px; top:0px; z-index:15;">';
           t += '<img id="xxx_bereicheback_top" src="../graphics/style073/style073_xxx_top.gif" style="position:absolute; left:0px; top:0px;">';
           t += '<div id="xxx_bereicheback_mirror" style="position:absolute; width:0px; height:0px; left:0px; top:0px; background-image:url(../graphics/style073/style073_xxx_mirror.gif); background-repeat:repeat-y;">&nbsp;</div>';
           t += '<img id="xxx_bereicheback_bottom" src="../graphics/style073/style073_xxx_bottom.gif" style="position:absolute; left:0px; top:0px;">';
        t += '</div>';
        ///////////////////  xxx_objekte
        t += '<div id="xxx_bereiche" style="position:absolute; left:0px; top:0px; z-index:250;">';
          t += '<div id="xx1_bereich" style="position:absolute; left:0px; top:0px;"></div>';
          t += '<div id="xx2_bereich" style="position:absolute; left:0px; top:0px;"></div>';
          t += '<div id="xx3_bereich" style="position:absolute; left:0px; top:0px;"></div>';
          t += '<div id="xx4_bereich" style="position:absolute; left:0px; top:0px;"></div>';
          t += '<div id="xx5_bereich" style="position:absolute; left:0px; top:0px;"></div>';
          t += '<div id="xx6_bereich" style="position:absolute; left:0px; top:0px;"></div>';
          t += '<div id="xx7_bereich" style="position:absolute; left:0px; top:0px;"></div>';
        t += '</div>';
        /////////////////// Menü
        t += '<div id="menu_alles" style="position:absolute; width:0px; height:0px; left:0px; top:0px; z-index:20;">';
          t += '<img id="menu_top" src="../graphics/style073/style073_menu_top.jpg" style="position:absolute; left:0px; top:0px; z-index:12;">';
          t += '<img id="menu_stretch" src="../graphics/style073/style073_menu_stretch.jpg" style="position:absolute; left:0px; top:0px; z-index:12;">';
          t += '<img id="menu_bottom" src="../graphics/style073/style073_menu_bottom.gif" style="position:absolute; left:0px; top:0px; z-index:12;">';
          t += '<div id="menu_baum" style="position:absolute; left:0px; top:0px; width:auto; height:auto; z-index:14;">';
            t += t_menubaum;
          t += '</div>';
        t += '</div>';
        //Menü Top
        t += '<div id="menuline_alles" style="position:absolute; width:0px; height:0px; left:0px; top:0px; z-index:20;">';
        if (AVCrun == "HP") {
          t += '<table style="width:100%; height:30px;" cellspacing="0" cellpadding="0"><tr><td style="vertical-align:middle; text-align:center;">';
            t += '<a class="brli" style="color:rgb(225,235,235);" href="i_products_selection.htm">Produkte</a>';
          t += '</td><td class="brli" style="color:rgb(193,203,203); vertical-align:middle; text-align:center;">';
            t += '|';
          t += '</td><td style="vertical-align:middle; text-align:center;">';
            t += '<a class="brli" style="color:rgb(225,235,235);" href="i_products_screenav_features_netrendering.htm?_ht_1">Multi-Screen</a>';
          t += '</td><td class="brli" style="color:rgb(193,203,203); vertical-align:middle; text-align:center;">';
            t += '|';
          t += '</td><td style="vertical-align:middle; text-align:center;">';
            t += '<a class="brli" style="color:rgb(225,235,235);" href="../global/i_avcbr_avc.htm?_ht_1">Kontakt</a>';
          t += '</td><td class="brli" style="color:rgb(193,203,203); vertical-align:middle; text-align:center;">';
            t += '|';
          t += '</td><td style="vertical-align:middle; text-align:center;">';
            t += '<a class="brli" style="color:rgb(225,235,235);" href="i_preise.htm?_ht_2">Bestellen</a>';
          t += '</td><td class="brli" style="color:rgb(193,203,203); vertical-align:middle; text-align:center;">';
            t += '|';
          t += '</td><td style="vertical-align:middle; text-align:center;">';
            t += '<a class="brli" style="color:rgb(225,235,235);" href="i_news.htm?_ht1">LastNews</a><span id="darkdebug" style="color:red;"></span>';
          t += '</td></tr></table>';
        }
        t += '</div>';
      t += '</div>';
    t += '</div>';
    document.getElementById('inhalt').innerHTML = t;



    function brxm (_xxxmenuarray,_lnx,_xxxbranch)
    { var a1 = 0;
      var a2 = 0;
      var x = '';

      //Anzahl der Links im Array
      for (var i=1; i < _xxxmenuarray.length; ++i)
      { if (_xxxmenuarray[i] != '_')
          a1 = a1 + 1;
      }
      //Menubaum Links aufbauen
      for (var i=1; i < _xxxmenuarray.length; ++i)
      { if (_xxxmenuarray[i] != '_')
        { a2 = a2 + 1;
          x += tba +_lnx;

          //Festellen ob "branch" oder "branchend"
          if (_xxxbranch != "noxxxbranch")
          { if (a1 == a2)
              x += lnbe +tbm;
            else
              x += lnb +tbm;
          }

          if (hrefindex() != _xxxmenuarray[0].substring(0,_xxxmenuarray[0].length-4)) //-4 wegen Dateiendung .htm
            //Wenn die Seite ihre "eigenen" links aufbaut, dann xxxmenus-Links mit JavaScript aufbauen.
            x += xxxfield("none") +tbm +'<nobr><a href="' +_xxxmenuarray[0] +'?_ht_' +i +'" class="brlix">' +_xxxmenuarray[i] +'</a></nobr>' +tbe;
          else
            //Nur bei den eigenen xxxmenulinks die id setzen! Sonst sind sie doppelt!
            x += xxxfield(("xx" +i +"menufield")) +tbm +'<nobr><a href="JavaScript:xxx_bereich_aktivieren(xx' +i +'_objekt)" class="brlix" id="xx' +i +'menulink">' +_xxxmenuarray[i] +'</a></nobr>' +tbe;
        }
        else   //Auch die nicht vorhandenen aufbauen
        { if (hrefindex() != _xxxmenuarray[0].substring(0,_xxxmenuarray[0].length-4)) //-4 wegen Dateiendung .htm
            x += '<a href="nix" class="brlix"></a>';
          else
            x += '<a href="nix" class="brlix" id="xx' +i +'menulink"></a>';
        }
      }
      return x;
    }
    br_firstopen();
    brindex();
  }

//Klappt die ID auf, die aufgeklappt sein sollen.
  function br_firstopen () {
    if (AVCrun == "HP") {
      brl("i_products", "only_open");
      brl("i_products_selection", "only_open");
      brl("i_products_screenav_features", "only_open");
      brl("i_products_screenav_features_list", "only_open");
      brl("i_products_screenav_versions", "only_open");
      brl("i_products_screenav_requirements", "only_open");
    }
  }
//Funktion den aktuellen Seiten-Linkbaum aufzuklappen und zu highlighten
  function brindex ()
  { //Namen des Seite zu Index
    var brindex = hrefindex();
    //aufklappen
    var tmpa = 0;
    var tmpe = 0;
    while (-1 < brindex.indexOf("_",tmpa))
    { tmpa = brindex.indexOf("_",tmpa) +1;
      tmpe = brindex.indexOf("_",tmpa);
      if (tmpe == -1)
        tmpe = brindex.length;
      if (tmpe > tmpa)
      { brl (brindex.substring(0,tmpe),'only_open')
        highlight(brindex.substring(0,tmpe));
      }
    }
    function highlight(_id)   //ACHTUNG: Der xxx-menülink wird NICHT gehighlightet!! Das wird in "xxxmenulink_watchdog()" gemacht!!
    { for (var i=0; i < document.getElementById("branch").getElementsByTagName("a").length ; i++)
      { if (-1 < document.getElementById("branch").getElementsByTagName("a")[i].href.indexOf("'" +_id +"'"))
        { document.getElementById("branch").getElementsByTagName("a")[i].style.color = "rgb(255,255,255)";
          document.getElementById("branch").getElementsByTagName("a")[i].style.fontWeight = "bold";
        }
      }
    }
  }
//Funktion um jeden Linkbaum aufzuklappen
  function brl_all (_funzt)
  { for (var i = 0; i < document.getElementById("branch").getElementsByTagName("div").length; i++)
    { if ("brxm" == document.getElementById("branch").getElementsByTagName("div")[i].className)
        brl (document.getElementById("branch").getElementsByTagName("div")[i].id, _funzt);
    }
    if (_funzt == "only_close")  {
      br_firstopen();
      brindex ();
    }
  }
//Funktion um einen Linkbaum aufzuklappen
  function brl (_ber,_funzt,_mingroesse)
  { if (_mingroesse > 0)
      _mingroesse = _mingroesse;
    else
      _mingroesse = 1;
    //Auf oder zu ..
    if (_funzt == "only_open")
    { window.document.getElementById(_ber).style.height = "auto";
      return;
    }
    if (_funzt == "only_close")
    { window.document.getElementById(_ber).style.height = "1px";
      return;
    }
    //.. oder Toggle
    else
    { if (window.document.getElementById(_ber).offsetHeight > _mingroesse + 2) {   //_mingroesse dient dazu, da manche Elemente NICHT auf Null Zurück geklappt werden sollen!!!
        //Zuklappen
        window.document.getElementById(_ber).style.height = _mingroesse + "px";
      }
      else {
        //Aufklappen
        window.document.getElementById(_ber).style.height = "auto";
      }
    }
  }

  function hrefindex ()
  { var brindex = unescape(self.location);
    if (AVCrun == "HP")
      var tmpa = brindex.lastIndexOf("/i_")+1;
    else
      var tmpa = brindex.lastIndexOf("/avccd_")+1;
    var tmpe = brindex.indexOf(".",tmpa);
    return brindex.substring(tmpa,tmpe);
  }


//menuLinks aktiv setzen
  function xxxmenulink_watchdog()
  { if ((xxxmenulink_status == "activate") && (All_Images == "loaded"))
    { //zuerst alle Deaktivieren !
      for (var i = 1; i < 8; i++)
      { document.getElementById("xx" +i +"menulink").style.color = "";
        document.getElementById("xx" +i +"menulink").style.fontWeight = "";
        //Icon-Bild löschen
        if (document.getElementById("xx" +i +"menulink").href.indexOf("nix") == -1)
        { document.getElementById("xx" +i +"menufield").getElementsByTagName("div")[0].style.borderColor = "rgb(160,150,150)";
          document.getElementById("xx" +i +"menufield").getElementsByTagName("div")[1].style.borderColor = "rgb(160,150,150)";
          document.getElementById("xx" +i +"menufield").getElementsByTagName("div")[2].style.borderColor = "rgb(160,150,150)";
          document.getElementById("xx" +i +"menufield").getElementsByTagName("div")[3].style.borderColor = "rgb(160,150,150)";
        }
      }
      //Dann Aktivieren !
      if (-1 != xxxmenulink_active.indexOf("xx"))
      { document.getElementById(xxxmenulink_active +"menufield").getElementsByTagName("div")[0].style.borderColor = "rgb(209,164,76)";
        document.getElementById(xxxmenulink_active +"menufield").getElementsByTagName("div")[1].style.borderColor = "rgb(209,164,76)";
        document.getElementById(xxxmenulink_active +"menufield").getElementsByTagName("div")[2].style.borderColor = "rgb(209,164,76)";
        document.getElementById(xxxmenulink_active +"menufield").getElementsByTagName("div")[3].style.borderColor = "rgb(209,164,76)";
        document.getElementById(xxxmenulink_active +"menufield").getElementsByTagName("div")[0].style.backgroundColor = "rgb(255,255,255)";


        document.getElementById(xxxmenulink_active +"menulink").style.color = "rgb(255,255,255)";
        document.getElementById(xxxmenulink_active +"menulink").style.fontWeight = "bold";
        if (-1 == navigator.userAgent.indexOf("Opera"))
          document.getElementById(xxxmenulink_active +"menulink").parentNode.parentNode.style.backgroundImage = "url(../graphics/style073/style073_menu_headlinemirror.gif)";
        document.getElementById(xxxmenulink_active +"menulink").parentNode.parentNode.style.backgroundRepeat = "repeat-x";
        document.getElementById(xxxmenulink_active +"menulink").parentNode.parentNode.style.paddingLeft = "3px";
        document.getElementById(xxxmenulink_active +"menulink").parentNode.parentNode.style.verticalAlign = "middle";
        if ((0 == document.getElementById(xxxmenulink_active +"menulink").getElementsByTagName("img").length) && (-1 == navigator.userAgent.indexOf("Opera"))) { //Abfrage. sonst baut sich immer mehr auf wenn wieder angeklickt...
          var newLI = document.createElement("img");
          document.getElementById(xxxmenulink_active +"menulink").appendChild(newLI);
          document.getElementById(xxxmenulink_active +"menulink").getElementsByTagName("img")[0].src = "../graphics/style073/style073_menu_headlinemirror_lefte.gif";
        }
        xxxmenulink_status = "wait";  //Damit nicht immer der Sytyle neu gesetzt wird !!!
      }
    }
    window.setTimeout("xxxmenulink_watchdog()",400);
  }
  var xxxmenulink_active = "0";
  var xxxmenulink_status = "wait";