<!-- 
function W(S){document.write(S);}
function WM(M, S){
	W("<OPTION VALUE=");W(M);
	if(nowMonth == M){
		W(" SELECTED>");W(S);
	}
	else{ 
		W(">");W(S);
	}
}
function WY(Y, S){
	W("<OPTION VALUE=");W(Y);
	if(nowYear == Y){
		W(" SELECTED>");W(S);
	}
	else{ 
		W(">");W(S);
	}
}
function W_Opts(n){
	for (i=2;i<n;i++){
		W("<OPTION VALUE=\""+i+"\"");W(">"+i) ;
	}
}

var now = new Date();
var newMonth = now.getMonth() + 1;
nowMonth = newMonth;
nowDay = now.getDate();
nowYear = now.getFullYear();

nowFullYear=now.getFullYear();
nowFullYear1=nowFullYear+1;
nowFullYear2=nowFullYear+2;

// Y
W("<SELECT NAME='lstYr' onchange='fDataValidations(document.all.lstYr.value, document.all.lstMth.value, document.all.lstDay.value, document.all.lstNoNights.value)'>");
WY(nowFullYear,nowFullYear);WY(nowFullYear1,nowFullYear1);WY(nowFullYear2,nowFullYear2);W("</SELECT>");

// M
W("<SELECT NAME='lstMth' onchange='fDataValidations(document.all.lstYr.value, document.all.lstMth.value, document.all.lstDay.value, document.all.lstNoNights.value)'>");
WM(1,"January");WM(2,"February");WM(3,"March");WM(4,"April");WM(5,"May");WM(6,"June");WM(7,"July");WM(8,"August");WM(9,"September");WM(10,"October");WM(11,"November");WM(12,"December");
W("</SELECT>");
// D
//W("<SELECT NAME='lstDay' onchange='fDataValidations(document.all.lstYr.value, document.all.lstMth.value, document.all.lstDay.value, document.all.lstNoNights.value)'><OPTION VALUE='1'");
W("<SELECT NAME='lstDay' onchange='fDataValidations(document.all.lstYr.value, document.all.lstMth.value, document.all.lstDay.value, document.all.lstNoNights.value)'>");
for (i=1;i<32;i++) {
	W("<OPTION VALUE=\""+i+"\"");
	if (now.getDate() == i) { W(" SELECTED>"+i) } else { W(">"+i) }
}
W("</SELECT>");

W("<script language='JavaScript'>")
W("var NumDayThisMonth=fGetDaysInMonth(nowMonth,now.getFullYear());");
W("RemoveDaysInSelBox(NumDayThisMonth);");
W("AddDaysToSelBox(NumDayThisMonth);");
//W("AddExtraDays(18);");
//W("fDaysAhead(document.all.lstYr.value, document.all.lstMth.value, document.all.lstDay.value, document.all.lstNoNights.value);");
W("</SCRIPT>");

//-->