function GamePop( Url, WinName, Width, Height, Scrollbars, Location, Toolbar ) {
var OptionStr = "scrollbars=" + Scrollbars + ",location=" + Location + ",toolbar=" + Toolbar + ",width=" + Width + ",height=" + Height;
var HelpWindow = window.open( Url, WinName, OptionStr );
}

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.
	var partition = "ach";			// From ResNet. Usually a 3 character code that was given to you during ResNet setup
	var offer = ""; 				// From ResNet. If using the default blank offer just leave the two quote marks
	var domain = "res.hiltonac.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 roomType = document.ResNetGetRates.roomType.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";
//	alert ("https://"+domain+"/resnet/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");
//	ALERT USED FOR PROOF AND TESTING OK TO REMOVE BY CLIENT

}
