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 + '()') } } document.write(''); 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() } function traveltypeChange() { if ( document.VPSearchForm.dropTravType.value != 'CRVA' && document.VPSearchForm.dropTravType.value != 'CRUZ' && document.VPSearchForm.dropTravType.value != 'PKG' && document.VPSearchForm.dropTravType.value != 'TOUR' && document.VPSearchForm.dropTravType.value != 'AUTO' && document.VPSearchForm.dropTravType.value != 'LODG' && document.VPSearchForm.dropTravType.value != 'AIR' ) { document.VPSearchForm.srchTravelSubType.value = document.VPSearchForm.dropTravType.value; var res = document.VPSearchForm.srchTravelSubType.value.split("*"); document.VPSearchForm.srchTravType.value=res[0]; document.VPSearchForm.srchTravelSubType.value =res[1]; } else{ document.VPSearchForm.srchTravelSubType.value=""; document.VPSearchForm.srchTravType.value=document.VPSearchForm.dropTravType.value; } } //Input Functions! function srchdest() { document.write(""); document.write("Destination:
"); document.write(""); document.write(" or
Type In Destination:
"); document.write(""); document.write(""); document.write(""); } function srchtravtype() { } function srchstarttravdate() { document.write(' '); document.write(' Departure Date:
'); document.write(' '); document.write(' '); document.write(' '); } function srchendtravdate() { document.write(' '); document.write(' Return Date:
'); document.write(' '); document.write(' '); document.write(' '); } function srchtravlength() { document.write(" "); document.write(" Travel Length
"); document.write(" "); document.write(" "); document.write(" "); } function srchtravbudget() { document.write ('') document.write ('Price range per person') document.write ('') document.write ('') } function srchexclusivesonly() { document.write ('') } function DrawTop() { document.write("
"); document.write(" "); document.write(""); } function DrawBottom() { document.write("
"); document.write("
"); } function DrawSubmit() { document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); }