// JavaScript Document

<!--
var now = new Date();
var day = now.getDate();
var month = now.getMonth()+1; // numbered from 0
var year = now.getYear();
if (year < 1900) year += 1900; // or use getFullYear() in v4 browsers
/* comment the following line out to remove the display of date */
//document.write(now.toString()+'<br>'+year+'/'+month+'/'+day); 



function setDrops (){
   // I assume Day and months are all there and start with "Select a Day and Select a month
   document.getElementById("day_date").selectedIndex = day;
   document.getElementById("month_date").selectedIndex = month;
  // now the year will be slightly different
   var found = 0;
   for(i=1;i<document.getElementById("year_date").options.length;i++) {
      if (document.getElementById("year_date").options[i].value == year) {
         found =i;
         break;
      }
   }
   document.getElementById("year_date").selectedIndex =  found;
}

//-->