//const loaded = new Event('OuterLoaded');document.addEventListener("DOMContentLoaded", function () {ImageMap('img[usemap]', 100);const modal = document.createElement('div');modal.setAttribute('id', "modal-container");modal.setAttribute('onclick', "closeModal();");modal.innerHTML = ''const wrapper = document.getElementById("wrapper");wrapper.classList.add("page")document.body.insertBefore(modal, wrapper)document.body.style="background-color:white;"});window.addEventListener('scroll', () => {document.documentElement.style.setProperty('--scroll-y', `${window.scrollY}px`);});var showing = "top";var places = {"台北徐匯": {"tel": "02-77091536","name": "台北徐匯廣場-3F","addr": "新北市 蘆洲區 中山一路8號","url": "https://goo.gl/maps/iXY7k9QcNBDEdqoUA"},"永和比漾": {"tel": "02-77090325","name": "永和比漾廣場-2F","addr": "新北市 永和區 中山路一段238號","url": "https://goo.gl/maps/x2VMWXV6x2wdPM6x5"},"板橋環球": {"tel": "02-77533083","name": "板橋環球百貨-2F","addr": "新北市 板橋區 縣民大道二段7號B1-2F","url": "https://goo.gl/maps/VtQCTXoDGhDwx2Rw6"},"基隆摩亞": {"tel": "02-23822429","name": "基隆摩亞時尚廣場-4F","addr": "基隆市 中正區 信一路177號","url": "https://goo.gl/maps/39bx3L93VZxjoT596"},"桃園統領": {"tel": "03-2712677","name": "桃園統領廣場百貨-3F","addr": "桃園市 桃園區 中正路61號","url": "https://goo.gl/maps/g2FVZThk1vEo2hEh7"},"桃園三越": {"tel": "03-3339497","name": "桃園站前三越百貨-4F","addr": "桃園市 桃園區 中正路19號","url": "https://goo.gl/maps/EPHbQcTKSBysJmgP8"},"台中中友": {"tel": "04-22296579","name": "台中中友百貨-A棟4F","addr": "台中市 北區 三民路三段161號","url": "https://goo.gl/maps/EDwPu1xtiJ83M9A96"},"彰化格魯特": {"tel": "04-7283123","name": "彰化格魯特服飾","addr": "彰化市 大同里 成功路76號1樓","url": "https://goo.gl/maps/2nJuSt3ngHJkpudE8"},"田中法族": {"tel": "04-8742248","name": "田中法族服飾","addr": "彰化縣 田中鎮 員集路二段378號","url": "https://goo.gl/maps/fpNZx9rwTpxRqAMv5"},"北斗貝爾蒂": {"tel": "04-8887019","name": "北斗貝爾蒂精品服飾","addr": "彰化縣 北斗鎮 安西里 中華路376號1樓","url": "https://goo.gl/maps/LArTsREx5q4b19KQ8"},"溪湖射手座": {"tel": "04-8850493","name": "溪湖射手座服飾","addr": "彰化縣 溪湖鎮 光平里 員鹿路三段180號","url": "https://goo.gl/maps/XENn2bGq15v6pzAt9"},"南投佩佩": {"tel": "049-2229741","name": "南投佩佩服飾","addr": "南投縣 南投市 民族路294號","url": "https://goo.gl/maps/zSx262Y3NPzkM8b3A"},"斗六雙盈": {"tel": "05-5374918","name": "斗六雙盈精品服飾","addr": "雲林縣 斗六市 太平路20號","url": "https://goo.gl/maps/5NKu7uk3grzSC9m58"},"嘉義三越": {"tel": "05-2290327","name": "嘉義新光三越百貨-4F","addr": "嘉義市 西區 垂楊路726號","url": "https://goo.gl/maps/8v2E1uDe7uYZGaMv5"},"嘉義耐斯": {"tel": "05-2278096","name": "嘉義耐斯廣場時尚百貨-2F","addr": "嘉義市 東區 忠孝路600號","url": "https://goo.gl/maps/Ls9eiUeyh63kdfBf9"},"新營池袋": {"tel": "06-6373939","name": "新營池袋流行館","addr": "台南市 新營區 延平路57號","url": "https://goo.gl/maps/6nDADFd6d6SYKT1R8"},"高雄義大": {"tel": "07-6569367","name": "高雄義大百貨-B1樓C區","addr": "高雄市 大樹區 學城路一段12號","url": "https://goo.gl/maps/LUe1UpYZ2YQaNEky9"},"高雄大樂": {"tel": "07-3864140","name": "高雄大樂購物中心-B1樓","addr": "高雄市 三民區 民族一路463號","url": "https://goo.gl/maps/u2Khp47T7Gw6C3eo7"},"高雄夢時代": {"tel": "07-9700887","name": "高雄統一夢時代-7F","addr": "高雄市 前鎮區 中華五路789號","url": "https://goo.gl/maps/ckYbSmoXftApRzgj9"},"左營三越": {"tel": "07-3454015","name": "高雄左營新光三越百貨-3F","addr": "高雄市 左營區 高鐵路123號","url": "https://goo.gl/maps/Cua26KxwYC5QeTcL6"},"岡山木比": {"tel": "07-6225938","name": "岡山木比服飾","addr": "高雄市 岡山區 平和路23號","url": "https://goo.gl/maps/AB2SRn5kxfsaEhc28"},"屏東太平洋": {"tel": "08-7341433","name": "屏東太平洋百貨-2F","addr": "屏東縣 屏東市 中正路72號","url": "https://goo.gl/maps/ZF26qi34TUK7TtKw9"},"花蓮高裳": {"tel": "038-351765","name": "花蓮高裳商行","addr": "花蓮市 國魂里 商校街173號1樓","url": "https://goo.gl/maps/5hME3yzLdGm7cYgP9"},"高雄時代": {"tel": "07-8231061","name": "高雄時代百貨-3F","addr": "高雄市 前鎮區 中華五路789號","url": "https://goo.gl/maps/ckYbSmoXftApRzgj9"}};function selectRegion(ctx, region) {showing = region;document.getElementById("img-" + region).className = 'in';// img.style.display = "block";setTimeout(() => {ImageMap('img[usemap]', 100);}, 2000);}function backtop() {document.getElementById("img-" + showing).classList.add('out');showing = "top";ImageMap('img[usemap]', 100);}function setModal(style, html) {//const scrollY = document.documentElement.style.getPropertyValue('--scroll-y');//document.body.style.position = 'fixed';//document.body.style.top = `-${scrollY}`;document.getElementById("modal-container").className = style;document.getElementById("modalContent").innerHTML = html;}function closeModal() {//const scrollY = document.body.style.top;//document.body.style.position = '';//document.body.style.top = '';document.getElementById("modal-container").classList.add('out');//window.scrollTo(0, parseInt(scrollY || '0') * -1);}function call(p) {setModal('two', `${places[p].name}
`)}function showAddr(p) {setModal('two', `
${places[p].tel}${places[p]['name']}
`);}
${places[p]['addr']}