function CheckAvailabiltySec()
{
	var the_package_id=document.theResForm.pkgc.value;
	

	//alert(the_package_id);
	if (the_package_id =="All_Pk")
	{
		document.theResForm.action="https://fallsview.reservation.org/SFV_1962222/Packages_ALL.asp?Prp_ID=SFV&AFL_ID=SFV_CLIENTWEB";
	}
	else
	{
	if (the_package_id =="Room")
	{
		document.theResForm.action="https://fallsview.reservation.org/English/Availability_Check_AllRooms.asp?prp_ID=SFV&AFL_ID=SFV_CLIENTWEB";
	}
	else
	{
		document.theResForm.action="https://fallsview.reservation.org/SFV_1962222/availability.asp?AFL_ID=SFV_CLIENTWEB";
	}
	}
}

function formlinks(){
if(document.theResForm.pkgc.value == "PKG_15") {
window.open('http://niagaracentralreservations.com');
return true;
}else if(document.theResForm.pkgc.value == "PKG_16") {
window.open('http://niagaracentralreservations.com');
return true;
}else if(document.theResForm.pkgc.value == "PKG_17") {
window.open('http://niagaracentralreservations.com');
return true;
}else if(document.theResForm.pkgc.value == "PKG_18") {
window.open('http://niagaracentralreservations.com');
return true;
}else if(document.theResForm.pkgc.value == "PKG_19") {
window.open('http://niagaracentralreservations.com');
return true;
}else if(document.theResForm.pkgc.value == "PKG_20") {
window.open('http://niagaracentralreservations.com');
return true;
}

}

function disable_enable(){
if (theResForm.search.value=="Room Only Rates")
theResForm.packages.disabled=true;
else
theResForm.packages.disabled=false;
}