function submitWizard() { location.href = "/CruiseSearch.aspx?wdestination=" + $("#wdestination").val() + "&wdepartureport=" + $("#wdepartureport").val() + "&wdaterange=" + $("#wdaterange").val() + "&wship=" + $("#wship").val(); } function hafen_change(elem_sel) { for (var i = 0; i < elem_sel.options.length; i ++) { var div_hafen = document.getElementById("hafen_" + elem_sel[i].value); if (div_hafen != null) { div_hafen.style.display = "none"; } } var div_hafen = document.getElementById("hafen_" + elem_sel[elem_sel.selectedIndex].value); if (div_hafen != null) { div_hafen.style.display = "block"; } } function wo(url, target, params) { window.open( url, target, 'location=0,menubar=0,titlebar=0,scrollbars=0,status=0,toolbar=0' + (params!=''?',' + params:'')); return false; } function openSweepstakes(url, width, height, target) { if(!target) { target = 'sweepstakes'; } if(!width) { width = 457; } if(!height) { height = 550; } window.open(url, target, 'width=' + width + ',height=' + height + ',scrollbars=1'); } function fBlock() { $.blockUI({ message: $("#loadingRcclDiv").get(0) }); } function insurance_click(elem) {} function pausecomp(ms) { ms += new Date().getTime(); while (new Date() < ms){} }