function checkformdate()
{
	var month = checkdateform.Month.selectedIndex.toString();
	var day = checkdateform.Day.selectedIndex.toString();
	var year = (checkdateform.Year.selectedIndex + 2006).toString();
	var date = month + "/" + day + "/" + year;
	var available = checkdate(date);
	if(available)
	{
		//alert("Available");
		window.location="available.html";
	} else {
		//alert("Not available");
		window.location="not_available.html";
	}
}

function checkdate(strDate)
{
	var aDates = new Array();


	aDates.push("8/1/2009");
	aDates.push("9/18/2009");
	aDates.push("9/19/2009");
	aDates.push("4/10/2010");

	for(var i=0;i<aDates.length;i++)
	{
		if(aDates[i] == strDate)
		{
			return false;
		}
	}	

	return true;
}