      // LOGINFELD ///////////////////////////////////////
       // onload und onfocus handling für login-feld
      addHandler (window,'load', function () {
          window.name = '';
          loginIframe = document.getElementById('loginarea');
          adjustLogin(isCookieValid());
          setFocusOrtssuche();

          addHandler(window, 'focus', function (event) {
              adjustLogin(isCookieValid());
              setFocusOrtssuche();
          });
      });

      function transformLogin2Link() {
          loginIframe.style.height = '25px';
      }

      function transformLink2Login () {
          loginIframe.style.height = '62px';
      }

      function adjustLogin (hasValidCookie) {
          var iframeHeight = loginIframe.clientHeight;

          if (hasValidCookie && (iframeHeight == 62 || iframeHeight == 60)) {
              try {
                  transformLogin2Link();
                  loginIframe.contentWindow.focus();
              }
              catch (exception){}

          } else if ((hasValidCookie === false) && (iframeHeight == 25 || iframeHeight == 23)) {
              try {
                  transformLink2Login();
                  loginIframe.contentWindow.focus();
              }
              catch (exception) {
                  transformLogin2Link();
              }
          }
      }     
