function ShowSearchBox() { DrawTop() var strFields = 'srchTravType*srchDest*srchStartTravDate*srchTravLength*' var aFields = strFields.split("*"); for(var i=0;i < aFields.length;i++) { var func = aFields[i].toLowerCase() if(func != '') { eval(func + '()') } } DrawSubmit() DrawBottom() } function UpdateForm(execsub) { if(typeof(document.VPSearchForm.srchDestText2) != 'undefined') { if ( document.VPSearchForm.srchDestText2.value != '' ) document.VPSearchForm.srchDestText.value = document.VPSearchForm.srchDestText2.value; else document.VPSearchForm.srchDestText.value = document.VPSearchForm.srchDestText1[document.VPSearchForm.srchDestText1.selectedIndex].value; } if(execsub == 1) document.VPSearchForm.submit() } //Input Functions! function srchdest() { document.write("