function submitResForm(theForm) { Form = eval("document."+theForm); arrivalmonth = Form.arrivaldate.value.split("|"); themonth = "0" + arrivalmonth[0]; themonth = themonth.substring(themonth.length-2,themonth.length); theyear = arrivalmonth[1]; Form.action = "https://res.seminolehardrock.com/CGI-BIN/LANSAWEB?PROCFUN+rn+resnet+HHR+funcparms+UP(A2560):;AHDLX01;" + themonth + Form.arrivalday.value + theyear + ";" + Form.days.value + ";" + Form.adults.value + ";;;;;;;;;;;;;;?"; /* alert(Form.action); */ Form.submit(); }; document.writeln('
');