{"id":10,"date":"2025-05-18T19:46:17","date_gmt":"2025-05-18T17:46:17","guid":{"rendered":"https:\/\/autovermietung-ostschweiz.ch\/index.php\/search-your-car\/"},"modified":"2025-08-12T03:35:37","modified_gmt":"2025-08-12T01:35:37","slug":"search-your-car","status":"publish","type":"page","link":"https:\/\/autovermietung-ostschweiz.ch\/?page_id=10","title":{"rendered":"Mietwagen buchen"},"content":{"rendered":"\n<div class=\"wrap plugin-container\">\n\n\t\n\t\n\t<h3 class=\"vrc-main-title\">Autovermietung Ostschweiz<\/h3><div class=\"vrcdivsearch\"><div class=\"vrcdivsearch-inner\"><form action=\"https:\/\/autovermietung-ostschweiz.ch\/?page_id=10&amp;option=com_vikrentcar\" method=\"post\" onsubmit=\"return vrcValidateSearch();\">\n<input type=\"hidden\" name=\"option\" value=\"com_vikrentcar\"\/>\n<input type=\"hidden\" name=\"task\" value=\"search\"\/>\n<div class=\"vrc-searchf-section-locations\">\n<div class=\"vrcsfentrycont\"><label for=\"place\">Ort der Abholung<\/label><div class=\"vrcsfentryselect\"><select name=\"place\" id=\"place\"><option value=\"4\" id=\"place4\">Gossau SG<\/option>\n<\/select><\/div><\/div>\n<div class=\"vrcsfentrycont\"><label for=\"returnplace\">Abgabeort<\/label><div class=\"vrcsfentryselect\"><select name=\"returnplace\" id=\"returnplace\"><option value=\"4\" id=\"returnplace4\">Gossau SG<\/option>\n<\/select><\/div><\/div>\n<\/div>\n<div class=\"vrc-searchf-section-datetimes\">\n<div class=\"vrcsfentrycont\">\n\t<div class=\"vrcsfentrylabsel\">\n\t\t<label for=\"pickupdate\">Abholdatum<\/label>\n\t\t<div class=\"vrcsfentrydate\">\n\t\t\t<input type=\"text\" name=\"pickupdate\" id=\"pickupdate\" size=\"10\" autocomplete=\"off\" onfocus=\"this.blur();\" readonly\/><i class=\"far fa-calendar-alt vrc-caltrigger\"><\/i>\n\t\t<\/div>\n\t<\/div>\n\t<div class=\"vrcsfentrytime\">\n\t\t<label for=\"pickuph\">Abholuhrzeit<\/label>\n\t\t<div class=\"vrc-sf-time-container\">\n\t\t\t<span id=\"vrccomselph\"><select id=\"pickuph\" name=\"pickuph\"><option value=\"0\">00<\/option>\n<option value=\"1\">01<\/option>\n<option value=\"2\">02<\/option>\n<option value=\"3\">03<\/option>\n<option value=\"4\">04<\/option>\n<option value=\"5\">05<\/option>\n<option value=\"6\">06<\/option>\n<option value=\"7\">07<\/option>\n<option value=\"8\">08<\/option>\n<option value=\"9\" selected=\"selected\">09<\/option>\n<option value=\"10\">10<\/option>\n<option value=\"11\">11<\/option>\n<option value=\"12\">12<\/option>\n<option value=\"13\">13<\/option>\n<option value=\"14\">14<\/option>\n<option value=\"15\">15<\/option>\n<option value=\"16\">16<\/option>\n<option value=\"17\">17<\/option>\n<option value=\"18\">18<\/option>\n<option value=\"19\">19<\/option>\n<option value=\"20\">20<\/option>\n<option value=\"21\">21<\/option>\n<option value=\"22\">22<\/option>\n<option value=\"23\">23<\/option>\n<\/select><\/span>\n\t\t\t<span class=\"vrctimesep\">:<\/span>\n\t\t\t<span id=\"vrccomselpm\"><select name=\"pickupm\"><option value=\"0\" selected=\"selected\">00<\/option>\n<option value=\"15\">15<\/option>\n<option value=\"30\">30<\/option>\n<option value=\"45\">45<\/option>\n<\/select><\/span>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n<div class=\"vrcsfentrycont\">\n\t<div class=\"vrcsfentrylabsel\">\n\t\t<label for=\"releasedate\">Abgabedatum<\/label>\n\t\t<div class=\"vrcsfentrydate\">\n\t\t\t<input type=\"text\" name=\"releasedate\" id=\"releasedate\" size=\"10\" autocomplete=\"off\" onfocus=\"this.blur();\" readonly\/><i class=\"far fa-calendar-alt vrc-caltrigger\"><\/i>\n\t\t<\/div>\n\t<\/div>\n\t<div class=\"vrcsfentrytime\">\n\t\t<label for=\"releaseh\">Abgabezeit<\/label>\n\t\t<div class=\"vrc-sf-time-container\">\n\t\t\t<span id=\"vrccomseldh\"><select id=\"releaseh\" name=\"releaseh\"><option value=\"0\">00<\/option>\n<option value=\"1\">01<\/option>\n<option value=\"2\">02<\/option>\n<option value=\"3\">03<\/option>\n<option value=\"4\">04<\/option>\n<option value=\"5\">05<\/option>\n<option value=\"6\">06<\/option>\n<option value=\"7\">07<\/option>\n<option value=\"8\">08<\/option>\n<option value=\"9\" selected=\"selected\">09<\/option>\n<option value=\"10\">10<\/option>\n<option value=\"11\">11<\/option>\n<option value=\"12\">12<\/option>\n<option value=\"13\">13<\/option>\n<option value=\"14\">14<\/option>\n<option value=\"15\">15<\/option>\n<option value=\"16\">16<\/option>\n<option value=\"17\">17<\/option>\n<option value=\"18\">18<\/option>\n<option value=\"19\">19<\/option>\n<option value=\"20\">20<\/option>\n<option value=\"21\">21<\/option>\n<option value=\"22\">22<\/option>\n<option value=\"23\">23<\/option>\n<\/select><\/span>\n\t\t\t<span class=\"vrctimesep\">:<\/span>\n\t\t\t<span id=\"vrccomseldm\"><select name=\"releasem\"><option value=\"0\" selected=\"selected\">00<\/option>\n<option value=\"15\">15<\/option>\n<option value=\"30\">30<\/option>\n<option value=\"45\">45<\/option>\n<\/select><\/span>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n<\/div>\n<div class=\"vrc-searchf-section-categories\"><div class=\"vrcsfentrycont\"><label for=\"vrc-categories\">Fahrzeugkategorie<\/label><div class=\"vrcsfentryselect\"><select id=\"vrc-categories\" name=\"categories\"><option value=\"all\">Alle<\/option>\n<option value=\"2\">Kleinwagen<\/option>\n<option value=\"1\">Stationswagen \/ SUV<\/option>\n<option value=\"3\">Strechlimousine<\/option>\n<\/select><\/div><\/div>\n<\/div><div class=\"vrc-searchf-section-sbmt\"><div class=\"vrcsfentrycont\"><div class=\"vrcsfentrysubmit\"><input type=\"submit\" name=\"search\" value=\"Suchen\" class=\"btn vrc-search-btn vrc-pref-color-btn\"\/><\/div><\/div>\n<\/div><\/div>\n<\/form><\/div>\t<script type=\"text\/javascript\">\r\n\tfunction vrcCleanNumber(snum) {\r\n\t\tif (snum.length > 1 && snum.substr(0, 1) == '0') {\r\n\t\t\treturn parseInt(snum.substr(1));\r\n\t\t}\r\n\t\treturn parseInt(snum);\r\n\t}\r\n\tfunction vrcFormatTime(h, m) {\r\n\t\tvar time_format = 'H:i';\r\n\t\tvar time_ftfour = (time_format == 'H:i');\r\n\t\tvar time_ampm = '';\r\n\t\tif (!time_ftfour) {\r\n\t\t\tif (h >= 12 && h < 24) {\r\n\t\t\t\ttime_ampm = ' PM';\r\n\t\t\t\tif (h > 12) {\r\n\t\t\t\t\th -= 12;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\ttime_ampm = ' AM';\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn (h < 10 ? ('0' + h) : h) + ':' + ((m < 10 ? ('0' + m) : m)) + time_ampm;\r\n\t}\r\n\tfunction vrcValidateSearch() {\r\n\t\tif (typeof jQuery === 'undefined' || typeof vrc_wopening_pick === 'undefined') {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tif (vrc_mopening_pick !== null) {\r\n\t\t\t\/\/ pickup time\r\n\t\t\tvar pickh = jQuery('#vrccomselph').find('select').val();\r\n\t\t\tvar pickm = jQuery('#vrccomselpm').find('select').val();\r\n\t\t\tif (!pickh || !pickh.length || !pickm) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\tpickh = vrcCleanNumber(pickh);\r\n\t\t\tpickm = vrcCleanNumber(pickm);\r\n\t\t\tif (pickh == vrc_mopening_pick[0]) {\r\n\t\t\t\tif (pickm < vrc_mopening_pick[1]) {\r\n\t\t\t\t\t\/\/ location is still closed at this time\r\n\t\t\t\t\tjQuery('#vrccomselpm').find('select').html('<option value=\"'+vrc_mopening_pick[1]+'\">'+(vrc_mopening_pick[1] < 10 ? '0'+vrc_mopening_pick[1] : vrc_mopening_pick[1])+'<\/option>').val(vrc_mopening_pick[1]);\r\n\t\t\t\t\talert(Joomla.JText._('VRC_LOC_WILL_OPEN_TIME').replace('%s', vrcFormatTime(vrc_mopening_pick[0], vrc_mopening_pick[1])));\r\n\t\t\t\t\t\/\/ do not return false as we are overwriting the pickup time\r\n\t\t\t\t\t\/\/ return false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (pickh == vrc_mopening_pick[2]) {\r\n\t\t\t\tif (pickm > vrc_mopening_pick[3]) {\r\n\t\t\t\t\t\/\/ location is already closed at this time for a pick up\r\n\t\t\t\t\tjQuery('#vrccomselpm').find('select').html('<option value=\"'+vrc_mopening_pick[3]+'\">'+(vrc_mopening_pick[3] < 10 ? '0'+vrc_mopening_pick[3] : vrc_mopening_pick[3])+'<\/option>').val(vrc_mopening_pick[3]);\r\n\t\t\t\t\talert(Joomla.JText._('VRC_LOC_WILL_CLOSE_TIME').replace('%s', vrcFormatTime(vrc_mopening_pick[2], vrc_mopening_pick[3])));\r\n\t\t\t\t\t\/\/ do not return false as we are overwriting the pickup time\r\n\t\t\t\t\t\/\/ return false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\/\/ check for breaks\r\n\t\t\tif (vrc_mopening_pick[4] && vrc_mopening_pick[4].length) {\r\n\t\t\t\tfor (var b = 0; b < vrc_mopening_pick[4].length; b++) {\r\n\t\t\t\t\tif (!vrc_mopening_pick[4][b].hasOwnProperty('fh')) {\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar break_mess = Joomla.JText._('VRC_PICKLOC_IS_ON_BREAK_TIME_FROM_TO')\r\n\t\t\t\t\t\t.replace('%s', vrcFormatTime(vrc_mopening_pick[4][b]['fh'], vrc_mopening_pick[4][b]['fm']))\r\n\t\t\t\t\t\t.replace('%s', vrcFormatTime(vrc_mopening_pick[4][b]['th'], vrc_mopening_pick[4][b]['tm']));\r\n\t\t\t\t\tvar break_from_secs = (vrc_mopening_pick[4][b]['fh'] * 3600) + (vrc_mopening_pick[4][b]['fm'] * 60);\r\n\t\t\t\t\tvar break_to_secs = (vrc_mopening_pick[4][b]['th'] * 3600) + (vrc_mopening_pick[4][b]['tm'] * 60);\r\n\t\t\t\t\tvar pick_secs = (pickh * 3600) + (pickm * 60);\r\n\t\t\t\t\tif (pick_secs > break_from_secs && pick_secs < break_to_secs) {\r\n\t\t\t\t\t\t\/\/ the location is on break at this time\r\n\t\t\t\t\t\talert(break_mess);\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t} else if (vrc_mopening_pick[4][b]['fh'] > vrc_mopening_pick[4][b]['th'] && pick_secs < break_from_secs && pick_secs < break_to_secs) {\r\n\t\t\t\t\t\t\/\/ overnight break, with time after midnight\r\n\t\t\t\t\t\talert(break_mess);\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t} else if (vrc_mopening_pick[4][b]['fh'] > vrc_mopening_pick[4][b]['th'] && pick_secs > break_from_secs && pick_secs > break_to_secs) {\r\n\t\t\t\t\t\t\/\/ overnight break, with time before midnight\r\n\t\t\t\t\t\talert(break_mess);\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (vrc_mopening_drop !== null) {\r\n\t\t\t\/\/ dropoff time\r\n\t\t\tvar droph = jQuery('#vrccomseldh').find('select').val();\r\n\t\t\tvar dropm = jQuery('#vrccomseldm').find('select').val();\r\n\t\t\tif (!droph || !droph.length || !dropm) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\tdroph = vrcCleanNumber(droph);\r\n\t\t\tdropm = vrcCleanNumber(dropm);\r\n\t\t\tif (droph == vrc_mopening_drop[0]) {\r\n\t\t\t\tif (dropm > vrc_mopening_drop[1]) {\r\n\t\t\t\t\t\/\/ location is already closed at this time\r\n\t\t\t\t\tjQuery('#vrccomseldm').find('select').html('<option value=\"'+vrc_mopening_drop[1]+'\">'+(vrc_mopening_drop[1] < 10 ? '0'+vrc_mopening_drop[1] : vrc_mopening_drop[1])+'<\/option>').val(vrc_mopening_drop[1]);\r\n\t\t\t\t\talert(Joomla.JText._('VRC_LOC_WILL_CLOSE_TIME').replace('%s', vrcFormatTime(vrc_mopening_drop[0], vrc_mopening_drop[1])));\r\n\t\t\t\t\t\/\/ do not return false as we are overwriting the drop off time\r\n\t\t\t\t\t\/\/ return false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (droph == vrc_mopening_drop[2]) {\r\n\t\t\t\tif (dropm < vrc_mopening_drop[3]) {\r\n\t\t\t\t\t\/\/ location is still closed at this time for a drop off\r\n\t\t\t\t\tjQuery('#vrccomseldm').find('select').html('<option value=\"'+vrc_mopening_drop[3]+'\">'+(vrc_mopening_drop[3] < 10 ? '0'+vrc_mopening_drop[3] : vrc_mopening_drop[3])+'<\/option>').val(vrc_mopening_drop[3]);\r\n\t\t\t\t\talert(Joomla.JText._('VRC_LOC_WILL_OPEN_TIME').replace('%s', vrcFormatTime(vrc_mopening_drop[2], vrc_mopening_drop[3])));\r\n\t\t\t\t\t\/\/ do not return false as we are overwriting the drop off time\r\n\t\t\t\t\t\/\/ return false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\/\/ check for breaks\r\n\t\t\tif (vrc_mopening_drop[4] && vrc_mopening_drop[4].length) {\r\n\t\t\t\tfor (var b = 0; b < vrc_mopening_drop[4].length; b++) {\r\n\t\t\t\t\tif (!vrc_mopening_drop[4][b].hasOwnProperty('fh')) {\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar break_mess = Joomla.JText._('VRC_DROPLOC_IS_ON_BREAK_TIME_FROM_TO')\r\n\t\t\t\t\t\t.replace('%s', vrcFormatTime(vrc_mopening_drop[4][b]['fh'], vrc_mopening_drop[4][b]['fm']))\r\n\t\t\t\t\t\t.replace('%s', vrcFormatTime(vrc_mopening_drop[4][b]['th'], vrc_mopening_drop[4][b]['tm']));\r\n\t\t\t\t\tvar break_from_secs = (vrc_mopening_drop[4][b]['fh'] * 3600) + (vrc_mopening_drop[4][b]['fm'] * 60);\r\n\t\t\t\t\tvar break_to_secs = (vrc_mopening_drop[4][b]['th'] * 3600) + (vrc_mopening_drop[4][b]['tm'] * 60);\r\n\t\t\t\t\tvar drop_secs = (droph * 3600) + (dropm * 60);\r\n\t\t\t\t\tif (drop_secs > break_from_secs && drop_secs < break_to_secs) {\r\n\t\t\t\t\t\t\/\/ the location is on break at this time\r\n\t\t\t\t\t\talert(break_mess);\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t} else if (vrc_mopening_drop[4][b]['fh'] > vrc_mopening_drop[4][b]['th'] && drop_secs < break_from_secs && drop_secs < break_to_secs) {\r\n\t\t\t\t\t\t\/\/ overnight break, with time after midnight\r\n\t\t\t\t\t\talert(break_mess);\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t} else if (vrc_mopening_drop[4][b]['fh'] > vrc_mopening_drop[4][b]['th'] && drop_secs > break_from_secs && drop_secs > break_to_secs) {\r\n\t\t\t\t\t\t\/\/ overnight break, with time before midnight\r\n\t\t\t\t\t\talert(break_mess);\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t}\r\n\t<\/script>\r\n\t\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"class_list":["post-10","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/autovermietung-ostschweiz.ch\/index.php?rest_route=\/wp\/v2\/pages\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/autovermietung-ostschweiz.ch\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/autovermietung-ostschweiz.ch\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/autovermietung-ostschweiz.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/autovermietung-ostschweiz.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":2,"href":"https:\/\/autovermietung-ostschweiz.ch\/index.php?rest_route=\/wp\/v2\/pages\/10\/revisions"}],"predecessor-version":[{"id":20,"href":"https:\/\/autovermietung-ostschweiz.ch\/index.php?rest_route=\/wp\/v2\/pages\/10\/revisions\/20"}],"wp:attachment":[{"href":"https:\/\/autovermietung-ostschweiz.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}