<!--
function populate(objForm,selectIndex)
{
	timeA = new Date(objForm.arrivalyear.options[objForm.arrivalyear.selectedIndex].text, objForm.arrivalmonth.options[objForm.arrivalmonth.selectedIndex].value,1);
	timeDifference = timeA - 86400000;
	timeB = new Date(timeDifference);
	var daysInMonth = timeB.getDate();
	for (var i = 0; i < objForm.arrivalday.length; i++)
	{
		objForm.arrivalday.options[0] = null;
	}
	for (var i = 0; i < daysInMonth; i++)
	{
		objForm.arrivalday.options[i] = new Option(i+1);
	}
	document.booking.arrivalday.options[0].selected = true;
}
function getYears()
{
	var years = new Array(2006,2007,2008)
	for (var i = 0; i < document.booking.arrivalyear.length; i++)
	{
		document.booking.arrivalyear.options[0] = null;
	}
	timeC = new Date();
	currYear = timeC.getFullYear();
	for (var i = 0; i < years.length; i++)
	{
		document.booking.arrivalyear.options[i] = new Option(years[i]);
	}
	document.booking.arrivalyear.options[2].selected=true;
}
function populate2(objForm,selectIndex)
{
	timeA = new Date(objForm.departureyear.options[objForm.departureyear.selectedIndex].text, objForm.departuremonth.options[objForm.departuremonth.selectedIndex].value,1);
	timeDifference = timeA - 86400000;
	timeB = new Date(timeDifference);
	var daysInMonth = timeB.getDate();
	for (var i = 0; i < objForm.departureday.length; i++)
	{
		objForm.departureday.options[0] = null;
	}
	for (var i = 0; i < daysInMonth; i++)
	{
		objForm.departureday.options[i] = new Option(i+1);
	}
	document.booking.departureday.options[0].selected = true;
}
function getYears2()
{
	var years = new Array(2006,2007,2008)
	for (var i = 0; i < document.booking.departureyear.length; i++)
	{
		document.booking.departureyear.options[0] = null;
	}
	timeC = new Date();
	currYear = timeC.getFullYear();
	for (var i = 0; i < years.length; i++)
	{
		document.booking.departureyear.options[i] = new Option(years[i]);
	}
	document.booking.departureyear.options[2].selected=true;
}
window.onLoad = getYears;
window.onLoad = getYears2;
//-->
