It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: https://www.icanrentacar.com

  1. <!DOCTYPE html>
  2. <html lang="en-GB">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
  6.  
  7. <link rel="profile" href="https://gmpg.org/xfn/11" />
  8. <link rel="pingback" href="https://www.icanrentacar.com/xmlrpc.php" />
  9. <title>Indonesia Car Rental Area Network</title>
  10.  
  11. <style type="text/css">
  12. .heateor_sss_button_instagram span.heateor_sss_svg,a.heateor_sss_instagram span.heateor_sss_svg{background:radial-gradient(circle at 30% 107%,#fdf497 0,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}
  13. .heateor_sss_horizontal_sharing .heateor_sss_svg,.heateor_sss_standard_follow_icons_container .heateor_sss_svg{
  14. color: #fff;
  15. border-width: 0px;
  16. border-style: solid;
  17. border-color: transparent;
  18. }
  19. .heateor_sss_horizontal_sharing .heateorSssTCBackground{
  20. color:#666;
  21. }
  22. .heateor_sss_horizontal_sharing span.heateor_sss_svg:hover,.heateor_sss_standard_follow_icons_container span.heateor_sss_svg:hover{
  23. border-color: transparent;
  24. }
  25. .heateor_sss_vertical_sharing span.heateor_sss_svg,.heateor_sss_floating_follow_icons_container span.heateor_sss_svg{
  26. color: #fff;
  27. border-width: 0px;
  28. border-style: solid;
  29. border-color: transparent;
  30. }
  31. .heateor_sss_vertical_sharing .heateorSssTCBackground{
  32. color:#666;
  33. }
  34. .heateor_sss_vertical_sharing span.heateor_sss_svg:hover,.heateor_sss_floating_follow_icons_container span.heateor_sss_svg:hover{
  35. border-color: transparent;
  36. }
  37. @media screen and (max-width:783px) {.heateor_sss_vertical_sharing{display:none!important}} </style>
  38. <meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />
  39.  
  40. <!-- This site is optimized with the Yoast SEO Premium plugin v21.7 (Yoast SEO v21.7) - https://yoast.com/wordpress/plugins/seo/ -->
  41. <title>Indonesia Car Rental Area Network - Professional Car Rental in Medan and all cities in Indonesia | Professional Car Rental in Indonesia, Based on Medan, Jakarta, Bali! Easy Way Car Rental in Indonesian cities.</title>
  42. <meta name="description" content="Professional Car Rental in Indonesia, Based on Medan &amp; Bali! We can answer the right transportation as You need" />
  43. <link rel="canonical" href="https://www.icanrentacar.com/" />
  44. <link rel="next" href="https://www.icanrentacar.com/page/2/" />
  45. <meta property="og:locale" content="en_US" />
  46. <meta property="og:type" content="website" />
  47. <meta property="og:title" content="Indonesia Car Rental Area Network - Professional Car Rental in Medan and all cities in Indonesia" />
  48. <meta property="og:description" content="Professional Car Rental in Indonesia, Based on Medan &amp; Bali! We can answer the right transportation as You need" />
  49. <meta property="og:url" content="https://www.icanrentacar.com/" />
  50. <meta property="og:site_name" content="Indonesia Car Rental Area Network - Professional Car Rental in Medan and all cities in Indonesia" />
  51. <meta name="twitter:card" content="summary_large_image" />
  52. <meta name="twitter:site" content="@icanrentals" />
  53. <script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://www.icanrentacar.com/","url":"https://www.icanrentacar.com/","name":"Indonesia Car Rental Area Network - Professional Car Rental in Medan and all cities in Indonesia | Professional Car Rental in Indonesia, Based on Medan, Jakarta, Bali! Easy Way Car Rental in Indonesian cities.","isPartOf":{"@id":"https://www.icanrentacar.com/#website"},"about":{"@id":"https://www.icanrentacar.com/#organization"},"description":"Professional Car Rental in Indonesia, Based on Medan & Bali! We can answer the right transportation as You need","breadcrumb":{"@id":"https://www.icanrentacar.com/#breadcrumb"},"inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https://www.icanrentacar.com/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home"}]},{"@type":"WebSite","@id":"https://www.icanrentacar.com/#website","url":"https://www.icanrentacar.com/","name":"Indonesia Car Rental Area Network - Professional Car Rental in Bali and all cities in Indonesia","description":"Professional Car Rental in Indonesia, Based on Medan, Jakarta, Bali! Easy Way Car Rental in Indonesian cities.","publisher":{"@id":"https://www.icanrentacar.com/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://www.icanrentacar.com/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https://www.icanrentacar.com/#organization","name":"ICAN TRANSPORT","url":"https://www.icanrentacar.com/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https://www.icanrentacar.com/#/schema/logo/image/","url":"https://www.icanrentacar.com/wp-content/uploads/2023/09/logo-ican-biru.jpg","contentUrl":"https://www.icanrentacar.com/wp-content/uploads/2023/09/logo-ican-biru.jpg","width":1280,"height":1280,"caption":"ICAN TRANSPORT"},"image":{"@id":"https://www.icanrentacar.com/#/schema/logo/image/"},"sameAs":["https://web.facebook.com/icanrental/","https://twitter.com/icanrentals","https://www.instagram.com/icanrentacar/"]}]}</script>
  54. <meta name="google-site-verification" content="uG0wHFnsaKT3TmmH1o_gz2yNwUC9VLgShJLhV2E3Ir8" />
  55. <!-- / Yoast SEO Premium plugin. -->
  56.  
  57.  
  58. <script type="text/javascript">
  59. /* <![CDATA[ */
  60. window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.icanrentacar.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4a0a5888449ae2bad1cf0c0f1eb40cf4"}};
  61. /*! This file is auto-generated */
  62. !function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83e\udef1\ud83c\udffb\u200d\ud83e\udef2\ud83c\udfff","\ud83e\udef1\ud83c\udffb\u200b\ud83e\udef2\ud83c\udfff")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
  63. /* ]]> */
  64. </script>
  65. <style id='wp-emoji-styles-inline-css' type='text/css'>
  66.  
  67. img.wp-smiley, img.emoji {
  68. display: inline !important;
  69. border: none !important;
  70. box-shadow: none !important;
  71. height: 1em !important;
  72. width: 1em !important;
  73. margin: 0 0.07em !important;
  74. vertical-align: -0.1em !important;
  75. background: none !important;
  76. padding: 0 !important;
  77. }
  78. </style>
  79. <link rel='stylesheet' id='wp-block-library-css' href='https://www.icanrentacar.com/wp-includes/css/dist/block-library/style.min.css?ver=4a0a5888449ae2bad1cf0c0f1eb40cf4' type='text/css' media='all' />
  80. <style id='classic-theme-styles-inline-css' type='text/css'>
  81. /*! This file is auto-generated */
  82. .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
  83. </style>
  84. <style id='global-styles-inline-css' type='text/css'>
  85. body{--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}body .is-layout-flex{flex-wrap: wrap;align-items: center;}body .is-layout-flex > *{margin: 0;}body .is-layout-grid{display: grid;}body .is-layout-grid > *{margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}
  86. .wp-block-navigation a:where(:not(.wp-element-button)){color: inherit;}
  87. :where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}
  88. :where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}
  89. .wp-block-pullquote{font-size: 1.5em;line-height: 1.6;}
  90. </style>
  91. <link rel='stylesheet' id='contact-form-7-css' href='https://www.icanrentacar.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.8.5' type='text/css' media='all' />
  92. <link rel='stylesheet' id='custom-style-css' href='https://www.icanrentacar.com/wp-content/plugins/rcd-right-click-disabler/css/rcd-style.css?ver=4a0a5888449ae2bad1cf0c0f1eb40cf4' type='text/css' media='all' />
  93. <link rel='stylesheet' id='carrental-style-css' href='https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/style.css?ver=4a0a5888449ae2bad1cf0c0f1eb40cf4' type='text/css' media='all' />
  94. <link rel='stylesheet' id='carrental-print-css' href='https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/css/print.css?ver=4a0a5888449ae2bad1cf0c0f1eb40cf4' type='text/css' media='print' />
  95. <!--[if lt IE 9]>
  96. <link rel='stylesheet' id='carrental-ie-css' href='https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/css/main-ie.css?ver=4a0a5888449ae2bad1cf0c0f1eb40cf4' type='text/css' media='all' />
  97. <![endif]-->
  98. <link rel='stylesheet' id='heateor_sss_frontend_css-css' href='https://www.icanrentacar.com/wp-content/plugins/sassy-social-share/public/css/sassy-social-share-public.css?ver=3.3.56' type='text/css' media='all' />
  99. <script type="text/javascript" src="https://www.icanrentacar.com/wp-content/plugins/rcd-right-click-disabler/js/rcd-disabler.js?ver=4a0a5888449ae2bad1cf0c0f1eb40cf4" id="custom-script-js"></script>
  100. <script type="text/javascript" src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/app.js?ver=4a0a5888449ae2bad1cf0c0f1eb40cf4" id="carrental-app-js"></script>
  101. <script type="text/javascript" src="https://www.icanrentacar.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1" id="jquery-core-js"></script>
  102. <script type="text/javascript" src="https://www.icanrentacar.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1" id="jquery-migrate-js"></script>
  103. <link rel="https://api.w.org/" href="https://www.icanrentacar.com/wp-json/" /><meta name="description" content="Professional Car Rental in Indonesia, Based on Medan & Bali We can answer the right transportation as You need">
  104. <meta name="keywords" content="Rental Mobil, Sewa Mobil Medan, Car Rental, Self driver, Rent Car, Rental Mobil, Rental Mobil Medan, Car Rental near me, Cheap Car Rental, Best Car Rental, Car Rental in Airport, Private Car Rental, Tour and Travel, Car Rental with driver, Car rental without driver, Car Rental in Indonesia, Car Rental in Bali, Car Rental in Medan, Car Rental in Denpasar, Car Rental in Aceh, Car Rental in Surabaya, Car Rental in Yogyakarta, Car Rental in Jakarta, Car Rental in Padang, Car Rental in Semarang, Car Rental in Medan Airport, Car Rental in Kuala Namu Airport"><link rel="icon" href="https://www.icanrentacar.com/wp-content/uploads/2023/09/cropped-fav-32x32.png" sizes="32x32" />
  105. <link rel="icon" href="https://www.icanrentacar.com/wp-content/uploads/2023/09/cropped-fav-192x192.png" sizes="192x192" />
  106. <link rel="apple-touch-icon" href="https://www.icanrentacar.com/wp-content/uploads/2023/09/cropped-fav-180x180.png" />
  107. <meta name="msapplication-TileImage" content="https://www.icanrentacar.com/wp-content/uploads/2023/09/cropped-fav-270x270.png" />
  108. <style type="text/css" id="wp-custom-css">
  109. /* CSS Multiple Whatsapp Chat */
  110. #whatsapp-chat {
  111.    position: fixed;
  112.    background: #fff;
  113.    width: 350px;
  114.    border-radius: 10px;
  115.    box-shadow: 0 1px 15px rgba(32, 33, 36, .28);
  116.    bottom: 90px;
  117.    right: 30px;
  118.    overflow: hidden;
  119.    z-index: 99;
  120.    animation-name: showchat;
  121.    animation-duration: 1s;
  122.    transform: scale(1)
  123. }
  124.  
  125. a.blantershow-chat {
  126.    background: linear-gradient(to right top, #3eac66, #25D366);
  127.    color: #fff;
  128.    position: fixed;
  129.    z-index: 98;
  130.    bottom: 25px;
  131.    right: 30px;
  132.    font-size: 15px;
  133.    padding: 10px 20px;
  134.    border-radius: 30px;
  135.    box-shadow: 0 1px 15px rgba(32, 33, 36, .28)
  136. }
  137.  
  138. a.blantershow-chat i {
  139.    transform: scale(1.2);
  140.    margin: 0 10px 0 0
  141. }
  142.  
  143. .header-chat {
  144.    background: linear-gradient(to right top, #89f36f, #25D366);
  145.    color: #fff;
  146.    padding: 20px
  147. }
  148.  
  149. .header-chat h3 {
  150.    margin: 0 0 10px
  151. }
  152.  
  153. .header-chat p {
  154.    font-size: 14px;
  155.    line-height: 1.7;
  156.    margin: 0
  157. }
  158.  
  159. .info-avatar {
  160.    position: relative
  161. }
  162.  
  163. .info-avatar img {
  164.    border-radius: 100%;
  165.    width: 50px;
  166.    float: left;
  167.    margin: 0 10px 0 0
  168. }
  169.  
  170. .info-avatar:before {
  171.    content: '\f232';
  172.    z-index: 1;
  173.    font-family: "Font Awesome 5 Brands";
  174.    background: #23ab23;
  175.    color: #fff;
  176.    padding: 4px 4px;
  177.    border-radius: 100%;
  178.    position: absolute;
  179.    top: 30px;
  180.    left: 30px
  181. }
  182.  
  183. a.informasi {
  184.    padding: 20px;
  185.    display: block;
  186.    overflow: hidden;
  187.    animation-name: showhide;
  188.    animation-duration: 2.5s
  189. }
  190.  
  191. a.informasi:hover {
  192.    background: #f1f1f1
  193. }
  194.  
  195. .info-chat span {
  196.    display: block
  197. }
  198.  
  199. #get-label,
  200. span.chat-label {
  201.    font-size: 12px;
  202.    color: #888
  203. }
  204.  
  205. #get-nama,
  206. span.chat-nama {
  207.    margin: 5px 0 0;
  208.    font-size: 15px;
  209.    font-weight: 700;
  210.    color: #222
  211. }
  212.  
  213. #get-label,
  214. #get-nama {
  215.    color: #fff
  216. }
  217.  
  218. span.my-number {
  219.    display: none
  220. }
  221.  
  222. .blanter-msg {
  223.    color: #444;
  224.    padding: 20px;
  225.    font-size: 12.5px;
  226.    text-align: center;
  227.    border-top: 1px solid #ddd
  228. }
  229.  
  230. textarea#chat-input {
  231.    border: none;
  232.    font-family: 'Arial', sans-serif;
  233.    width: 100%;
  234.    height: 20px;
  235.    outline: none;
  236.    resize: none
  237. }
  238.  
  239. a#send-it {
  240.    color: #555;
  241.    width: 40px;
  242.    margin: -5px 0 0 5px;
  243.    font-weight: 700;
  244.    padding: 8px;
  245.    background: #eee;
  246.    border-radius: 10px
  247. }
  248.  
  249. .first-msg {
  250.    background: #f5f5f5;
  251.    padding: 30px;
  252.    text-align: center
  253. }
  254.  
  255. .first-msg span {
  256.    background: #e2e2e2;
  257.    color: #333;
  258.    font-size: 14.2px;
  259.    line-height: 1.7;
  260.    border-radius: 10px;
  261.    padding: 15px 20px;
  262.    display: inline-block
  263. }
  264.  
  265. .start-chat .blanter-msg {
  266.    display: flex
  267. }
  268.  
  269. #get-number {
  270.    display: none
  271. }
  272.  
  273. a.close-chat {
  274.    position: absolute;
  275.    top: 5px;
  276.    right: 15px;
  277.    color: #fff;
  278.    font-size: 36px
  279. }
  280.  
  281. @keyframes showhide {
  282.    from {
  283.        transform: scale(.5);
  284.        opacity: 0
  285.    }
  286. }
  287.  
  288. @keyframes showchat {
  289.    from {
  290.        transform: scale(0);
  291.        opacity: 0
  292.    }
  293. }
  294.  
  295. @media screen and (max-width:480px) {
  296.    #whatsapp-chat {
  297.        width: auto;
  298.        left: 5%;
  299.        right: 5%;
  300.        font-size: 80%
  301.    }
  302. }
  303.  
  304. .hide {
  305.    display: none;
  306.    animation-name: showhide;
  307.    animation-duration: .2s;
  308.    transform: scale(1);
  309.    opacity: 1
  310. }
  311.  
  312. .show {
  313.    display: block;
  314.    animation-name: showhide;
  315.    animation-duration: .2s;
  316.    transform: scale(1);
  317.    opacity: 1
  318. } </style>
  319. <!-- CSS -->
  320.  
  321. <!-- <link rel="stylesheet" href="css/norm.css">
  322.  <link rel="stylesheet" href="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/css/grid.css">
  323.  <link rel="stylesheet" href="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/css/skeleton.css">
  324.  <link rel="stylesheet" href="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/css/icons.css">
  325.  <link rel="stylesheet" href="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/css/jquery-ui.css">
  326.  <link rel="stylesheet" href="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/css/jquery.timepicker.css">
  327.  <link rel="stylesheet" href="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/css/looper.css">
  328.  <link rel="stylesheet" href="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/style.css"> -->
  329.  
  330. <link rel="stylesheet" href="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/style.css">
  331. <link rel="stylesheet" href="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/css/custom-css.css">
  332. <link rel="stylesheet" href="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/css/customLayout2.css">
  333. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  334. <link rel="alternate" href="https://www.icanrentacar.com" hreflang="en" />
  335. <link rel="alternate" href="https://www.icanrentacar.com/id" hreflang="id" />
  336. <!-- SHIV -->
  337. <!--[if lt IE 9]>
  338. <script src="js/html5shiv.js"></script>
  339.  <![endif]-->
  340.  
  341. <!-- FONTS -->
  342. <link href="https://fonts.googleapis.com/css?family=Noto+Sans:400,700&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic" rel="stylesheet" type="text/css">
  343. <script type="text/javascript">
  344. var ajaxurl = 'https://www.icanrentacar.com/wp-admin/admin-ajax.php';
  345. </script>
  346. </head>
  347.  
  348. <body data-rsssl=1 class="home blog full-width custom-background-empty homepage elementor-default elementor-kit-4471">
  349. <header id="header" class="main-header">
  350. <div class="row">
  351.  
  352. <div class="header-content u-cf">
  353. <div class="small-12 columns">
  354.  
  355. <a href="https://www.icanrentacar.com" title="Indonesia Car Rental Area Network &#8211; Professional Car Rental in Medan and all cities in Indonesia" rel="home">
  356. <img src="https://www.icanrentacar.com/wp-content/uploads/2023/09/logo-new.png" class="logo">
  357. </a><!-- .logo -->
  358. <div class="dropdowns-wrapper">
  359.  
  360. <div class="dropdowns">
  361. <div class="select-wrapper">
  362. <form action="" method="get">
  363. <select name="language" id="carrental_change_language" style="padding: 1px 3px;">
  364. <option value="en_GB" selected>English</option>
  365. <option value="id_ID" >Indonesian</option>
  366. </select>
  367. <input type="hidden" name="page" value="carrental">
  368. <input type="hidden" name="change_language" value="1">
  369. </form>
  370. </div>
  371. <script type="text/javascript">
  372. jQuery(document).ready(function() {
  373. jQuery('#carrental_change_language').on('change', function() {
  374. jQuery(this).parent().submit();
  375. });
  376. });
  377. </script>
  378.  
  379. </div>
  380. </div>
  381.  
  382. </div>
  383. </div>
  384.  
  385. <nav class="main-nav" data-menu="" id="main-nav-wrapper" data-title="Navigation">
  386. <ul id="menu-main-menu" class="navigation navigation-header"><li id="menu-item-5542" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-5542"><a href="https://www.icanrentacar.com/" aria-current="page">Home</a></li>
  387. <li id="menu-item-5537" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5537"><a href="https://www.icanrentacar.com/our-cars/">Our cars</a>
  388. <ul class="sub-menu">
  389. <li id="menu-item-5541" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5541"><a href="https://www.icanrentacar.com/minibus/">CITY CAR</a></li>
  390. <li id="menu-item-5540" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5540"><a href="https://www.icanrentacar.com/minivan/">MPV</a></li>
  391. <li id="menu-item-5539" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5539"><a href="https://www.icanrentacar.com/suv/">SUV</a></li>
  392. <li id="menu-item-5538" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5538"><a href="https://www.icanrentacar.com/premium-luxury/">PREMIUM LUXURY</a></li>
  393. <li id="menu-item-6990" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-6990"><a href="https://www.icanrentacar.com/van/">VAN</a></li>
  394. </ul>
  395. </li>
  396. <li id="menu-item-5536" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5536"><a href="https://www.icanrentacar.com/our-locations/">Our locations</a></li>
  397. <li id="menu-item-1026" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1026"><a href="https://www.icanrentacar.com/terms-and-conditions/">Terms and Conditions</a></li>
  398. <li id="menu-item-954" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-954"><a href="https://www.icanrentacar.com/contact-us/">CONTACT US</a></li>
  399. </ul>
  400. </nav>
  401.  
  402. </div> <!-- end of row -->
  403.  
  404.  
  405.  
  406.  
  407. </header><main class="home">
  408. <section id="carrental-section-1"  class="">
  409. <section id="carrental-section-row-390" class="text">
  410. <div class="row">
  411. <div class="">
  412. <p><div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all hero" style="">
  413.  <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" role="tablist">
  414.    <li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active" role="tab" tabindex="0" aria-controls="tabs-1" aria-labelledby="ui-id-1" aria-selected="true" aria-expanded="true"><a href="#tabs-1" class="ui-tabs-anchor" role="presentation" tabindex="-1" id="ui-id-1">QUICK BOOK</a></li>
  415.    <li class="ui-state-default ui-corner-top" role="tab" tabindex="-1" aria-controls="tabs-2" aria-labelledby="ui-id-2" aria-selected="false" aria-expanded="false"><a href="#tabs-2" class="ui-tabs-anchor" role="presentation" tabindex="-1" id="ui-id-2">MANAGE BOOKING</a></li>  
  416.  </ul>
  417.  <div id="tabs-1" aria-labelledby="ui-id-1" class="ui-tabs-panel ui-widget-content ui-corner-bottom" role="tabpanel" aria-hidden="false">
  418.    <div class="row">
  419. <form action="" method="get" id="carrental_booking_form">
  420.  
  421.     <div class="small-12 columns">
  422. <select name="el" id="carrental_enter_location"  onclick="this.className='select-change'" class="location">
  423. <option style="display:none;" selected="" disabled="" value="">Pick-up location</option>
  424. <option value="1" >Medan</option>
  425. <option value="5" >Aceh - Banda Aceh</option>
  426. <option value="2" >Kuala Namu Airport</option>
  427. <option value="3" >Jakarta</option>
  428. <option value="4" >Denpasar - Bali</option>
  429. <option value="16" >Batam</option>
  430. <option value="6" >Padang</option>
  431. <option value="7" >Palembang</option>
  432. <option value="8" >Jambi</option>
  433. <option value="9" >Pekanbaru - Riau</option>
  434. <option value="13" >Surabaya</option>
  435. <option value="12" >Yogyakarta</option>
  436. <option value="11" >Bandung</option>
  437. <option value="10" >Bengkulu</option>
  438. <option value="14" >Lombok</option>
  439. <option value="15" >Semarang</option>
  440. <option value="17" >Solo</option>
  441. <option value="18" >Manado</option>
  442. <option value="19" >Palu</option>
  443. <option value="20" >Makassar</option>
  444. <option value="21" >Kendari</option>
  445. <option value="22" >Tangerang</option>
  446. <option value="23" >Bogor</option>
  447. </select>
  448.     <div class="datepair">
  449.     <div class="input-wrapper">
  450.     <i class="icon" data-icon="b"></i>
  451. <input readonly="readonly" type="text" placeholder="Pick-up date" name="fd" class="date"  id="carrental_from_date">
  452.     </div>
  453. <div class="input-wrapper">
  454. <i class="icon" data-icon="w"></i>
  455. <select name="fh" class="time" id="carrental_from_hour" onclick="this.className=this.className + ' select-change'">
  456. <option value="" disabled selected style="display:none;">Time</option>
  457. <option value="00:00" >00:00</option>
  458. <option value="00:30" >00:30</option>
  459. <option value="01:00" >01:00</option>
  460. <option value="01:30" >01:30</option>
  461. <option value="02:00" >02:00</option>
  462. <option value="02:30" >02:30</option>
  463. <option value="03:00" >03:00</option>
  464. <option value="03:30" >03:30</option>
  465. <option value="04:00" >04:00</option>
  466. <option value="04:30" >04:30</option>
  467. <option value="05:00" >05:00</option>
  468. <option value="05:30" >05:30</option>
  469. <option value="06:00" >06:00</option>
  470. <option value="06:30" >06:30</option>
  471. <option value="07:00" >07:00</option>
  472. <option value="07:30" >07:30</option>
  473. <option value="08:00" selected>08:00</option>
  474. <option value="08:30" >08:30</option>
  475. <option value="09:00" >09:00</option>
  476. <option value="09:30" >09:30</option>
  477. <option value="10:00" >10:00</option>
  478. <option value="10:30" >10:30</option>
  479. <option value="11:00" >11:00</option>
  480. <option value="11:30" >11:30</option>
  481. <option value="12:00" >12:00</option>
  482. <option value="12:30" >12:30</option>
  483. <option value="13:00" >13:00</option>
  484. <option value="13:30" >13:30</option>
  485. <option value="14:00" >14:00</option>
  486. <option value="14:30" >14:30</option>
  487. <option value="15:00" >15:00</option>
  488. <option value="15:30" >15:30</option>
  489. <option value="16:00" >16:00</option>
  490. <option value="16:30" >16:30</option>
  491. <option value="17:00" >17:00</option>
  492. <option value="17:30" >17:30</option>
  493. <option value="18:00" >18:00</option>
  494. <option value="18:30" >18:30</option>
  495. <option value="19:00" >19:00</option>
  496. <option value="19:30" >19:30</option>
  497. <option value="20:00" >20:00</option>
  498. <option value="20:30" >20:30</option>
  499. <option value="21:00" >21:00</option>
  500. <option value="21:30" >21:30</option>
  501. <option value="22:00" >22:00</option>
  502. <option value="22:30" >22:30</option>
  503. <option value="23:00" >23:00</option>
  504. <option value="23:30" >23:30</option>
  505. </select>
  506. </div>
  507.     </div>    
  508.     </div>
  509.  
  510.     <div class="small-12 columns">
  511. <select name="rl" id="carrental_return_location" onclick="this.className='select-change'" class="location">
  512. <option style="display:none;" selected="" disabled="" value="">Returning to Different location</option>
  513. <option value="1" >Medan</option>
  514. <option value="5" >Aceh - Banda Aceh</option>
  515. <option value="2" >Kuala Namu Airport</option>
  516. <option value="3" >Jakarta</option>
  517. <option value="4" >Denpasar - Bali</option>
  518. <option value="16" >Batam</option>
  519. <option value="6" >Padang</option>
  520. <option value="7" >Palembang</option>
  521. <option value="8" >Jambi</option>
  522. <option value="9" >Pekanbaru - Riau</option>
  523. <option value="13" >Surabaya</option>
  524. <option value="12" >Yogyakarta</option>
  525. <option value="11" >Bandung</option>
  526. <option value="10" >Bengkulu</option>
  527. <option value="14" >Lombok</option>
  528. <option value="15" >Semarang</option>
  529. <option value="17" >Solo</option>
  530. <option value="18" >Manado</option>
  531. <option value="19" >Palu</option>
  532. <option value="20" >Makassar</option>
  533. <option value="21" >Kendari</option>
  534. <option value="22" >Tangerang</option>
  535. <option value="23" >Bogor</option>
  536. </select>
  537.     <div class="datepair">
  538.     <div class="input-wrapper">
  539.     <i class="icon" data-icon="b"></i>
  540. <input readonly="readonly" type="text" name="td"  placeholder="Return date" class="date" id="carrental_to_date">
  541.     </div>
  542. <div class="input-wrapper">
  543. <i class="icon" data-icon="w"></i>
  544. <select id="carrental_to_hour" class="time" name="th" onclick="this.className=this.className + ' select-change'">
  545. <option value="" disabled selected style="display:none;">Time</option>
  546. <option value="00:00" >00:00</option>
  547. <option value="00:30" >00:30</option>
  548. <option value="01:00" >01:00</option>
  549. <option value="01:30" >01:30</option>
  550. <option value="02:00" >02:00</option>
  551. <option value="02:30" >02:30</option>
  552. <option value="03:00" >03:00</option>
  553. <option value="03:30" >03:30</option>
  554. <option value="04:00" >04:00</option>
  555. <option value="04:30" >04:30</option>
  556. <option value="05:00" >05:00</option>
  557. <option value="05:30" >05:30</option>
  558. <option value="06:00" >06:00</option>
  559. <option value="06:30" >06:30</option>
  560. <option value="07:00" >07:00</option>
  561. <option value="07:30" >07:30</option>
  562. <option value="08:00" >08:00</option>
  563. <option value="08:30" >08:30</option>
  564. <option value="09:00" >09:00</option>
  565. <option value="09:30" >09:30</option>
  566. <option value="10:00" >10:00</option>
  567. <option value="10:30" >10:30</option>
  568. <option value="11:00" >11:00</option>
  569. <option value="11:30" >11:30</option>
  570. <option value="12:00" >12:00</option>
  571. <option value="12:30" >12:30</option>
  572. <option value="13:00" >13:00</option>
  573. <option value="13:30" >13:30</option>
  574. <option value="14:00" >14:00</option>
  575. <option value="14:30" >14:30</option>
  576. <option value="15:00" >15:00</option>
  577. <option value="15:30" >15:30</option>
  578. <option value="16:00" >16:00</option>
  579. <option value="16:30" >16:30</option>
  580. <option value="17:00" >17:00</option>
  581. <option value="17:30" >17:30</option>
  582. <option value="18:00" >18:00</option>
  583. <option value="18:30" >18:30</option>
  584. <option value="19:00" >19:00</option>
  585. <option value="19:30" >19:30</option>
  586. <option value="20:00" >20:00</option>
  587. <option value="20:30" >20:30</option>
  588. <option value="21:00" >21:00</option>
  589. <option value="21:30" >21:30</option>
  590. <option value="22:00" selected>22:00</option>
  591. <option value="22:30" >22:30</option>
  592. <option value="23:00" >23:00</option>
  593. <option value="23:30" >23:30</option>
  594. </select>
  595. </div>
  596.     </div>
  597.     </div>
  598.  
  599.     <div class="small-12 columns">
  600. <input type="hidden" name="page" value="carrental">    
  601.     <input type="submit" name="book_now" id="carrental_book_now" value="BOOK NOW" class="button">
  602.     </div>
  603. <ul id="carrental_book_errors" style="margin:1em 2em;list-style-type:circle;color:tomato;"></ul>
  604.    </form><script type="text/javascript">
  605. var enter_location = 0;
  606. var carrental_fixed_dates = {};
  607. var branch_hours = {};
  608. var branches = {};
  609. var default_branch = 0;
  610. var default_enter_time = '08:00';
  611. var default_return_time = '22:00';
  612. var ajaxurl = 'https://www.icanrentacar.com/wp-admin/admin-ajax.php';
  613. var time_pricing_type = 'standard';
  614. var allowed_days = [1,1,1,1,1,1,1];
  615. var carrental_timeformat = 24;
  616. var holidays = {};
  617. var carrental_minimum_booking_time = {};
  618. jQuery(document).ready(function() {
  619. branches[1] = {};
  620. branches[1]['specific_times'] = false;
  621. branch_hours[1] = {};
  622. branch_hours[1][1] = {'from': '08:00', 'to': '23:00'};
  623. branch_hours[1][2] = {'from': '08:00', 'to': '23:00'};
  624. branch_hours[1][3] = {'from': '08:00', 'to': '23:00'};
  625. branch_hours[1][4] = {'from': '08:00', 'to': '23:00'};
  626. branch_hours[1][5] = {'from': '08:00', 'to': '23:00'};
  627. branch_hours[1][6] = {'from': '08:00', 'to': '23:00'};
  628. branch_hours[1][7] = {'from': '08:00', 'to': '23:00'};
  629. branches[5] = {};
  630. branches[5]['specific_times'] = false;
  631. branch_hours[5] = {};
  632. branch_hours[5][1] = {'from': '08:00', 'to': '23:00'};
  633. branch_hours[5][2] = {'from': '08:00', 'to': '23:00'};
  634. branch_hours[5][3] = {'from': '08:00', 'to': '23:00'};
  635. branch_hours[5][4] = {'from': '08:00', 'to': '23:00'};
  636. branch_hours[5][5] = {'from': '08:00', 'to': '23:00'};
  637. branch_hours[5][6] = {'from': '08:00', 'to': '23:00'};
  638. branch_hours[5][7] = {'from': '08:00', 'to': '23:00'};
  639. branches[2] = {};
  640. branches[2]['specific_times'] = false;
  641. branch_hours[2] = {};
  642. branch_hours[2][1] = {'from': '06:00', 'to': '23:00'};
  643. branch_hours[2][2] = {'from': '06:00', 'to': '23:00'};
  644. branch_hours[2][3] = {'from': '06:00', 'to': '23:00'};
  645. branch_hours[2][4] = {'from': '06:00', 'to': '23:00'};
  646. branch_hours[2][5] = {'from': '06:00', 'to': '23:00'};
  647. branch_hours[2][6] = {'from': '06:00', 'to': '23:00'};
  648. branch_hours[2][7] = {'from': '06:00', 'to': '23:00'};
  649. branches[3] = {};
  650. branches[3]['specific_times'] = false;
  651. branch_hours[3] = {};
  652. branch_hours[3][1] = {'from': '08:00', 'to': '23:00'};
  653. branch_hours[3][2] = {'from': '08:00', 'to': '23:00'};
  654. branch_hours[3][3] = {'from': '08:00', 'to': '23:00'};
  655. branch_hours[3][4] = {'from': '08:00', 'to': '23:00'};
  656. branch_hours[3][5] = {'from': '08:00', 'to': '23:00'};
  657. branch_hours[3][6] = {'from': '08:00', 'to': '23:00'};
  658. branch_hours[3][7] = {'from': '08:00', 'to': '23:00'};
  659. branches[4] = {};
  660. branches[4]['specific_times'] = false;
  661. branch_hours[4] = {};
  662. branch_hours[4][1] = {'from': '08:00', 'to': '23:00'};
  663. branch_hours[4][2] = {'from': '08:00', 'to': '23:00'};
  664. branch_hours[4][3] = {'from': '08:00', 'to': '23:00'};
  665. branch_hours[4][4] = {'from': '08:00', 'to': '23:00'};
  666. branch_hours[4][5] = {'from': '08:00', 'to': '23:00'};
  667. branch_hours[4][6] = {'from': '08:00', 'to': '23:00'};
  668. branch_hours[4][7] = {'from': '08:00', 'to': '23:00'};
  669. branches[16] = {};
  670. branches[16]['specific_times'] = false;
  671. branch_hours[16] = {};
  672. branch_hours[16][1] = {'from': '08:00', 'to': '23:00'};
  673. branch_hours[16][2] = {'from': '08:00', 'to': '23:00'};
  674. branch_hours[16][3] = {'from': '08:00', 'to': '23:00'};
  675. branch_hours[16][4] = {'from': '08:00', 'to': '23:00'};
  676. branch_hours[16][5] = {'from': '08:00', 'to': '23:00'};
  677. branch_hours[16][6] = {'from': '08:00', 'to': '23:00'};
  678. branch_hours[16][7] = {'from': '08:00', 'to': '23:00'};
  679. branches[6] = {};
  680. branches[6]['specific_times'] = false;
  681. branch_hours[6] = {};
  682. branch_hours[6][1] = {'from': '08:00', 'to': '23:00'};
  683. branch_hours[6][2] = {'from': '08:00', 'to': '23:00'};
  684. branch_hours[6][3] = {'from': '08:00', 'to': '23:00'};
  685. branch_hours[6][4] = {'from': '08:00', 'to': '23:00'};
  686. branch_hours[6][5] = {'from': '08:00', 'to': '23:00'};
  687. branch_hours[6][6] = {'from': '08:00', 'to': '23:00'};
  688. branch_hours[6][7] = {'from': '08:00', 'to': '23:00'};
  689. branches[7] = {};
  690. branches[7]['specific_times'] = false;
  691. branch_hours[7] = {};
  692. branch_hours[7][1] = {'from': '08:00', 'to': '23:00'};
  693. branch_hours[7][2] = {'from': '08:00', 'to': '23:00'};
  694. branch_hours[7][3] = {'from': '08:00', 'to': '23:00'};
  695. branch_hours[7][4] = {'from': '08:00', 'to': '23:00'};
  696. branch_hours[7][5] = {'from': '08:00', 'to': '23:00'};
  697. branch_hours[7][6] = {'from': '08:00', 'to': '23:00'};
  698. branch_hours[7][7] = {'from': '08:00', 'to': '23:00'};
  699. branches[8] = {};
  700. branches[8]['specific_times'] = false;
  701. branch_hours[8] = {};
  702. branch_hours[8][1] = {'from': '08:00', 'to': '23:00'};
  703. branch_hours[8][2] = {'from': '08:00', 'to': '23:00'};
  704. branch_hours[8][3] = {'from': '08:00', 'to': '23:00'};
  705. branch_hours[8][4] = {'from': '08:00', 'to': '23:00'};
  706. branch_hours[8][5] = {'from': '08:00', 'to': '23:00'};
  707. branch_hours[8][6] = {'from': '08:00', 'to': '23:00'};
  708. branch_hours[8][7] = {'from': '08:00', 'to': '23:00'};
  709. branches[9] = {};
  710. branches[9]['specific_times'] = false;
  711. branch_hours[9] = {};
  712. branch_hours[9][1] = {'from': '08:00', 'to': '23:00'};
  713. branch_hours[9][2] = {'from': '08:00', 'to': '23:00'};
  714. branch_hours[9][3] = {'from': '08:00', 'to': '23:00'};
  715. branch_hours[9][4] = {'from': '08:00', 'to': '23:00'};
  716. branch_hours[9][5] = {'from': '08:00', 'to': '23:00'};
  717. branch_hours[9][6] = {'from': '08:00', 'to': '23:00'};
  718. branch_hours[9][7] = {'from': '08:00', 'to': '23:00'};
  719. branches[13] = {};
  720. branches[13]['specific_times'] = false;
  721. branch_hours[13] = {};
  722. branch_hours[13][1] = {'from': '08:00', 'to': '23:00'};
  723. branch_hours[13][2] = {'from': '08:00', 'to': '23:00'};
  724. branch_hours[13][3] = {'from': '08:00', 'to': '23:00'};
  725. branch_hours[13][4] = {'from': '08:00', 'to': '23:00'};
  726. branch_hours[13][5] = {'from': '08:00', 'to': '23:00'};
  727. branch_hours[13][6] = {'from': '08:00', 'to': '23:00'};
  728. branch_hours[13][7] = {'from': '08:00', 'to': '23:00'};
  729. branches[12] = {};
  730. branches[12]['specific_times'] = false;
  731. branch_hours[12] = {};
  732. branch_hours[12][1] = {'from': '08:00', 'to': '23:00'};
  733. branch_hours[12][2] = {'from': '08:00', 'to': '23:00'};
  734. branch_hours[12][3] = {'from': '08:00', 'to': '23:00'};
  735. branch_hours[12][4] = {'from': '08:00', 'to': '23:00'};
  736. branch_hours[12][5] = {'from': '08:00', 'to': '23:00'};
  737. branch_hours[12][6] = {'from': '08:00', 'to': '23:00'};
  738. branch_hours[12][7] = {'from': '08:00', 'to': '23:00'};
  739. branches[11] = {};
  740. branches[11]['specific_times'] = false;
  741. branch_hours[11] = {};
  742. branch_hours[11][1] = {'from': '08:00', 'to': '23:00'};
  743. branch_hours[11][2] = {'from': '08:00', 'to': '23:00'};
  744. branch_hours[11][3] = {'from': '08:00', 'to': '23:00'};
  745. branch_hours[11][4] = {'from': '08:00', 'to': '23:00'};
  746. branch_hours[11][5] = {'from': '08:00', 'to': '23:00'};
  747. branch_hours[11][6] = {'from': '08:00', 'to': '23:00'};
  748. branch_hours[11][7] = {'from': '08:00', 'to': '23:00'};
  749. branches[10] = {};
  750. branches[10]['specific_times'] = false;
  751. branch_hours[10] = {};
  752. branch_hours[10][1] = {'from': '08:00', 'to': '23:00'};
  753. branch_hours[10][2] = {'from': '08:00', 'to': '23:00'};
  754. branch_hours[10][3] = {'from': '08:00', 'to': '23:00'};
  755. branch_hours[10][4] = {'from': '08:00', 'to': '23:00'};
  756. branch_hours[10][5] = {'from': '08:00', 'to': '23:00'};
  757. branch_hours[10][6] = {'from': '08:00', 'to': '23:00'};
  758. branch_hours[10][7] = {'from': '08:00', 'to': '23:00'};
  759. branches[14] = {};
  760. branches[14]['specific_times'] = false;
  761. branch_hours[14] = {};
  762. branch_hours[14][1] = {'from': '08:00', 'to': '23:00'};
  763. branch_hours[14][2] = {'from': '08:00', 'to': '23:00'};
  764. branch_hours[14][3] = {'from': '08:00', 'to': '23:00'};
  765. branch_hours[14][4] = {'from': '08:00', 'to': '23:00'};
  766. branch_hours[14][5] = {'from': '08:00', 'to': '23:00'};
  767. branch_hours[14][6] = {'from': '08:00', 'to': '23:00'};
  768. branch_hours[14][7] = {'from': '08:00', 'to': '23:00'};
  769. branches[15] = {};
  770. branches[15]['specific_times'] = false;
  771. branch_hours[15] = {};
  772. branch_hours[15][1] = {'from': '08:00', 'to': '23:00'};
  773. branch_hours[15][2] = {'from': '08:00', 'to': '23:00'};
  774. branch_hours[15][3] = {'from': '08:00', 'to': '23:00'};
  775. branch_hours[15][4] = {'from': '08:00', 'to': '23:00'};
  776. branch_hours[15][5] = {'from': '08:00', 'to': '23:00'};
  777. branch_hours[15][6] = {'from': '08:00', 'to': '23:00'};
  778. branch_hours[15][7] = {'from': '08:00', 'to': '23:00'};
  779. branches[17] = {};
  780. branches[17]['specific_times'] = false;
  781. branch_hours[17] = {};
  782. branch_hours[17][1] = {'from': '08:00', 'to': '23:00'};
  783. branch_hours[17][2] = {'from': '08:00', 'to': '23:00'};
  784. branch_hours[17][3] = {'from': '08:00', 'to': '23:00'};
  785. branch_hours[17][4] = {'from': '08:00', 'to': '23:00'};
  786. branch_hours[17][5] = {'from': '08:00', 'to': '23:00'};
  787. branch_hours[17][6] = {'from': '08:00', 'to': '23:00'};
  788. branch_hours[17][7] = {'from': '08:00', 'to': '23:00'};
  789. branches[18] = {};
  790. branches[18]['specific_times'] = false;
  791. branch_hours[18] = {};
  792. branch_hours[18][1] = {'from': '08:00', 'to': '23:00'};
  793. branch_hours[18][2] = {'from': '08:00', 'to': '23:00'};
  794. branch_hours[18][3] = {'from': '08:00', 'to': '23:00'};
  795. branch_hours[18][4] = {'from': '08:00', 'to': '23:00'};
  796. branch_hours[18][5] = {'from': '08:00', 'to': '23:00'};
  797. branch_hours[18][6] = {'from': '08:00', 'to': '23:00'};
  798. branch_hours[18][7] = {'from': '08:00', 'to': '23:00'};
  799. branches[19] = {};
  800. branches[19]['specific_times'] = false;
  801. branch_hours[19] = {};
  802. branch_hours[19][1] = {'from': '08:00', 'to': '23:00'};
  803. branch_hours[19][2] = {'from': '08:00', 'to': '23:00'};
  804. branch_hours[19][3] = {'from': '08:00', 'to': '23:00'};
  805. branch_hours[19][4] = {'from': '08:00', 'to': '23:00'};
  806. branch_hours[19][5] = {'from': '08:00', 'to': '23:00'};
  807. branch_hours[19][6] = {'from': '08:00', 'to': '23:00'};
  808. branch_hours[19][7] = {'from': '08:00', 'to': '23:00'};
  809. branches[20] = {};
  810. branches[20]['specific_times'] = false;
  811. branch_hours[20] = {};
  812. branch_hours[20][1] = {'from': '08:00', 'to': '23:00'};
  813. branch_hours[20][2] = {'from': '08:00', 'to': '23:00'};
  814. branch_hours[20][3] = {'from': '08:00', 'to': '23:00'};
  815. branch_hours[20][4] = {'from': '08:00', 'to': '23:00'};
  816. branch_hours[20][5] = {'from': '08:00', 'to': '23:00'};
  817. branch_hours[20][6] = {'from': '08:00', 'to': '23:00'};
  818. branch_hours[20][7] = {'from': '08:00', 'to': '23:00'};
  819. branches[21] = {};
  820. branches[21]['specific_times'] = false;
  821. branch_hours[21] = {};
  822. branch_hours[21][1] = {'from': '08:00', 'to': '23:00'};
  823. branch_hours[21][2] = {'from': '08:00', 'to': '23:00'};
  824. branch_hours[21][3] = {'from': '08:00', 'to': '23:00'};
  825. branch_hours[21][4] = {'from': '08:00', 'to': '23:00'};
  826. branch_hours[21][5] = {'from': '08:00', 'to': '23:00'};
  827. branch_hours[21][6] = {'from': '08:00', 'to': '23:00'};
  828. branch_hours[21][7] = {'from': '08:00', 'to': '23:00'};
  829. branches[22] = {};
  830. branches[22]['specific_times'] = false;
  831. branch_hours[22] = {};
  832. branch_hours[22][1] = {'from': '08:00', 'to': '23:00'};
  833. branch_hours[22][2] = {'from': '08:00', 'to': '23:00'};
  834. branch_hours[22][3] = {'from': '08:00', 'to': '23:00'};
  835. branch_hours[22][4] = {'from': '08:00', 'to': '23:00'};
  836. branch_hours[22][5] = {'from': '08:00', 'to': '23:00'};
  837. branch_hours[22][6] = {'from': '08:00', 'to': '23:00'};
  838. branch_hours[22][7] = {'from': '08:00', 'to': '23:00'};
  839. branches[23] = {};
  840. branches[23]['specific_times'] = false;
  841. branch_hours[23] = {};
  842. branch_hours[23][1] = {'from': '08:00', 'to': '23:00'};
  843. branch_hours[23][2] = {'from': '08:00', 'to': '23:00'};
  844. branch_hours[23][3] = {'from': '08:00', 'to': '23:00'};
  845. branch_hours[23][4] = {'from': '08:00', 'to': '23:00'};
  846. branch_hours[23][5] = {'from': '08:00', 'to': '23:00'};
  847. branch_hours[23][6] = {'from': '08:00', 'to': '23:00'};
  848. branch_hours[23][7] = {'from': '08:00', 'to': '23:00'};
  849. var car_availability = {};
  850. var ajax_loading = {};
  851. jQuery('.car-available-button').click(function(e){
  852. e.preventDefault();
  853. jQuery(this).parent().find('.car-available-calendar').datepicker('show');
  854. });
  855. jQuery('.car-available-calendar').datepicker({
  856. //showOn: "both",
  857. dateFormat: "mm/dd/yy",
  858. firstDay: "0",
  859. dayNamesMin: ["Su", "Mo", "Tu", "Wu", "Th", "Fr", "Sa"],
  860. monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
  861. dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
  862. nextText: "Next",
  863. prevText: "Prev",
  864. onChangeMonthYear: function(year, month, instance) {
  865. var key = jQuery(instance.input).attr('data-car-id')+'-'+year+'-'+(month < 10 ? '0'+month : month);
  866. if (car_availability[key] === undefined) {
  867. carrental_load_availability(jQuery(instance.input).attr('data-car-id'), year, month);
  868. }
  869. },
  870. beforeShow: function(element, instance) {
  871. month = new Date().getMonth()+1;
  872. var key = jQuery(instance.input).attr('data-car-id')+'-'+(new Date().getFullYear())+'-'+(month < 10 ? '0'+month : month);
  873. if (car_availability[key] === undefined) {
  874. carrental_load_availability(jQuery(instance.input).attr('data-car-id'), new Date().getFullYear(), new Date().getMonth()+1);
  875. }
  876. },
  877. beforeShowDay: function(date) {
  878. month = date.getMonth()+1;
  879. var key = jQuery(this).attr('data-car-id')+'-'+date.getFullYear()+'-'+(month < 10 ? '0'+month : month);
  880. if (car_availability[key] === undefined) {
  881. return [false, 'carrental-car-available'];
  882. }
  883. if (car_availability[key][date.getDate()] === undefined) {
  884. return [false, 'carrental-car-available'];
  885. }
  886. return [false, car_availability[key][date.getDate()] ? 'carrental-car-no-available' : 'carrental-car-available'];
  887. }
  888. });
  889. var carrental_load_availability = function(car_id, year, month) {
  890. var key = car_id+'-'+year+'-'+month;
  891. if (car_availability[key] === undefined) {
  892. jQuery.ajax({
  893. url: ajaxurl,
  894. type: "POST",
  895. cache: false,
  896. dataType: 'json',
  897. async: false,
  898. data: 'fe_ajax=1&car_id='+car_id+'&year='+year+'&month='+month+'&action=carrental_available_cars',
  899. success: function(data){
  900. jQuery.each(data, function(k,v){
  901. car_availability[k] = v;
  902. })
  903. }
  904. });
  905. }
  906. };
  907. jQuery('.carrental-book-this-car-btn').on('click', function() {
  908. jQuery('#carrental-hidden-booking-form').attr('data-car-id',jQuery(this).attr('data-car-id'));
  909. jQuery('#carrental-hidden-booking-form').attr('data-branch-id',jQuery(this).attr('data-branch-id'));
  910. var id_branch = parseInt(jQuery(this).attr('data-branch-id'));
  911. jQuery('#carrental_enter_location_popup option:selected').removeAttr('selected');
  912. if (id_branch == 0) {
  913. jQuery('#carrental_enter_location_popup option').show();
  914. if (default_branch > 0) {
  915. jQuery('#carrental_enter_location_popup option[value='+default_branch+']').attr('selected',true);
  916. }
  917. } else {
  918. if (jQuery('#carrental_enter_location_popup option[value='+id_branch+']').length) {
  919. jQuery('#carrental_enter_location_popup option').hide();
  920. jQuery('#carrental_enter_location_popup option[value='+id_branch+']').show().attr('selected',true);
  921. }
  922. }
  923. jQuery('#carrental-hidden-booking-form-overlay').fadeIn(400);
  924. jQuery('#carrental-hidden-booking-form').fadeIn(800);
  925. });
  926. jQuery('#carrental-hidden-booking-form #carrental_booking_form_popup').submit(function(e){
  927. var is_available = true;
  928. jQuery('#carrental_booking_form_id_car').val(jQuery('#carrental-hidden-booking-form').attr('data-car-id'));
  929. jQuery.ajax({
  930. url: ajaxurl,
  931. type: "POST",
  932. cache: false,
  933. dataType: 'json',
  934. async: false,
  935. data: 'fe_ajax=1&car_id='+jQuery('#carrental-hidden-booking-form').attr('data-car-id')+'&enter_location='+jQuery('#carrental_enter_location_popup').val()+'&pickup_date='+jQuery('#carrental_from_date_popup').val()+'&pickup_time='+(jQuery('#carrental_from_hour_popup').length ? jQuery('#carrental_from_hour_popup').val() : '')+'&period='+jQuery('#carrental_period_popup').val()+'&return_date='+jQuery('#carrental_to_date_popup').val()+'&return_time='+(jQuery('#carrental_to_hour_popup').length ? jQuery('#carrental_to_hour_popup').val() : '')+'&action=carrental_book_now_check',
  936. success: function(data){
  937. if (data && data == '1') {
  938. is_available = true;
  939. } else {
  940. is_available = false;
  941. }
  942. }
  943. });
  944. if (!is_available) {
  945. jQuery('#carrental_book_errors_popup').html('<li>Car not available on these dates, please try again or try to search all cars for those dates.</li>');
  946. e.preventDefault();
  947. }
  948. });
  949.  
  950. jQuery('p.close-win').on('click', function() {
  951. jQuery('#carrental-hidden-booking-form').fadeOut(400);
  952. jQuery('#carrental-hidden-booking-form-overlay').fadeOut(800);
  953. });
  954.  
  955. jQuery('#carrental-hidden-booking-form-overlay').on('click', function() {
  956. jQuery('#carrental-hidden-booking-form').fadeOut(400);
  957. jQuery(this).fadeOut(800);
  958. });
  959.  
  960. if (jQuery('#carrental_enter_location').length) {
  961. // call time update after page reload
  962. carrental_booking_init('');
  963. init_fixed_dates('');
  964. carrental_update_business_hours('');
  965. }
  966.  
  967. if (jQuery('#carrental_enter_location_popup').length) {
  968. // call time update after page reload
  969. carrental_booking_init('_popup');
  970. init_fixed_dates('_popup');
  971. carrental_update_business_hours('_popup');
  972. }
  973. jQuery('.carrental_car_details').hide();
  974. jQuery('.carrental_car_details_link').click(function() {
  975. jQuery(this).parent().parent().find('.carrental_car_details').toggle('fast');
  976. });
  977. function init_fixed_dates(element_id) {
  978. var date_from = jQuery('#carrental_from_date' + element_id).val();
  979. if (typeof date_from === "undefined" || date_from == '') {
  980. date_from = jQuery.datepicker.formatDate('mm/dd/yy', new Date());
  981. }
  982.  
  983. var date_to = jQuery('#carrental_to_date' + element_id).val();
  984. if (typeof date_to === "undefined" || date_to == '') {
  985. date_to = jQuery.datepicker.formatDate('mm/dd/yy', new Date());
  986. }
  987.  
  988. // reformat to YYYY-MM-DD
  989. date_from = jQuery.datepicker.formatDate('yy-mm-dd', jQuery.datepicker.parseDate('mm/dd/yy', date_from));
  990. date_to = jQuery.datepicker.formatDate('yy-mm-dd', jQuery.datepicker.parseDate('mm/dd/yy', date_to));
  991. if (typeof carrental_fixed_dates_call == 'function') {
  992. if (carrental_fixed_dates_call(element_id, date_from, date_to) >= 0) {
  993. var errors = [];
  994. errors.push('There is fixed price on this dates.');
  995. jQuery('#carrental_book_errors' + element_id).html('<li>' + errors.join('</li><li>') + '</li>');
  996. } else {
  997. jQuery('#carrental_book_errors' + element_id + ' li' ).remove();
  998. }
  999. }
  1000. }
  1001.  
  1002. function carrental_booking_init(element_id) {
  1003. if (time_pricing_type == 'half_day') {
  1004. jQuery('#carrental_period' + element_id).change(function(){
  1005. if (jQuery(this).val() != 'day') {
  1006. jQuery('#carrental_to_date'+element_id).parent().hide();
  1007. } else {
  1008. jQuery('#carrental_to_date'+element_id).parent().show();
  1009. }
  1010. });
  1011. }
  1012. jQuery('#carrental_from_date' + element_id + ', #carrental_to_date' + element_id).datepicker({
  1013. //showOn: "both",
  1014. beforeShow: carrental_customRange,
  1015. dateFormat: "mm/dd/yy",
  1016. firstDay: "0",
  1017. dayNamesMin: ["Su", "Mo", "Tu", "Wu", "Th", "Fr", "Sa"],
  1018. monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
  1019. dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
  1020. nextText: "Next",
  1021. prevText: "Prev",
  1022. onSelect: function() {
  1023. carrental_update_business_hours(element_id);
  1024. if (typeof carrental_fixed_dates !== "undefined" && carrental_fixed_dates.length) {
  1025. init_fixed_dates(element_id);
  1026. carrental_update_business_hours(element_id);
  1027. }
  1028. },
  1029. beforeShowDay: function(date) {
  1030. // test allowed days
  1031. if (allowed_days[date.getDay()] === 0) {
  1032. return [false, ''];
  1033. }
  1034. // test if is not holiday
  1035. month = date.getMonth()+1;
  1036. month = month < 10 ? '0'+month : month;
  1037. day = date.getDate();
  1038. day = day < 10 ? '0'+day : day;
  1039. if (typeof holidays[month+'-'+day] !== "undefined") {
  1040. return [false, ''];
  1041. }
  1042. return [true, ''];
  1043. }
  1044. });
  1045.  
  1046. jQuery('#carrental_enter_location' + element_id).on('change', function() {
  1047. carrental_update_business_hours(element_id);
  1048. });
  1049.  
  1050. jQuery('#carrental_return_location' + element_id).on('change', function() {
  1051. carrental_update_business_hours(element_id);
  1052. });
  1053.  
  1054. jQuery('#carrental_booking_form' + element_id).on('submit', function() {
  1055. var errors = [];
  1056.  
  1057. // Check enter location
  1058. if (jQuery('#carrental_enter_location' + element_id).val() > 0) {
  1059. } else {
  1060. errors.push('Please, select enter location.');
  1061. }
  1062.  
  1063. // Check dates (from and to)
  1064. var from_date = jQuery.datepicker.parseDate('mm/dd/yy', jQuery('#carrental_from_date' + element_id).val());
  1065. var date_compare = new Date();
  1066. date_compare.setHours(0,0,0,0);
  1067. if (from_date != null && from_date != 'Invalid Date' && from_date >= date_compare) {
  1068. } else {
  1069. errors.push('Please, select pick-up date properly.');
  1070. }
  1071.  
  1072. var to_date = jQuery.datepicker.parseDate('mm/dd/yy', jQuery('#carrental_to_date' + element_id).val());
  1073. if (to_date != null && to_date != 'Invalid Date' && to_date >= date_compare) {
  1074. } else {
  1075. if (time_pricing_type == 'half_day' && jQuery('#carrental_period' + element_id).val() != 'day') {
  1076. } else {
  1077. errors.push('Please, select return date properly.');
  1078. }
  1079. }
  1080.  
  1081. // Check times (from and to)
  1082. if (time_pricing_type == 'standard') {
  1083. if (jQuery('#carrental_from_hour' + element_id).val() != '') {
  1084. time = jQuery('#carrental_from_hour' + element_id).val().split(':');
  1085. from_date.setHours(time[0]);
  1086. from_date.setMinutes(time[1]);
  1087. } else {
  1088. errors.push('Please, select pick-up time properly.');
  1089. }
  1090.  
  1091. if (jQuery('#carrental_to_hour' + element_id).val() != '') {
  1092. time = jQuery('#carrental_to_hour' + element_id).val().split(':');
  1093. to_date.setHours(time[0]);
  1094. to_date.setMinutes(time[1]);
  1095. } else {
  1096. errors.push('Please, select return time properly.');
  1097. }
  1098. }
  1099. // check minimum rental times
  1100. if (from_date != null && from_date != 'Invalid Date') {
  1101. var diff_hours = Math.abs(to_date - from_date) / 36e5;
  1102. key = parseInt(from_date.getMonth())+1;
  1103. if (carrental_minimum_booking_time[key] !== undefined && carrental_minimum_booking_time[key] > 0) {
  1104. if (diff_hours < (carrental_minimum_booking_time[key] * 24)) {
  1105. errors.push('Minimum days of booking for this month is '+carrental_minimum_booking_time[key]);
  1106. }
  1107. }
  1108. }
  1109. if (to_date < from_date) {
  1110. if (!(time_pricing_type == 'half_day' && jQuery('#carrental_period' + element_id).val() != 'day')) {
  1111. errors.push('Please select dates and times properly. Return date must be greater than pickup.');
  1112. }
  1113. }
  1114. // Filters
  1115. var flt = [];
  1116.  
  1117. // Price range
  1118. if (jQuery('#carrental_filter_price_range' + element_id).is(':hidden') == false) {
  1119. flt.push('spr:' + parseInt(jQuery('#carrental_filter_price_range' + element_id + ' .inputSliderMin').val()));
  1120. flt.push('epr:' + parseInt(jQuery('#carrental_filter_price_range' + element_id + ' .inputSliderMax').val()));
  1121. }
  1122.  
  1123. // Extras
  1124. if (jQuery('#carrental_filter_extras' + element_id).is(':hidden') == false) {
  1125. if (jQuery('[name=ac]').is(':checked') == true) {
  1126. flt.push('ac:' + parseInt(jQuery('[name=ac]').val()));
  1127. }
  1128. if (jQuery('[name=nonac]').is(':checked') == true) {
  1129. flt.push('nac:' + parseInt(jQuery('[name=nonac]').val()));
  1130. }
  1131. }
  1132.  
  1133. // Fuel
  1134. if (jQuery('#carrental_filter_fuel' + element_id).is(':hidden') == false) {
  1135. if (jQuery('[name=petrol]').is(':checked') == true) {
  1136. flt.push('pl:' + parseInt(jQuery('[name=petrol]').val()));
  1137. }
  1138. if (jQuery('[name=diesel]').is(':checked') == true) {
  1139. flt.push('dl:' + parseInt(jQuery('[name=diesel]').val()));
  1140. }
  1141. }
  1142.  
  1143. // Passengers
  1144. if (jQuery('#carrental_filter_passangers' + element_id).is(':hidden') == false) {
  1145. flt.push('sp:' + parseInt(jQuery('#carrental_filter_passangers' + element_id + ' .slider-input-start').val()));
  1146. flt.push('ep:' + parseInt(jQuery('#carrental_filter_passangers' + element_id + ' .slider-input-end').val()));
  1147. }
  1148.  
  1149. // Categories
  1150. if (jQuery('#carrental_filter_categories' + element_id).is(':hidden') == false) {
  1151. var cats = [];
  1152. jQuery('.categories_checkall:checked').each(function() {
  1153. cats.push(jQuery(this).val());
  1154. });
  1155. if (cats.length > 0) {
  1156. flt.push('cats:' + cats.join(','));
  1157. }
  1158. }
  1159.  
  1160. // Vehicles
  1161. if (jQuery('#carrental_filter_vehicles' + element_id).is(':hidden') == false) {
  1162. var cats = [];
  1163. jQuery('.vehicles_checkall:checked').each(function() {
  1164. cats.push(jQuery(this).val());
  1165. });
  1166. if (cats.length > 0) {
  1167. flt.push('vh:' + cats.join(','));
  1168. }
  1169. }
  1170. //seri = jQuery('.custom_parameter_checkbox:checked, .custom_parameter_input.slider-input-start, .custom_parameter_input.slider-input-end').serializeArray();
  1171. // custom parameters
  1172. if (jQuery('.custom-parameter-values').length) {
  1173. jQuery.each(jQuery('.custom-parameter-values'), function (k, v){
  1174. if (jQuery(v).is(':hidden')) {
  1175. return;
  1176. }
  1177. checkbox = jQuery(v).find('.custom_parameter_checkbox:checked');
  1178. var cats = [];
  1179. parameter_id = 0;
  1180. checkbox.each(function(kk, vv){
  1181. cats.push(parseInt(jQuery(vv).val()));
  1182. parameter_id = parseInt(jQuery(vv).attr('data-parameter'));
  1183. });
  1184. flt.push('cp-'+parameter_id+':' + cats.join(','));
  1185. });
  1186. }
  1187. if (jQuery('.custom-parameter-range').length) {
  1188. jQuery.each(jQuery('.custom-parameter-range'), function (k, v){
  1189. if (jQuery(v).is(':hidden')) {
  1190. return;
  1191. }
  1192. flt.push('cp-'+jQuery(v).find('.slider-input-start').attr('data-parameter')+'-range:' + parseInt(jQuery(v).find('.slider-input-start').val()) + '-' +parseInt(jQuery(v).find('.slider-input-end').val()));
  1193. //flt.push('cp-'+jQuery(v).find('.slider-input-end').attr('data-parameter')+'-t:' + parseInt(jQuery(v).find('.slider-input-end').val()));
  1194. });
  1195. }
  1196. if (flt.length > 0) {
  1197. jQuery('[name=flt]').val(flt.join('|'));
  1198. } else {
  1199. jQuery('[name=flt]').val('');
  1200. }
  1201.  
  1202. if (errors.length == 0) {
  1203. return true;
  1204. } else {
  1205. jQuery('#carrental_book_errors' + element_id).html('<li>' + errors.join('</li><li>') + '</li>');
  1206. return false;
  1207. }
  1208. });
  1209. }
  1210.  
  1211. function carrental_customRange(input) {
  1212. var min_time = new Date(1714809426000);
  1213. var max_time = new Date(1801123026000);
  1214. if (input.id.substr(0, 17) == 'carrental_to_date') {
  1215. var postfix = '';
  1216. if (input.id.length > 17) {
  1217. postfix = input.id.substr(17);
  1218. }
  1219. if (jQuery('#carrental_from_date' + postfix).val() == '') {
  1220. jQuery('#carrental_from_date' + postfix).focus();
  1221. alert('Set pick-up date first.a');
  1222. }
  1223. var minDate = jQuery.datepicker.parseDate('mm/dd/yy', jQuery('#carrental_from_date' + postfix).val()); //new Date(jQuery.datepicker.formatDate('yy-mm-dd', );jQuery('#carrental_from_date').val());
  1224. minDate.setDate(minDate.getDate());
  1225. enterDate = jQuery( "#carrental_from_date"+postfix ).datepicker( "getDate" );
  1226. key = parseInt(enterDate.getMonth())+1;
  1227. if (carrental_minimum_booking_time[key] !== undefined && carrental_minimum_booking_time[key] > 0) {
  1228. minTime = enterDate;
  1229. minTime.setDate(minTime.getDate() + carrental_minimum_booking_time[key]);
  1230. if (minTime > minDate) {
  1231. minDate = minTime;
  1232. }
  1233. }
  1234. return {minDate: minDate};
  1235. }
  1236. return {minDate: min_time, maxDate: max_time}
  1237. }
  1238.  
  1239. function carrental_update_business_hours(element_id) {
  1240. try {
  1241. if (time_pricing_type !== 'standard') {
  1242. return;
  1243. }
  1244.  
  1245. var id_branch = jQuery('#carrental_enter_location' + element_id).val();
  1246. var id_branch_return = jQuery('#carrental_return_location' + element_id).val();
  1247.  
  1248. if (typeof id_branch_return === "undefined" || id_branch_return == '' || id_branch_return === null) {
  1249. id_branch_return = id_branch;
  1250. }
  1251. var date_from = jQuery('#carrental_from_date' + element_id).val();
  1252. if (typeof date_from === "undefined" || date_from == '') {
  1253. date_from = jQuery.datepicker.formatDate('mm/dd/yy', new Date());
  1254. }
  1255.  
  1256. var date_to = jQuery('#carrental_to_date' + element_id).val();
  1257. if (typeof date_to === "undefined" || date_to == '') {
  1258. date_to = jQuery.datepicker.formatDate('mm/dd/yy', new Date());
  1259. }
  1260.  
  1261. // reformat to YYYY-MM-DD
  1262. date_from = jQuery.datepicker.formatDate('yy-mm-dd', jQuery.datepicker.parseDate('mm/dd/yy', date_from));
  1263. date_to = jQuery.datepicker.formatDate('yy-mm-dd', jQuery.datepicker.parseDate('mm/dd/yy', date_to));
  1264.  
  1265. var full_date_from = new Date(date_from);
  1266. var day_week_from = full_date_from.getUTCDay();
  1267. if (day_week_from == 0) {
  1268. day_week_from = 7;
  1269. } // sunday
  1270.  
  1271. var full_date_to = new Date(date_to);
  1272. var day_week_to = full_date_to.getUTCDay();
  1273. if (day_week_to == 0) {
  1274. day_week_to = 7;
  1275. } // sunday
  1276. if (id_branch != '' && id_branch != null && typeof branches[id_branch]['specific_times'] !== 'undefined' && branches[id_branch]['specific_times']) {
  1277. // DATE FROM
  1278. if (typeof branches[id_branch]['enter_hours'][day_week_from] !== "undefined" && branches[id_branch]['enter_hours'][day_week_from]) {
  1279.  
  1280. var from = carrental_time_format(branches[id_branch]['enter_hours'][day_week_from]['from'], 24);//.substring(0, 5); // get off seconds
  1281. var to = carrental_time_format(branches[id_branch]['enter_hours'][day_week_from]['to'], 24);//.substring(0, 5);
  1282. var prev_val = jQuery("#carrental_from_hour" + element_id).val();
  1283.  
  1284. jQuery("#carrental_from_hour" + element_id).attr('disabled', false);
  1285. jQuery('#carrental_from_hour' + element_id).find('option').remove().end().append('<option value="">Time</option>'); // delete all previous options
  1286.  
  1287. for (x = parseInt(from); x <= parseInt(to); x++) {
  1288. var hour = String(x);
  1289. if (hour.length == 1) {
  1290. hour = '0' + hour;
  1291. }
  1292.  
  1293. if (x == parseInt(from) && parseInt(from.substr(-2)) >= 30) {
  1294. // Do not show
  1295. } else {
  1296. newTime = carrental_time_format(hour + ':00', carrental_timeformat);
  1297. is_selected = hour + ':00' == default_enter_time ? true : false;
  1298. jQuery("#carrental_from_hour" + element_id).append(new Option(newTime, hour + ':00', is_selected, is_selected));
  1299. }
  1300.  
  1301. if (x == parseInt(to) && parseInt(to.substr(-2)) < 30) {
  1302. // Do not show
  1303. } else {
  1304. newTime = carrental_time_format(hour + ':30', carrental_timeformat);
  1305. is_selected = hour + ':30' == default_enter_time ? true : false;
  1306. jQuery("#carrental_from_hour" + element_id).append(new Option(newTime, hour + ':30', is_selected, is_selected));
  1307. }
  1308. }
  1309. // FROM_2
  1310. if (branches[id_branch]['enter_hours'][day_week_from]['from_2'] && branches[id_branch]['enter_hours'][day_week_from]['to_2']) {
  1311. var from = carrental_time_format(branches[id_branch]['enter_hours'][day_week_from]['from_2'], 24);//.substring(0, 5); // get off seconds
  1312. var to = carrental_time_format(branches[id_branch]['enter_hours'][day_week_from]['to_2'], 24);//.substring(0, 5);
  1313. for (x = parseInt(from); x <= parseInt(to); x++) {
  1314. var hour = String(x);
  1315. if (hour.length == 1) {
  1316. hour = '0' + hour;
  1317. }
  1318.  
  1319. if (x == parseInt(from) && parseInt(from.substr(-2)) >= 30) {
  1320. // Do not show
  1321. } else {
  1322. newTime = carrental_time_format(hour + ':00', carrental_timeformat);
  1323. is_selected = hour + ':00' == default_enter_time ? true : false;
  1324. jQuery("#carrental_from_hour" + element_id).append(new Option(newTime, hour + ':00', is_selected, is_selected));
  1325. }
  1326.  
  1327. if (x == parseInt(to) && parseInt(to.substr(-2)) < 30) {
  1328. // Do not show
  1329. } else {
  1330. newTime = carrental_time_format(hour + ':30', carrental_timeformat);
  1331. is_selected = hour + ':30' == default_enter_time ? true : false;
  1332. jQuery("#carrental_from_hour" + element_id).append(new Option(newTime, hour + ':30', is_selected, is_selected));
  1333. }
  1334. }
  1335. }
  1336.  
  1337. if (prev_val != '' && jQuery("#carrental_from_hour" + element_id + " option[value='" + prev_val + "']").val() !== undefined) {
  1338. jQuery("#carrental_from_hour" + element_id).val(prev_val);
  1339. }
  1340.  
  1341. } else {
  1342. jQuery('#carrental_from_hour' + element_id).find('option').remove().end().append('<option value="">Closed</option>'); // delete all previous options
  1343. jQuery("#carrental_from_hour" + element_id).attr('disabled', true);
  1344. }
  1345. } else {
  1346. // DATE FROM
  1347. if (id_branch != '' && id_branch != null && typeof branch_hours[id_branch][day_week_from] !== "undefined" && branch_hours[id_branch][day_week_from]) {
  1348.  
  1349. var from = carrental_time_format(branch_hours[id_branch][day_week_from]['from'], 24);//.substring(0, 5); // get off seconds
  1350. var to = carrental_time_format(branch_hours[id_branch][day_week_from]['to'], 24);//.substring(0, 5);
  1351. var prev_val = jQuery("#carrental_from_hour" + element_id).val();
  1352.  
  1353. jQuery("#carrental_from_hour" + element_id).attr('disabled', false);
  1354. jQuery('#carrental_from_hour' + element_id).find('option').remove().end().append('<option value="">Time</option>'); // delete all previous options
  1355.  
  1356. for (x = parseInt(from); x <= parseInt(to); x++) {
  1357. var hour = String(x);
  1358. if (hour.length == 1) {
  1359. hour = '0' + hour;
  1360. }
  1361.  
  1362. if (x == parseInt(from) && parseInt(from.substr(-2)) >= 30) {
  1363. // Do not show
  1364. } else {
  1365. newTime = carrental_time_format(hour + ':00', carrental_timeformat);
  1366. is_selected = hour + ':00' == default_enter_time ? true : false;
  1367. jQuery("#carrental_from_hour" + element_id).append(new Option(newTime, hour + ':00', is_selected, is_selected));
  1368. }
  1369.  
  1370. if (x == parseInt(to) && parseInt(to.substr(-2)) < 30) {
  1371. // Do not show
  1372. } else {
  1373. newTime = carrental_time_format(hour + ':30', carrental_timeformat);
  1374. is_selected = hour + ':30' == default_enter_time ? true : false;
  1375. jQuery("#carrental_from_hour" + element_id).append(new Option(newTime, hour + ':30', is_selected, is_selected));
  1376. }
  1377. }
  1378. if (branch_hours[id_branch][day_week_from]['from_2'] && branch_hours[id_branch][day_week_from]['to_2']) {
  1379. var from = carrental_time_format(branch_hours[id_branch][day_week_from]['from_2'], 24);//.substring(0, 5); // get off seconds
  1380. var to = carrental_time_format(branch_hours[id_branch][day_week_from]['to_2'], 24);//.substring(0, 5);
  1381.  
  1382. for (x = parseInt(from); x <= parseInt(to); x++) {
  1383. var hour = String(x);
  1384. if (hour.length == 1) {
  1385. hour = '0' + hour;
  1386. }
  1387.  
  1388. if (x == parseInt(from) && parseInt(from.substr(-2)) >= 30) {
  1389. // Do not show
  1390. } else {
  1391. newTime = carrental_time_format(hour + ':00', carrental_timeformat);
  1392. is_selected = hour + ':00' == default_enter_time ? true : false;
  1393. jQuery("#carrental_from_hour" + element_id).append(new Option(newTime, hour + ':00', is_selected, is_selected));
  1394. }
  1395.  
  1396. if (x == parseInt(to) && parseInt(to.substr(-2)) < 30) {
  1397. // Do not show
  1398. } else {
  1399. newTime = carrental_time_format(hour + ':30', carrental_timeformat);
  1400. is_selected = hour + ':30' == default_enter_time ? true : false;
  1401. jQuery("#carrental_from_hour" + element_id).append(new Option(newTime, hour + ':30', is_selected, is_selected));
  1402. }
  1403. }
  1404. }
  1405.  
  1406. if (prev_val != '' && jQuery("#carrental_from_hour" + element_id + " option[value='" + prev_val + "']").val() !== undefined) {
  1407. jQuery("#carrental_from_hour" + element_id).val(prev_val);
  1408. }
  1409.  
  1410. } else {
  1411. jQuery('#carrental_from_hour' + element_id).find('option').remove().end().append('<option value="">Closed</option>'); // delete all previous options
  1412. jQuery("#carrental_from_hour" + element_id).attr('disabled', true);
  1413. }
  1414. }
  1415. if (id_branch_return != '' && id_branch_return != null && typeof branches[id_branch_return]['specific_times'] !== 'undefined' && branches[id_branch_return]['specific_times']) {
  1416. // DATE TO
  1417. if (typeof branches[id_branch_return]['return_hours'][day_week_to] !== "undefined" && branches[id_branch_return]['return_hours'][day_week_to]) {
  1418.  
  1419. var from = carrental_time_format(branches[id_branch_return]['return_hours'][day_week_to]['from'], 24);//.substring(0, 5); // get off seconds
  1420. var to = carrental_time_format(branches[id_branch_return]['return_hours'][day_week_to]['to'], 24);//.substring(0, 5);
  1421. var prev_val = jQuery("#carrental_to_hour" + element_id).val();
  1422.  
  1423. jQuery("#carrental_to_hour" + element_id).attr('disabled', false);
  1424. jQuery('#carrental_to_hour' + element_id).find('option').remove().end().append('<option value="">Time</option>'); // delete all previous options
  1425.  
  1426. for (x = parseInt(from); x <= parseInt(to); x++) {
  1427. var hour = String(x);
  1428. if (hour.length == 1) {
  1429. hour = '0' + hour;
  1430. }
  1431.  
  1432. if (x == parseInt(from) && parseInt(from.substr(-2)) >= 30) {
  1433. // Do not show
  1434. } else {
  1435. newTime = carrental_time_format(hour + ':00', carrental_timeformat);
  1436. is_selected = hour + ':00' == default_return_time ? true : false;
  1437. jQuery("#carrental_to_hour" + element_id).append(new Option(newTime, hour + ':00', is_selected, is_selected));
  1438. }
  1439.  
  1440. if (x == parseInt(to) && parseInt(to.substr(-2)) < 30) {
  1441. // Do not show
  1442. } else {
  1443. //if (prev_val == hour + ':30') { var selected = true; } else { var selected = false; }
  1444. newTime = carrental_time_format(hour + ':30', carrental_timeformat);
  1445. is_selected = hour + ':30' == default_return_time ? true : false;
  1446. jQuery("#carrental_to_hour" + element_id).append(new Option(newTime, hour + ':30', is_selected, is_selected));
  1447. }
  1448.  
  1449. }
  1450. // FROM_2
  1451. if (branches[id_branch_return]['return_hours'][day_week_to]['from_2'] && branches[id_branch_return]['return_hours'][day_week_to]['to_2']) {
  1452. var from = carrental_time_format(branches[id_branch_return]['return_hours'][day_week_to]['from_2'], 24);//.substring(0, 5); // get off seconds
  1453. var to = carrental_time_format(branches[id_branch_return]['return_hours'][day_week_to]['to_2'], 24);//.substring(0, 5);
  1454.  
  1455. for (x = parseInt(from); x <= parseInt(to); x++) {
  1456. var hour = String(x);
  1457. if (hour.length == 1) {
  1458. hour = '0' + hour;
  1459. }
  1460.  
  1461. if (x == parseInt(from) && parseInt(from.substr(-2)) >= 30) {
  1462. // Do not show
  1463. } else {
  1464. newTime = carrental_time_format(hour + ':00', carrental_timeformat);
  1465. is_selected = hour + ':00' == default_return_time ? true : false;
  1466. jQuery("#carrental_to_hour" + element_id).append(new Option(newTime, hour + ':00', is_selected, is_selected));
  1467. }
  1468.  
  1469. if (x == parseInt(to) && parseInt(to.substr(-2)) < 30) {
  1470. // Do not show
  1471. } else {
  1472. //if (prev_val == hour + ':30') { var selected = true; } else { var selected = false; }
  1473. newTime = carrental_time_format(hour + ':30', carrental_timeformat);
  1474. is_selected = hour + ':30' == default_return_time ? true : false;
  1475. jQuery("#carrental_to_hour" + element_id).append(new Option(newTime, hour + ':30', is_selected, is_selected));
  1476. }
  1477.  
  1478. }
  1479. }
  1480.  
  1481. if (prev_val != '' && jQuery("#carrental_to_hour" + element_id + " option[value='" + prev_val + "']").val() !== undefined) {
  1482. jQuery("#carrental_to_hour" + element_id).val(prev_val);
  1483. }
  1484.  
  1485. } else {
  1486. jQuery('#carrental_to_hour' + element_id).find('option').remove().end().append('<option value="">Closed</option>');
  1487. jQuery("#carrental_to_hour" + element_id).attr('disabled', true);
  1488. }
  1489. } else {
  1490. // DATE TO
  1491. if (id_branch_return != '' && id_branch_return != null && typeof branch_hours[id_branch_return][day_week_to] !== "undefined" && branch_hours[id_branch_return][day_week_to]) {
  1492.  
  1493. var from = carrental_time_format(branch_hours[id_branch_return][day_week_to]['from'], 24);//.substring(0, 5); // get off seconds
  1494. var to = carrental_time_format(branch_hours[id_branch_return][day_week_to]['to'], 24);//.substring(0, 5);
  1495. var prev_val = jQuery("#carrental_to_hour" + element_id).val();
  1496.  
  1497. jQuery("#carrental_to_hour" + element_id).attr('disabled', false);
  1498. jQuery('#carrental_to_hour' + element_id).find('option').remove().end().append('<option value="">Time</option>'); // delete all previous options
  1499.  
  1500. for (x = parseInt(from); x <= parseInt(to); x++) {
  1501. var hour = String(x);
  1502. if (hour.length == 1) {
  1503. hour = '0' + hour;
  1504. }
  1505.  
  1506. if (x == parseInt(from) && parseInt(from.substr(-2)) >= 30) {
  1507. // Do not show
  1508. } else {
  1509. newTime = carrental_time_format(hour + ':00', carrental_timeformat);
  1510. is_selected = hour + ':00' == default_return_time ? true : false;
  1511. jQuery("#carrental_to_hour" + element_id).append(new Option(newTime, hour + ':00', is_selected, is_selected));
  1512. }
  1513.  
  1514. if (x == parseInt(to) && parseInt(to.substr(-2)) < 30) {
  1515. // Do not show
  1516. } else {
  1517. //if (prev_val == hour + ':30') { var selected = true; } else { var selected = false; }
  1518. newTime = carrental_time_format(hour + ':30', carrental_timeformat);
  1519. is_selected = hour + ':30' == default_return_time ? true : false;
  1520. jQuery("#carrental_to_hour" + element_id).append(new Option(newTime, hour + ':30', is_selected, is_selected));
  1521. }
  1522.  
  1523. }
  1524. if (branch_hours[id_branch_return][day_week_to]['from_2'] && branch_hours[id_branch_return][day_week_to]['to_2']) {
  1525. var from = carrental_time_format(branch_hours[id_branch_return][day_week_to]['from_2'], 24);//.substring(0, 5); // get off seconds
  1526. var to = carrental_time_format(branch_hours[id_branch_return][day_week_to]['to_2'], 24);//.substring(0, 5);
  1527.  
  1528. for (x = parseInt(from); x <= parseInt(to); x++) {
  1529. var hour = String(x);
  1530. if (hour.length == 1) {
  1531. hour = '0' + hour;
  1532. }
  1533.  
  1534. if (x == parseInt(from) && parseInt(from.substr(-2)) >= 30) {
  1535. // Do not show
  1536. } else {
  1537. newTime = carrental_time_format(hour + ':00', carrental_timeformat);
  1538. is_selected = hour + ':00' == default_return_time ? true : false;
  1539. jQuery("#carrental_to_hour" + element_id).append(new Option(newTime, hour + ':00', is_selected, is_selected));
  1540. }
  1541.  
  1542. if (x == parseInt(to) && parseInt(to.substr(-2)) < 30) {
  1543. // Do not show
  1544. } else {
  1545. //if (prev_val == hour + ':30') { var selected = true; } else { var selected = false; }
  1546. newTime = carrental_time_format(hour + ':30', carrental_timeformat);
  1547. is_selected = hour + ':30' == default_return_time ? true : false;
  1548. jQuery("#carrental_to_hour" + element_id).append(new Option(newTime, hour + ':30', is_selected, is_selected));
  1549. }
  1550.  
  1551. }
  1552. }
  1553.  
  1554. if (prev_val != '' && jQuery("#carrental_to_hour" + element_id + " option[value='" + prev_val + "']").val() !== undefined) {
  1555. jQuery("#carrental_to_hour" + element_id).val(prev_val);
  1556. }
  1557.  
  1558. } else {
  1559. jQuery('#carrental_to_hour' + element_id).find('option').remove().end().append('<option value="">Closed</option>');
  1560. jQuery("#carrental_to_hour" + element_id).attr('disabled', true);
  1561. }
  1562.  
  1563. }
  1564. } catch (e) {
  1565. alert(e);
  1566. }
  1567. }
  1568.  
  1569. });
  1570.  
  1571.  
  1572. </script>
  1573.    </div>
  1574.  </div>
  1575.  <div id="tabs-2" aria-labelledby="ui-id-2" class="ui-tabs-panel ui-widget-content ui-corner-bottom" role="tabpanel" style="display: none;" aria-hidden="true">
  1576.   <div class="row">
  1577. <form action="" method="post" class="form-request">
  1578.  
  1579.     <div class="small-12 columns">
  1580.     <input type="text" name="id_order" id="carrental_order_number" placeholder="Order number">
  1581.     </div>
  1582.  
  1583.     <div class="small-12 columns">
  1584.     <input type="text" name="email" id="carrental_order_email" placeholder="Your email" class="location">
  1585.     </div>
  1586.  
  1587.     <div class="small-12 columns">
  1588. <input type="hidden" name="page" value="carrental">
  1589.     <input type="submit" name="manage_booking" value="Show order" class="button button-small">    
  1590.     </div>
  1591.  
  1592.    </form>
  1593.   </div>
  1594.  </div>
  1595. </div></p> </div>
  1596. </div>
  1597. </section>
  1598. <section id="carrental-section-row-391" class="carousel">
  1599. <div class="row">
  1600. <div id="controlLooper" data-looper="go" class="looper slide">
  1601. <div class="looper-inner">
  1602. <div class="item">
  1603. <div class="row">
  1604. <div class="small-offset-1 small-10 large-5 columns">
  1605. <h2>CITY CAR</h2>
  1606. <h3>Toyota Agya price start from $20 a day!</h3>
  1607. <p><p><em>The most economical and most agile small car in Indonesia, </em><a href="https://www.icanrentacar.com/detail/17-toyota-agya-at/">Toyota Agya</a><em> is ready to bring joy to you on every trip.</em></p>
  1608. </p>
  1609. <a href="https://www.icanrentacar.com/detail/17-toyota-agya-at/" type="button">BOOK NOW</a>
  1610. </div>
  1611. <div class="large-5 columns image">
  1612. <img src="https://www.icanrentacar.com/wp-content/uploads/2019/08/test-12-1.png" alt="">
  1613. </div>
  1614. </div>
  1615. </div>
  1616. <div class="item">
  1617. <div class="row">
  1618. <div class="small-offset-1 small-10 large-5 columns">
  1619. <h2>M.P.V</h2>
  1620. <h3>Toyota Zenix</h3>
  1621. <p><p>Toyota Zenix is an MPV car that has the most complete variants and the latest modern design.<br />
  1622. Innova Zenix will definitely make your trip safe and comfortable in exploring cities in Indonesia</p>
  1623. </p>
  1624. <a href="https://www.icanrentacar.com/detail/74-toyota-zenix-at/" type="button">SHOW DETAILS</a>
  1625. </div>
  1626. <div class="large-5 columns image">
  1627. <img src="https://www.icanrentacar.com/wp-content/uploads/2023/04/zenix-biasa-1.png" alt="">
  1628. </div>
  1629. </div>
  1630. </div>
  1631. <div class="item">
  1632. <div class="row">
  1633. <div class="small-offset-1 small-10 large-5 columns">
  1634. <h2>MINIVAN</h2>
  1635. <h3>TOYOTA ALPHARD VELLFIRE</h3>
  1636. <p><p><em>Do you want to travel with your family using a comfortable vehicle? Here goes the answer! <a href="https://www.icanrentacar.com/detail/33-toyota-alphard-vellfire/">Toyota Alphard</a> is supported by complete entertainment features that can make passengers feel comfortable during the trip.</em></p>
  1637. </p>
  1638. <a href="https://www.icanrentacar.com/detail/33-toyota-alphard-vellfire/" type="button">CALL US FOR THE PRICE</a>
  1639. </div>
  1640. <div class="large-5 columns image">
  1641. <img src="https://www.icanrentacar.com/wp-content/uploads/2019/08/alphard.png" alt="">
  1642. </div>
  1643. </div>
  1644. </div>
  1645. </div>
  1646. <nav>
  1647. <a class="looper-control" data-looper="prev" href="#controlLooper"></a>
  1648. <a class="looper-control right" data-looper="next" href="#controlLooper"></a>
  1649. </nav>
  1650. </div>
  1651. </div>
  1652. </section>
  1653. </section>
  1654. <section id="carrental-section-2"  class="">
  1655. <section id="carrental-section-row-365" class="text">
  1656. <div class="row">
  1657. </div>
  1658. </section>
  1659. <section id="carrental-section-row-366" class="text">
  1660. <div class="row">
  1661. <div class="">
  1662. <h2>ABOUT US</h2> <p><span style="color: #000000;">ICAN stands for<a href="https://www.icanrentacar.com/self-drive-in-bali/"> Indonesia Car Area Network</a>, providing cars for Business and Tourism. Founded in 2008 managed by people who are trusted, experienced and honest.</span><br />
  1663. <span style="color: #000000;"><a href="https://www.icanrentacar.com/rental-mobil-lepas-kunci-di-medan/">ICANRENTACAR.COM</a> is an independent company dedicated to making it easy for you to rent a car without problems and without hidden costs. Punctuality, comfort, and guaranteed cleanliness are the foundation of our services</span></p>
  1664. <p><span style="color: #000000;"><a href="https://www.icanrentacar.com/only-15-day-cheapest-car-rental-in-bali/">ICANRENTACAR.COM</a> is supported by hundreds of car rental owners in several cities in Indonesia with the advantage of cheap car rental but has a professional service standard.</span></p>
  1665. <p><span style="color: #000000;">Through<a href="https://www.icanrentacar.com/rental-medan/"> ICANRENTACAR.COM</a>, you can choose self-drive, with our driver, tour package or other services available for various car rentals in various cities in Indonesia.</span><br />
  1666. <span style="color: #000000;">ICANRENTACAR.COM guarantees the availability of rental cars that have been booked. The quality of car rental services is supported by professional and English-speaking drivers who understand the route to where you want to go, drive politely and even the driver can provide recommendations on tourist attractions you need to visit.</span></p>
  1667. <p><span style="color: #000000;">The age of the vehicle is not more than 4 years, so a rental car is safe to use.</span><br />
  1668. <span style="color: #000000;">You can also use the available <a style="color: #000000;" href="https://www.icanrentacar.com/terms-and-conditions/">insurance (full protection)</a> which provides peace of mind in driving</span><br />
  1669. <span style="color: #000000;">And the car that will be used for your trip is guaranteed to be clean, comfortable and maintained.</span><br />
  1670. <span style="color: #000000;">Your comfort is our top priority</span></p>
  1671. <p>Reservation is easier through the website. located in 34 cities in Indonesia, <a href="https://www.icanrentacar.com/indonesia/">Medan</a>, <a href="https://www.icanrentacar.com/jakarta/">Jakarta</a>,<a href="https://www.icanrentacar.com/aceh/"> Aceh</a>,<a href="https://www.icanrentacar.com/denpasar-bali-indonesia/"> Denpasar</a>,<a href="https://www.icanrentacar.com/bali/"> Bali</a>,<a href="https://www.icanrentacar.com/padang/"> Padang</a>,<a href="https://www.icanrentacar.com/batam/"> Batam</a>,<a href="https://www.icanrentacar.com/palembang/"> Palembang</a>, <a href="https://www.icanrentacar.com/jambi/">Jambi</a>,<a href="https://www.icanrentacar.com/pekanbaru-riau/"> Pekanbaru</a>, <a href="https://www.icanrentacar.com/favorite-tourist-destination/">Riau,</a> <a href="https://www.icanrentacar.com/surabaya/">Surabaya</a>,<a href="https://www.icanrentacar.com/yogyakarta/"> Yogyakarta</a>,<a href="https://www.icanrentacar.com/bandung/"> Bandung</a>, <a href="https://www.icanrentacar.com/bengkulu/">Bengkulu</a>, <a href="https://www.icanrentacar.com/lombok/">Lombok</a> and<a href="https://www.icanrentacar.com/semarang/"> Semarang, etc</a><br />
  1672. We are ready to serve your transportation needs.</p>
  1673. <p><span style="color: #000000;">Thank you for your business and pleasant trip.</span></p> </div>
  1674. </div>
  1675. </section>
  1676. <section id="carrental-section-row-367" class="about">
  1677. <div class="row">
  1678. <div class="columns small-12 medium-8 large-4">
  1679. <a href="https://www.icanrentacar.com/our-cars/">
  1680. <figure>
  1681. <img alt="Our cars" src="https://www.icanrentacar.com/wp-content/uploads/2019/08/test-6.jpg">
  1682. <figcaption><h3>Our cars</h3></figcaption>
  1683. <div class="overlay">
  1684. <i class="icon" data-icon="D"></i>
  1685. </div>
  1686. </figure>
  1687. </a>
  1688. </div>
  1689. <div class="columns small-12 medium-8 large-4">
  1690. <a href="https://www.icanrentacar.com/our-locations/">
  1691. <figure>
  1692. <img alt="Our locations" src="https://www.icanrentacar.com/wp-content/uploads/2019/08/test-7.jpg">
  1693. <figcaption><h3>Our locations</h3></figcaption>
  1694. <div class="overlay">
  1695. <i class="icon" data-icon="D"></i>
  1696. </div>
  1697. </figure>
  1698. </a>
  1699. </div>
  1700. <div class="columns small-12 medium-8 large-4">
  1701. <a href="https://www.icanrentacar.com/manage-booking/">
  1702. <figure>
  1703. <img alt="Manage booking" src="https://www.icanrentacar.com/wp-content/uploads/2019/08/test-8.jpg">
  1704. <figcaption><h3>Manage booking</h3></figcaption>
  1705. <div class="overlay">
  1706. <i class="icon" data-icon="D"></i>
  1707. </div>
  1708. </figure>
  1709. </a>
  1710. </div>
  1711. </div>
  1712. </section>
  1713. </section>
  1714. <section id="carrental-section-3"  class="">
  1715. <section id="carrental-section-row-392" class="text">
  1716. <div class="row">
  1717. <div class="">
  1718. <h2>Vision & Mission</h2> <p>For 15 years as your tourism partner, Has facilitated more than 10,000 travelers to visit their dream destinations. ICAN has 34 branches in various cities in Indonesia. With this, we hope to facilitate everyone's holiday.</p>
  1719. <p>Company Vision</p>
  1720. <p>Being a car rental service that facilitates everyone going anywhere and from anywhere, with the most complete accommodations, the best service, and affordable prices.</p>
  1721. <p>Company Mission</p>
  1722. <p>    Providing one-stop-service, from car rental, holiday packages, tour guides, to transportation rentals.<br />
  1723.    Providing comprehensive vacation packages for many tourist cities, with various destinations and facilities.<br />
  1724.    Provide transportation rental with various types and brands of vehicles according to consumer needs.<br />
  1725.    Set the best and affordable price range.<br />
  1726.    Your comfort is our happiness</p> </div>
  1727. </div>
  1728. </section>
  1729. <section id="carrental-section-row-393" class="popular">
  1730. <div class="row">
  1731. <div class="products-wrapper">
  1732. <div class="small-12 medium-6 large-3 columns">
  1733. <div class="card-car">
  1734. <a href="https://www.icanrentacar.com/detail/6-toyota-avanza-manual">
  1735. <div class="img-wrapper">
  1736. <img src="https://www.icanrentacar.com/wp-content/uploads/2022/06/grand-avanza.png" alt="Toyota Avanza Manual">
  1737. </div>
  1738. </a>
  1739. <div class="card-info">
  1740. <h3>Toyota Avanza Manual</h3>
  1741. <hr>
  1742. <ul>
  1743. <li><span>$27.00</span></li>
  1744. <li><span>A/C</span></li> <li><span>3x Luggage</span></li> <li><span>6x Persons</span></li> <li><span>Petrol</span></li> </ul>
  1745. <a href="https://www.icanrentacar.com/detail/6-toyota-avanza-manual" class="button">CAR DETAILS</a>
  1746. </div>
  1747. </div>
  1748. </div>
  1749. <div class="small-12 medium-6 large-3 columns">
  1750. <div class="card-car">
  1751. <a href="https://www.icanrentacar.com/detail/13-toyota-avanza-at">
  1752. <div class="img-wrapper">
  1753. <img src="https://www.icanrentacar.com/wp-content/uploads/2022/06/avanza-2019.png" alt="Toyota Avanza AT">
  1754. </div>
  1755. </a>
  1756. <div class="card-info">
  1757. <h3>Toyota Avanza AT</h3>
  1758. <hr>
  1759. <ul>
  1760. <li><span>$30.00</span></li>
  1761. <li><span>A/C</span></li> <li><span>3x Luggage</span></li> <li><span>6x Persons</span></li> <li><span>Petrol</span></li> </ul>
  1762. <a href="https://www.icanrentacar.com/detail/13-toyota-avanza-at" class="button">CAR DETAILS</a>
  1763. </div>
  1764. </div>
  1765. </div>
  1766. <div class="small-12 medium-6 large-3 columns">
  1767. <div class="card-car">
  1768. <a href="https://www.icanrentacar.com/detail/7-suzuki-ertiga-at">
  1769. <div class="img-wrapper">
  1770. <img src="https://www.icanrentacar.com/wp-content/uploads/2022/06/new-ertiga.png" alt="Suzuki Ertiga AT">
  1771. </div>
  1772. </a>
  1773. <div class="card-info">
  1774. <h3>Suzuki Ertiga AT</h3>
  1775. <hr>
  1776. <ul>
  1777. <li><span>$35.00</span></li>
  1778. <li><span>A/C</span></li> <li><span>2x Luggage</span></li> <li><span>6x Persons</span></li> <li><span>Petrol</span></li> </ul>
  1779. <a href="https://www.icanrentacar.com/detail/7-suzuki-ertiga-at" class="button">CAR DETAILS</a>
  1780. </div>
  1781. </div>
  1782. </div>
  1783. <div class="small-12 medium-6 large-3 columns">
  1784. <div class="card-car">
  1785. <a href="https://www.icanrentacar.com/detail/17-toyota-agya-at">
  1786. <div class="img-wrapper">
  1787. <img src="https://www.icanrentacar.com/wp-content/uploads/2022/06/AGYA.png" alt="Toyota Agya AT">
  1788. </div>
  1789. </a>
  1790. <div class="card-info">
  1791. <h3>Toyota Agya AT</h3>
  1792. <hr>
  1793. <ul>
  1794. <li><span>$25.00</span></li>
  1795. <li><span>A/C</span></li> <li><span>2x Luggage</span></li> <li><span>4x Persons</span></li> <li><span>Petrol</span></li> </ul>
  1796. <a href="https://www.icanrentacar.com/detail/17-toyota-agya-at" class="button">CAR DETAILS</a>
  1797. </div>
  1798. </div>
  1799. </div>
  1800. </div>
  1801. </div>
  1802. </section>
  1803. </section>
  1804. <section id="carrental-section-5"  class="">
  1805. <section id="carrental-section-row-341" class="text">
  1806. <div class="row">
  1807. <div class="columns small-12 medium-12 large-6">
  1808. <h2>WHY CHOOSE US</h2> <p><ul>
  1809. <li><a href="https://www.icanrentacar.com/trusted-website/"><span style="color: #0000ff;"><strong>Trusted Website</strong></span></a></li>
  1810. <li><a href="https://www.icanrentacar.com/getting-a-rental-car-in-excellent-condition/"><span style="color: #0000ff;"><strong>Cars with Excellent condition</strong></span></a></li>
  1811. <li><a href="https://www.icanrentacar.com/best-price-guarantee/"><span style="color: #0000ff;"><strong>Best Price Guarantee</strong></span></a></li>
  1812. <li><a href="https://www.icanrentacar.com/courteous-driver/"><span style="color: #0000ff;"><strong>Courteous Driver</strong></span></a></li>
  1813. <li><a href="https://www.icanrentacar.com/on-time-services/"><span style="color: #0000ff;"><strong>On Time Services</strong></span></a></li>
  1814. <li><a href="https://www.icanrentacar.com/customer-satisfaction/"><span style="color: #0000ff;"><strong>Customer Satisfaction</strong></span></a></li>
  1815. <li><a href="https://www.icanrentacar.com/free-delivery-at-airport/"><span style="color: #0000ff;"><strong>Free Delivery at Airport</strong></span></a></li>
  1816. <li><a href="https://www.icanrentacar.com/unlimited-miliage/"><span style="color: #0000ff;"><strong>Unlimited Miliage</strong></span></a></li>
  1817. <li><a href="https://www.icanrentacar.com/no-hidden-charges/"><span style="color: #0000ff;"><strong>No Hidden Charges</strong></span></a></li>
  1818. <li><a href="https://www.icanrentacar.com/car-rental-insurance/"><span style="color: #0000ff;"><strong>Car Rental Insurance</strong><span</a></li>
  1819. <li><a href="https://www.icanrentacar.com/full-protection-car-rental/"><span style="color: #0000ff;"><strong>Full Insurance Protection Option</strong></span></a></li>
  1820. <li><a href="https://www.icanrentacar.com/cancel-amend-your-reservation/"><span style="color: #0000ff;"><strong>Cancel or Amend Your Reservation Easily</strong></span></a></li>
  1821. </ul></p> </div>
  1822. <div class="columns small-12 medium-12 large-6">
  1823. <h2>Easy Way To Rent A Car in Indonesian Cities</h2> <p><strong>Renting a car in Indonesia is very easy with<a href="https://www.icanrentacar.com/our-cars/"> ICANRENTACAR.COM,</a> just by determining the date of use, then choosing the car you want to use and by filling out your data form on this website <a href="https://www.icanrentacar.com/contact-us/">https://www.icanrentacar.com</a></strong></p>
  1824. <p><strong>You can also our contact. You can chat via whatsapp or email with the number and address listed on our website.</strong></p>
  1825. <p><strong>We also provide free airport pick-up and nearby hotels.</strong></p>
  1826. <p><strong>A good idea to book a car in advance, especially during the busy holiday season with many visitors. As much as any car rental service, but all cars can run out.</strong></p>
  1827. <p><strong>Come on, immediately order your favourite car at ICANRENTACAR.COM, choose and experienced rental company for your comfort, security and safety</strong></p> </div>
  1828. </div>
  1829. </section>
  1830. </section>
  1831. </main>
  1832. <div class="booking-form-overflow" id="carrental-hidden-booking-form-overlay"></div>
  1833. <footer >
  1834. <div class="row">
  1835. <p>&copy; Copyright 2023 - ICANRENTACAR.COM - All Rights Reserved</p>
  1836. </div>
  1837. </footer>
  1838.  
  1839. <div id='whatsapp-chat' class='hide close-chat'>
  1840.    <div class='header-chat'>
  1841.        <div class='head-home'>
  1842.            <h3>Hello!</h3>
  1843.            <p>Click one of our representatives below to chat on WhatsApp or send us an email to infoicanrentacar@gmail.com
  1844.            </p>
  1845.        </div>
  1846.    </div>
  1847.    <div class='home-chat'>
  1848.        <!-- Info Contact Start -->
  1849.        <a class='informasi' href='https://wa.me/6281370423078' target='_blank' title='Chat Whatsapp 1'>
  1850.            <div class='info-avatar'><img
  1851.                    src='https://2.bp.blogspot.com/-y6xNA_8TpFo/XXWzkdYk0MI/AAAAAAAAA5s/RCzTBJ_FbMwVt5AEZKekwQqiDNqdNQJjgCLcBGAs/s70/supportmale.png' />
  1852.            </div>
  1853.            <div class='info-chat'>
  1854.                <span class='chat-label'>Customer Support 1</span>
  1855.                <span class='chat-nama'>Roman</span>
  1856.            </div><span class='my-number'>6281370423078</span>
  1857.        </a>
  1858.        <!-- Info Contact End -->
  1859.        <!-- Info Contact Start -->
  1860.        <a class='informasi' href='https://wa.me/6282111617154' target='_blank' title='Chat Whatsapp 2'>
  1861.            <div class='info-avatar'><img
  1862.                    src='https://4.bp.blogspot.com/-X1Xs2iRKabY/XXWzkqQ-iDI/AAAAAAAAA5w/HSyhR0gIXvUzlAx5XgaZzmlrCJkTgrOFQCLcBGAs/s70/supportfemale.png' />
  1863.            </div>
  1864.            <div class='info-chat'>
  1865.                <span class='chat-label'>Customer Support 2</span>
  1866.                <span class='chat-nama'>Ria</span>
  1867.            </div><span class='my-number'>6282111617154</span>
  1868.        </a>
  1869.        <!-- Info Contact End -->
  1870.        <a class='informasi' href='https://wa.me/6282136459723' target='_blank' title='Chat Whatsapp 2'>
  1871.            <div class='info-avatar'><img
  1872.                    src='https://4.bp.blogspot.com/-X1Xs2iRKabY/XXWzkqQ-iDI/AAAAAAAAA5w/HSyhR0gIXvUzlAx5XgaZzmlrCJkTgrOFQCLcBGAs/s70/supportfemale.png' />
  1873.            </div>
  1874.            <div class='info-chat'>
  1875.                <span class='chat-label'>Customer Support 3</span>
  1876.                <span class='chat-nama'>Natasha</span>
  1877.            </div><span class='my-number'>6282111617154</span>
  1878.        </a>
  1879.        <div class='blanter-msg'>24 Available to Call <b>+6281370423078</b></div>
  1880.    </div><a class='close-chat' href='javascript:void'>×</a>
  1881. </div>
  1882. <a class='blantershow-chat' href='javascript:void' title='Show Chat'><i class='fab fa-whatsapp'></i>Chat with us by
  1883.    Whatsapp!
  1884. </a>
  1885. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  1886. <script>
  1887.    $(document).on("click", "#send-it", function () { var a = document.getElementById("chat-input"); if ("" != a.value) { var b = $("#get-number").text(), c = document.getElementById("chat-input").value, d = "https://web.whatsapp.com/send", e = b, f = "&text=" + c; if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) var d = "whatsapp://send"; var g = d + "?phone=" + e + f; window.open(g, '_blank') } }), $(document).on("click", ".informasi", function () { document.getElementById("get-number").innerHTML = $(this).children(".my-number").text(), $(".start-chat,.get-new").addClass("show").removeClass("hide"), $(".home-chat,.head-home").addClass("hide").removeClass("show"), document.getElementById("get-nama").innerHTML = $(this).children(".info-chat").children(".chat-nama").text(), document.getElementById("get-label").innerHTML = $(this).children(".info-chat").children(".chat-label").text() }), $(document).on("click", ".close-chat", function () { $("#whatsapp-chat").addClass("hide").removeClass("show") }), $(document).on("click", ".blantershow-chat", function () { $("#whatsapp-chat").addClass("show").removeClass("hide") });
  1888. </script>
  1889. <script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
  1890.  
  1891. <!-- uncombined scripts -->
  1892. <!-- <script src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/tinynav.min.js"></script>
  1893. <script src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/headroom.min.js"></script>
  1894. <script type="text/javascript" src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/touch.punch.js"></script>
  1895. <script src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/jquery.timepicker.min.js"></script>
  1896. <script src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/looper.min.js"></script>
  1897. <script src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/parallax.js"></script>
  1898. <script src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/responsive.tabs.min.js"></script>
  1899. <script src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/featherlight.js"></script>
  1900. <!--[if lt IE 10]>
  1901.  <script src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/placeholder.js"></script>
  1902. <![endif]
  1903. <script src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/main.js"></script> -->
  1904.  
  1905. <script src="https://www.icanrentacar.com/wp-content/themes/ecalypsevoyagerthemep/js/master.min.js"></script>
  1906.  
  1907. <script type="text/javascript" src="https://www.icanrentacar.com/wp-content/plugins/contact-form-7/includes/swv/js/index.js?ver=5.8.5" id="swv-js"></script>
  1908. <script type="text/javascript" id="contact-form-7-js-extra">
  1909. /* <![CDATA[ */
  1910. var wpcf7 = {"api":{"root":"https:\/\/www.icanrentacar.com\/wp-json\/","namespace":"contact-form-7\/v1"},"cached":"1"};
  1911. /* ]]> */
  1912. </script>
  1913. <script type="text/javascript" src="https://www.icanrentacar.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=5.8.5" id="contact-form-7-js"></script>
  1914. <script type="text/javascript" src="https://www.icanrentacar.com/wp-content/plugins/litespeed-cache/assets/js/instant_click.min.js?ver=6.0.0.1" id="litespeed-cache-js"></script>
  1915. <script type="text/javascript" id="heateor_sss_sharing_js-js-before">
  1916. /* <![CDATA[ */
  1917. function heateorSssLoadEvent(e) {var t=window.onload;if (typeof window.onload!="function") {window.onload=e}else{window.onload=function() {t();e()}}}; var heateorSssSharingAjaxUrl = 'https://www.icanrentacar.com/wp-admin/admin-ajax.php', heateorSssCloseIconPath = 'https://www.icanrentacar.com/wp-content/plugins/sassy-social-share/public/../images/close.png', heateorSssPluginIconPath = 'https://www.icanrentacar.com/wp-content/plugins/sassy-social-share/public/../images/logo.png', heateorSssHorizontalSharingCountEnable = 0, heateorSssVerticalSharingCountEnable = 0, heateorSssSharingOffset = -10; var heateorSssMobileStickySharingEnabled = 0;var heateorSssCopyLinkMessage = "Link copied.";var heateorSssUrlCountFetched = [], heateorSssSharesText = 'Shares', heateorSssShareText = 'Share';function heateorSssPopup(e) {window.open(e,"popUpWindow","height=400,width=600,left=400,top=100,resizable,scrollbars,toolbar=0,personalbar=0,menubar=no,location=no,directories=no,status")}
  1918. /* ]]> */
  1919. </script>
  1920. <script type="text/javascript" src="https://www.icanrentacar.com/wp-content/plugins/sassy-social-share/public/js/sassy-social-share-public.js?ver=3.3.56" id="heateor_sss_sharing_js-js"></script>
  1921. </body>
  1922. </html>
  1923.  
  1924. <!-- Page cached by LiteSpeed Cache 6.0.0.1 on 2024-05-04 14:57:06 -->
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda