/* ===========================================================*/
/* Copyright (c) 2008 by SDN AG, CH-8912 Obfelden Switzerland */
/* -----------------------------------------------------------*/
/* Project : SDN KnowledgePortal                              */
/* -----------------------------------------------------------*/
/* $Id: jscalendar1.js,v 1.2 2008/08/22 08:45:54 MWE Exp $  */
/* ============================================================*/
/*
History
=======
$Log: jscalendar1.js,v $
Revision 1.2  2008/08/22 08:45:54  MWE
Erstellung des Div's dateselector_container von jscalendar1.js in simplecalendar.js verschoben. IE Fehler wegen IE Bug http://support.microsoft.com/kb/927917/en

Revision 1.1  2003/12/03 15:51:35  MWE
KnowledgePortal 2.0, update 2

Revision 1.2  2003/07/25 08:01:20  MWE
Change easyLEARN Portal to SDN Knowledgeportal

Revision 1.1  2002/12/06 15:06:39  MWE
Initial Release 6.12.2002 MWE

*/

        function temp_Browser(){
          this.dom = document.getElementById?1:0;
          this.ie4 = (document.all && !this.dom)?1:0;
          this.ns4 = (document.layers && !this.dom)?1:0;
          this.ns6 = (this.dom && !document.all)?1:0;
          this.ie5 = (this.dom && document.all)?1:0;
          this.ok = this.dom || this.ie4 || this.ns4;
          this.platform = navigator.platform;
        }
        var temp_browser = new temp_Browser();

        // dom browsers require this written to the HEAD section

      if (temp_browser.dom || temp_browser.ie4){
            document.writeln('<style>');
                document.writeln('#dateselector_container {');
                document.writeln('position : absolute;');
                document.writeln('left : 100px;');
                document.writeln('top : 100px;');
                document.writeln('width : 144px;');
                temp_browser.platform=='Win32'?height=145:height=145;
                document.writeln('height : ' + height +'px;');
                document.writeln('clip:rect(0px 144px ' + height + 'px 0px);');
                //document.writeln('overflow : hidden;');
                document.writeln('visibility : hidden;');
                document.writeln('background-color : #ffffff');
                document.writeln('}');
                document.writeln('</style>')
//                document.write('<div id="dateselector_container"');
//                document.write(' onmouseout="calendarTimeout();" onmouseover="if (timeoutId) clearTimeout(timeoutId);"');
//                document.write('></div>');
        }
