var strCookieName = 'LCCMSPAGE_COMPATIBILITY_08B03331E01045F1A2E14B852162A44D';
    var strInfo = '';

    var bScreenResOK = (GetCookie(strCookieName) != null) || (screen.width >= screenMinHor && screen.height >= screenMinVer);
    var bBrowserOK   = (GetCookie(strCookieName) != null) || is_nav6up || is_ie6up;

    if (!bScreenResOK || !bBrowserOK)
    {
        if (!bScreenResOK)
        {
            strInfo += '<P CLASS="Info">';
            strInfo += '<B>Achtung:</B> Sie verwenden derzeit eine Auflösung von ' + screen.width + '&nbsp;x&nbsp;' + screen.height + ' Punkten.<BR>';
            strInfo += 'Die folgenden Seiten sind für die Auflösung '+screenMinHor+' x '+screenMinVer+' optimiert.<BR><BR>';
            strInfo += '</P>';
        }

        if (!bBrowserOK)
        {
            strInfo += '<P CLASS="Info">';
            strInfo += '<B>Achtung:</B> Sie verwenden derzeit keinen aktuellen Browser.<BR>';
            strInfo += 'Die folgenden Seiten sind für die Browser Internet Explorer 6.0, Netscape 6.0 und Mozilla 1.7 (und höher) optimiert.<BR><BR>';
            strInfo += 'Bitte teilen Sie uns eventuelle Probleme per Email an <a href="mailto:technik@officecms.com">technik@officecms.com</a> mit oder ';
            strInfo += 'besuchen Sie uns unter <a href="http://www.officecms.com/support/browsers" target="_blank">http://www.officecms.com/support/browsers</a> für weitere Informationen.';
            strInfo += '</P>';
        }
    }
    else
    {
        self.location.replace(strRedirectPage);
    }


    function SetNeverAgainCookie() {
      if (document.formCookie.cbxNeverAgain.checked) {
        var today = new Date();
        var expiry = new Date(today.getTime() + 10 * 365 * 24 * 60 * 60 * 1000);
        SetCookie(strCookieName, 'NEVERAGAIN', expiry);
      }
      self.location.href = strRedirectPage;
      return(false);
    }


document.writeln('<STYLE TYPE="text/css"> BODY, TD, TH, SPAN, DIV, P, A, INPUT, TEXTAREA, SELECT {font-family:Verdana,Geneva,Arial,Helvetica,sans-serif; font-size:12px;}');
document.writeln('  .Title { font-size:20px; font-weight:bold; }');
document.writeln('  .Info  { }');
document.writeln('  .Small { font-size:10px; }');
document.writeln('    </STYLE>');
document.writeln('</HEAD>');
document.writeln('<BODY LEFTMARGIN="0" TOPMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">');
document.writeln('<DIV ALIGN="center">');
document.writeln('<BR>');
document.writeln('<FORM NAME="formCookie" onSubmit="return(SetNeverAgainCookie(strCookieName))">');
document.writeln('<P CLASS="Title">' + strProjectName + '</P>');
document.writeln('<IMG SRC="images/logomain.jpg" BORDER="0" ALT="">');
document.writeln(strInfo);
document.writeln('<P CLASS="Small">');
document.writeln('<INPUT TYPE="submit" NAME="btnSubmit" VALUE="Weiter zur Seite ..."><BR>');
document.writeln('<INPUT TYPE="checkbox" NAME="cbxNeverAgain" VALUE="1">Diesen Hinweis nicht mehr anzeigen.<BR>');
document.writeln('</P>');
document.writeln('</FORM>');
document.writeln('</DIV>');