function changeyear(cboYear,txtYear)
{
year = txtYear.value;
if(year.length == 4)
{
	cboYear.value = year;
}
else
{
	cboYear.value = "";
}
}

function populateyear(cboYear,txtYear)
{
	if(cboYear.selectedIndex != 0)
	{
		txtYear.value = cboYear.value;
	}
}
function changemonth(cboMonth,txtMonth)
{
month = txtMonth.value;
if(month.length == 3)
{
	for(i=0;i<cboMonth.length;i++)
	{
		if(cboMonth[i].text.toUpperCase() == month.toUpperCase())
		{
			cboMonth[i].selected = true;
		}
	}
}
else
{
	cboMonth.selectedIndex = 0;
}
}

function populatemonth(cboMonth,txtMonth)
{
	if(cboMonth.selectedIndex != 0)
	{
		txtMonth.value = cboMonth[cboMonth.selectedIndex].text;
	}
	else {
		txtMonth.value = "";
	}
}
