<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
MM_reloadPage(true);

function selectCurrentDateMonth(checkInDate,checkInMonth,checkOutDate,checkOutMonth)
{
	var today=new Date();
	var nextdate=new Date();
	var thisDay = today.getDate();
	var thisMonth = today.getMonth() + 1;
	
	nextdate.setDate(thisDay+1);
	
	var nextDay = nextdate.getDate();
	var nextMonth = nextdate.getMonth() + 1;
	
	for (var i = 0; i < checkInDate.length; ++i)
	{
		if (checkInDate.options[i].value==thisDay)
		{
			checkInDate.options[i].selected = true;
		}
	}
	for (var i = 0; i < checkInMonth.length; ++i)
	{
		if (checkInMonth.options[i].value == thisMonth)
		{
			checkInMonth.options[i].selected = true;
		}
	}
	for (var i = 0; i < checkOutDate.length; ++i)
	{
		if (checkOutDate.options[i].value== nextDay)
		{
			checkOutDate.options[i].selected = true;
		}
	}
	for (var i = 0; i < checkOutMonth.length; ++i)
	{
		if (checkOutMonth.options[i].value == nextMonth)
		{
			checkOutMonth.options[i].selected = true;
		}
	}
	
}

function selectCheckOutDateMonth(checkInDate,checkInMonth,checkOutDate,checkOutMonth)
{
	
	var d = checkInDate.value;
	var m = checkInMonth.value;
	m= m-1;
	s = new Date();
	y = s.getFullYear();
	var nextDate = new Date(y, m, d);
	
	d = nextDate.getDate();
	
	nextDate.setDate(d+1);
	
	var nextDay = nextDate.getDate();
	var nextMonth = nextDate.getMonth() + 1;
	var nextYear = nextDate.getFullYear();
	
	for (var i = 0; i < checkOutDate.length; ++i)
	{
		if (checkOutDate.options[i].value== nextDay)
		{
			checkOutDate.options[i].selected = true;
		}
	}
	for (var i = 0; i < checkOutMonth.length; ++i)
	{
		if (checkOutMonth.options[i].value == nextMonth)
		{
			checkOutMonth.options[i].selected = true;
		}
	}
}

//-->