var timetable_search_content = '%3Cform%20action%3D%22timetable_search_act.php%22%20id%3D%22quickform%22%20method%3D%22post%22%3E%3Cdiv%20class%3D%22l1col%22%3E%3Cdiv%20class%3D%22formwrapper%22%20style%3D%22margin-bottom%3A%200%3B%22%20%3E%3Clabel%20id%3D%22originlabel%22%20for%3D%22origin%22%20class%3D%22subject%22%3EOrigin%3C%2Flabel%3E%3Cselect%20name%3D%22origin%22%20id%3D%22origin%22%20class%3D%22longselect%22%3E%3Coption%20value%3D%22%22%3E------%3C%2Foption%3E%3Coption%20value%3D%22CC%22%3ECheung%20Chau%3C%2Foption%3E%3Coption%20value%3D%22CE%22%3ECentral%3C%2Foption%3E%3Coption%20value%3D%22CM%22%3EChi%20Ma%20Wan%3C%2Foption%3E%3Coption%20value%3D%22HH%22%3EHung%20Hom%3C%2Foption%3E%3Coption%20value%3D%22KC%22%3EKowloon%20City%3C%2Foption%3E%3Coption%20value%3D%22MW%22%3EMui%20Wo%3C%2Foption%3E%3Coption%20value%3D%22NP%22%3ENorth%20Point%3C%2Foption%3E%3Coption%20value%3D%22PC%22%3EPeng%20Chau%3C%2Foption%3E%3C%2Fselect%3E%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22midcol%22%3E%3Cdiv%20class%3D%22formwrapper%22%20style%3D%22margin-bottom%3A%200%3B%22%20%3E%3Clabel%20id%3D%22destinationlabel%22%20for%3D%22destination%22%20class%3D%22subject%22%3EDestination%3C%2Flabel%3E%3Cselect%20name%3D%22destination%22%20id%3D%22destination%22%20class%3D%22longselect%22%3E%3Coption%20value%3D%22%22%3E------%3C%2Foption%3E%3C%2Fselect%3E%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22r1col%22%3E%3Cdiv%20class%3D%22formwrapper%20vessel-display%22%20style%3D%22margin-bottom%3A%200%3B%22%20%3E%3Clabel%20id%3D%22vessellabel%22%20for%3D%22vessel%22%20class%3D%22subject%22%3EVessel%20type%3C%2Flabel%3E%3Cselect%20name%3D%22vessel%22%20id%3D%22vessel%22%20class%3D%22longselect%22%3E%3Coption%20value%3D%22any%22%3EAny%3C%2Foption%3E%3Coption%20value%3D%22fast%22%3EFast%3C%2Foption%3E%3Coption%20value%3D%22ordinary%22%3EOrdinary%3C%2Foption%3E%3C%2Fselect%3E%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22formwrapper%20w3col%22%3E%3Cdiv%20class%3D%22l1col%22%3E%3Clabel%20id%3D%22origin-error%22%20class%3D%22error%22%20for%3D%22origin%22%20style%3D%22display%3Anone%3Bcolor%3Ared%3B%22%3EPlease%20select%20a%20origin%3C%2Flabel%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22midcol%22%3E%3Clabel%20id%3D%22destination-error%22%20class%3D%22error%22%20for%3D%22destination%22%20style%3D%22display%3Anone%3Bcolor%3Ared%3B%22%3EPlease%20select%20a%20destination%3C%2Flabel%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22r1col%22%3E%26nbsp%3B%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22l1col%22%3E%3Cdiv%20class%3D%22formwrapper%22%3E%3Clabel%20id%3D%22start_datelabel%22%20for%3D%22start_date%22%20class%3D%22subject%22%3EDeparture%20time%3C%2Flabel%3E%3Clabel%20id%3D%22start_timelabel%22%20for%3D%22start_time%22%20class%3D%22subject%22%3E%20%28From%29%3C%2Flabel%3E%3Cbr%3E%3Cinput%20name%3D%22start_date%22%20id%3D%22start_date%22%20class%3D%22input%22%20value%3D%2217-12-2017%22%20readonly%3D%22true%22%20style%3D%22width%3A%2048%25%3Bdisplay%3A%20inline-block%3B%22%20%3E%20%3Cselect%20name%3D%22start_time%22%20id%3D%22start_time%22%20class%3D%22shortselect%22%3E%3Coption%20value%3D%2200%3A00%22%3E00%3A00%3C%2Foption%3E%3Coption%20value%3D%2200%3A15%22%3E00%3A15%3C%2Foption%3E%3Coption%20value%3D%2200%3A30%22%3E00%3A30%3C%2Foption%3E%3Coption%20value%3D%2200%3A45%22%3E00%3A45%3C%2Foption%3E%3Coption%20value%3D%2201%3A00%22%3E01%3A00%3C%2Foption%3E%3Coption%20value%3D%2201%3A15%22%3E01%3A15%3C%2Foption%3E%3Coption%20value%3D%2201%3A30%22%3E01%3A30%3C%2Foption%3E%3Coption%20value%3D%2201%3A45%22%3E01%3A45%3C%2Foption%3E%3Coption%20value%3D%2202%3A00%22%3E02%3A00%3C%2Foption%3E%3Coption%20value%3D%2202%3A15%22%3E02%3A15%3C%2Foption%3E%3Coption%20value%3D%2202%3A30%22%3E02%3A30%3C%2Foption%3E%3Coption%20value%3D%2202%3A45%22%3E02%3A45%3C%2Foption%3E%3Coption%20value%3D%2203%3A00%22%3E03%3A00%3C%2Foption%3E%3Coption%20value%3D%2203%3A15%22%3E03%3A15%3C%2Foption%3E%3Coption%20value%3D%2203%3A30%22%3E03%3A30%3C%2Foption%3E%3Coption%20value%3D%2203%3A45%22%3E03%3A45%3C%2Foption%3E%3Coption%20value%3D%2204%3A00%22%3E04%3A00%3C%2Foption%3E%3Coption%20value%3D%2204%3A15%22%3E04%3A15%3C%2Foption%3E%3Coption%20value%3D%2204%3A30%22%3E04%3A30%3C%2Foption%3E%3Coption%20value%3D%2204%3A45%22%3E04%3A45%3C%2Foption%3E%3Coption%20value%3D%2205%3A00%22%3E05%3A00%3C%2Foption%3E%3Coption%20value%3D%2205%3A15%22%3E05%3A15%3C%2Foption%3E%3Coption%20value%3D%2205%3A30%22%3E05%3A30%3C%2Foption%3E%3Coption%20value%3D%2205%3A45%22%3E05%3A45%3C%2Foption%3E%3Coption%20value%3D%2206%3A00%22%3E06%3A00%3C%2Foption%3E%3Coption%20value%3D%2206%3A15%22%3E06%3A15%3C%2Foption%3E%3Coption%20value%3D%2206%3A30%22%3E06%3A30%3C%2Foption%3E%3Coption%20value%3D%2206%3A45%22%3E06%3A45%3C%2Foption%3E%3Coption%20value%3D%2207%3A00%22%3E07%3A00%3C%2Foption%3E%3Coption%20value%3D%2207%3A15%22%3E07%3A15%3C%2Foption%3E%3Coption%20value%3D%2207%3A30%22%3E07%3A30%3C%2Foption%3E%3Coption%20value%3D%2207%3A45%22%3E07%3A45%3C%2Foption%3E%3Coption%20value%3D%2208%3A00%22%3E08%3A00%3C%2Foption%3E%3Coption%20value%3D%2208%3A15%22%3E08%3A15%3C%2Foption%3E%3Coption%20value%3D%2208%3A30%22%3E08%3A30%3C%2Foption%3E%3Coption%20value%3D%2208%3A45%22%3E08%3A45%3C%2Foption%3E%3Coption%20value%3D%2209%3A00%22%3E09%3A00%3C%2Foption%3E%3Coption%20value%3D%2209%3A15%22%3E09%3A15%3C%2Foption%3E%3Coption%20value%3D%2209%3A30%22%3E09%3A30%3C%2Foption%3E%3Coption%20value%3D%2209%3A45%22%3E09%3A45%3C%2Foption%3E%3Coption%20value%3D%2210%3A00%22%3E10%3A00%3C%2Foption%3E%3Coption%20value%3D%2210%3A15%22%3E10%3A15%3C%2Foption%3E%3Coption%20value%3D%2210%3A30%22%3E10%3A30%3C%2Foption%3E%3Coption%20value%3D%2210%3A45%22%3E10%3A45%3C%2Foption%3E%3Coption%20value%3D%2211%3A00%22%3E11%3A00%3C%2Foption%3E%3Coption%20value%3D%2211%3A15%22%3E11%3A15%3C%2Foption%3E%3Coption%20value%3D%2211%3A30%22%3E11%3A30%3C%2Foption%3E%3Coption%20value%3D%2211%3A45%22%3E11%3A45%3C%2Foption%3E%3Coption%20value%3D%2212%3A00%22%3E12%3A00%3C%2Foption%3E%3Coption%20value%3D%2212%3A15%22%3E12%3A15%3C%2Foption%3E%3Coption%20value%3D%2212%3A30%22%3E12%3A30%3C%2Foption%3E%3Coption%20value%3D%2212%3A45%22%3E12%3A45%3C%2Foption%3E%3Coption%20value%3D%2213%3A00%22%3E13%3A00%3C%2Foption%3E%3Coption%20value%3D%2213%3A15%22%3E13%3A15%3C%2Foption%3E%3Coption%20value%3D%2213%3A30%22%3E13%3A30%3C%2Foption%3E%3Coption%20value%3D%2213%3A45%22%3E13%3A45%3C%2Foption%3E%3Coption%20value%3D%2214%3A00%22%3E14%3A00%3C%2Foption%3E%3Coption%20value%3D%2214%3A15%22%3E14%3A15%3C%2Foption%3E%3Coption%20value%3D%2214%3A30%22%3E14%3A30%3C%2Foption%3E%3Coption%20value%3D%2214%3A45%22%3E14%3A45%3C%2Foption%3E%3Coption%20value%3D%2215%3A00%22%3E15%3A00%3C%2Foption%3E%3Coption%20value%3D%2215%3A15%22%3E15%3A15%3C%2Foption%3E%3Coption%20value%3D%2215%3A30%22%3E15%3A30%3C%2Foption%3E%3Coption%20value%3D%2215%3A45%22%3E15%3A45%3C%2Foption%3E%3Coption%20value%3D%2216%3A00%22%3E16%3A00%3C%2Foption%3E%3Coption%20value%3D%2216%3A15%22%3E16%3A15%3C%2Foption%3E%3Coption%20value%3D%2216%3A30%22%3E16%3A30%3C%2Foption%3E%3Coption%20value%3D%2216%3A45%22%3E16%3A45%3C%2Foption%3E%3Coption%20value%3D%2217%3A00%22%3E17%3A00%3C%2Foption%3E%3Coption%20value%3D%2217%3A15%22%3E17%3A15%3C%2Foption%3E%3Coption%20value%3D%2217%3A30%22%3E17%3A30%3C%2Foption%3E%3Coption%20value%3D%2217%3A45%22%3E17%3A45%3C%2Foption%3E%3Coption%20value%3D%2218%3A00%22%3E18%3A00%3C%2Foption%3E%3Coption%20value%3D%2218%3A15%22%3E18%3A15%3C%2Foption%3E%3Coption%20value%3D%2218%3A30%22%3E18%3A30%3C%2Foption%3E%3Coption%20value%3D%2218%3A45%22%3E18%3A45%3C%2Foption%3E%3Coption%20value%3D%2219%3A00%22%3E19%3A00%3C%2Foption%3E%3Coption%20value%3D%2219%3A15%22%3E19%3A15%3C%2Foption%3E%3Coption%20value%3D%2219%3A30%22%3E19%3A30%3C%2Foption%3E%3Coption%20value%3D%2219%3A45%22%3E19%3A45%3C%2Foption%3E%3Coption%20value%3D%2220%3A00%22%3E20%3A00%3C%2Foption%3E%3Coption%20value%3D%2220%3A15%22%3E20%3A15%3C%2Foption%3E%3Coption%20value%3D%2220%3A30%22%3E20%3A30%3C%2Foption%3E%3Coption%20value%3D%2220%3A45%22%3E20%3A45%3C%2Foption%3E%3Coption%20value%3D%2221%3A00%22%3E21%3A00%3C%2Foption%3E%3Coption%20value%3D%2221%3A15%22%3E21%3A15%3C%2Foption%3E%3Coption%20value%3D%2221%3A30%22%3E21%3A30%3C%2Foption%3E%3Coption%20value%3D%2221%3A45%22%3E21%3A45%3C%2Foption%3E%3Coption%20value%3D%2222%3A00%22%3E22%3A00%3C%2Foption%3E%3Coption%20value%3D%2222%3A15%22%3E22%3A15%3C%2Foption%3E%3Coption%20value%3D%2222%3A30%22%3E22%3A30%3C%2Foption%3E%3Coption%20value%3D%2222%3A45%22%3E22%3A45%3C%2Foption%3E%3Coption%20value%3D%2223%3A00%22%3E23%3A00%3C%2Foption%3E%3Coption%20value%3D%2223%3A15%22%3E23%3A15%3C%2Foption%3E%3Coption%20value%3D%2223%3A30%22%3E23%3A30%3C%2Foption%3E%3Coption%20value%3D%2223%3A45%22%3E23%3A45%3C%2Foption%3E%3Coption%20value%3D%2223%3A55%22%3E23%3A55%3C%2Foption%3E%3C%2Fselect%3E%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22midcol%22%3E%3Cdiv%20class%3D%22formwrapper%22%3E%3Clabel%20id%3D%22end_datelabel%22%20for%3D%22end_date%22%20class%3D%22subject%22%3EDeparture%20time%3C%2Flabel%3E%3Clabel%20id%3D%22end_timelabel%22%20for%3D%22end_time%22%20class%3D%22subject%22%3E%20%28To%29%3C%2Flabel%3E%3Cbr%3E%3Cinput%20name%3D%22end_date%22%20id%3D%22end_date%22%20class%3D%22input%22%20value%3D%2217-12-2017%22%20readonly%3D%22true%22%20style%3D%22width%3A%2048%25%3Bdisplay%3A%20inline-block%3B%22%20%3E%20%3Cselect%20name%3D%22end_time%22%20id%3D%22end_time%22%20class%3D%22shortselect%22%3E%3Coption%20value%3D%2200%3A00%22%3E00%3A00%3C%2Foption%3E%3Coption%20value%3D%2200%3A15%22%3E00%3A15%3C%2Foption%3E%3Coption%20value%3D%2200%3A30%22%3E00%3A30%3C%2Foption%3E%3Coption%20value%3D%2200%3A45%22%3E00%3A45%3C%2Foption%3E%3Coption%20value%3D%2201%3A00%22%3E01%3A00%3C%2Foption%3E%3Coption%20value%3D%2201%3A15%22%3E01%3A15%3C%2Foption%3E%3Coption%20value%3D%2201%3A30%22%3E01%3A30%3C%2Foption%3E%3Coption%20value%3D%2201%3A45%22%3E01%3A45%3C%2Foption%3E%3Coption%20value%3D%2202%3A00%22%3E02%3A00%3C%2Foption%3E%3Coption%20value%3D%2202%3A15%22%3E02%3A15%3C%2Foption%3E%3Coption%20value%3D%2202%3A30%22%3E02%3A30%3C%2Foption%3E%3Coption%20value%3D%2202%3A45%22%3E02%3A45%3C%2Foption%3E%3Coption%20value%3D%2203%3A00%22%3E03%3A00%3C%2Foption%3E%3Coption%20value%3D%2203%3A15%22%3E03%3A15%3C%2Foption%3E%3Coption%20value%3D%2203%3A30%22%3E03%3A30%3C%2Foption%3E%3Coption%20value%3D%2203%3A45%22%3E03%3A45%3C%2Foption%3E%3Coption%20value%3D%2204%3A00%22%3E04%3A00%3C%2Foption%3E%3Coption%20value%3D%2204%3A15%22%3E04%3A15%3C%2Foption%3E%3Coption%20value%3D%2204%3A30%22%3E04%3A30%3C%2Foption%3E%3Coption%20value%3D%2204%3A45%22%3E04%3A45%3C%2Foption%3E%3Coption%20value%3D%2205%3A00%22%3E05%3A00%3C%2Foption%3E%3Coption%20value%3D%2205%3A15%22%3E05%3A15%3C%2Foption%3E%3Coption%20value%3D%2205%3A30%22%3E05%3A30%3C%2Foption%3E%3Coption%20value%3D%2205%3A45%22%3E05%3A45%3C%2Foption%3E%3Coption%20value%3D%2206%3A00%22%3E06%3A00%3C%2Foption%3E%3Coption%20value%3D%2206%3A15%22%3E06%3A15%3C%2Foption%3E%3Coption%20value%3D%2206%3A30%22%3E06%3A30%3C%2Foption%3E%3Coption%20value%3D%2206%3A45%22%3E06%3A45%3C%2Foption%3E%3Coption%20value%3D%2207%3A00%22%3E07%3A00%3C%2Foption%3E%3Coption%20value%3D%2207%3A15%22%3E07%3A15%3C%2Foption%3E%3Coption%20value%3D%2207%3A30%22%3E07%3A30%3C%2Foption%3E%3Coption%20value%3D%2207%3A45%22%3E07%3A45%3C%2Foption%3E%3Coption%20value%3D%2208%3A00%22%3E08%3A00%3C%2Foption%3E%3Coption%20value%3D%2208%3A15%22%3E08%3A15%3C%2Foption%3E%3Coption%20value%3D%2208%3A30%22%3E08%3A30%3C%2Foption%3E%3Coption%20value%3D%2208%3A45%22%3E08%3A45%3C%2Foption%3E%3Coption%20value%3D%2209%3A00%22%3E09%3A00%3C%2Foption%3E%3Coption%20value%3D%2209%3A15%22%3E09%3A15%3C%2Foption%3E%3Coption%20value%3D%2209%3A30%22%3E09%3A30%3C%2Foption%3E%3Coption%20value%3D%2209%3A45%22%3E09%3A45%3C%2Foption%3E%3Coption%20value%3D%2210%3A00%22%3E10%3A00%3C%2Foption%3E%3Coption%20value%3D%2210%3A15%22%3E10%3A15%3C%2Foption%3E%3Coption%20value%3D%2210%3A30%22%3E10%3A30%3C%2Foption%3E%3Coption%20value%3D%2210%3A45%22%3E10%3A45%3C%2Foption%3E%3Coption%20value%3D%2211%3A00%22%3E11%3A00%3C%2Foption%3E%3Coption%20value%3D%2211%3A15%22%3E11%3A15%3C%2Foption%3E%3Coption%20value%3D%2211%3A30%22%3E11%3A30%3C%2Foption%3E%3Coption%20value%3D%2211%3A45%22%3E11%3A45%3C%2Foption%3E%3Coption%20value%3D%2212%3A00%22%3E12%3A00%3C%2Foption%3E%3Coption%20value%3D%2212%3A15%22%3E12%3A15%3C%2Foption%3E%3Coption%20value%3D%2212%3A30%22%3E12%3A30%3C%2Foption%3E%3Coption%20value%3D%2212%3A45%22%3E12%3A45%3C%2Foption%3E%3Coption%20value%3D%2213%3A00%22%3E13%3A00%3C%2Foption%3E%3Coption%20value%3D%2213%3A15%22%3E13%3A15%3C%2Foption%3E%3Coption%20value%3D%2213%3A30%22%3E13%3A30%3C%2Foption%3E%3Coption%20value%3D%2213%3A45%22%3E13%3A45%3C%2Foption%3E%3Coption%20value%3D%2214%3A00%22%3E14%3A00%3C%2Foption%3E%3Coption%20value%3D%2214%3A15%22%3E14%3A15%3C%2Foption%3E%3Coption%20value%3D%2214%3A30%22%3E14%3A30%3C%2Foption%3E%3Coption%20value%3D%2214%3A45%22%3E14%3A45%3C%2Foption%3E%3Coption%20value%3D%2215%3A00%22%3E15%3A00%3C%2Foption%3E%3Coption%20value%3D%2215%3A15%22%3E15%3A15%3C%2Foption%3E%3Coption%20value%3D%2215%3A30%22%3E15%3A30%3C%2Foption%3E%3Coption%20value%3D%2215%3A45%22%3E15%3A45%3C%2Foption%3E%3Coption%20value%3D%2216%3A00%22%3E16%3A00%3C%2Foption%3E%3Coption%20value%3D%2216%3A15%22%3E16%3A15%3C%2Foption%3E%3Coption%20value%3D%2216%3A30%22%3E16%3A30%3C%2Foption%3E%3Coption%20value%3D%2216%3A45%22%3E16%3A45%3C%2Foption%3E%3Coption%20value%3D%2217%3A00%22%3E17%3A00%3C%2Foption%3E%3Coption%20value%3D%2217%3A15%22%3E17%3A15%3C%2Foption%3E%3Coption%20value%3D%2217%3A30%22%3E17%3A30%3C%2Foption%3E%3Coption%20value%3D%2217%3A45%22%3E17%3A45%3C%2Foption%3E%3Coption%20value%3D%2218%3A00%22%3E18%3A00%3C%2Foption%3E%3Coption%20value%3D%2218%3A15%22%3E18%3A15%3C%2Foption%3E%3Coption%20value%3D%2218%3A30%22%3E18%3A30%3C%2Foption%3E%3Coption%20value%3D%2218%3A45%22%3E18%3A45%3C%2Foption%3E%3Coption%20value%3D%2219%3A00%22%3E19%3A00%3C%2Foption%3E%3Coption%20value%3D%2219%3A15%22%3E19%3A15%3C%2Foption%3E%3Coption%20value%3D%2219%3A30%22%3E19%3A30%3C%2Foption%3E%3Coption%20value%3D%2219%3A45%22%3E19%3A45%3C%2Foption%3E%3Coption%20value%3D%2220%3A00%22%3E20%3A00%3C%2Foption%3E%3Coption%20value%3D%2220%3A15%22%3E20%3A15%3C%2Foption%3E%3Coption%20value%3D%2220%3A30%22%3E20%3A30%3C%2Foption%3E%3Coption%20value%3D%2220%3A45%22%3E20%3A45%3C%2Foption%3E%3Coption%20value%3D%2221%3A00%22%3E21%3A00%3C%2Foption%3E%3Coption%20value%3D%2221%3A15%22%3E21%3A15%3C%2Foption%3E%3Coption%20value%3D%2221%3A30%22%3E21%3A30%3C%2Foption%3E%3Coption%20value%3D%2221%3A45%22%3E21%3A45%3C%2Foption%3E%3Coption%20value%3D%2222%3A00%22%3E22%3A00%3C%2Foption%3E%3Coption%20value%3D%2222%3A15%22%3E22%3A15%3C%2Foption%3E%3Coption%20value%3D%2222%3A30%22%3E22%3A30%3C%2Foption%3E%3Coption%20value%3D%2222%3A45%22%3E22%3A45%3C%2Foption%3E%3Coption%20value%3D%2223%3A00%22%3E23%3A00%3C%2Foption%3E%3Coption%20value%3D%2223%3A15%22%3E23%3A15%3C%2Foption%3E%3Coption%20value%3D%2223%3A30%22%3E23%3A30%3C%2Foption%3E%3Coption%20value%3D%2223%3A45%22%3E23%3A45%3C%2Foption%3E%3Coption%20value%3D%2223%3A55%22%3E23%3A55%3C%2Foption%3E%3C%2Fselect%3E%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22r1col%22%3E%3Cinput%20name%3D%22lang%22%20id%3D%22lang%22%20value%3D%22en%22%20type%3D%22hidden%22%20%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22l1col%22%20style%3D%22margin-top%3A20px%3B%22%3E%3Cdiv%20class%3D%22formwrapper%22%3E%3Cspan%20class%3D%22subject%22%3E%3C%2Fspan%3E%3Cdiv%20class%3D%22btn%22%3E%3Ca%20href%3D%22%23timetable_search_content%22%20id%3D%22s_submit_link%22%3ESearch%3C%2Fa%3E%3C%2Fdiv%3E%3Cinput%20type%3D%22submit%22%20name%3D%22submit%22%20value%3D%22Submit%22%20id%3D%22s_submit%22%20style%3D%22display%3Anone%3B%22%20%3E%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22midcol%22%20style%3D%22margin-top%3A20px%3B%22%3E%3Cdiv%20class%3D%22formwrapper%22%3E%3Cspan%20class%3D%22subject%22%3E%3C%2Fspan%3E%3Cdiv%20class%3D%22sbtn%22%3E%3Ca%20href%3D%22%23%22%20id%3D%22s_reset_link%22%3EReset%3C%2Fa%3E%3C%2Fdiv%3E%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22r1col%22%20style%3D%22margin-top%3A20px%3B%22%3E%3C%2Fdiv%3E%3C%2Fform%3E%3Cdiv%20class%3D%22sectiontitle%22%20id%3D%22result%22%20style%3D%22display%3Anone%3B%22%20%3ESearch%20result%3C%2Fdiv%3E%3Cdiv%20class%3D%22calresult%22%20id%3D%22timesearch_result%22%20style%3D%22display%3Anone%3B%22%20%3E%3Cdiv%20class%3D%22caltits%20w3col%22%20id%3D%22timesearch_result%22%20%3ENo%20Results%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cdiv%20id%3D%22timesearch_tnc%22%20style%3D%22display%3Anone%3B%22%20%3E%20%3Cbr%3E%3Cbr%3E%3C%2Fdiv%3E'; $(document).ready(function() { //if (document.getElementById("timetable_search_content")) document.getElementById("timetable_search_content").innerHTML=decodeURIComponent(timetable_search_content); $.removeCookie('search_key'); $.removeCookie('search_cache'); $.removeCookie('search_count'); $.removeCookie('search_route_id'); }) var routes = {"CC":["CE","CM","PC","MW"],"CE":["CC","MW"],"CM":["CC","PC","MW"],"HH":["NP"],"KC":["NP"],"MW":["CE","CC","CM","PC"],"NP":["HH","KC"],"PC":["CC","CM","MW"],"NPW":["JHB"],"JHB":["NPW"]}; var pier_names = {"CC":"Cheung Chau","CE":"Central","CM":"Chi Ma Wan","HH":"Hung Hom","KC":"Kowloon City","MW":"Mui Wo","NP":"North Point","PC":"Peng Chau","NPW":"North Point (West Pier)","JHB":"Joss House Bay"}; Date.firstDayOfWeek = 7; Date.format = 'dd/mm/yyyy'; function hideUnnecessary() { var hideVessel = [ ['NP','HH'], ['CF','MA'], ['NP','KC'], ['MW','CM'], ['MW','CC'], ['MW','PC'], ['CM','MW'], ['CM','CC'], ['CM','PC'], ['PC','CM'], ['PC','CC'], ['PC','MW'], ['CC','MW'], ['CC','PC'], ['CC','CM'] ]; $('.vessel-display').show(); //$('.child-display').show(); //$('.deluxe-display').show(); var orig = $('#origin').val(); var dest = $('#destination').val(); for (var i in hideVessel) { if ((hideVessel[i][0]==orig && hideVessel[i][1]==dest) || (hideVessel[i][1]==orig && hideVessel[i][0])==dest) { $('.vessel-display').hide(); break; } } } $(document).ready(function () { if ($('#search_result').length!=0) location.href = location.href + '#result'; Date.firstDayOfWeek = 0; //Table hover style $('#search_result tr').hover(function () { $(this).addClass('search_price_o'); }, function () { $(this).removeClass('search_price_o'); }); //$('#quickform :input').hover(function() { $(this).css('background-color', 'yellow'); }, function() { $(this).css('background-color', 'transparent'); }); //Load destination using Ajax $('#quickform select[name=origin]').change(function () { $('#quickform select[name=destination]').children('option').remove().end().append($('