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://laserprocenter.com.hk/288/promotion/form

  1. <!doctype html>
  2. <!--[if lt IE 9 ]> <html class="ie ie-lt10 ie-lt9 no-js" lang="en"> <![endif]-->
  3. <!--[if IE 9 ]>    <html class="ie ie9 ie-lt10 no-js" lang="en"> <![endif]-->
  4. <!--[if gt IE 9]><!--><html class="no-js" lang="en"><!--<![endif]--><head>
  5. <!DOCTYPE html>
  6. <html lang="zh-HK">
  7. <head>
  8.  
  9. <!-- Global site tag (gtag.js) - Google Ads: 866398960 --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-866398960"></script>
  10. <script> window.dataLayer = window.dataLayer || [];
  11. function gtag(){dataLayer.push(arguments);}
  12. gtag('js', new Date());
  13. gtag('config', 'UA-186410323-1');
  14. gtag('config', 'AW-866398960');
  15. </script>
  16. <!-- Event snippet for 網頁檢視 conversion page -->
  17. <script> gtag('event', 'conversion', {'send_to': 'AW-866398960/a9JOCMHA8IEDEPDlkJ0D'}); </script>
  18.  
  19. <!-- Google Tag Manager -->
  20. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  21. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  22. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  23. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  24. })(window,document,'script','dataLayer','GTM-57M7ZXJ');</script>
  25. <!-- End Google Tag Manager -->
  26. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  27. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  28. <meta http-equiv="Content-Language" content="en,en-US,en-UK,fr,zh,zh-CN,zh-HK,zh-TW" />
  29. <title>LaserPro 激光脫毛專家 - $288/6個部位+全年任脫+3年保養 (全城至抵)</title>
  30. <link rel="icon" type="image/ico"  href="https://laserprocenter.com.hk/assets/images/laserpro-logo.ico" />
  31. <meta name="description" content="用家推薦No.1永久激光脫毛,Laser Pro激光脫毛專家已有15年激光脫毛經驗,超過97%用家好評,革命性DPS追蹤秒白激光脫毛技術,追擊毛髮根源,帶來永久「零毛.淨白.細緻毛孔」肌膚。脫毛部位(熱選腋下、比堅尼、underarm、full bikini、大腿、小腿、上唇、唇毛、V line、Straight Line),全年任脫,3年保養期,立即預約體驗!" />
  32. <meta name="keywords" content="LaserPro, Laser Pro 激光脫毛專家、激光脫毛、永久激光脫毛、永久脫毛、腋下、比堅尼、underarm、bikini、full bikini、大腿、小腿、上唇、唇毛、V-line、V line、Straight Line、脫毛試做、脫毛療程、脫毛價錢、脫毛優惠、$288、全年任脫、DPS追蹤激光秒白脫毛、Hair removal,秋冬脫毛" />
  33. <meta name="robots" content="index,follow" />
  34. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
  35. <meta http-equiv="Cache-Control" content="max-age=86400" />
  36. <meta property="og:title" content="$288/6個部位 + 全年任脫 + 3年保養" />
  37. <meta property="og:description" content="用家推薦No.1永久激光脫毛,Laser Pro激光脫毛專家已有15年激光脫毛經驗,超過97%用家好評。 限時優惠,全城至抵!$288任選6個脫毛部位 (熱選腋下、比堅尼、underarm、full bikini、大腿、小腿、上唇、唇毛、V line、Straight Line) 全年任脫,3年保養期。革命性DPS追蹤秒白激光脫毛技術,追擊毛髮根源,帶來永久「零毛.淨白.細緻毛孔」肌膚,立即預約體驗!" />
  38. <link rel="prefetch" href="/assets/images/脫毛-嫩膚-美白-毛孔.jpg" />
  39. <link rel="prefetch" href="/assets/images/永久脫毛-全身脫毛-最抵-可靠.jpg" />
  40. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
  41. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css">
  42.  
  43. <link rel="stylesheet" href="https://laserprocenter.com.hk/assets/css/min/vendor.min.css">
  44. <link rel="stylesheet" type="text/css" href="https://laserprocenter.com.hk/assets/css/min/home.min.css" />  
  45. <style>
  46. ul.top-nav-bar>li{
  47.    margin-left:0;
  48.    margin-right:0;
  49. }
  50. </style>
  51. <link rel="stylesheet" type="text/css" href="https://laserprocenter.com.hk/assets/css/other-payment.css" />
  52.    <link rel="stylesheet" type="text/css" href="https://laserprocenter.com.hk/assets/css/min/promote.min.css" />
  53.    <style>
  54. #header h1{display:none;}
  55. </style>
  56. </head>
  57. <body><!-- <!-- Google Tag Manager (noscript) -->
  58. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-57M7ZXJ"
  59. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  60. <!-- End Google Tag Manager (noscript) -->
  61. <!-- <!-- Google Tag Manager (noscript) -->
  62. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MFBL7BN"
  63. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  64. <!-- End Google Tag Manager (noscript) -->
  65. <div id="header">
  66.    <div class="m-menu-contain">
  67.        <a href="javascript:void(0)" id="menuBtn">
  68.            <div><span></span></div>
  69.            <!--<span>目錄</span>-->
  70.           <h1>LaserPro 激光脫毛專家 - $288/6個部位+全年任脫+3年保養 (全城至抵) - $288/6個部位+全年任脫+3年保養 (全城至抵)</h1>            <span class="clearfix"></span>
  71.        </a>
  72.        <a class="mtop-whatsapp" href="https://api.whatsapp.com/send?phone=85263661116&amp;text=" target="_blank"><img alt="激光脫毛-脫毛推介-最好脫毛" src="/assets/images/激光脫毛-脫毛推介-最好脫毛.png"></a>  
  73.    </div>
  74.  
  75.    <div class="menu-nvbar">
  76.        <ul class="top-nav-bar">
  77.                            <li class="link-banner"><a href="javascript:void(0);goToTop();">激光脫毛</a></li>
  78.                <li class="link-facial"><a href="https://laserprocenter.com.hk/288-laser-facial/promotion/form">激光去瘡</a></li>
  79.               <!-- <li class="link-men"><a target="_blank" href="https://laserprocenter.com.hk/men-laserhairremoval/promotion/form">男士脫毛</a></li>-->
  80.                <li class="link-booking-form"><a href="javascript:void(0);goToSection('booking-form');">立即預約</a></li>
  81.                <li class="link-knowledge"><a target="_blank" href="https://laserprocenter.com.hk/knowledge">脫毛知識</a></li>
  82.                <li class="link-tech"><a href="javascript:void(0);goToSection('tech');">先進技術</a></li>
  83.                <li class="link-terms"><a href="javascript:void(0);goToSection('terms');">優惠條款及細則</a></li>
  84.                               </ul>
  85.        <div class="top-whatsapp"><a href="https://api.whatsapp.com/send?phone=85263661116&amp;text=" target="_blank"><img src="/assets/images/激光脫毛-脫毛推介-最好脫毛.png" alt="激光脫毛-脫毛推介-最好脫毛"></a></div>
  86.    </div>
  87.    <div class="clearfix"></div>
  88. </div>
  89. <div id="menu">
  90. <div class="outer">
  91. <div class="inner">
  92.            <ul class="navbar">
  93.                            <li class="cat_menu" style="cursor: pointer;">
  94.                    <div><a class="root-level" href="javascript:void(0);goToTop();">激光脫毛</a></div>
  95.                </li>
  96.                
  97.                 <li class="cat_menu" style="cursor: pointer;">
  98.                    <div><a class="root-level"  href="https://laserprocenter.com.hk/288-laser-facial/promotion/form">激光去瘡</a></div>
  99.                </li>  
  100.                <li class="cat_menu" style="cursor: pointer;">
  101.                    <div><a class="root-level" target="_blank" href="https://laserprocenter.com.hk/men-laserhairremoval/promotion/form">男士脫毛</a></div>
  102.                </li>    
  103.                <li class="cat_menu" style="cursor: pointer;">
  104.                    <div><a class="root-level" href="javascript:void(0);goToSection('booking-form');">立即預約</a></div>
  105.                </li>
  106.                <li class="cat_menu" style="cursor: pointer;">
  107.                    <div><a class="root-level" target="_blank" href="https://laserprocenter.com.hk/knowledge">脫毛知識</a></div>
  108.                </li>
  109.                <li class="cat_menu" style="cursor: pointer;">
  110.                    <div><a class="root-level" href="javascript:void(0);goToSection('tech');">先進技術</a></div>
  111.                </li>
  112.                <li class="cat_menu" style="cursor: pointer;">
  113.                    <div><a class="root-level" href="javascript:void(0);goToSection('terms');">優惠條款及細則</a></div>
  114.                </li>
  115.                            <li class="cat_menu" style="cursor: pointer;">
  116.                    <div><a class="root-level" target="_blank" href="https://api.whatsapp.com/send?phone=85263661116&amp;text=">WhatsApp 預約</a></div>
  117.                </li>
  118.                </ul>
  119.        </div>    
  120. </div>
  121. </div> <script type="application/ld+json">
  122. {
  123.    "@context": "http://schema.org",
  124.    "@type": "HealthAndBeautyBusiness",
  125.    "name": "LaserPro 激光脫毛專家 $288/6 個部位 + 全年任脫 + 3年保養",
  126.    "priceRange": "288",
  127.    "image": "https://laserprocenter.com.hk/assets/images/promotion/288-offer4-summer-hot-pick-m.jpg",
  128.    "url": "https://laserprocenter.com.hk/288-offer4-summer-hot-pick/promotion/form",
  129.    "@id": "https://laserprocenter.com.hk/288-offer4-summer-hot-pick/promotion/form"
  130. }</script>
  131. <style>
  132. .form-hints {
  133.    color: #fff;
  134.    margin-bottom: 10px;
  135.    text-align: center;
  136.    font-size: 17px;
  137. }
  138. .form-hints.bottom-show {
  139.    text-align: left;
  140.    padding: 10px 0;
  141. }
  142. .image-container {
  143.    width: 100%;
  144.    margin: 0 auto;
  145. }
  146. .image-container img {
  147.    display: block;
  148.    margin: 0 auto;
  149. }
  150.  
  151. .image-container img.mobile {
  152.    display: none;
  153. }
  154.  
  155. select.select-box.no {
  156.    background-image: none;
  157. }
  158. #_terms .radioContent a,
  159. #_terms .radioContent a:link,
  160. #_terms .radioContent a:visited
  161. {
  162.    text-decoration: underline;
  163. }
  164. #_terms .radioContent a:hover {
  165.    color: #5c5c5c;
  166. }
  167. .input__fake__content.radio-type label.radioLabel.auto-text .radioContent {
  168.    padding-left: 30px;
  169. }
  170. .input__fake__content.radio-type label.radioLabel.auto-text .radioContent::before {
  171.    left: 0;
  172. }
  173. .input__fake__content.radio-type label.radioLabel.auto-text .radioContent::after{
  174.    left: 5px;
  175. }
  176.  
  177. .input__fake__content.radio-type label.radioLabel.alignLeft .radioContent {
  178.    padding-left: 30px;
  179. }
  180. .input__fake__content.radio-type label.radioLabel.alignLeft .radioContent::before {
  181.    left: 0;
  182. }
  183. .input__fake__content.radio-type label.radioLabel.alignLeft .radioContent::after{
  184.    left: 5px;
  185. }
  186. .payment-icons {
  187.    display: flex;
  188.    margin-bottom: 10px;
  189.    flex-wrap: wrap;
  190. }
  191. .payment-icons .payment-icon {
  192.    width: 60px;
  193.    margin-right: 10px;
  194.    max-height: 36px;
  195.    margin-bottom: 10px;
  196. }
  197. .payment-icon.paypal-icon {
  198.    display: flex;
  199.    align-self: center;
  200.    width: auto;
  201. }
  202. .payment-icons .payment-icon img {
  203.    height:36px
  204. }
  205. .payment-steps {
  206.    margin-top: 30px;
  207. }
  208. .payment-steps .hints {
  209.    font-size: 18px;
  210.    padding-bottom: 10px;
  211. }
  212. .payment-steps input[type="text"]{
  213.    border: 1px solid #00a9af;
  214.    border-radius: 3px;
  215.    -webkit-appearance: none;
  216.    width: 100%;
  217.    max-width: 350px;
  218.    padding-left: 5px;
  219.    font-size: 14px;
  220.    height: 30px;
  221. }
  222.  
  223. .payment-steps input[type="button"]{
  224.    background-color: #00a9af;
  225.    color: #fff;
  226.    padding: 5px 20px;
  227.    margin: 10px 0;
  228. }
  229. #paypal-button-container{
  230.    width :100%;
  231. }
  232.  
  233. .my-info-wrap {
  234.    display: flex;
  235.    padding-bottom: 10px;
  236. }
  237. .my-info {
  238.    flex-basis: 50%;
  239. }
  240. .my-info.full {
  241.    flex-basis: 100%;
  242. }
  243. .my-info.info-name {
  244.    flex-basis: 100%;
  245.    font-weight: bold;
  246. }
  247. .my-info.info-hints {
  248.    flex-basis: 100%;
  249.    font-size: 14px;
  250.    padding-bottom: 20px;
  251. }
  252. .my-info-content {
  253.    font-weight: bold;
  254. }
  255. .payment-step-email {  
  256.    transition: opacity 1s ease-out;
  257.    opacity: 0;
  258.    height: 0;
  259.    overflow: hidden;
  260.    width : 100%;
  261.    padding: 20px 0;
  262. }
  263. .payment-step-final {
  264.    transition: opacity 1s ease-out;
  265.    opacity: 0;
  266.    height: 0;
  267.    overflow: hidden;
  268.    width : 100%;
  269.    padding: 20px 0;
  270. }
  271. .payment-step1.showing {
  272.    opacity: 1;
  273.    height: auto;
  274. }
  275. .payment-step-email.showing {
  276.    opacity: 1;
  277.    height: auto;
  278. }
  279. .payment-step-email.hide{
  280.    display:none;
  281. }
  282. .payment-step-final.showing {
  283.    opacity: 1;
  284.    height: auto;
  285. }
  286. #payment-button {
  287.    display : none;
  288. }
  289. #payment-button.btn-style {
  290.    background-color: #c32827;
  291.    color: #fff;
  292.    border: 1px solid #a6a6a6;
  293. }
  294.  
  295. #payment-button.btn-style:disabled {
  296.    border: 1px solid #dadada;
  297.    background-color: transparent;
  298.    color: #dadada;
  299. }
  300. .field-row.payment{
  301.    height:auto;
  302. }
  303. .field-row.payment .field-label.hints {
  304.    font-weight:bold;
  305. }
  306.  
  307. #_terms .input__fake__content label.radioLabel .radioContent{
  308.    flex-wrap: wrap;
  309. }
  310. @media (max-width: 800px){
  311.    .image-container img.mobile {
  312.        display: block;
  313.        margin: 10px 0;
  314.    }
  315.    .image-container img.desktop {
  316.        display: none;
  317.    }
  318. }
  319.  
  320. @media (max-width: 500px){
  321.  
  322.    .field-row.payment .checkbox-group{
  323.        flex-wrap: wrap;
  324.    }
  325.   .field-row.payment .checkbox-group .field-label {
  326.        white-space: normal;
  327.    }
  328.    .my-info-wrap.wrap {
  329.        flex-wrap: wrap;
  330.    }
  331.    .my-info-wrap.wrap .my-info {
  332.        margin-bottom: 20px;
  333.    }
  334. }
  335.  
  336. .display-body-part img {
  337.    width: 100%;
  338. }
  339. </style>
  340. <div id="wrapper" class="promote188">
  341.    <div id="article">
  342.        <div class="banner-wrapper">
  343.            <div class="banner">
  344.                <div class="home-banner"><img  alt="激光脫毛 白滑小腿 零毛孔 零黑點" class="desktop" src="/assets/images/promotion/288-offer4-summer-hot-pick.jpg" /><img  alt="激光脫毛 白滑小腿 零毛孔 零黑點" class="mobile" src="/assets/images/promotion/288-offer4-summer-hot-pick-m.jpg" />
  345.                </div>
  346.            </div>
  347.          <!--  <div class="object-wrapper wslick0">
  348.                <div class="object text1 ease-transform-effect"><img  alt="Laser Pro 無痛脫毛-冷凍-邊度脫毛好" src="/assets/images/無痛脫毛-冷凍-邊度脫毛好.png" /></div>
  349.                <div class="object text2 ease-transform-effect"><img  alt="Laser Pro 脫毛技術-淨白-滑溜肌膚" src="/assets/images/脫毛技術-淨白-滑溜肌膚.png" /></div>
  350.                <div class="object text3 ease-transform-effect"><img  alt="Laser Pro" src="/assets/images/LPweb-layout-03.png" /></div>
  351.                <div class="object text4 ease-transform-effect" onClick="goToSection('booking-form');"><img alt="Laser Pro 性價比-效果-保養-專業"  src="/assets/images/性價比-效果-保養-專業.png" /></div>
  352.            </div>-->
  353.          
  354.            <div class="logo"><a href="https://laserprocenter.com.hk/"><img alt = "LaserPro激光脫毛專家" src="/assets/images/脫毛-嫩膚-美白-毛孔.jpg" /></a></div>
  355.        </div>
  356.    </div>
  357.    <div id="sections">
  358.    
  359.    
  360.               <div class="image-container" ><img class="desktop" src="/assets/images/laserpro-part-desktop.png"><a href="#"  onClick="OpenPSWP([{src: '/assets/images/laserpro-part-mobile.jpg',w: 750,h: 765},])"><img class="mobile" src="/assets/images/laserpro-part-mobile.jpg"></a></div>
  361.      <form method="post" action="" onSubmit="return onFormSubmit()">
  362.        <div class="booking-form section">
  363.        <input type="hidden" name="override_body_part" value="1" />
  364.            <div class="title right"><img alt="Laser Pro 元朗-皺紋-健康-暗瘡"   src="/assets/images/元朗-皺紋-健康-暗瘡.png"/></div>
  365.            <div class="form-container">
  366.                <div class="form-title"></div>
  367.           <!--   <div class="form-hints">【$288/6部位 全年任脫 + 3 年保養】 此價錢是網上登記付款優惠,如到店付款即以 【$688/6個部位 全年任脫 + 3 年保養】。</div>-->
  368.                <input type="hidden" name="allow_time"  id="allow_time" value=""/>
  369.                <div class="form-rowc">
  370.                    <div class="field-row left m6">
  371.                        <input type="text" id="sender_name" name="sender_name" placeholder="姓名 *" class="field required" value="">
  372.                    </div>
  373.                    <div class="field-row m4">
  374.                        <select name="gender" class="select-box required">
  375.                            <option value="" disabled="" selected="selected">性別 *</option>
  376.                            <option  value="女"  >女</option>
  377.                        </select>
  378.                    </div>
  379.                </div>  
  380.                
  381.                            
  382.                <div class="form-rowc">
  383.                    <div class="field-row left m4">
  384.                        <select  onChange="countryCodeChanged(this)" name="country_code" class="select-box required">
  385.                            <option  value="852"  >+852</option>
  386.                            <option  value="853"  >+853</option>
  387.                            <option  value="86"  >+86</option>
  388.                        </select>
  389.                    </div>
  390.                    <div class="field-row m6">
  391.                      <input type="text" id="phone" name="phone" placeholder="電話 *" class="field required" value="">
  392.                    </div>
  393.                </div>
  394.                                
  395.                <div class="form-rowc">
  396.                    <div class="field-row left m4">
  397.                        <input type="text" id="confirm-countrycode" class="field " value="+852" readonly>
  398.                    </div>
  399.                    <div class="field-row m6">
  400.                      <input  onpaste="return false;" ondrop="return false;" autocomplete="off" type="text" id="confirm_phone" name="confirm_phone" placeholder="確認電話 *" class="field required" value="">
  401.                    </div>
  402.                </div>
  403.                
  404.                                
  405.               <div class="form-rowc ">
  406.                   <div class="field-row full">
  407.                        <input type="text" id="email" name="email" placeholder="電郵地址" class="field required" value="">
  408.                    </div>
  409.               </div>
  410.                          <!--   <div class="form-rowc ">
  411.                   <div  class="field-row full hints">
  412.                        (將發送電郵確認登記)
  413.                    </div>
  414.               </div>-->
  415.               <div class="form-rowc">
  416.                   <div class="field-row full">
  417.                        <select name="courses" class="select-box required no">
  418.                                                <option   value="【網上預付】$288/6個部位 全年任脫 + 3 年保養">【網上預付】$288/6個部位 全年任脫 + 3 年保養</option>
  419.                    
  420.                                                </select>
  421.                    </div>
  422.               </div>
  423.    
  424.              
  425.  
  426.                              
  427.                                
  428.                <div class="form-rowc" style="display:none;">
  429.                    <div class="field-row full">
  430.                        <div class="checkbox-group">
  431.                            <span class="field-label">現有客戶 *</span>
  432.                            <span class="input__fake__content radio-type">
  433.                                <label for="existing_client1" class="radioLabel auto-text">
  434.                                    <input type="radio" name="existing_client1" value="N" id="existing_client1" class="radioItem" ><span class="radioContent ">否</span>
  435.                                </label>
  436.                                <label for="existing_client2" class="radioLabel auto-text">
  437.                                    <input type="radio" name="existing_client1" value="Y" id="existing_client2" class="radioItem"><span class="radioContent"  >是</span>
  438.                                </label>
  439.                            </span>
  440.                        </div>
  441.                    </div>
  442.                </div>
  443.                
  444.                              
  445.        
  446.                <div class="form-rowc">
  447.                    <div class="field-row full">
  448.                        <select name="location" id="location" class="select-box required">
  449.                          
  450.                             <option disabled="" value="" selected="selected">選擇分店 *</option>                               <option  value="銅鑼灣"  >銅鑼灣英皇鐘錶珠寶中心</option>
  451.                                                           <option  value="觀塘"  >觀塘泓富廣場</option>
  452.                                                           <option  value="旺角朗豪坊店"  >旺角亞朗豪坊辦公大樓</option>
  453.                                                           <option  value="尖沙咀"  >尖沙咀加拿芬廣場</option>
  454.                                                           <option  value="將軍澳"  >將軍澳新都城中心3期</option>
  455.                                                           <option  value="荃灣"  >荃灣千色匯I期</option>
  456.                                                           <option  value="屯門"  >屯門栢麗廣場</option>
  457.                                                           <option  value="元朗"  >元朗光華廣場</option>
  458.                                                           <option  value="沙田"  >沙田新城市商業大廈</option>
  459.                                                    </select>
  460.                    </div>
  461.                </div>                
  462.                <div class="form-rowc">
  463.                    <div class="field-row left m5">
  464.                      <input type="text" id="datepicker" name="date" placeholder="預約日期 *" class="field" autocomplete="off" value=""  disabled>
  465.                    </div>
  466.                    <div class="field-row  m5"> <input type="text" id="timepicker" name="timepicker" placeholder="預約時間 *" class="field " autocomplete="off" value=""  disabled>
  467.                    </div>
  468.                </div>  
  469.            
  470.                
  471.                                             <div class="form-hints bottom-show">明碼實價 無附加費<br>
  472.                    此為網上預付優惠,如選擇到店預付,需付原價$2880</div>
  473.                
  474.                <div id="_terms" class="field-row full">
  475.                    <div class="checkbox-group">
  476.                        <span class="input__fake__content checkbox-type single">
  477.                            <label for="acp_tnc" class="radioLabel">
  478.                                 <input type="checkbox" id="acp_tnc" name="acp_tnc" rel="0" class="radioItem" value="1" >
  479.                                <span class="radioContent">本人已年滿18歲或以上及已閱讀並同意<a href="https://laserprocenter.com.hk/privacy" target="_blank">私隱政策</a>及<a href="https://laserprocenter.com.hk/tnc" target="_blank">條款及細則</a>&nbsp;/&nbsp;<a href="https://laserprocenter.com.hk/tnc_eng" target="_blank">Terms & Conditions</a>。</span>
  480.                            </label>
  481.                        </span>
  482.                    </div>
  483.              
  484.                                        
  485.                      
  486.                                        
  487.                    <div class="checkbox-group">
  488.                        <span class="input__fake__content checkbox-type single">
  489.                            <label for="disclaim" class="radioLabel">
  490.                               <input type="checkbox" id="disclaim" name="disclaim" rel="0" class="radioItem" value="1"  >
  491.                                <span class="radioContent">本人持有香港永久性居民身份證 / 澳門居民身份證 / 中國居民身份證以供核對。</span>
  492.                            </label>
  493.                        </span>
  494.                    </div>
  495.                </div>
  496.                
  497.              
  498.                 <div class="form-rowc btn-submit">                      <input type="image" src="/assets/images/submit-button-new.png">                 </div>
  499.              
  500.        
  501.            </div>
  502.            
  503.            
  504.        </div>
  505.  
  506.  
  507.  
  508.          </form>
  509.        
  510.    
  511.                     <!--   <div class="display-body-part section"><img src="/assets/images/LASER PRO脫毛部位圖 20210217-01.jpg"></div>-->
  512.                
  513.    
  514.    
  515.        <div class="tech section ease-fade-effect">
  516.            <div class="title"><img alt="Laser Pro" src="/assets/images/旺角-美容-去斑-瘦身.png"/></div>  
  517.            <div class="background desktop"><img alt="Laser Pro" src="/assets/images/pc-B-01.jpg" />
  518.                <div class="box-wrapper">
  519.                    <div class="box desktop">
  520.                        <div class="light l1 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/pc-B-02a.png" /></div>
  521.                        <div class="light l2 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/pc-B-02b.png" /></div>
  522.                        <div class="light l3 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/pc-B-02c.png" /></div>
  523.                        <div class="text t1 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/pc-B-03.png" /></div>
  524.                        <div class="text t2 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/pc-B-04.png" /></div>
  525.                        <div class="text t3 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/pc-B-05.png" /></div>
  526.                    </div>
  527.                </div>            
  528.            
  529.            </div>
  530.            <div class="background mobile"><img alt="Laser Pro" src="/assets/images/mo-B-01.jpg" />
  531.                <div class="box-wrapper">
  532.                    <div class="box mobile">
  533.                        <div class="light l1 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/mo-B-02a.png" /></div>
  534.                        <div class="light l2 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/mo-B-02b.png" /></div>
  535.                        <div class="light l3 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/mo-B-02c.png" /></div>
  536.                        <div class="text t1 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/mo-B-03.png" /></div>
  537.                        <div class="text t2 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/mo-B-04.png" /></div>
  538.                        <div class="text t3 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/mo-B-05.png" /></div>
  539.                    </div>
  540.                </div>            
  541.            
  542.            
  543.            </div>
  544.  
  545.            
  546.            
  547.            <div class="others desktop">
  548.                <div ><img alt="Laser Pro" src="/assets/images/others-blank.png" /></div>
  549.                <div class="text p2 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/pc-C-02a.png" /></div>
  550.                <div class="text p3 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/pc-C-03a.png" /></div>
  551.                <div class="text p4 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/pc-C-04a.png" /></div>
  552.                <div class="text p5 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/pc-C-05a.png" /></div>
  553.                <div class="text p6 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/pc-C-06a.png" /></div>
  554.                <div class="icon p2 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/pc-C-02b.png" /></div>
  555.                <div class="icon p3 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/pc-C-03b.png" /></div>
  556.                <div class="icon p4 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/pc-C-04b.png" /></div>
  557.                <div class="icon p5 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/pc-C-05b.png" /></div>
  558.                <div class="icon p6 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/pc-C-06b.png" /></div>
  559.            </div>
  560.            
  561.            <div class="others mobile">
  562.                <div ><img alt="Laser Pro" src="/assets/images/others-mobile-blank.png" /></div>
  563.                <div class="icon p2 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/mo-C-02a.png" /></div>
  564.                <div class="icon p3 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/mo-C-03a.png" /></div>
  565.                <div class="icon p4 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/mo-C-04a.png" /></div>
  566.                <div class="icon p5 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/mo-C-05a.png" /></div>
  567.                <div class="icon p6 ease-transform-effect"><img alt="Laser Pro" src="/assets/images/mo-C-06a.png" /></div>
  568.                <div class="text p2 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/mo-C-02b.png" /></div>
  569.                <div class="text p3 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/mo-C-03b.png" /></div>
  570.                <div class="text p4 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/mo-C-04b.png" /></div>
  571.                <div class="text p5 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/mo-C-05b.png" /></div>
  572.                <div class="text p6 ease-fade-effect"><img alt="Laser Pro" src="/assets/images/mo-C-06b.png" /></div>
  573.            </div>
  574.            
  575.            
  576.        </div>
  577.        <div class="terms section">  </div>
  578.             </div>
  579.    </div>
  580.  
  581. <style>
  582.   .process-back {
  583.    position: fixed;
  584.    z-index: 2147483647;
  585.    top: 0;
  586.    left: 0;
  587.    width: 100%;
  588.    height: 100%;
  589.    transform: translate3d(0, 0, 0);
  590.    background-color: black;
  591.    background-color: rgba(0, 0, 0, 0.6);
  592.    background: radial-gradient(50% 50%, ellipse closest-corner, rgba(0,0,0,0.6) 1%, rgba(0,0,0,0.6) 100%);
  593.    color: #fff;
  594.    display : none;
  595. }
  596.  
  597. .process-back.active {
  598.     display : block;
  599. }
  600. .process-back .processing-modal {
  601.    font-family: "HelveticaNeue", "HelveticaNeue-Light", "Helvetica Neue Light", helvetica, arial, sans-serif;
  602.    font-size: 14px;
  603.    text-align: center;
  604.    box-sizing: border-box;
  605.    max-width: 350px;
  606.    top: 50%;
  607.    left: 50%;
  608.    position: absolute;
  609.    transform: translateX(-50%) translateY(-50%);
  610.    cursor: pointer;
  611.    text-align: center;
  612. }
  613.  
  614. .process-back .processing-modal  .processing-logo img {
  615.    height: 36px;
  616. }
  617.  
  618. .process-back .processing-modal  .message {
  619.    font-size: 15px;
  620.    line-height: 1.5;
  621.    padding: 10px 0;
  622. }
  623. </style>
  624. <div class="process-back">
  625.    <div class="processing-modal">
  626.        <div class="processing-logo"></div>
  627.        <div class="message">處理中,請稍等..</div>
  628.    </div>
  629. </div>
  630. <div id="footer">
  631.    <div class="holder">
  632.        <div class="links">
  633.          <div class="item">
  634.                <a target="_blank" href="https://laserprocenter.com.hk/about" class="link">關於我們</a>
  635.            </div>
  636.            
  637.            <div class="item">
  638.                <a  target="_blank" href="https://laserprocenter.com.hk/location" class="link">分店地區</a>
  639.            </div>
  640. <!--
  641.            <div class="item">
  642.                <a  target="_blank" href="https://laserprocenter.com.hk/about" class="link">聯絡我們</a>
  643.            </div>
  644.            
  645.            <div class="item">
  646.                <a  target="_blank" href="https://laserprocenter.com.hk/about" class="link">加入我們</a>
  647.            </div>
  648.            -->
  649.             <div class="share">
  650.                <a class="facebook addthis_button_facebook" href="https://www.facebook.com/LaserProHK" target="_blank"><img alt="LaserPro激光脫毛專家 Facebook" src="/assets/images/將軍澳-徹底-Underarm.png" /></a>
  651.                <a class="instagram addthis_button_ig" href="https://www.instagram.com/laserprohk/" target="_blank"><img alt="LaserPro激光脫毛專家 Instagram" src="/assets/images/觀塘-808脫毛-脫毛蠟.png" /></a>
  652.                <!--<a class="youtube"  href="https://youtube.com" target="_blank"><img src="/assets/images/香港-脫毛刀-幼毛-口碑.png" /></a>-->
  653.                <a class="whatsapp" href="https://api.whatsapp.com/send?phone=85263661116&amp;text=" target="_blank"><img alt="LaserPro激光脫毛專家 Whatsapp 查詢" src="/assets/images/九龍-755脫毛-粗毛.png"/></a>
  654.            </div>
  655.            
  656.        </div>
  657.        <div class="bottom">
  658.            <a href="https://laserprocenter.com.hk/sitemap" target="_blank" class="privacy-link">SiteMap</a>&nbsp;<span class="sp">|</span>&nbsp;
  659.            <a href="https://laserprocenter.com.hk/privacy" target="_blank" class="privacy-link">免責聲明</a>
  660.            &nbsp;<span class="sp">|</span>
  661.            &nbsp;<span class="copyright">&copy; 2021 - 2025 Copyright LASER PRO CENTER LIMITED  <span class="non-mobile">&nbsp;&nbsp;All rights reserved</span></span>
  662.                           <div class="contact-link"><a href="mailto:enquiry@laserprocenter.com.hk">Email: enquiry@laserprocenter.com.hk</a></div>
  663.        </div>
  664.    </div>
  665. </div>
  666. <a href="javascript:void(0);" id="ui-to-top" class="ui-to-top fa fa-angle-up active"></a>
  667.  
  668. </div><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
  669. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
  670. <!--[if lt IE 9]>
  671. <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/r29/html5.min.js"></script>
  672. <script type="text/javascript" src="https://laserprocenter.com.hk/assets/js/placeholders.min.js"></script>
  673. <script type="text/javascript" src="https://laserprocenter.com.hk/assets/js/respond.min.js"></script>
  674. <style>
  675. .border-radius {
  676. -ms-behavior: url('https://laserprocenter.com.hk/assets/js/border-radius.htc');
  677. behavior: url('https://laserprocenter.com.hk/assets/js/border-radius.htc');
  678. }
  679. </style>
  680. <![endif]-->
  681. <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
  682. <script type="text/javascript" src="https://laserprocenter.com.hk/assets/js/min/vendor.min.js"></script>
  683. <script type="text/javascript" src="https://laserprocenter.com.hk/assets/js/min/home.min.js"></script>
  684. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/0.1/mustache.min.js"></script>
  685. <style>
  686. #_terms .radioContent a,
  687. #_terms .radioContent a:link,
  688. #_terms .radioContent a:visited
  689. {
  690.    text-decoration: underline;
  691. }
  692. #_terms .radioContent a:hover {
  693.    color: #5c5c5c;
  694. }
  695.  
  696.  
  697. .ui-timepicker-select{
  698.    width: 100%;
  699.    border: 0;
  700.    border-bottom: 1px solid #645f64;
  701.    line-height: 34px;
  702.    height: 34px;
  703.    color: inherit;
  704.    font-size: 18px;
  705.    font-family: inherit;
  706.    box-sizing: border-box;
  707.    border-radius: 0;
  708.    padding: 0 5px;
  709.    -webkit-appearance: none;
  710.    -moz-appearance: none;
  711.    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEUAAAA0CAYAAADc8/VNAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH4woJBzE4gKw9DgAAAv1JREFUaN7tmstr1UAUhz9zxZ3i3j8h6yxUgpsudCEuiuhCN4KLLlRakFpBXYgdFEFB9KBWsCKIDIoPFFEpRa8W8SrFx1UqVAtWacHWUrXWvlw4gpQ+7iOTTGx+uzs55zeTj5Nzk0wgU6ZMmTJZ1aKZBpvqNtYAK1J6Tl1KdEc1BotnGV8GnE8hkClgZbUm3kyDSvRVoD2FUC4q0U+sQDHaCUykCMh3YE8URrNCUaJfAmdTBKVZif5kFYrRfmAwBUDeA8eiMsvNdTBfKP4IA/8nsNZxKNuV6BdRmXklxJwC3jgMpF2JvhKl4bxQlOgxoMFRIBPArqhNS6kUlOg7wC0HobREedmUBcWoHvjlEJCvwD4bxrlSA/OF4kAY+MuBVY5AaVKi22wYe2XGHwT6HQDyFjhpyzxXTnC+UBwNA38IWJ8wlK1KdJctc6+CnHNAZ4JAbpvGjzNQlOhJ81yUhMZMw8cpKAbMQ+ByAlBO2LxsqoJi1AiMxAik3zR668pVmpgvFIfCwF8CrIkJSoMS/SiOibwq848AH2NYZyfQEldJ5qpJzheKY2Hg9wG1lte5SYn+EBcULwKPS8Bji2vUSvSDOLt51VCU6CnzpDppYX0jwO64/+KiqBSU6AJwwcL6jirRPamE8vcBDRiO0K8XOJzEHWIuKqN8ofgtDPxJoCYiyzol+nkSULyI/Y4D3RH4dJgGTqorxVTLRBj4PcDmKmymgFolujcpKFFXCkr0deB+FRatSvTTJN9LeJZ864HxCvKGgb0kLCtQlOhXwOkKUpuV6M//JRSjA8BAGfHdRLjL50yjndZ0R8LAHwHWlZiyTYl+7QIUz7K/AKWcaJsSfQ1HZBWKEj3O/K8Px7Gwy+dypaBE3wNuzBFyxjTmhQPFqIGZdxcH+fO5h1PKxTFJvlAcDAN/KbB62qFGJbrdNShejHMdAvr++V00jZgFWSmmWkbDwP8CbDBDW5Tody5C8WKerxV4BtxUou/iqGKFYnYXd+DuR0CZMmXKlCkO/QbIVNt7X1ccbwAAAABJRU5ErkJggg==) no-repeat center right;
  712.    background-size: 28px auto;
  713.    background-color: #fff;
  714.    border-radius: 9px;
  715.    padding-left: 15px;
  716.    border: 0;
  717.    height: 34px;
  718. }
  719. select.ui-timepicker-select option:disabled {
  720.    color: #c3c3c3;
  721. }
  722. </style>
  723. <div id="pswp-gallery" class="pswp" tabindex="-1" role="dialog" aria-hidden="true"  ref="pswpref">
  724.    <!-- Background of PhotoSwipe.
  725.         It's a separate element as animating opacity is faster than rgba(). -->
  726.    <div class="pswp__bg"></div>
  727.    <!-- Slides wrapper with overflow:hidden. -->
  728.    <div class="pswp__scroll-wrap">
  729.        <!-- Container that holds slides.
  730.            PhotoSwipe keeps only 3 of them in the DOM to save memory.
  731.            Don't modify these 3 pswp__item elements, data is added later on. -->
  732.        <div class="pswp__container">
  733.            <div class="pswp__item"></div>
  734.            <div class="pswp__item"></div>
  735.            <div class="pswp__item"></div>
  736.        </div>
  737.        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
  738.        <div class="pswp__ui pswp__ui--hidden">
  739.            <div class="pswp__top-bar">
  740.                <!--  Controls are self-explanatory. Order can be changed. -->
  741.                <div class="pswp__counter"></div>
  742.                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
  743.                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
  744.                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
  745.                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
  746.                <!-- element will get class pswp__preloader--active when preloader is running -->
  747.                <div class="pswp__preloader">
  748.                    <div class="pswp__preloader__icn">
  749.                      <div class="pswp__preloader__cut">
  750.                        <div class="pswp__preloader__donut"></div>
  751.                      </div>
  752.                    </div>
  753.                </div>
  754.            </div>
  755.            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
  756.                <div class="pswp__share-tooltip"></div>
  757.            </div>
  758.            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
  759.            </button>
  760.            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
  761.            </button>
  762.            <div class="pswp__caption">
  763.                <div class="pswp__caption__center"></div>
  764.            </div>
  765.        </div>
  766.    </div>
  767. </div>
  768.  
  769.  
  770. <script>
  771.  
  772.  
  773.  
  774.    function paymentHelp(){
  775.        var items = [{
  776.            src : 'https://laserprocenter.com.hk/assets/images/LP - Online Payment Guideline_payme.jpg',
  777.            w : 801,
  778.            h : 1200,
  779.        },{
  780.            src : 'https://laserprocenter.com.hk/assets/images/LP - Online Payment Guideline-fps.jpg',
  781.            w : 801,
  782.            h : 1200,
  783.        }];
  784.        var pswpElement = document.querySelectorAll('.pswp')[0];
  785.        var options = {
  786.            closeOnScroll : false,
  787.            history: false,
  788.            focus: false,
  789.            index: 0
  790.        };
  791.        share_gallery = new PhotoSwipe( pswpElement, PhotoSwipeUI_Default, items, options);
  792.        share_gallery.init()
  793.    }
  794.  
  795.    
  796.  
  797. function OpenPSWP(items){
  798.    var pswpElement = document.querySelectorAll('.pswp')[0];
  799.    var options = {
  800.        closeOnScroll : false,
  801.        history: false,
  802.        focus: false,
  803.        index: 0
  804.    };
  805.    var gallery = new PhotoSwipe( pswpElement, PhotoSwipeUI_Default, items, options);
  806.    gallery.init()
  807. }
  808. function offset(el) {
  809.    var rect = el.getBoundingClientRect(),
  810.    scrollLeft = window.pageXOffset || document.documentElement.scrollLeft,
  811.    scrollTop = window.pageYOffset || document.documentElement.scrollTop;
  812.    return { top: rect.top + scrollTop, left: rect.left + scrollLeft }
  813. }
  814. var section_obj = {
  815.    banner :  {
  816.        element :  document.querySelector('.banner'),
  817.        offset :  function(){
  818.            return offset(this.element);
  819.        }
  820.    },
  821.    men :  {
  822.        element :  document.querySelector('.men'),
  823.        offset :  function(){
  824.            return offset(this.element);
  825.        }
  826.    },
  827.    tech :  {
  828.        element :  document.querySelector('.tech'),
  829.        offset :  function(){
  830.            return offset(this.element);
  831.        }
  832.    },
  833.    service :  {
  834.        element :  document.querySelector('.service'),
  835.        offset :  function(){
  836.            return offset(this.element);
  837.        }
  838.    },
  839.  //  exp :  {
  840.  //      element :  document.querySelector('.exp'),
  841.  //      offset :  function(){
  842.  //          return offset(this.element);
  843.  //      }
  844.  //  },
  845.    'booking-form' :  {
  846.        element :  document.querySelector('.booking-form'),
  847.        offset :  function(){
  848.            return offset(this.element);
  849.        }
  850.    },
  851.    faq :  {
  852.        element :  document.querySelector('.faq'),
  853.        offset :  function(){
  854.            return offset(this.element);
  855.        }
  856.    },
  857.    terms :  {
  858.        element :  document.querySelector('.terms'),
  859.        offset :  function(){
  860.            return offset(this.element);
  861.        }
  862.    },
  863.    privacy :  {
  864.        element :  document.querySelector('.privacy'),
  865.        offset :  function(){
  866.            return offset(this.element);
  867.        }
  868.    },
  869.    about :  {
  870.        element :  document.querySelector('.about'),
  871.        offset :  function(){
  872.            return offset(this.element);
  873.        }
  874.    },
  875.    location :  {
  876.        element :  document.querySelector('.location'),
  877.        offset :  function(){
  878.            return offset(this.element);
  879.        }
  880.    }
  881. }
  882.    function goToSection(section){
  883.         if(section == 'tech' || section == 'booking-form' || section == 'terms' || section == 'service'){
  884.            if(section_obj[section].element === null) return;
  885.        var offset  = $(section_obj[section].element).offset();
  886.        $('html, body').animate({
  887.            scrollTop: offset.top - $('#header').height()  
  888.        }, 800, function() {
  889.            detectArea(section);
  890.        });
  891.    }
  892. }  
  893. function goToTop(){
  894.    if($('html').hasClass('open-menu')){
  895.        $('html').removeClass('open-menu');
  896.    }
  897.    $('html, body').animate({
  898.        scrollTop: 0
  899.    }, 800);
  900. }
  901. function detectArea(section,last){
  902.    var element = section_obj[section].element;
  903.    if(element === null) return;
  904.    var div_offset = section_obj[section].offset();
  905.    
  906.    var doc_end_pos = parseInt($(window).scrollTop()) + parseInt($(window).height());
  907.    var doc_start_pos = $(window).scrollTop();
  908.    
  909.    var start_pos = div_offset.top;
  910.    var end_pos = div_offset.top + $(element).height();
  911.    var pad = 8;
  912.    //check if within section or document end touch the start of section
  913.    var is_within = doc_start_pos >= start_pos - ($('#header').height() + pad) && doc_start_pos <=end_pos;
  914.    var is_reached = doc_end_pos >= start_pos && doc_start_pos <= end_pos;
  915.    if( is_within || is_reached  ){
  916.        $(element).addClass('animated');
  917.        $(element).find('.ease-fade-effect').addClass('animated');
  918.        $(element).find('.ease-transform-effect').addClass('animated');
  919.    }  
  920.    if(is_within){
  921.        $('.top-nav-bar > li').removeClass('selected');
  922.        $('.top-nav-bar > li.link-'+section).addClass('selected');
  923.    }
  924.    if( doc_start_pos == 0 || doc_start_pos <= $(section_obj['banner'].element).height() - 100 ){
  925.        //within banner area    
  926.        $('html').removeClass('in-body');
  927.        $('.banner-wrapper .logo').removeClass('animated');
  928.        $('.top-nav-bar > li').removeClass('selected');
  929.                $('.top-nav-bar > li.link-banner').addClass('selected');
  930.            } else {
  931.        $('html').addClass('in-body');
  932.        $('.banner-wrapper .logo').addClass('animated');
  933.    }
  934.   //if( ($(window).scrollTop() + $(window).height()) > div_offset.top  ){
  935.   //    console.log(section);
  936.   //    console.log(div_offset);
  937.   //    if(section == 'banner'){
  938.   //        $('html').removeClass('in-body');
  939.   //        $('.banner-wrapper .logo').removeClass('animated');
  940.   //    } else {
  941.   //        $('html').addClass('in-body');
  942.   //        $('.banner-wrapper .logo').addClass('animated');
  943.   //        $(element).addClass('animated');
  944.   //        $(element).find('.ease-fade-effect').addClass('animated');
  945.   //        $(element).find('.ease-transform-effect').addClass('animated');
  946.   //    }
  947.   //}
  948. }
  949. var date_notavail = ['2024-02-10','2024-02-11','2024-02-12','2024-02-13'];
  950. var body_part_max = {
  951.    free : 1,
  952.    big : 1,
  953.    small : 1,
  954. }
  955.  
  956.  
  957. var day_off_data = [];
  958. var holiday_data = [];
  959. var occupied_data = {};
  960. var shop_week_data = [];
  961. var max_booking_allowed = 1;
  962. var weekToInt = {
  963.          'Mon' : 1,  
  964.          'Tue' : 2,  
  965.          'Wed' : 3,  
  966.          'Thu' : 4,  
  967.          'Fri' : 5,  
  968.          'Sat' : 6,  
  969.          'Sun' : 0
  970.        };
  971.        
  972.        
  973.        
  974.      max_booking_allowed = 99;
  975.    shop_week_data = {"3":{"1":{"start":"12:00pm","end":"7:30pm"},"2":{"start":"12:00pm","end":"7:30pm"},"3":{"start":"12:00pm","end":"7:30pm"},"4":{"start":"12:00pm","end":"7:30pm"},"5":{"start":"12:00pm","end":"7:30pm"},"6":{"start":"10:30am","end":"6:00pm"},"holiday":{"start":"10:30am","end":"6:00pm"}},"7":{"1":{"start":"12:00pm","end":"7:30pm"},"2":{"start":"12:00pm","end":"7:30pm"},"3":{"start":"12:00pm","end":"7:30pm"},"4":{"start":"12:00pm","end":"7:30pm"},"5":{"start":"12:00pm","end":"7:30pm"},"6":{"start":"10:30am","end":"6:00pm"},"holiday":{"start":"10:30am","end":"6:00pm"}},"2":{"1":{"start":"12:00pm","end":"7:30pm"},"2":{"start":"12:00pm","end":"7:30pm"},"3":{"start":"12:00pm","end":"7:30pm"},"4":{"start":"12:00pm","end":"7:30pm"},"5":{"start":"12:00pm","end":"7:30pm"},"6":{"start":"10:30am","end":"6:00pm"},"holiday":{"start":"10:30am","end":"6:00pm"}},"19":{"1":{"start":"12:00pm","end":"7:30pm"},"2":{"start":"12:00pm","end":"7:30pm"},"3":{"start":"12:00pm","end":"7:30pm"},"4":{"start":"12:00pm","end":"7:30pm"},"5":{"start":"12:00pm","end":"7:30pm"},"6":{"start":"10:30am","end":"6:00pm"},"holiday":{"start":"10:30am","end":"6:00pm"}},"11":{"1":{"start":"12:00pm","end":"7:30pm"},"2":{"start":"12:00pm","end":"7:30pm"},"3":{"start":"12:00pm","end":"7:30pm"},"4":{"start":"12:00pm","end":"7:30pm"},"5":{"start":"12:00pm","end":"7:30pm"},"6":{"start":"10:30am","end":"6:00pm"},"holiday":{"start":"10:30am","end":"6:00pm"}},"17":{"1":{"start":"12:00pm","end":"7:30pm"},"2":{"start":"12:00pm","end":"7:30pm"},"3":{"start":"12:00pm","end":"7:30pm"},"4":{"start":"12:00pm","end":"7:30pm"},"5":{"start":"12:00pm","end":"7:30pm"},"6":{"start":"10:30am","end":"6:00pm"},"holiday":{"start":"10:30am","end":"6:00pm"}},"12":{"1":{"start":"12:00pm","end":"7:30pm"},"2":{"start":"12:00pm","end":"7:30pm"},"3":{"start":"12:00pm","end":"7:30pm"},"4":{"start":"12:00pm","end":"7:30pm"},"5":{"start":"12:00pm","end":"7:30pm"},"6":{"start":"10:30am","end":"6:00pm"},"0":{"start":"10:30am","end":"6:00pm"},"holiday":{"start":"10:30am","end":"6:00pm"}},"13":{"1":{"start":"12:00pm","end":"7:30pm"},"2":{"start":"12:00pm","end":"7:30pm"},"3":{"start":"12:00pm","end":"7:30pm"},"4":{"start":"12:00pm","end":"7:30pm"},"5":{"start":"12:00pm","end":"7:30pm"},"6":{"start":"10:30am","end":"6:00pm"},"0":{"start":"10:30am","end":"6:00pm"},"holiday":{"start":"10:30am","end":"6:00pm"}},"10":{"1":{"start":"12:00pm","end":"7:30pm"},"2":{"start":"12:00pm","end":"7:30pm"},"3":{"start":"12:00pm","end":"7:30pm"},"4":{"start":"12:00pm","end":"7:30pm"},"5":{"start":"12:00pm","end":"7:30pm"},"6":{"start":"10:30am","end":"6:00pm"},"0":{"start":"10:30am","end":"6:00pm"},"holiday":{"start":"10:30am","end":"6:00pm"}}};
  976. holiday_data = ["2025-04-18","2025-04-19","2025-04-21","2025-05-01","2025-05-05","2025-05-31"];
  977. day_off_data = {"all":[]};
  978. occupied_data = {"all":{"2025-05-02":{"start":"12:00pm","end":"3:00pm"},"2025-05-08":{"start":"12:00pm","end":"2:30pm"},"2025-05-09":{"start":"12:30pm","end":"2:30pm"}},"TW":{"2025-04-09":[{"start":"11:30am","end":"12:00pm","type":""}],"2025-05-02":[{"start":"2:30pm","end":"3:00pm","type":""}],"2025-04-17":[{"start":"12:00pm","end":"12:30pm","type":""}],"2025-05-03":[{"start":"2:00pm","end":"2:30pm","type":""}],"2025-05-22":[{"start":"3:00pm","end":"3:30pm","type":""}],"2025-04-23":[{"start":"3:30pm","end":"4:00pm","type":""}],"2025-04-15":[{"start":"2:00pm","end":"2:30pm","type":""}]},"TM":{"2025-05-03":[{"start":"2:00pm","end":"2:30pm","type":""}],"2025-04-10":[{"start":"2:00pm","end":"2:30pm","type":""},{"start":"3:30pm","end":"4:00pm","type":""},{"start":"4:00pm","end":"4:30pm","type":""},{"start":"1:00pm","end":"1:30pm","type":""}],"2025-05-09":[{"start":"3:00pm","end":"3:30pm","type":""}],"2025-04-28":[{"start":"1:00pm","end":"1:30pm","type":""}],"2025-04-07":[{"start":"12:00pm","end":"12:30pm","type":""}],"2025-04-12":[{"start":"4:00pm","end":"4:30pm","type":""}]},"KT":{"2025-04-28":[{"start":"1:00pm","end":"1:30pm","type":""}],"2025-04-25":[{"start":"4:30pm","end":"5:00pm","type":""}],"2025-04-11":[{"start":"4:30pm","end":"5:00pm","type":""}],"2025-04-07":[{"start":"6:00pm","end":"6:30pm","type":""},{"start":"6:30pm","end":"7:00pm","type":""}]},"CWB":{"2025-04-14":[{"start":"2:00pm","end":"2:30pm","type":""}],"2025-04-07":[{"start":"12:00pm","end":"12:30pm","type":""},{"start":"5:30pm","end":"6:00pm","type":""}],"2025-04-12":[{"start":"3:00pm","end":"3:30pm","type":""}],"2025-04-30":[{"start":"7:30pm","end":"8:00pm","type":""}],"2025-04-09":[{"start":"2:00pm","end":"2:30pm","type":""}]},"YL":{"2025-04-12":[{"start":"2:30pm","end":"3:00pm","type":""}],"2025-04-13":[{"start":"2:30pm","end":"3:00pm","type":""}],"2025-04-08":[{"start":"3:30pm","end":"4:00pm","type":""},{"start":"6:30pm","end":"7:00pm","type":""}],"2025-04-10":[{"start":"12:00pm","end":"12:30pm","type":""}],"2025-04-07":[{"start":"2:30pm","end":"3:00pm","type":""}],"2025-04-09":[{"start":"2:30pm","end":"3:00pm","type":""}]},"ST":{"2025-04-22":[{"start":"6:30pm","end":"7:00pm","type":""}],"2025-04-07":[{"start":"2:30pm","end":"3:00pm","type":""},{"start":"12:00pm","end":"12:30pm","type":""}],"2025-04-11":[{"start":"2:00pm","end":"2:30pm","type":""}],"2025-04-18":[{"start":"5:30pm","end":"6:00pm","type":""}],"2025-04-08":[{"start":"1:00pm","end":"1:30pm","type":""}]},"TST":{"2025-04-11":[{"start":"6:30pm","end":"7:00pm","type":""}],"2025-04-15":[{"start":"7:00pm","end":"7:30pm","type":""}],"2025-04-14":[{"start":"5:00pm","end":"5:30pm","type":""}],"2025-04-07":[{"start":"12:00pm","end":"12:30pm","type":""}],"2025-04-12":[{"start":"4:30pm","end":"5:00pm","type":""}],"2025-05-16":[{"start":"3:00pm","end":"3:30pm","type":""}],"2025-04-28":[{"start":"6:30pm","end":"7:00pm","type":""}]},"TKO":{"2025-04-08":[{"start":"3:00pm","end":"3:30pm","type":""}],"2025-04-28":[{"start":"2:00pm","end":"2:30pm","type":""}],"2025-04-14":[{"start":"3:30pm","end":"4:00pm","type":""}],"2025-05-23":[{"start":"3:00pm","end":"3:30pm","type":""}],"2025-04-24":[{"start":"2:30pm","end":"3:00pm","type":""}]},"LP":{"2025-04-08":[{"start":"2:00pm","end":"2:30pm","type":""},{"start":"2:30pm","end":"3:00pm","type":""},{"start":"4:00pm","end":"4:30pm","type":""},{"start":"12:00pm","end":"12:30pm","type":""}],"2025-04-17":[{"start":"12:00pm","end":"12:30pm","type":""}],"2025-04-12":[{"start":"11:30am","end":"12:00pm","type":""}],"2025-04-19":[{"start":"12:00pm","end":"12:30pm","type":""}],"2025-04-07":[{"start":"3:00pm","end":"3:30pm","type":""}],"2025-04-09":[{"start":"1:00pm","end":"1:30pm","type":""},{"start":"4:30pm","end":"5:00pm","type":""}],"2025-05-17":[{"start":"2:00pm","end":"2:30pm","type":""}]}};
  979. var regionToLocation =  {"\u9285\u947c\u7063":"CWB","\u89c0\u5858":"KT","\u65fa\u89d2\u6717\u8c6a\u574a\u5e97":"LP","\u5c07\u8ecd\u6fb3":"TKO","\u5c16\u6c99\u5480":"TST","\u5143\u6717":"YL","\u6c99\u7530":"ST","\u5c6f\u9580":"TM","\u8343\u7063":"TW"};
  980. var regionToId =  {"\u9285\u947c\u7063":"19","\u89c0\u5858":"2","\u65fa\u89d2\u6717\u8c6a\u574a\u5e97":"3","\u5c07\u8ecd\u6fb3":"10","\u5c16\u6c99\u5480":"7","\u5143\u6717":"13","\u6c99\u7530":"17","\u5c6f\u9580":"12","\u8343\u7063":"11"};
  981.  
  982. var locationDict = {
  983.    '銅鑼灣' : {
  984.        days : [],
  985.        avail_time : {}
  986.    },
  987.    '觀塘' : {
  988.        days : [],
  989.        avail_time : {}
  990.    },  
  991.    '旺角朗豪坊店' : {
  992.        days : [],
  993.        avail_time : {}
  994.    },
  995.    '將軍澳' : {
  996.        days : [],
  997.        avail_time : {}
  998.    },
  999.    '尖沙咀' : {
  1000.        days : [],
  1001.        avail_time : {}
  1002.    },
  1003.    '元朗' : {
  1004.        days : [],
  1005.        avail_time : {}
  1006.    },
  1007.    '沙田' : {
  1008.        days : [],
  1009.        avail_time : {}
  1010.    },
  1011.    '屯門' : {
  1012.        days : [],
  1013.        avail_time : {}
  1014.    },
  1015.    '荃灣' : {
  1016.        days : [],
  1017.        avail_time : {}
  1018.    },
  1019. };
  1020.  
  1021. for(shop in locationDict){
  1022.    if(typeof shop_week_data[regionToId[shop]]!=='undefined'){
  1023.        for(week_key in shop_week_data[regionToId[shop]]){
  1024.            if(week_key!='holiday'){
  1025.                locationDict[shop].days.push(parseInt(week_key));    
  1026.            }
  1027.            locationDict[shop].avail_time[week_key] = shop_week_data[regionToId[shop]][week_key];
  1028.        }
  1029.    }
  1030. }      
  1031.    
  1032.        
  1033. $(document).ready(function(){
  1034.         detectArea('tech');
  1035.    detectArea('booking-form');
  1036.    if($('.service').length > 0){
  1037.        detectArea('service');
  1038.        // $('.service.ease-fade-effect').addClass('animated');
  1039.        // $('.service .ease-fade-effect').addClass('animated');
  1040.    }
  1041.    detectArea('terms');
  1042.  
  1043.    $('.object-wrapper .ease-transform-effect').addClass('animated');
  1044.    $('.object-wrapper .ease-fade-effect').addClass('animated');
  1045.                      
  1046.                  
  1047.     body_part_max.big = 3;
  1048.    body_part_max.small = 3;
  1049.    
  1050.       if ($('.big_part:checked').length > body_part_max.big - 1  ){
  1051.        $('.big_part:not(:checked)').prop('disabled', true);  
  1052.    }
  1053.    if ($('.small_part:checked').length > body_part_max.small - 1){
  1054.        $('.small_part:not(:checked)').prop('disabled', true);  
  1055.    }
  1056.    $('.big_part').change(function(){
  1057.        if ($('.big_part:checked').length > body_part_max.big - 1 )
  1058.        {
  1059.            //disable unselected option
  1060.            $('.big_part:not(:checked)').prop('disabled', true);  
  1061.        } else {
  1062.            $('.big_part:not(:checked)').prop('disabled', false);  
  1063.        }
  1064.    });
  1065.    $('.small_part').change(function(){
  1066.        if ($('.small_part:checked').length > body_part_max.small - 1 )
  1067.        {
  1068.            //disable unselected option
  1069.            $('.small_part:not(:checked)').prop('disabled', true);  
  1070.        } else {
  1071.            $('.small_part:not(:checked)').prop('disabled', false);  
  1072.        }
  1073.    });
  1074.    $(window).resize(function(){
  1075.        if( $(window).width() >= 1200){
  1076.            if($('html').hasClass('open-menu')){
  1077.                $('html').removeClass('open-menu');
  1078.            }
  1079.        }
  1080.    });
  1081.    $(window).scroll(function(){
  1082.        if( $(window).scrollTop() > 400){
  1083.            $('.ui-to-top').addClass('active');
  1084.        } else {
  1085.            $('.ui-to-top').removeClass('active');
  1086.        }
  1087.                              detectArea('tech');
  1088.        detectArea('booking-form');
  1089.        if($('.service').length > 0){
  1090.             detectArea('service');
  1091.        }
  1092.        detectArea('terms');
  1093.        
  1094.                
  1095.        
  1096.                            });
  1097.    $('.ui-to-top').on('click',function(){
  1098.        goToTop();
  1099.    });
  1100.      
  1101.        var defaultShop = '將軍澳';
  1102.        var defaultDate = '';
  1103.        var defaultTime = '';
  1104.        
  1105.          
  1106.        $( "#datepicker" ).datepicker
  1107.        ({
  1108.            direction: "up",
  1109.            dateFormat: 'mm/dd/yy,D',
  1110.            minDate: 4,
  1111.            maxDate: 60,
  1112.            beforeShowDay : function(date){
  1113.                var day = parseInt(date.getDay());
  1114.                var avail_days = locationDict[$('#location option:selected').val()].days;
  1115.                var _month = date.getMonth() + 1;
  1116.                var _day = date.getDate();
  1117.                var compare_date = date.getFullYear() + '-' + (_month <10 ? '0'+_month : _month) + '-' + (_day <10 ? '0'+_day : _day);
  1118.                   var selected_location = $('#location option:selected').val();
  1119.                
  1120.            
  1121.                var region_location = typeof regionToLocation[selected_location] !=='undefined' ? regionToLocation[selected_location] : null;
  1122.                date_notavail = [];
  1123.                for(_shop in day_off_data){
  1124.                    if(_shop == 'all'){
  1125.                        for(i in day_off_data[_shop]){
  1126.                            date_notavail.push(day_off_data[_shop][i]);    
  1127.                        }
  1128.                    } else if(_shop == region_location){
  1129.                        for(i in day_off_data[_shop]){
  1130.                            date_notavail.push(day_off_data[_shop][i]);    
  1131.                        }
  1132.                    }
  1133.                }
  1134.                //check if holiday is off
  1135.                if( $.inArray( compare_date, holiday_data )!=-1){
  1136.                    var _shop_id = regionToId[selected_location];
  1137.                    if(typeof _shop_id!=='undefined'){
  1138.                        var _week_data = shop_week_data[_shop_id];
  1139.                        if(typeof _week_data!=='undefined'){
  1140.                            if(typeof _week_data['holiday']==='undefined'){
  1141.                                //holiday off
  1142.                                return [false,""];
  1143.                            }
  1144.                        }
  1145.                    }
  1146.                }
  1147.            
  1148.                
  1149.                if( $.inArray( day, avail_days )!=-1 &&   $.inArray( compare_date, date_notavail )==-1 ){
  1150.                    return [true,""];
  1151.                } else return [false,""];
  1152.            },
  1153.            onSelect: function(dateText, inst) {
  1154.                setTimepicker(dateText);
  1155.            }
  1156.        });
  1157.        $('#location').on('change',function(){
  1158.            if($('#location option:selected').val()!=''){
  1159.                //if($('#location option:selected').val() == '旺角朗豪坊店'){
  1160.                //    setDateTime(new Date(2022, 7 - 1, 23));
  1161.                //} else {
  1162.                    setDateTime();    
  1163.               // }
  1164.            } else {
  1165.                resetValues();
  1166.            }
  1167.        });
  1168.        //reset date and time picker value
  1169.        function resetValues(){
  1170.            $("#datepicker").val('');
  1171.            $('#timepicker').val("");        
  1172.            $( "#datepicker" ).prop('disabled',true);
  1173.            $( "#timepicker" ).prop('disabled',true);
  1174.            $("#datepicker").datepicker( "destroy" );
  1175.            $('#timepicker').timepicker('remove');
  1176.        }
  1177.      
  1178.        function setDateTime(mindate){
  1179.            resetValues();
  1180.            $( "#datepicker" ).datepicker
  1181.            ({
  1182.                direction: "up",
  1183.                dateFormat: 'mm/dd/yy,D',
  1184.                minDate:  typeof mindate === 'undefined' ?  4 : mindate,
  1185.                maxDate: 60  ,
  1186.                beforeShowDay : function(date){
  1187.                    var day = parseInt(date.getDay());
  1188.                    var avail_days = locationDict[$('#location option:selected').val()].days;
  1189.                    
  1190.                    var _month = date.getMonth() + 1;
  1191.                    var _day = date.getDate();
  1192.                    var compare_date = date.getFullYear() + '-' + (_month <10 ? '0'+_month : _month) + '-' + (_day <10 ? '0'+_day : _day);
  1193.                    var selected_location = $('#location option:selected').val();
  1194.                    
  1195.              
  1196.                    var region_location = typeof regionToLocation[selected_location] !=='undefined' ? regionToLocation[selected_location] : null;
  1197.                    date_notavail = [];
  1198.                    for(_shop in day_off_data){
  1199.                        if(_shop == 'all'){
  1200.                            for(i in day_off_data[_shop]){
  1201.                                date_notavail.push(day_off_data[_shop][i]);    
  1202.                            }
  1203.                        } else if(_shop == region_location){
  1204.                            for(i in day_off_data[_shop]){
  1205.                                date_notavail.push(day_off_data[_shop][i]);    
  1206.                            }
  1207.                        }
  1208.                    }
  1209.                    //check if holiday is off
  1210.                    if( $.inArray( compare_date, holiday_data )!=-1){
  1211.                        var _shop_id = regionToId[selected_location];
  1212.                        if(typeof _shop_id!=='undefined'){
  1213.                            var _week_data = shop_week_data[_shop_id];
  1214.                            if(typeof _week_data!=='undefined'){
  1215.                                if(typeof _week_data['holiday']==='undefined'){
  1216.                                    return [false,""];
  1217.                                }
  1218.                            }
  1219.                        }
  1220.                    }
  1221.                
  1222.                    if( $.inArray( day, avail_days )!=-1 &&   $.inArray( compare_date, date_notavail )==-1  ){
  1223.                        return [true,""];
  1224.                    } else return [false,""];
  1225.                },
  1226.                onSelect: function(dateText, inst) {
  1227.                    setTimepicker(dateText);
  1228.                }
  1229.            });
  1230.            $( "#datepicker" ).prop('disabled',false);
  1231.        }
  1232.        var time_init = false;
  1233.        function setTimepicker(dateText,value){
  1234.            if(dateText == '') return;
  1235.            var day = dateText.split(",");
  1236.            if(day.length <1) return;
  1237.            var weekofday = day[1];
  1238.            var date_chosen = day[0].split('/');
  1239.            date_chosen = date_chosen[2]+'-'+date_chosen[0]+'-'+date_chosen[1];
  1240.            var start_time = '';
  1241.            var end_time = '';
  1242.            var disabled = [];
  1243.            
  1244.            try {    
  1245.              //  var avail_time = locationDict[defaultShop].avail_time;
  1246.                var selected_location = $('#location option:selected').val();
  1247.                var avail_time = locationDict[$('#location option:selected').val()].avail_time;
  1248.                start_time = avail_time[ weekToInt[weekofday] ].start;
  1249.                end_time = avail_time[ weekToInt[weekofday] ].end;
  1250.              
  1251.                //check if day is holiday , set start and end time if available
  1252.                if( $.inArray( date_chosen, holiday_data )!=-1){
  1253.                    if(typeof avail_time['holiday']!=='undefined'){
  1254.                        start_time = avail_time['holiday'].start;
  1255.                        end_time = avail_time['holiday'].end;
  1256.                    }
  1257.                }
  1258.                //check if day occupied
  1259.                if(typeof occupied_data['all']!=='undefined'){ //for all shops
  1260.                    if(typeof occupied_data['all'][date_chosen]!=='undefined'){
  1261.                        disabled.push([occupied_data['all'][date_chosen].start, occupied_data['all'][date_chosen].end]);
  1262.                    }
  1263.                }
  1264.                if(typeof regionToLocation[selected_location]!=='undefined'){ //for selected shop only
  1265.                    var shop_occupied = occupied_data[regionToLocation[selected_location]];
  1266.                    if(typeof shop_occupied!=='undefined'){
  1267.                        if(typeof shop_occupied[date_chosen]!=='undefined'){
  1268.                            var occupied_time = {};
  1269.                            for(i in shop_occupied[date_chosen]){
  1270.                                if(typeof occupied_time[shop_occupied[date_chosen][i].start]==='undefined'){
  1271.                                    occupied_time[shop_occupied[date_chosen][i].start] = [];
  1272.                                }
  1273.                                occupied_time[shop_occupied[date_chosen][i].start].push(shop_occupied[date_chosen][i]);
  1274.                              //  disabled.push([ shop_occupied[date_chosen][i].start,shop_occupied[date_chosen][i].end]);
  1275.                            }
  1276.                            for(i in occupied_time){
  1277.                                for(j in occupied_time[i]){
  1278.                                    var is_meeting = false;
  1279.                                    if(typeof occupied_time[i][j].type!=='undefined'){
  1280.                                        if(occupied_time[i][j].type == 'meeting'){
  1281.                                            is_meeting = true;
  1282.                                        }
  1283.                                    }
  1284.                                    if(is_meeting || occupied_time[i].length>=max_booking_allowed){
  1285.                                        disabled.push([ occupied_time[i][j].start,occupied_time[i][j].end]);
  1286.                                    }
  1287.                                }
  1288.                            }
  1289.                        }
  1290.                    }
  1291.                }
  1292.              
  1293.                
  1294.                $('#timepicker').val("");
  1295.                $('#timepicker').timepicker('remove');
  1296.                $('#timepicker').timepicker
  1297.                ({
  1298.                    'disableTimeRanges' : disabled,
  1299.                    'minTime': start_time,
  1300.                    'maxTime': end_time,
  1301.                    'showDuration': false,
  1302.                  
  1303.                   'useSelect': true ,
  1304.                    'noneOption': [
  1305.                        {
  1306.                            'label': '-- 請選擇 --',
  1307.                            'value': ''
  1308.                        },
  1309.                    ],
  1310.                  
  1311.                    
  1312.                });
  1313.                $( "#timepicker" ).prop('disabled',false);
  1314.                                if(!(typeof value === 'undefined')){
  1315.                    if(value!=''){
  1316.                        $('#timepicker').timepicker('setTime', value);
  1317.                    }
  1318.                }
  1319.            } catch(e){
  1320.                console.log(e);
  1321.            }
  1322.        }
  1323.                                                          
  1324.                                 CAPI('PageView');
  1325.             CAPI('ViewContent');
  1326.                        });
  1327.    function onFormSubmit(){
  1328.        var allow_time;
  1329.        if($('#timepicker').val()){
  1330.            allow_time = moment($('#timepicker').val(), ["h:mm A"]).format("HH:mm");
  1331.        }
  1332.        if(allow_time!='Invalid date'){
  1333.            $('#allow_time').val(allow_time);
  1334.        } else {
  1335.            $('#allow_time').val('');
  1336.        }
  1337.        
  1338.        $('.process-back').addClass('active');
  1339.        
  1340.    }
  1341.    function openTermsNP(){
  1342.        var box = '';
  1343.        $.ajax({
  1344.            type: 'GET',
  1345.            url: 'https://laserprocenter.com.hk/terms/home?np=1',
  1346.            success: function(data) {
  1347.                box = bootbox.dialog({
  1348.                    message: data,
  1349.                });
  1350.                $('html').addClass('no-scroll');
  1351.                box.on("hidden.bs.modal", function() {
  1352.                    $('html').removeClass('no-scroll');
  1353.                    box.off("hidden.bs.modal");
  1354.                });
  1355.            }
  1356.        });
  1357.    }
  1358.    function openTerms(){
  1359.        var box = '';
  1360.        $.ajax({
  1361.            type: 'GET',
  1362.            url: 'https://laserprocenter.com.hk/terms/home',
  1363.            success: function(data) {
  1364.                box = bootbox.dialog({
  1365.                    message: data,
  1366.                });
  1367.                $('html').addClass('no-scroll');
  1368.                box.on("hidden.bs.modal", function() {
  1369.                    $('html').removeClass('no-scroll');
  1370.                    box.off("hidden.bs.modal");
  1371.                });
  1372.            }
  1373.        });
  1374.    }
  1375.    bootbox.setDefaults({ size: 'large' });
  1376.         // fbq('track', 'ViewContent');
  1377.            
  1378. function CAPI(event, eventData) {
  1379.    let fbp = document.cookie.split(';').filter(function(c){ return c.includes('_fbp=');}).map(function(c){ return c.split('_fbp=')[1];})
  1380.    let fbc = document.cookie.split(';').filter(function(c){ return c.includes('_fbc=');}).map(function(c){ return c.split('_fbc=')[1];})
  1381.    fbp = (fbp.length && fbp[0]) || null;
  1382.    fbc = (fbc.length && fbc[0]) || null;
  1383.    const body = {
  1384.        'event': event,
  1385.        'event_data': eventData,
  1386.        'fbp': fbp,
  1387.        'fbc': fbc,
  1388.        'user_agent': navigator.userAgent,
  1389.                         'url': window.location.origin + window.location.pathname
  1390.    }
  1391.    $.ajax({
  1392.        type: "POST",
  1393.        url: 'https://laserprocenter.com.hk/api/fb_conversion?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NDM2OTA2NDQsInN1YiI6Imxhc2VycHJvIGFwaSJ9.KPv55vDwAcTEAHOcMf_lD5L9uyaJVmzuaR2KfJD9Oao',
  1394.        data: JSON.stringify(body) ,
  1395.        processData: false,
  1396.        contentType: 'application/json',
  1397.        success: function(response){  
  1398.           //console.log(response)
  1399.        },
  1400.        error : function(  jqXHR,  textStatus,  errorThrown){  
  1401.        }
  1402.    });
  1403. }
  1404.  
  1405. function countryCodeChanged(element){
  1406.    $('#confirm-countrycode').val($(element).find('option:selected').text());
  1407. }
  1408. </script>
  1409. </body>
  1410. </html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda