<!--
// Create a variable to contain the local date
var right_now=new Date();

// create an array for the month name
var month_name = new Array (
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December");


// Begin selection option for month
document.write("<select name=monthsI>")

// Loop to create options for month with current month selected
for (counter = 0; counter < 12; counter++)
{
var mth_select="";

// If the counter = the current month then
// change the variable mth_select from null to selected
if (counter == right_now.getMonth())
{
var mth_select="selected "
}

// Write out the options for month
document.write ("<option " + mth_select + "value=" + (counter+1) +">" + month_name[counter] + "</option>");
}
document.write("</select> ");

// Begin selection option for day
document.write("<select name=daysI>")

// Loop to create options for date with current date selected
for (counter = 1; counter < 32; counter++)
{
var select="";
if (counter == right_now.getDate())
{
var select="selected "
}
// Write out the options for date
document.write ("<option " + select + "value=" + counter +">" + counter + "</option>");
}
document.write("</select> ");


// Begin selection option for year
document.write("<select name=yearI>")
// Loop to create options for year with current year selected
//for (counter = right_now.getYear()+0; counter < right_now.getYear()+3; counter++)
//{

// If the counter = the current month then
// change the variable date_select from null to selected
//var date_select="";
//if (counter == right_now.getYear())
//{
//var date_select="selected "
//}
// Write out the options for year
document.write ("<option value=2012>2012</option>");
document.write ("<option  value=2013>2013</option>");
//}
document.write("</select>");



// -->

