function checkRates(form) {
	var rnMO = document.form.month.options[document.form.month.selectedIndex].value.substr(2,2);
	var rnYR = document.form.month.options[document.form.month.selectedIndex].value.substr(0,2);
	var rnDT = rnMO+document.form.day.options[document.form.day.selectedIndex].value+rnYR+";";
	var rnNT = document.form.night.options[document.form.night.selectedIndex].value+";";
	var rnAD = document.form.adult.options[document.form.adult.selectedIndex].value+";";
	var rnCH = "00;";
	var rnSQ = "001";
	var rnURL = "https://resnet.tropicana.net/cgi-bin/lansaweb?procfun+rn+resnet+r15+funcparms+UP(A2560):;;"+rnDT+rnNT+rnAD+rnCH+rnSQ+";?";
	var rnURL2 = "https://resnet.tropicana.net/cgi-bin/lansaweb?procfun+rn+resnet+r15+funcparms+UP(A2560):;;"+rnDT+rnNT+rnAD+rnCH+rnSQ+";?";
	if (rnYR==06 && rnMO>=10) {
		window.location.href = pageTracker._getLinkerUrl(rnURL);
	} else {
		window.location.href = pageTracker._getLinkerUrl(rnURL2);
	}
}

function groupRates(form) {
	var rnSOC = document.socform.offercode.value.toUpperCase();
	var rnURL = "https://resnet.tropicana.net/cgi-bin/lansaweb?procfun+rn+resnet+r15+funcparms+UP(A2560):;"+rnSOC+";?";
	window.location.href = rnURL;
}

function setDate()
{
var today = new Date(); with (document.form)
{
month.selectedIndex = today.getMonth();
day.selectedIndex = today.getDate() - 1;

}
}