function populateCheckOut(theForm)
{
			var monthYear= theForm.checkInMonthYear.value;
			var month = monthYear.substring(0,monthYear.length-4);
			var year = monthYear.substring(monthYear.length-4);
			var date = theForm.checkInDate.selectedIndex+1;
			var outDateObj = new Date(year, month, date);
			theForm.checkOutMonthYear.value = monthYear;
			//We have set the checkOutMonthYear, now see how to set the date field
			if((theForm.checkOutMonthYear.selectedIndex != theForm.checkInMonthYear.selectedIndex) ||
				(outDateObj.getDate() > theForm.checkOutDate.selectedIndex)) {
				theForm.checkOutDate.selectedIndex = outDateObj.getDate();
			}
}
function FrontPage_Form1_Validator(theForm){  return (true);}
//////////////////////////////////////////////////////////////////////////////////
var curDate	    = new Date();
var curDay		= curDate.getDate();
var curMonth	= curDate.getMonth();
var curYear		= curDate.getFullYear();
mN = Array( "", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" , "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" );

function optionDay(){
	var htmlA = "";var j;
	for (j=1;j<=31;j++){
		htmlA = htmlA + "<option value=" + (j);
		if(j==curDay){htmlA = htmlA + " selected";}
		htmlA = htmlA + ">" + j + "</option>\r\n";
	}
document.write( htmlA );
}
function optionDay2(){
	var htmlAA = "";var jj;
	for (jj=1;jj<=31;jj++){
		htmlAA = htmlAA + "<option value=" + (jj);
		if(jj==curDay+1){htmlAA = htmlAA + " selected";}
		htmlAA = htmlAA + ">" + jj + "</option>\r\n";
	}
document.write( htmlAA );
}

function optionMonthYear(){
	var htmlAA = "";var i;
	for (i=(curMonth+1);i<=(curMonth+12);i++){
		htmlAA = htmlAA + "<option value=" + mN[i] + " ";
		if(i<=12){htmlAA = htmlAA + curYear + ">" + mN[i] + ' ' + curYear;
		}else{htmlAA = htmlAA + (curYear+1) + ">" + mN[i] + ' ' + (curYear+1);
		}
		htmlAA = htmlAA + "</option>\r\n";
}
document.write( htmlAA );
}

function optionNumber(from,to){
	var htmlC = "";var k;
for (k=from;k<=to;k++){
	htmlC = htmlC + "<option value=" + k + ">" + k + "</option>\r\n";
}
document.write( htmlC );
}
///////////////////////////////////////////////////////////////////////////