function gotourl()
{   // builds the URL for ResNet.  Change the domain name 
	// and the partition and the offer below to match your needs 
	// the %3B in the URL is the semiColon.
	// to add any other paramaters please refer to the UP paramater document for resNet
	
	var partition = "wsh";	// From ResNet. Usually a 3 character code that was given to you during ResNet setup
	var offer = "webday2"; 	// From ResNet. If using the default blank offer just leave the two quote marks
	var roomType = "";   // change this to the first room type sequence in the offer used above or leave blank.
	var domain = "waikikisandvillahotel.com";	// Example: res.greathotel.com  DO NOT include the https//

	// DO NOT EDIT BELOW HERE 
	var month = document.ResNetGetRates.month.value;
	var date = document.ResNetGetRates.day.value;
	var year = document.ResNetGetRates.year.value;
	var nights = document.ResNetGetRates.nights.value;
	var adults = document.ResNetGetRates.adults.value;
	var children = document.ResNetGetRates.children.value;
	var myyear = year.substring(2,4)
	document.location.href =
	"https://"+domain+"/cgi-bin/lansaweb?procfun+rn+resnet+"+partition+"+funcparms+UP(A2560)%3A%3B"+offer+"%3B"+month+date+myyear+"%3B"+nights+"%3B"+adults+"%3B"+children+"%3B"+roomType+"%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3F";
}
