function setDates(){
	today = new Date();
	tomorrow = new Date(Date.parse(today) + 86400000);
	inaweek = new Date(Date.parse(today) + 86400000 * 7);
	document.forms.frmSearch.checkin.value = (tomorrow.getMonth() + 1) + '/' + tomorrow.getDate() + '/' + (tomorrow.getYear() < 2000 ? tomorrow.getYear() + 1900 : tomorrow.getYear());
	document.forms.frmSearch.checkout.value = (inaweek.getMonth() + 1) + '/' + inaweek.getDate() + '/' + (inaweek.getYear() < 2000 ? inaweek.getYear() + 1900 : inaweek.getYear());
}

function setDatesLong(){
	today = new Date();
	first_next_month = new Date((today.getYear() < 2000 ? today.getYear() + 1900 : today.getYear()), today.getMonth() + 1, 1);
	document.forms.frmSearch.checkin.value = (first_next_month.getMonth() + 1) + '/' + first_next_month.getDate() + '/' + (first_next_month.getYear() < 2000 ? first_next_month.getYear() + 1900 : first_next_month.getYear());
}
