function setToday(){
	var formName = document.Form1;
	var tDate = new Date();
	//Return 01-31 day of the month
	var tDay = tDate.getDate();
	var modDay = tDay;
	//var modDay = (tDay.toString().length < 2) ? "0" + tDay : tDay;
	//var tDay = 31;
	//var modDay = 31;
	//Return 01-12 months
	var tMonth = 1 + (tDate.getMonth());
	var modMonth = tMonth;
	//var modMonth = (tMonth.toString().length < 2) ? "0" + tMonth : tMonth;
	//returns year 
	var tYear = 1900+(tDate.getYear());
	//alert('Year=' +tYear+ ' Month=' +modMonth+ ' Day=' +modDay);
	
	//Set To: field to the next day, or first day of next month if From: is last day of current month
	//Uses function Calendar_get_daysofmonth() from createCalendar.js
	/*var daysInMonth = Calendar_get_daysofmonth(tMonth+1, tYear);
	if ((tDay + 1) > daysInMonth){
		//Last day of month, go to next month
		var monthFlag = true;
	} else {
		var monthFlag = false;
	}*/
	
	//Set the current day
	for (var z=0; z<formName.ddl_start_day.options.length; z++){
		if (formName.ddl_start_day.options[z].value == modDay){
			formName.ddl_start_day.options[z].selected = true;
			/*var nextDay = (monthFlag  ? 0 : (z + 1));
			formName.endDay.options[nextDay].selected = true;*/
			formName.ddl_end_day.options[z].selected = true;
		}
	}
	//Set the current month
	for (var y=0; y<formName.ddl_start_month.options.length; y++){
		if (formName.ddl_start_month.options[y].value == modMonth){
			formName.ddl_start_month.options[y].selected = true;
			/*if (monthFlag){
				var nextMonth = (y != 11 ? y + 1 : 0);
			} else {
				var nextMonth = y;
			}			
			formName.endMonth.options[nextMonth].selected = true;*/
			formName.ddl_end_month.options[y].selected = true;
		}
	}
	//Set the current year
	for (var x=0; x<formName.ddl_start_year.options.length; x++){
		if (formName.ddl_start_year.options[x].value == tYear){
			formName.ddl_start_year.options[x].selected = true;
			formName.ddl_end_year.options[x].selected = true;
		}
	}
}