
    //echo "<script type=\"text/javascript\">

    var timeinit    = 1000;

    // </script>";

    //echo "<script type=\"text/javascript\">

    document.write('<link rel="shortcut icon" type="image/x-icon" href="/wfl0/img/wot01.ico">');

    function SpecFunktion() {

      window.setTimeout('SpecFunktion()',timeinit);
      /*/images/header/<?php echo $tmpTools->getRandomImage(dirname(__FILE__).DS.'images/header'); ?>) no-repeat top*/

    }

    // </script>";

    //echo "<script type=\"text/javascript\">

    function initJS() {

      enableDropdownMenu();

    }

    // </script>";

    //echo "<script type=\"text/javascript\">

    function WunschHref() {

      if (ServerVar == 0) {Ptext = "http://www.teiwes-net.de/wfl0/gd2/gd2_grafik.php?DIA_ctrl=no&PARAM_file=gd2_grafik_param.php";}
      else  {Ptext = "http://localhost/wfl0/gd2/gd2_grafik.php?DIA_ctrl=yes&PARAM_file=gd2_grafik_param.php";}

      // Ptext = "http://localhost/wfl0/gd2/gd2_grafik.php?DIA_ctrl=yes&PARAM_file=gd2_grafik_param.php";

      var Ziel = window.prompt("Geben Sie Ihren Wunsch_Link incl. aller Parameter ein  :",Ptext);

      var Suche = Ziel.indexOf("grafik");

      if (Suche > 0) {window.location.href = Ziel;}

    }

    // </script>";

    //echo "<script type=\"text/javascript\">

    var ccc = "";

    function exec_load_content(ccc)
    {

        alert(ccc);
      var Ziel = window.prompt("Geben Sie Ihren","ddd");
         alert(ccc);
      var Ziel = window.confirm("Geben Sie Ihren Wunsch_Container  :");

      c_cc = "<img src='/wfl0/img/Drache1.png' height='180' alt='Drache'"+
                  "style='text-decoration:none; border-color: transparent;margin:5 25;'>";

       document.getElementById(ccc).innerHTML = c_cc; //  + "  javascript:exec_load_content(container)";

    }

    // </script>";

    //echo "<script type=\"text/javascript\">

              function Get_WDB(hhh,lll) {
                var WDBWidth = hhh;
                // alert('window.document.body.clientWidth = ' + window.document.body.clientWidth);
                // < lll = "'${_SERVER['SCRIPT_NAME']}?WDB='">
                if (WDBWidth !=  window.document.body.clientWidth)
                  {location.href=lll + window.document.body.clientWidth;}
              }
              function Get_SAW(lll) {
                var SWWidth = screen.width;
                var SAWWidth = screen.availWidth;
                // alert('Screen-Width/AvailWidth = ' + SWWidth + '/' + SAWWidth);
                // < lll = "'${_SERVER['SCRIPT_NAME']}?scw='">
                location.href=lll + SWWidth;
              }

    // </script>";


    //echo "<script type=\"text/javascript\">

    function enableDropdownMenu()
    {
      if (document.all)
        {
        uls = document.getElementsByTagName('UL');

        for(i = 0; i < uls.length; i++)
        {
            if ((uls[i].className == 'dropdown') || (uls[i].className == 'singledrop'))
            {
                var lis = uls[i].getElementsByTagName('LI');

                for (j = 0; j < lis.length; j++)
                {
                    if(lis[j].lastChild.tagName == 'UL')
                    {
                        lis[j].onmouseover = function() { this.lastChild.style.display = 'block'; }
                        lis[j].onmouseout = function() { this.lastChild.style.display = 'none'; }

                    }
                }
            }
        }
      }
    }

    // </script>";
