 function RetrieveHelp()
  {
   document.getElementById("HelpContent").innerHTML="<CENTER><IMG SRC='Graphix/Load.gif' WIDTH=16 HEIGHT=16></CENTER>";

   var xmlhttp=false;
   /*@cc_on @*/
   /*@if (@_jscript_version >= 5)
    try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } }
   @end @*/
   if (!xmlhttp && typeof XMLHttpRequest!='undefined')
    {
     try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp=false; }
    }
   if (!xmlhttp && window.createRequest)
    {
     try { xmlhttp = window.createRequest(); } catch (e) { xmlhttp=false; }
    }

   xmlhttp.open("GET", "HelpFramework.php?RandomID="+Math.random(0),true);
   xmlhttp.onreadystatechange=function() {
    if (xmlhttp.readyState==4)
     {
      document.getElementById("HelpContent").innerHTML=xmlhttp.responseText;
     }
    }
   xmlhttp.send(null)
  }

 function UpdateMonths(Year)
  {
   document.getElementById("Months").innerHTML="<DIV STYLE='padding-left: 10px; font-family: Tahoma; font-size: 11px;'><IMG SRC='Graphix/Load-2.gif' WIDTH=16 HEIGHT=16></DIV>";
   document.getElementById("Days").innerHTML="<DIV STYLE='padding-left: 10px; font-family: Tahoma; font-size: 11px;'>Select month first.</DIV>";

   var xmlhttp=false;
   /*@cc_on @*/
   /*@if (@_jscript_version >= 5)
    try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } }
   @end @*/
   if (!xmlhttp && typeof XMLHttpRequest!='undefined')
    {
     try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp=false; }
    }
   if (!xmlhttp && window.createRequest)
    {
     try { xmlhttp = window.createRequest(); } catch (e) { xmlhttp=false; }
    }

   xmlhttp.open("GET", "Months.php?Year="+Year+"&RandomID="+Math.random(0),true);
   xmlhttp.onreadystatechange=function() {
    if (xmlhttp.readyState==4)
     {
      document.getElementById("Months").innerHTML=xmlhttp.responseText;
     }
    }
   xmlhttp.send(null)
  }

 function UpdateDays(Month,Year)
  {
   document.getElementById("Days").innerHTML="<DIV STYLE='padding-left: 10px; font-family: Tahoma; font-size: 11px;'><IMG SRC='Graphix/Load-2.gif' WIDTH=16 HEIGHT=16></DIV>";

   var xmlhttp=false;
   /*@cc_on @*/
   /*@if (@_jscript_version >= 5)
    try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } }
   @end @*/
   if (!xmlhttp && typeof XMLHttpRequest!='undefined')
    {
     try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp=false; }
    }
   if (!xmlhttp && window.createRequest)
    {
     try { xmlhttp = window.createRequest(); } catch (e) { xmlhttp=false; }
    }

   xmlhttp.open("GET", "Days.php?Year="+Year+"&Month="+Month+"&RandomID="+Math.random(0),true);
   xmlhttp.onreadystatechange=function() {
    if (xmlhttp.readyState==4)
     {
      document.getElementById("Days").innerHTML=xmlhttp.responseText;
     }
    }
   xmlhttp.send(null)
  }