var today = new Date();
var tourCount = 12;
var arrTours = new Array();

function initTourList()
{
	arrTours[0] = new Array("Canadian Maritimes", 13, 1411);
	arrTours[1] = new Array("Maritimes Magic", 10, 1871);	
	arrTours[2] = new Array("Enchanting Island", 5, 1218);
	arrTours[3] = new Array("Atlantic Maritimes", 8, 1411);
	arrTours[4] = new Array("Nova Scotia & PEI", 9, 1499);
	arrTours[5] = new Array("New England & Canada", 12, 3689);
	arrTours[6] = new Array("New England Cruise", 7, 1496);
	arrTours[7] = new Array("New Foundland", 12, 1599);
	arrTours[8] = new Array("Go As You Please", 8, "not estimated");
	arrTours[9] = new Array("Tour of The Maritimes", 13, "not estimated");
	arrTours[10] = new Array("Maritime Provinces", 7, "not estimated");
	arrTours[11] = new Array("Prince Edward Island & NS", 8, "not estimated");
}

function printTourName(index)
{
	var i;
	for(i = 0; i < tourCount; i++)
	{
		document.write("<option value='" + arrTours[i][0] + "'");
		if (index == i)
			document.write(" selected");
		document.write(">" + arrTours[i][0] + "</option>");
	}
}

function printTourDay(index)
{
	var i;
	for(i = 0; i < tourCount; i++)
	{
		document.write("<option value='" + arrTours[i][1] + "'");
		if (index == i)
			document.write(" selected");
		document.write(">" + arrTours[i][1] + "</option>");
	}
}

function printTourPrice(index)
{
	var i;
	for(i = 0; i < tourCount; i++)
	{
		document.write("<option value='" + arrTours[i][2] + "'");
		if (index == i)
			document.write(" selected");
		document.write(">" + arrTours[i][2] + "</option>");
	}
}

function printHotelCategory(index)
{
	var strCate = new Array("4 Stars", "3.5 Stars", "Resort / Cottage", "Bed & Breakfast", "Country Inn", "Motel - Budget");
	var i;
	for(i = 0; i < 6; i++)
	{
		document.write("<option value='" + strCate[i] + "'");
		if (index == strCate[i])
			document.write(" selected");
		document.write(">" + strCate[i] + "</option>");
	}
}

function printYear(index)
{
	var i;	
	for (i = 2003; i < 2011; i++)
	{
		document.write("<option value=" + i);
		if (index == i)
			document.write(" selected");
		document.write(">" + i + "</option>");
	}
}

function printMonth(index)
{
	var i;	
	for (i = 1; i < 13; i++)
	{
		document.write("<option value=" + i);
		if (index == i)
			document.write(" selected");
		document.write(">" + i + "</option>");
	}
}

function printDay(index)
{
	var i;	
	for (i = 1; i < 32; i++)
	{
		document.write("<option value=" + i);
		if (index == i)
			document.write(" selected");
		document.write(">" + i + "</option>");
	}
}