function checkAvailability(x){
	if (x == "hotel") {
				document.landmarkForm.action="http://travel.neworleansonline.com/nexres/search/search_results.cgi";
				document.landmarkForm.submit();
	}
	else if (x == "bandb") {
			htlDoaCal.returnSelectedDate("doa_yy","doa_mm","doa_dd");
			htlDodCal.returnSelectedDate("dod_yy","dod_mm","dod_dd");
			url = "http://www.webervations.com/magic-scripts/associations/neworleans.asp?numberOfAdults=2&arrivalDay=";
			url += document.getElementById('doa_dd').value;
			url += "&arrivalMonth=" + document.getElementById('doa_mm').value;
			url += "&departureDay=" + document.getElementById('dod_dd').value;
			url += "&departureMonth=" + document.getElementById('dod_mm').value;  
			window.location.href = url;
	}
}

function checkAvailability_342(x){
	if (x == "hotel") {
				document.landmarkForm.action="http://travel.neworleansonline.com/nexres/search/search_results.cgi";
				document.landmarkForm.submit();
	}
	else if (x == "bandb") {
			htlDoaCal.returnSelectedDate("doa_yy","doa_mm","doa_dd");
			htlDodCal.returnSelectedDate("dod_yy","dod_mm","dod_dd");
			url = "http://www.webervations.com/magic-scripts/associations/3for2.asp?numberOfAdults=2&arrivalDay=";
			url += document.getElementById('doa_dd').value;
			url += "&arrivalMonth=" + document.getElementById('doa_mm').value;
			url += "&departureDay=" + document.getElementById('dod_dd').value;
			url += "&departureMonth=" + document.getElementById('dod_mm').value;  
			window.location.href = url;
	}
}