// Garden Gnome Software - Skin // Pano2VR 6.1.8/17956 // Filename: nabr.ggsk // Generated 2022-09-13T17:20:31 function pano2vrSkin(player,base) { player.addVariable('opt_hotspot_preview', 2, true); player.addVariable('opt_zoom', 2, true); player.addVariable('opt_autorotate', 2, true); player.addVariable('opt_info', 2, false); player.addVariable('opt_thumbnail', 2, true); player.addVariable('vis_thumbnail_menu_mobile', 2, false); player.addVariable('vis_thumbnail_menu_auto_hide', 2, true); player.addVariable('vis_thumbnail_menu_show', 2, false); player.addVariable('opt_thumbnail_tooltip', 2, true); player.addVariable('opt_fullscreen', 2, true); player.addVariable('opt_loader', 2, true); player.addVariable('opt_loader_mulires', 2, true); player.addVariable('opt_autohide', 2, false); player.addVariable('vis_timer', 2, false); player.addVariable('vis_loader', 2, true); player.addVariable('pos_zoom_in', 1, 0); player.addVariable('pos_zoom_out', 1, 0); player.addVariable('pos_autorotate', 1, 0); player.addVariable('pos_information', 1, 0); player.addVariable('pos_thumbnail', 1, 0); player.addVariable('pos_projection', 1, 0); player.addVariable('pos_gyro', 1, 0); player.addVariable('pos_fullscreen', 1, 0); player.addVariable('pos_controller', 1, 0); player.addVariable('pos_360image', 1, 0); player.addVariable('pos_enter_vr', 1, 0); player.addVariable('pos_floorplan', 2, false); player.addVariable('glow_floorplan', 2, false); player.addVariable('glow_zoomin', 2, false); player.addVariable('glow_zoomout', 2, false); player.addVariable('glow_autorot', 2, false); player.addVariable('glow_gallery', 2, false); player.addVariable('glow_fullscreen', 2, false); player.addVariable('glow_nextpano', 2, false); player.addVariable('glow_prevpano', 2, false); player.addVariable('toggle_autorot', 2, false); player.addVariable('info_hideAll', 2, false); player.addVariable('opt_hotspot_preview_1', 2, true); player.addVariable('vis_image_popup', 2, false); player.addVariable('delayDone', 2, false); player.addVariable('loadingDone', 2, false); var me=this; var skin=this; var flag=false; var hotspotTemplates={}; var skinKeyPressed = 0; this.player=player; this.player.skinObj=this; this.divSkin=player.divSkin; this.ggUserdata=player.userdata; this.lastSize={ w: -1,h: -1 }; var basePath=""; // auto detect base path if (base=='?') { var scripts = document.getElementsByTagName('script'); for(var i=0;i=0) { var p=src.lastIndexOf('/'); if (p>=0) { basePath=src.substr(0,p+1); } } } } else if (base) { basePath=base; } this.elementMouseDown=[]; this.elementMouseOver=[]; var cssPrefix=''; var domTransition='transition'; var domTransform='transform'; var prefixes='Webkit,Moz,O,ms,Ms'.split(','); var i; var hs,el,els,elo,ela,elHorScrollFg,elHorScrollBg,elVertScrollFg,elVertScrollBg,elCornerBg; if (typeof document.body.style['transform'] == 'undefined') { for(var i=0;i0) { var e=stack.pop(); if (e.ggUpdatePosition) { e.ggUpdatePosition(); } if (e.hasChildNodes()) { for(var i=0;i0) { var e=stack.pop(); if (e.ggNodeChange) { e.ggNodeChange(); } if (e.hasChildNodes()) { for(var i=0;i0) { var e=stack.pop(); if (regex) { if (pat.test(e.ggId)) r.push(e); } else { if (e.ggId==id) r.push(e); } if (e.hasChildNodes()) { for(var i=0;i0||!me._loading_multires.style.opacity)?'inherit':'hidden'; me._loading_multires.ggVisible=true; } else { me._loading_multires.style.visibility="hidden"; me._loading_multires.ggVisible=false; } } } me._loading_multires.ggUpdatePosition=function (useTransition) { } me.divSkin.appendChild(me._loading_multires); el=me._controller=document.createElement('div'); el.ggId="controller"; el.ggDx=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_container "; el.ggType='container'; hs =''; hs+='bottom : 41px;'; hs+='height : 32px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='visibility : hidden;'; hs+='width : 240px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._controller.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._controller.logicBlock_position = function() { var newLogicStatePosition; if ( ((player.getViewerSize().width < 991)) || ((player.getViewerSize().width / player.getViewerSize().height < 1)) ) { newLogicStatePosition = 0; } else { newLogicStatePosition = -1; } if (me._controller.ggCurrentLogicStatePosition != newLogicStatePosition) { me._controller.ggCurrentLogicStatePosition = newLogicStatePosition; me._controller.style[domTransition]='left 0s, bottom 0s, opacity 500ms ease 0ms'; if (me._controller.ggCurrentLogicStatePosition == 0) { this.ggDx = 0; me._controller.style.bottom='60px'; me._controller.ggUpdatePosition(true); } else { me._controller.ggDx=0; me._controller.style.bottom='41px'; me._controller.ggUpdatePosition(true); } } } me._controller.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('vis_timer') == true)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._controller.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._controller.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._controller.style[domTransition]='left 0s, bottom 0s, opacity 500ms ease 0ms'; if (me._controller.ggCurrentLogicStateAlpha == 0) { me._controller.style.visibility=me._controller.ggVisible?'inherit':'hidden'; me._controller.style.opacity=1; } else { setTimeout(function() { if (me._controller.style.opacity == 0.0) { me._controller.style.visibility="hidden"; } }, 505); me._controller.style.opacity=0; } } } me._controller.onmouseover=function (e) { me.elementMouseOver['controller']=true; } me._controller.onmouseout=function (e) { me.elementMouseOver['controller']=false; } me._controller.ontouchend=function (e) { me.elementMouseOver['controller']=false; } me._controller.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; } } el=me._controller_bg=document.createElement('div'); el.ggId="controller_bg"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle bg_menubar"; el.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 3px;'; hs+='border-radius : 3px;'; hs+='border : 0px solid #000000;'; hs+='cursor : default;'; hs+='height : 50px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 356px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._controller_bg.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._controller_bg.logicBlock_position = function() { var newLogicStatePosition; if ( ((player.getVariableValue('pos_controller') == 1)) ) { newLogicStatePosition = 0; } else if ( ((player.getVariableValue('pos_controller') == 2)) ) { newLogicStatePosition = 1; } else if ( ((player.getVariableValue('pos_controller') == 3)) ) { newLogicStatePosition = 2; } else if ( ((player.getVariableValue('pos_controller') == 4)) ) { newLogicStatePosition = 3; } else if ( ((player.getVariableValue('pos_controller') == 5)) ) { newLogicStatePosition = 4; } else if ( ((player.getVariableValue('pos_controller') == 6)) ) { newLogicStatePosition = 5; } else if ( ((player.getVariableValue('pos_controller') == 7)) ) { newLogicStatePosition = 6; } else if ( ((player.getVariableValue('pos_controller') == 8)) ) { newLogicStatePosition = 7; } else { newLogicStatePosition = -1; } if (me._controller_bg.ggCurrentLogicStatePosition != newLogicStatePosition) { me._controller_bg.ggCurrentLogicStatePosition = newLogicStatePosition; me._controller_bg.style[domTransition]='left 0s, top 0s, width 0s, height 0s'; if (me._controller_bg.ggCurrentLogicStatePosition == 0) { this.ggDx = 103; this.ggDy = -9; me._controller_bg.ggUpdatePosition(true); } else if (me._controller_bg.ggCurrentLogicStatePosition == 1) { this.ggDx = 87; this.ggDy = -9; me._controller_bg.ggUpdatePosition(true); } else if (me._controller_bg.ggCurrentLogicStatePosition == 2) { this.ggDx = 71; this.ggDy = -9; me._controller_bg.ggUpdatePosition(true); } else if (me._controller_bg.ggCurrentLogicStatePosition == 3) { this.ggDx = 55; this.ggDy = -9; me._controller_bg.ggUpdatePosition(true); } else if (me._controller_bg.ggCurrentLogicStatePosition == 4) { this.ggDx = 39; this.ggDy = -9; me._controller_bg.ggUpdatePosition(true); } else if (me._controller_bg.ggCurrentLogicStatePosition == 5) { this.ggDx = 23; this.ggDy = -9; me._controller_bg.ggUpdatePosition(true); } else if (me._controller_bg.ggCurrentLogicStatePosition == 6) { this.ggDx = 7; this.ggDy = -9; me._controller_bg.ggUpdatePosition(true); } else if (me._controller_bg.ggCurrentLogicStatePosition == 7) { this.ggDx = -9; this.ggDy = -9; me._controller_bg.ggUpdatePosition(true); } else { me._controller_bg.ggDx=0; me._controller_bg.ggDy=0; me._controller_bg.ggUpdatePosition(true); } } } me._controller_bg.logicBlock_size = function() { var newLogicStateSize; if ( ((player.getVariableValue('pos_controller') == 1)) ) { newLogicStateSize = 0; } else if ( ((player.getVariableValue('pos_controller') == 2)) ) { newLogicStateSize = 1; } else if ( ((player.getVariableValue('pos_controller') == 3)) ) { newLogicStateSize = 2; } else if ( ((player.getVariableValue('pos_controller') == 4)) ) { newLogicStateSize = 3; } else if ( ((player.getVariableValue('pos_controller') == 5)) ) { newLogicStateSize = 4; } else if ( ((player.getVariableValue('pos_controller') == 6)) ) { newLogicStateSize = 5; } else if ( ((player.getVariableValue('pos_controller') == 7)) ) { newLogicStateSize = 6; } else if ( ((player.getVariableValue('pos_controller') == 8)) ) { newLogicStateSize = 7; } else { newLogicStateSize = -1; } if (me._controller_bg.ggCurrentLogicStateSize != newLogicStateSize) { me._controller_bg.ggCurrentLogicStateSize = newLogicStateSize; me._controller_bg.style[domTransition]='left 0s, top 0s, width 0s, height 0s'; if (me._controller_bg.ggCurrentLogicStateSize == 0) { me._controller_bg.style.width='82px'; me._controller_bg.style.height='50px'; skin.updateSize(me._controller_bg); } else if (me._controller_bg.ggCurrentLogicStateSize == 1) { me._controller_bg.style.width='114px'; me._controller_bg.style.height='50px'; skin.updateSize(me._controller_bg); } else if (me._controller_bg.ggCurrentLogicStateSize == 2) { me._controller_bg.style.width='146px'; me._controller_bg.style.height='50px'; skin.updateSize(me._controller_bg); } else if (me._controller_bg.ggCurrentLogicStateSize == 3) { me._controller_bg.style.width='178px'; me._controller_bg.style.height='50px'; skin.updateSize(me._controller_bg); } else if (me._controller_bg.ggCurrentLogicStateSize == 4) { me._controller_bg.style.width='210px'; me._controller_bg.style.height='50px'; skin.updateSize(me._controller_bg); } else if (me._controller_bg.ggCurrentLogicStateSize == 5) { me._controller_bg.style.width='242px'; me._controller_bg.style.height='50px'; skin.updateSize(me._controller_bg); } else if (me._controller_bg.ggCurrentLogicStateSize == 6) { me._controller_bg.style.width='274px'; me._controller_bg.style.height='50px'; skin.updateSize(me._controller_bg); } else if (me._controller_bg.ggCurrentLogicStateSize == 7) { me._controller_bg.style.width='306px'; me._controller_bg.style.height='50px'; skin.updateSize(me._controller_bg); } else { me._controller_bg.style.width='356px'; me._controller_bg.style.height='50px'; skin.updateSize(me._controller_bg); } } } me._controller_bg.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('pos_controller') == 0)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._controller_bg.ggCurrentLogicStateVisible != newLogicStateVisible) { me._controller_bg.ggCurrentLogicStateVisible = newLogicStateVisible; me._controller_bg.style[domTransition]='left 0s, top 0s, width 0s, height 0s'; if (me._controller_bg.ggCurrentLogicStateVisible == 0) { me._controller_bg.style.visibility="hidden"; me._controller_bg.ggVisible=false; } else { me._controller_bg.style.visibility=(Number(me._controller_bg.style.opacity)>0||!me._controller_bg.style.opacity)?'inherit':'hidden'; me._controller_bg.ggVisible=true; } } } me._controller_bg.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._controller.appendChild(me._controller_bg); el=me._controller_slider=document.createElement('div'); el.ggId="controller_slider"; el.ggDx=15; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_container "; el.ggType='container'; hs =''; hs+='bottom : 0px;'; hs+='height : 32px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='visibility : hidden;'; hs+='width : 32px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._controller_slider.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._controller_slider.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('vis_timer') == true)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._controller_slider.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._controller_slider.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._controller_slider.style[domTransition]='opacity 500ms ease 0ms'; if (me._controller_slider.ggCurrentLogicStateAlpha == 0) { me._controller_slider.style.visibility=me._controller_slider.ggVisible?'inherit':'hidden'; me._controller_slider.style.opacity=1; } else { setTimeout(function() { if (me._controller_slider.style.opacity == 0.0) { me._controller_slider.style.visibility="hidden"; } }, 505); me._controller_slider.style.opacity=0; } } } me._controller_slider.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; } } el=me._icon_next=document.createElement('div'); els=me._icon_next__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEzLjc1OSIg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TYtNi4xNjdhLjkuOSwwLDAsMC0xLjE1LDAsLjYyNy42MjcsMCwwLDAsMCwuOTlsNi42LDUuNjgxLTYuNiw1LjY4MUEuNjI3LjYyNywwLDAsMCwyOC40NDIsMjMuOTUxWiIvPgogIDwvZz4KIDwvZz4KPC9zdmc+Cg=='; me._icon_next__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="icon_next"; el.ggDx=75; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg "; el.ggType='svg'; hs =''; hs+='height : 14px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 15px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._icon_next.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._icon_next.onclick=function (e) { player.openNext("{"+player.getNextNode()+"}",""); me._glow_next_timer.ggTimeout=Number("1") * 1000.0; me._glow_next_timer.ggTimestamp=skin.ggCurrentTime; } me._icon_next.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._glow_next=document.createElement('div'); els=me._glow_next__img=document.createElement('img'); els.className='ggskin ggskin_glow_next'; hs='data:image/png;base64,i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MGmIHGsmxwY21utlEXgR22hv4Yz93lDvEmHCxbXWP1YCzbkrzBbXiAE2kE7LgJFlGoIWTWCYTrPW4X8RUcgWbg8VgP7lOfzv63yugqPMgMEE'+ 'Yd2bsM3vUjyJU8g9utXtvhJlufM6hbF2CRZsi4n71xMwrYSwgYz8U67517oS+eRO5Czc7yItWL5CKIIHvl7Hesa4p1K1gkVLHdRoB2O9vP2okjfaTKFqhT1CsyCFiEQsZ6K6C94ypt9EB5MMtgRcbgikwALNIFmZVlYFl4yPazPCu7X/AVPkyndsKnFW0Z67gHK4NJIb7UpxXV1sdBSV2zKrI2+Hlbr6x06YGy1/+8Ldr6QPPBgNXWJ8ZPtPWR/JNt/TcPv2j/h/+oZNmyZcuWLVu2bNlL2n/8Jhh6vcOqMgAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="glow_next"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='z-index: -1;'; hs+='height : 50px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 50px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_next.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_next.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('glow_nextpano') == true)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._glow_next.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._glow_next.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._glow_next.style[domTransition]='opacity 1000ms ease 0ms'; if (me._glow_next.ggCurrentLogicStateAlpha == 0) { me._glow_next.style.visibility=me._glow_next.ggVisible?'inherit':'hidden'; me._glow_next.style.opacity=1; } else { setTimeout(function() { if (me._glow_next.style.opacity == 0.0) { me._glow_next.style.visibility="hidden"; } }, 1005); me._glow_next.style.opacity=0; } } } me._glow_next.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._icon_next.appendChild(me._glow_next); el=me._glow_next_timer=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=500; el.ggId="glow_next_timer"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : -176px;'; hs+='position : absolute;'; hs+='top : -24px;'; hs+='visibility : hidden;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_next_timer.ggIsActive=function() { return (me._glow_next_timer.ggTimestamp + me._glow_next_timer.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_next_timer.ggActivate=function () { player.setVariableValue('glow_nextpano', true); } me._glow_next_timer.ggDeactivate=function () { player.setVariableValue('glow_nextpano', false); } me._glow_next_timer.ggUpdatePosition=function (useTransition) { } me._icon_next.appendChild(me._glow_next_timer); me._controller_slider.appendChild(me._icon_next); el=me._fullscreen=document.createElement('div'); els=me._fullscreen__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4LjI0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBpZD0i57uEXzg2MDUiIHdpZHRoPSIxOC4yNDUiIGRhdGEtbmFtZT0i57uEIDg2MDUiIHZpZXdCb3g9IjAgMCAxOC4yNDUgMTguMjQ2Ij4KIDxwYXRoIGZpbGwtb3BhY2l0eT0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIwMy40MjMgLTIwNS4zMDIpIiBpZD0i6Lev5b6EXzEwNDkyIiBmaWxsPSIjZmZmZmZmIiBkYXRhLW5hbWU9Iui3r+W+hCAxMDQ5MiIgZD0iTTIxNi4wNzIsMjIzLjU0OHYtMS4zNzdoMy41NDFsLTQuMzQ1LTQuMzcxLjY1MS0uNjUxLDQuMzcyLDQuMzQ0di0zLjUzOWgxLjM3N3'+ 'Y1LjU5NFptLTEyLjY0OSwwdi01LjZIMjA0Ljh2My41NDFsNC4zNzEtNC4zNDQuNjQ5LjY1LTQuMzQ0LDQuMzcxaDMuNTQxdjEuMzc4Wm0xMS44NDgtMTIuNSw0LjM0NS00LjM3MmgtMy41NDFWMjA1LjNoNS41OTR2NS42aC0xLjM3NXYtMy41NDJsLTQuMzcyLDQuMzQ1Wm0tMTAuNDctMy43VjIxMC45aC0xLjM3OFYyMDUuM2g1LjU5NHYxLjM3OGwtMy41MzgsMCw0LjM0NCw0LjM3Mi0uNjUxLjY1MVoiLz4KPC9zdmc+Cg=='; me._fullscreen__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="fullscreen"; el.ggDx=45; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg "; el.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 15px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._fullscreen.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._fullscreen.onclick=function (e) { player.toggleFullscreen(); me._glow_fullscreen_timer.ggTimeout=Number("1") * 1000.0; me._glow_fullscreen_timer.ggTimestamp=skin.ggCurrentTime; } me._fullscreen.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._glow_fullscreen=document.createElement('div'); els=me._glow_fullscreen__img=document.createElement('img'); els.className='ggskin ggskin_glow_fullscreen'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAHS0lEQVR4nO2d63KjOhCEByfZ93/e3dicH8nE43bPRReI65SmSiWQQUgfndFIsKzIsmXLli1btmzZshe07bcbENm+76X2bdu2H92WXvt1wFWIvfbb8E8HfDTQzM4Gfkpni1BntyUFeQbsQwEnYL3fRtvkQXNhHgn6EMABWFaOZSNtYqCqZYeAngq4AexW/I3tP122YT879uuCE0FPA1yEy7az39l+pkq2nf3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gRcbgikwALNIFmZVlYFl4yPazPCu7X/AVPkyndsKnFW0Z67gHK4NJIb7UpxXV1sdBSV2zKrI2+Hlbr6x06YGy1/+8Ldr6QPPBgNXWJ8ZPtPWR/JNt/TcPv2j/h/+oZNmyZcuWLVu2bNlL2n/8Jhh6vcOqMgAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="glow_fullscreen"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='z-index: -1;'; hs+='height : 50px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 50px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_fullscreen.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_fullscreen.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('glow_fullscreen') == true)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._glow_fullscreen.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._glow_fullscreen.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._glow_fullscreen.style[domTransition]='opacity 1000ms ease 0ms'; if (me._glow_fullscreen.ggCurrentLogicStateAlpha == 0) { me._glow_fullscreen.style.visibility=me._glow_fullscreen.ggVisible?'inherit':'hidden'; me._glow_fullscreen.style.opacity=1; } else { setTimeout(function() { if (me._glow_fullscreen.style.opacity == 0.0) { me._glow_fullscreen.style.visibility="hidden"; } }, 1005); me._glow_fullscreen.style.opacity=0; } } } me._glow_fullscreen.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._fullscreen.appendChild(me._glow_fullscreen); el=me._glow_fullscreen_timer=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=500; el.ggId="glow_fullscreen_timer"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : -150px;'; hs+='position : absolute;'; hs+='top : -23px;'; hs+='visibility : hidden;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_fullscreen_timer.ggIsActive=function() { return (me._glow_fullscreen_timer.ggTimestamp + me._glow_fullscreen_timer.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_fullscreen_timer.ggActivate=function () { player.setVariableValue('glow_fullscreen', true); } me._glow_fullscreen_timer.ggDeactivate=function () { player.setVariableValue('glow_fullscreen', false); } me._glow_fullscreen_timer.ggUpdatePosition=function (useTransition) { } me._fullscreen.appendChild(me._glow_fullscreen_timer); me._controller_slider.appendChild(me._fullscreen); el=me._btn_floorplan=document.createElement('div'); els=me._btn_floorplan__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEyLjkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMS40NTgiIHZpZXdCb3g9IjAgMCAzMS40NTggMTIuOTIiPgogPHBhdGggdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTU5NS4zMjcgLTI1MS45NTMpIiBpZD0i6Lev5b6EXzEwMzk1IiBmaWxsPSIjZmZmIiBkYXRhLW5hbWU9Iui3r+W+hCAxMDM5NSIgZD0iTTU5NS4zMjcsMjU5LjQ3bDE1LjczLTcuNTE3TDYxNywyNTQuNzg1bDkuNzgyLDQuNzI2LTguNTU0LDQuMDg3LTQuMzg1LTIuMTUyLTcuMTczLDMuNDI3Wm0xMS4zMDYsNC4xMjMsNS44LTIuODA2LTMuMjkzLTEuNTc1LS40MzUtLjItNC'+ '44Mi0yLjMxMi01LjgzNSwyLjc2OFptMTEuNi0xLjMxNSwyLjI0NC0xLjA1NS03LjE4OC0zLjQ0NS0yLjIwOCwxLjA1NVptMy41ODctMS43MTQsMi4yMDktMS4wNTUtNy4xNTEtMy40NDUtMi4yMDgsMS4wNTVabS0xMi4wNzktMi4zOTIsNS44LTIuNzY3LTQuNDc5LTIuMTMxLTUuODMsMi43NjhaIi8+Cjwvc3ZnPgo='; me._btn_floorplan__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="btn_floorplan"; el.ggDx=15; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_svg btn_floorplan"; el.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 11px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 25px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._btn_floorplan.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._btn_floorplan.onclick=function (e) { player.setVariableValue('pos_floorplan', !player.getVariableValue('pos_floorplan')); player.setVariableValue('glow_floorplan', !player.getVariableValue('glow_floorplan')); } me._btn_floorplan.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._floorplan_glow=document.createElement('div'); els=me._floorplan_glow__img=document.createElement('img'); els.className='ggskin ggskin_floorplan_glow'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAHS0lEQVR4nO2d63KjOhCEByfZ93/e3dicH8nE43bPRReI65SmSiWQQUgfndFIsKzIsmXLli1btmzZshe07bcbENm+76X2bdu2H92WXvt1wFWIvfbb8E8HfDTQzM4Gfkpni1BntyUFeQbsQwEnYL3fRtvkQXNhHgn6EMABWFaOZSNtYqCqZYeAngq4AexW/I3tP122YT879uuCE0FPA1yEy7az39l+pkq2nf3+eLFJkKcAduBWYW6FY9m+p8Ysz8ruF5wAeRhwI1yE55Wx3G1CIfe2bY7bXxcfhDwEmMCNlIgwK/tZOxEOgsz2heS4PQS5G3ADXAaRJXZMpY0Mogc3+h3reuxcJ+T3npMSq6j0IjnwCuQKRJtuQbv37+vYfNi6FByot6rWS2F7BPCtsJ'+ '2p2uZfjehQcTPgAbiXIMcyT8lPzSHp1pgfCnnURVTgekARbAbaXidT7s2ky3e+yd1F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XXa0dUcTjauI/Ps+16YK7Az6sI0OchXVVqBGi+XWD1vAuzlfUwa6quion03WClgvtEFZxeeiO8BFGKZcO/31AGtd/0xisJmiW1XcDHuGD8aLI2RddGFwvScRIo+AK080FOrf72RhW8g9g59II1i1FsAItTqQIdhoCqwWPWvTazPAqGQG2aq5AlmEK7lkMwY5BlefDrBnYJFqhZxTfehp3YKnYA/uYYPdKGBVNf5J6aBkwdrk'+ 'vdKEyvT8s8jzjYgUrKC9UK4y2HVZCphMNuyFFa7mnoptXOst3rA/+9YXTzCaqKoYB2WB61DoR76bZhuADbHqRRV7YBFu9paOdw6CZBHFVXzI01XcE6Z5i94M8ib3h5KfQZ0sXvaeRETnMMgsRq76YJFn0KeGaezPCRWskEXi0A7hjry+imqNJh5RFNENVq0EGPwwi4G13PpecY7Dc2y8q+ePvIDNZooszyB77f3q2AlvuEeNsOBE8kmJ7SQ+qGSDonc+TokZUA9slrqsDDhYumRRxY0cx87LwrJWwLYuVDW7AcwHY/2URaF/IjLHB3shHANtO/Amj3B07dcDLPIIWHMGmIHGsmxwY21utlEXgR22hv4Yz93lDvEmHCxbXWP1YCzbkrzBbXiAE2kE7LgJFlGoIWTWCYTrPW4X8RUcgWbg8VgP7lOfzv63yugqPMgMEE'+ 'Yd2bsM3vUjyJU8g9utXtvhJlufM6hbF2CRZsi4n71xMwrYSwgYz8U67517oS+eRO5Czc7yItWL5CKIIHvl7Hesa4p1K1gkVLHdRoB2O9vP2okjfaTKFqhT1CsyCFiEQsZ6K6C94ypt9EB5MMtgRcbgikwALNIFmZVlYFl4yPazPCu7X/AVPkyndsKnFW0Z67gHK4NJIb7UpxXV1sdBSV2zKrI2+Hlbr6x06YGy1/+8Ldr6QPPBgNXWJ8ZPtPWR/JNt/TcPv2j/h/+oZNmyZcuWLVu2bNlL2n/8Jhh6vcOqMgAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="floorplan_glow"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='z-index: -1;'; hs+='height : 50px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 50px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._floorplan_glow.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._floorplan_glow.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('glow_floorplan') == true)) ) { newLogicStateAlpha = 0; } else if ( ((player.getVariableValue('glow_floorplan') == false)) ) { newLogicStateAlpha = 1; } else { newLogicStateAlpha = -1; } if (me._floorplan_glow.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._floorplan_glow.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._floorplan_glow.style[domTransition]='opacity 1000ms ease 0ms'; if (me._floorplan_glow.ggCurrentLogicStateAlpha == 0) { me._floorplan_glow.style.visibility=me._floorplan_glow.ggVisible?'inherit':'hidden'; me._floorplan_glow.style.opacity=1; } else if (me._floorplan_glow.ggCurrentLogicStateAlpha == 1) { setTimeout(function() { if (me._floorplan_glow.style.opacity == 0.0) { me._floorplan_glow.style.visibility="hidden"; } }, 1005); me._floorplan_glow.style.opacity=0; } else { setTimeout(function() { if (me._floorplan_glow.style.opacity == 0.0) { me._floorplan_glow.style.visibility="hidden"; } }, 1005); me._floorplan_glow.style.opacity=0; } } } me._floorplan_glow.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._btn_floorplan.appendChild(me._floorplan_glow); me._controller_slider.appendChild(me._btn_floorplan); el=me._autorotate_start=document.createElement('div'); els=me._autorotate_start__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE3LjY1NSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTcuNjU1IiB2aWV3Qm94PSIwIDAgMTcuNjU1IDE3LjY1NSI+CiA8cGF0aCBmaWxsLW9wYWNpdHk9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zNDQgLTI4NykiIGlkPSLot6/lvoRfMTA0ODciIGZpbGw9IiNmZmZmZmYiIGRhdGEtbmFtZT0i6Lev5b6EIDEwNDg3IiBkPSJNMzUyLjgyOCwyODdhOC44MDcsOC44MDcsMCwwLDEsNy4yMjMsMy43NzVWMjg3aDEuNjA1djYuNDJoLTYuNDJ2LTEuNjA1aDMuODI0YTcuNDE5LDcuNDE5LDAsMSwwLC43ODIsNi40MmgxLjQ3MkE4LjgyNSw4Lj'+ 'gyNSwwLDEsMSwzNTIuODI4LDI4N1oiLz4KPC9zdmc+Cg=='; me._autorotate_start__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; elo=me._autorotate_start__imgo=document.createElement('img'); elo.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE3LjY1NSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTcuNjU1IiB2aWV3Qm94PSIwIDAgMTcuNjU1IDE3LjY1NSI+CiA8cGF0aCBmaWxsLW9wYWNpdHk9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zNDQgLTI4NykiIGlkPSLot6/lvoRfMTA0ODciIGZpbGw9IiNmZmZmZmYiIGRhdGEtbmFtZT0i6Lev5b6EIDEwNDg3IiBkPSJNMzUyLjgyOCwyODdhOC44MDcsOC44MDcsMCwwLDEsNy4yMjMsMy43NzVWMjg3aDEuNjA1djYuNDJoLTYuNDJ2LTEuNjA1aDMuODI0YTcuNDE5LDcuNDE5LDAsMSwwLC43ODIsNi40MmgxLjQ3MkE4LjgyNSw4Lj'+ 'gyNSwwLDEsMSwzNTIuODI4LDI4N1oiLz4KPC9zdmc+Cg=='; me._autorotate_start__imgo.setAttribute('src',hs); elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;'); elo['ondragstart']=function() { return false; }; el.appendChild(elo); el.ggId="autorotate_start"; el.ggDx=15; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg "; el.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 13px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 13px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._autorotate_start.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._autorotate_start.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getIsAutorotating() == false)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._autorotate_start.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._autorotate_start.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._autorotate_start.style[domTransition]='opacity 500ms ease 0ms'; if (me._autorotate_start.ggCurrentLogicStateAlpha == 0) { me._autorotate_start.style.visibility=me._autorotate_start.ggVisible?'inherit':'hidden'; me._autorotate_start.style.opacity=1; } else { me._autorotate_start.style.visibility=me._autorotate_start.ggVisible?'inherit':'hidden'; me._autorotate_start.style.opacity=1; } } } me._autorotate_start.onclick=function (e) { player.setVariableValue('toggle_autorot', !player.getVariableValue('toggle_autorot')); me._glow_autorot_timer.ggTimeout=Number("1") * 1000.0; me._glow_autorot_timer.ggTimestamp=skin.ggCurrentTime; } me._autorotate_start.onmouseover=function (e) { me._autorotate_start__img.style.visibility='hidden'; me._autorotate_start__imgo.style.visibility='inherit'; } me._autorotate_start.onmouseout=function (e) { me._autorotate_start__img.style.visibility='inherit'; me._autorotate_start__imgo.style.visibility='hidden'; } me._autorotate_start.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._glow_autorot=document.createElement('div'); els=me._glow_autorot__img=document.createElement('img'); els.className='ggskin ggskin_glow_autorot'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAHS0lEQVR4nO2d63KjOhCEByfZ93/e3dicH8nE43bPRReI65SmSiWQQUgfndFIsKzIsmXLli1btmzZshe07bcbENm+76X2bdu2H92WXvt1wFWIvfbb8E8HfDTQzM4Gfkpni1BntyUFe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RO5Czc7yItWL5CKIIHvl7Hesa4p1K1gkVLHdRoB2O9vP2okjfaTKFqhT1CsyCFiEQsZ6K6C94ypt9EB5MMtgRcbgikwALNIFmZVlYFl4yPazPCu7X/AVPkyndsKnFW0Z67gHK4NJIb7UpxXV1sdBSV2zKrI2+Hlbr6x06YGy1/+8Ldr6QPPBgNXWJ8ZPtPWR/JNt/TcPv2j/h/+oZNmyZcuWLVu2bNlL2n/8Jhh6vcOqMgAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="glow_autorot"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='z-index: -1;'; hs+='height : 50px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 50px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_autorot.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_autorot.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('toggle_autorot') == true)) ) { newLogicStateAlpha = 0; } else if ( ((player.getVariableValue('toggle_autorot') == false)) ) { newLogicStateAlpha = 1; } else { newLogicStateAlpha = -1; } if (me._glow_autorot.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._glow_autorot.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._glow_autorot.style[domTransition]='opacity 1000ms ease 0ms'; if (me._glow_autorot.ggCurrentLogicStateAlpha == 0) { me._glow_autorot.style.visibility=me._glow_autorot.ggVisible?'inherit':'hidden'; me._glow_autorot.style.opacity=1; } else if (me._glow_autorot.ggCurrentLogicStateAlpha == 1) { setTimeout(function() { if (me._glow_autorot.style.opacity == 0.0) { me._glow_autorot.style.visibility="hidden"; } }, 1005); me._glow_autorot.style.opacity=0; } else { setTimeout(function() { if (me._glow_autorot.style.opacity == 0.0) { me._glow_autorot.style.visibility="hidden"; } }, 1005); me._glow_autorot.style.opacity=0; } } } me._glow_autorot.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._autorotate_start.appendChild(me._glow_autorot); el=me._glow_autorot_timer=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=500; el.ggId="glow_autorot_timer"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : -27px;'; hs+='position : absolute;'; hs+='top : -25px;'; hs+='visibility : hidden;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_autorot_timer.ggIsActive=function() { return (me._glow_autorot_timer.ggTimestamp + me._glow_autorot_timer.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_autorot_timer.ggActivate=function () { player.setVariableValue('glow_autorot', true); } me._glow_autorot_timer.ggDeactivate=function () { player.setVariableValue('glow_autorot', false); } me._glow_autorot_timer.ggUpdatePosition=function (useTransition) { } me._autorotate_start.appendChild(me._glow_autorot_timer); me._controller_slider.appendChild(me._autorotate_start); el=me._zoomout=document.createElement('div'); els=me._zoomout__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEuNTY5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNi42ODMiIHZpZXdCb3g9IjAgMCAxNi42ODMgMS41NjkiPgogPHJlY3QgaGVpZ2h0PSIxLjU2OSIgZmlsbC1vcGFjaXR5PSIxIiBpZD0i55+p5b2iXzE0MDYiIGZpbGw9IiNmZmZmZmYiIHdpZHRoPSIxNi42ODMiIGRhdGEtbmFtZT0i55+p5b2iIDE0MDYiLz4KPC9zdmc+Cg=='; me._zoomout__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; elo=me._zoomout__imgo=document.createElement('img'); elo.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEuNTY5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNi42ODMiIHZpZXdCb3g9IjAgMCAxNi42ODMgMS41NjkiPgogPHJlY3QgaGVpZ2h0PSIxLjU2OSIgZmlsbC1vcGFjaXR5PSIxIiBpZD0i55+p5b2iXzE0MDYiIGZpbGw9IiNmZmZmZmYiIHdpZHRoPSIxNi42ODMiIGRhdGEtbmFtZT0i55+p5b2iIDE0MDYiLz4KPC9zdmc+Cg=='; me._zoomout__imgo.setAttribute('src',hs); elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;'); elo['ondragstart']=function() { return false; }; el.appendChild(elo); el.ggId="zoomout"; el.ggDx=-15; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_svg "; el.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 15px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._zoomout.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._zoomout.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('opt_zoom') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._zoomout.ggCurrentLogicStateVisible != newLogicStateVisible) { me._zoomout.ggCurrentLogicStateVisible = newLogicStateVisible; me._zoomout.style[domTransition]=''; if (me._zoomout.ggCurrentLogicStateVisible == 0) { me._zoomout.style.visibility=(Number(me._zoomout.style.opacity)>0||!me._zoomout.style.opacity)?'inherit':'hidden'; me._zoomout.ggVisible=true; } else { me._zoomout.style.visibility="hidden"; me._zoomout.ggVisible=false; } } } me._zoomout.onclick=function (e) { me._glow_zoomout_timer.ggTimeout=Number("1") * 1000.0; me._glow_zoomout_timer.ggTimestamp=skin.ggCurrentTime; } me._zoomout.onmouseover=function (e) { me._zoomout__img.style.visibility='hidden'; me._zoomout__imgo.style.visibility='inherit'; } me._zoomout.onmouseout=function (e) { me._zoomout__img.style.visibility='inherit'; me._zoomout__imgo.style.visibility='hidden'; me.elementMouseDown['zoomout']=false; } me._zoomout.onmousedown=function (e) { me.elementMouseDown['zoomout']=true; } me._zoomout.onmouseup=function (e) { me.elementMouseDown['zoomout']=false; } me._zoomout.ontouchend=function (e) { me.elementMouseDown['zoomout']=false; } me._zoomout.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._glow_zoomout=document.createElement('div'); els=me._glow_zoomout__img=document.createElement('img'); els.className='ggskin ggskin_glow_zoomout'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAHS0lEQVR4nO2d63KjOhCEByfZ93/e3dicH8nE43bPRReI65SmSiWQQUgfndFIsKzIsmXLli1btmzZshe07bcbENm+76X2bdu2H92WXvt1wFWIvfbb8E8HfDTQzM4Gfkpni1BntyUFeQbsQwEnYL3fRtvkQXNhHgn6EMABWFaOZSNtYqCqZYeAngq4AexW/I3tP122YT879uuCE0FPA1yEy7az39l+pkq2nf3+eLFJkKcAduBWYW6FY9m+p8Ysz8ruF5wAeRhwI1yE55Wx3G1CIfe2bY7bXxcfhDwEmMCNlIgwK/tZOxEOgsz2heS4PQS5G3ADXAaRJXZMpY0Mogc3+h3reuxcJ+T3npMSq6j0IjnwCuQKRJtuQbv37+vYfNi6FByot6rWS2F7BPCtsJ'+ '2p2uZfjehQcTPgAbiXIMcyT8lPzSHp1pgfCnnURVTgekARbAbaXidT7s2ky3e+yd1F2POZ25jmLpoAJyFZBrc1IWjaJPHB2oTtUqj2BrC6KYMWFY8oGKOGKtw3yNk2uo5MwR7YK2yzGxVB1mt0q7gXsDf4MMgMLG4z6AjYgmaugYG9fG8r3KvT7huUWZhDrqIMOFlrQJVFqrXpnZQh6BbAV5NfoQ6FG5m6Gg/2D4uqmxh1EZVwzEK2QN+dMlS5dTfW0Pcq1JuIfEp8g2wdmrNjLOzjXASoN1Iy87uo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KEyvT8s8jzjYgUrKC9UK4y2HVZCphMNuyFFa7mnoptXOst3rA/+9YXTzCaqKoYB2WB61DoR76bZhuADbHqRRV7YBFu9paOdw6CZBHFVXzI01XcE6Z5i94M8ib3h5KfQZ0sXvaeRETnMMgsRq76YJFn0KeGaezPCRWskEXi0A7hjry+imqNJh5RFNENVq0EGPwwi4G13PpecY7Dc2y8q+ePvIDNZooszyB77f3q2AlvuEeNsOBE8kmJ7SQ+qGSDonc+TokZUA9slrqsDDhYumRRxY0cx87LwrJWwLYuVDW7AcwHY/2URaF/IjLHB3shHANtO/Amj3B07dcDLPIIWHMGmIHGsmxwY21utlEXgR22hv4Yz93lDvEmHCxbXWP1YCzbkrzBbXiAE2kE7LgJFlGoIWTWCYTrPW4X8RUcgWbg8VgP7lOfzv63yugqPMgMEE'+ 'Yd2bsM3vUjyJU8g9utXtvhJlufM6hbF2CRZsi4n71xMwrYSwgYz8U67517oS+eRO5Czc7yItWL5CKIIHvl7Hesa4p1K1gkVLHdRoB2O9vP2okjfaTKFqhT1CsyCFiEQsZ6K6C94ypt9EB5MMtgRcbgikwALNIFmZVlYFl4yPazPCu7X/AVPkyndsKnFW0Z67gHK4NJIb7UpxXV1sdBSV2zKrI2+Hlbr6x06YGy1/+8Ldr6QPPBgNXWJ8ZPtPWR/JNt/TcPv2j/h/+oZNmyZcuWLVu2bNlL2n/8Jhh6vcOqMgAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="glow_zoomout"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='z-index: -1;'; hs+='height : 50px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 50px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_zoomout.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_zoomout.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('glow_zoomout') == true)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._glow_zoomout.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._glow_zoomout.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._glow_zoomout.style[domTransition]='opacity 1000ms ease 0ms'; if (me._glow_zoomout.ggCurrentLogicStateAlpha == 0) { me._glow_zoomout.style.visibility=me._glow_zoomout.ggVisible?'inherit':'hidden'; me._glow_zoomout.style.opacity=1; } else { setTimeout(function() { if (me._glow_zoomout.style.opacity == 0.0) { me._glow_zoomout.style.visibility="hidden"; } }, 1005); me._glow_zoomout.style.opacity=0; } } } me._glow_zoomout.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._zoomout.appendChild(me._glow_zoomout); el=me._glow_zoomout_timer=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=500; el.ggId="glow_zoomout_timer"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : 2px;'; hs+='position : absolute;'; hs+='top : -23px;'; hs+='visibility : hidden;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_zoomout_timer.ggIsActive=function() { return (me._glow_zoomout_timer.ggTimestamp + me._glow_zoomout_timer.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_zoomout_timer.ggActivate=function () { player.setVariableValue('glow_zoomout', true); } me._glow_zoomout_timer.ggDeactivate=function () { player.setVariableValue('glow_zoomout', false); } me._glow_zoomout_timer.ggUpdatePosition=function (useTransition) { } me._zoomout.appendChild(me._glow_zoomout_timer); me._controller_slider.appendChild(me._zoomout); el=me._zoomin=document.createElement('div'); els=me._zoomin__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2LjY4MyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYuNjgzIiB2aWV3Qm94PSIwIDAgMTYuNjgzIDE2LjY4MyI+CiA8cGF0aCBmaWxsLW9wYWNpdHk9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zNTIuODI5IC0yNDYuNDAzKSIgaWQ9Iui3r+W+hF8xMDM5MiIgZmlsbD0iI2ZmZmZmZiIgZGF0YS1uYW1lPSLot6/lvoQgMTAzOTIiIGQ9Ik0zNjAuNDQyLDI2My4wODZ2LTcuNjEzaC03LjYxM1YyNTMuOWg3LjYxM3YtNy41SDM2MS45djcuNWg3LjYxM3YxLjU2OUgzNjEuOXY3LjYxM1oiLz4KPC9zdmc+Cg=='; me._zoomin__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; elo=me._zoomin__imgo=document.createElement('img'); elo.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2LjY4MyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYuNjgzIiB2aWV3Qm94PSIwIDAgMTYuNjgzIDE2LjY4MyI+CiA8cGF0aCBmaWxsLW9wYWNpdHk9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zNTIuODI5IC0yNDYuNDAzKSIgaWQ9Iui3r+W+hF8xMDM5MiIgZmlsbD0iI2ZmZmZmZiIgZGF0YS1uYW1lPSLot6/lvoQgMTAzOTIiIGQ9Ik0zNjAuNDQyLDI2My4wODZ2LTcuNjEzaC03LjYxM1YyNTMuOWg3LjYxM3YtNy41SDM2MS45djcuNWg3LjYxM3YxLjU2OUgzNjEuOXY3LjYxM1oiLz4KPC9zdmc+Cg=='; me._zoomin__imgo.setAttribute('src',hs); elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;'); elo['ondragstart']=function() { return false; }; el.appendChild(elo); el.ggId="zoomin"; el.ggDx=-45; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_svg "; el.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 15px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._zoomin.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._zoomin.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('opt_zoom') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._zoomin.ggCurrentLogicStateVisible != newLogicStateVisible) { me._zoomin.ggCurrentLogicStateVisible = newLogicStateVisible; me._zoomin.style[domTransition]=''; if (me._zoomin.ggCurrentLogicStateVisible == 0) { me._zoomin.style.visibility=(Number(me._zoomin.style.opacity)>0||!me._zoomin.style.opacity)?'inherit':'hidden'; me._zoomin.ggVisible=true; } else { me._zoomin.style.visibility="hidden"; me._zoomin.ggVisible=false; } } } me._zoomin.onclick=function (e) { me._glow_zoomin_timer.ggTimeout=Number("1") * 1000.0; me._glow_zoomin_timer.ggTimestamp=skin.ggCurrentTime; } me._zoomin.onmouseover=function (e) { me._zoomin__img.style.visibility='hidden'; me._zoomin__imgo.style.visibility='inherit'; } me._zoomin.onmouseout=function (e) { me._zoomin__img.style.visibility='inherit'; me._zoomin__imgo.style.visibility='hidden'; me.elementMouseDown['zoomin']=false; } me._zoomin.onmousedown=function (e) { me.elementMouseDown['zoomin']=true; } me._zoomin.onmouseup=function (e) { me.elementMouseDown['zoomin']=false; } me._zoomin.ontouchend=function (e) { me.elementMouseDown['zoomin']=false; } me._zoomin.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._glow_zoomin=document.createElement('div'); els=me._glow_zoomin__img=document.createElement('img'); els.className='ggskin ggskin_glow_zoomin'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAHS0lEQVR4nO2d63KjOhCEByfZ93/e3dicH8nE43bP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gWbg8VgP7lOfzv63yugqPMgMEE'+ 'Yd2bsM3vUjyJU8g9utXtvhJlufM6hbF2CRZsi4n71xMwrYSwgYz8U67517oS+eRO5Czc7yItWL5CKIIHvl7Hesa4p1K1gkVLHdRoB2O9vP2okjfaTKFqhT1CsyCFiEQsZ6K6C94ypt9EB5MMtgRcbgikwALNIFmZVlYFl4yPazPCu7X/AVPkyndsKnFW0Z67gHK4NJIb7UpxXV1sdBSV2zKrI2+Hlbr6x06YGy1/+8Ldr6QPPBgNXWJ8ZPtPWR/JNt/TcPv2j/h/+oZNmyZcuWLVu2bNlL2n/8Jhh6vcOqMgAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="glow_zoomin"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='z-index: -1;'; hs+='height : 50px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 50px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_zoomin.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_zoomin.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('glow_zoomin') == true)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._glow_zoomin.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._glow_zoomin.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._glow_zoomin.style[domTransition]='opacity 1000ms ease 0ms'; if (me._glow_zoomin.ggCurrentLogicStateAlpha == 0) { me._glow_zoomin.style.visibility=me._glow_zoomin.ggVisible?'inherit':'hidden'; me._glow_zoomin.style.opacity=1; } else { setTimeout(function() { if (me._glow_zoomin.style.opacity == 0.0) { me._glow_zoomin.style.visibility="hidden"; } }, 1005); me._glow_zoomin.style.opacity=0; } } } me._glow_zoomin.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._zoomin.appendChild(me._glow_zoomin); el=me._glow_zoomin_timer=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=500; el.ggId="glow_zoomin_timer"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : 24px;'; hs+='position : absolute;'; hs+='top : -23px;'; hs+='visibility : hidden;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_zoomin_timer.ggIsActive=function() { return (me._glow_zoomin_timer.ggTimestamp + me._glow_zoomin_timer.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_zoomin_timer.ggActivate=function () { player.setVariableValue('glow_zoomin', true); } me._glow_zoomin_timer.ggDeactivate=function () { player.setVariableValue('glow_zoomin', false); } me._glow_zoomin_timer.ggUpdatePosition=function (useTransition) { } me._zoomin.appendChild(me._glow_zoomin_timer); me._controller_slider.appendChild(me._zoomin); el=me._thumbnail_show_button_show=document.createElement('div'); els=me._thumbnail_show_button_show__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4LjE5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMi44MzYiIHZpZXdCb3g9IjAgMCAyMi44MzYgMTguMTkiPgogPHBhdGggZmlsbC1vcGFjaXR5PSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNi4wNDQgLTAuMTgzKSIgaWQ9Iui3r+W+hF8xMDQ5OSIgZmlsbD0iI2ZmZmZmZiIgZGF0YS1uYW1lPSLot6/lvoQgMTA0OTkiIGQ9Ik02LjYyNiwxOC4yN2EuNDUyLjQ1MiwwLDAsMS0uNDgyLS4zMzhMNi4xNTEuNjE0YS40LjQsMCwwLDEsLjQtLjMzMUgyOC4yYS41NjEuNTYxLDAsMCwxLC40LjE1Mi4zMzQuMzM0LDAsMCwxLC4xNzkuMjMxbD'+ 'AsMTcuMjc2YS40LjQsMCwwLDEtLjQuMzNaTTE3Ljc3MSwxNy42SDI3LjhWOS41OTFIMTcuNzcxWm0tMTAuNjUsMGg5LjcyN1Y5LjU5MUg3LjEyMVptMC04LjY0NGg5LjcyN1YuOTQ3SDcuMTIxWm0xMC42NSwwSDI3LjhWLjk0N0gxNy43NzFaIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMC4yIi8+Cjwvc3ZnPgo='; me._thumbnail_show_button_show__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="thumbnail_show_button_show"; el.ggDx=-75; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg "; el.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 20px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._thumbnail_show_button_show.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._thumbnail_show_button_show.onclick=function (e) { player.setVariableValue('vis_thumbnail_menu_mobile', !player.getVariableValue('vis_thumbnail_menu_mobile')); player.setVariableValue('vis_thumbnail_menu_show', !player.getVariableValue('vis_thumbnail_menu_show')); player.setVariableValue('glow_gallery', !player.getVariableValue('glow_gallery')); } me._thumbnail_show_button_show.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._glow_gallery=document.createElement('div'); els=me._glow_gallery__img=document.createElement('img'); els.className='ggskin ggskin_glow_gallery'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAHS0lEQVR4nO2d63KjOhCEByfZ93/e3dicH8nE43bPRReI65SmSiWQQUgfndFIsKzIsmXLli1btmzZshe07bcbENm+76X2bdu2H92WXvt1wFWIvfbb8E8HfDTQzM4Gfkpni1BntyUFeQbsQwEnYL3fRtvkQXNhHgn6EMABWFaOZSNtYqCqZYeAngq4AexW/I3tP122YT879uuCE0FPA1yEy7az39l+pkq2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MMtgRcbgikwALNIFmZVlYFl4yPazPCu7X/AVPkyndsKnFW0Z67gHK4NJIb7UpxXV1sdBSV2zKrI2+Hlbr6x06YGy1/+8Ldr6QPPBgNXWJ8ZPtPWR/JNt/TcPv2j/h/+oZNmyZcuWLVu2bNlL2n/8Jhh6vcOqMgAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="glow_gallery"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='z-index: -1;'; hs+='height : 50px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 50px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_gallery.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_gallery.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('glow_gallery') == true)) ) { newLogicStateAlpha = 0; } else if ( ((player.getVariableValue('glow_gallery') == false)) ) { newLogicStateAlpha = 1; } else { newLogicStateAlpha = -1; } if (me._glow_gallery.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._glow_gallery.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._glow_gallery.style[domTransition]='opacity 1000ms ease 0ms'; if (me._glow_gallery.ggCurrentLogicStateAlpha == 0) { me._glow_gallery.style.visibility=me._glow_gallery.ggVisible?'inherit':'hidden'; me._glow_gallery.style.opacity=1; } else if (me._glow_gallery.ggCurrentLogicStateAlpha == 1) { setTimeout(function() { if (me._glow_gallery.style.opacity == 0.0) { me._glow_gallery.style.visibility="hidden"; } }, 1005); me._glow_gallery.style.opacity=0; } else { setTimeout(function() { if (me._glow_gallery.style.opacity == 0.0) { me._glow_gallery.style.visibility="hidden"; } }, 1005); me._glow_gallery.style.opacity=0; } } } me._glow_gallery.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._thumbnail_show_button_show.appendChild(me._glow_gallery); me._controller_slider.appendChild(me._thumbnail_show_button_show); el=me._icon_prev=document.createElement('div'); els=me._icon_prev__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEzLjc2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOC44NzQiIHZpZXdCb3g9IjAgMCAxOC44NzQgMTMuNzYiPgogPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwKSIgaWQ9Iue7hF84Njg3IiBkYXRhLW5hbWU9Iue7hCA4Njg3Ij4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMC4wOCAwKSIgaWQ9Iue7hF84Njg0IiBkYXRhLW5hbWU9Iue7hCA4Njg0Ij4KICAgPHBhdGggdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI4LjIgLTEwLjQpIiBpZD0i6Lev5b6EXzEwNTE2IiBmaWxsPSIjZmZmIiBkYXRhLW5hbWU9Iui3r+W+hCAxMDUxNiIgZD'+ '0iTTM2Ljc1MiwyMy45NTFhLjg2OS44NjksMCwwLDEtMS4xMjksMGwtNy4xOC02LjE4NWEuNjI3LjYyNywwLDAsMSwwLS45OWw3LjE2LTYuMTY3YS45LjksMCwwLDEsMS4xNSwwLC42MjcuNjI3LDAsMCwxLDAsLjk5bC02LjYsNS42ODEsNi42LDUuNjgxQS42MjcuNjI3LDAsMCwxLDM2Ljc1MiwyMy45NTFaIi8+CiAgPC9nPgogIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMCkiIGlkPSLnu4RfODY4NSIgZGF0YS1uYW1lPSLnu4QgODY4NSI+CiAgIDxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yOC4yIC0xMC40KSIgaWQ9Iui3r+W+hF8xMDUxNi0yIiBmaWxsPSIjZmZmIiBkYXRhLW5hbWU9'+ 'Iui3r+W+hCAxMDUxNiIgZD0iTTM2Ljc1MiwyMy45NTFhLjg2OS44NjksMCwwLDEtMS4xMjksMGwtNy4xOC02LjE4NWEuNjI3LjYyNywwLDAsMSwwLS45OWw3LjE2LTYuMTY3YS45LjksMCwwLDEsMS4xNSwwLC42MjcuNjI3LDAsMCwxLDAsLjk5bC02LjYsNS42ODEsNi42LDUuNjgxQS42MjcuNjI3LDAsMCwxLDM2Ljc1MiwyMy45NTFaIi8+CiAgPC9nPgogPC9nPgo8L3N2Zz4K'; me._icon_prev__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="icon_prev"; el.ggDx=-105; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg "; el.ggType='svg'; hs =''; hs+='height : 14px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 15px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._icon_prev.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._icon_prev.onclick=function (e) { player.openNext("{"+player.getPrevNode()+"}",""); me._glow_prev_timer.ggTimeout=Number("1") * 1000.0; me._glow_prev_timer.ggTimestamp=skin.ggCurrentTime; } me._icon_prev.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._glow_prev=document.createElement('div'); els=me._glow_prev__img=document.createElement('img'); els.className='ggskin ggskin_glow_prev'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAHS0lEQVR4nO2d63KjOhCEByfZ93/e3dicH8nE43bPRReI65SmSiWQQUgfndFIsKzIsmXLli1btmzZshe07bcbENm+76X2bdu2H92WXvt1wFWIvfbb8E8HfDTQzM4Gfkpni1BntyUFeQbsQwEnYL3fRtvkQXNhHgn6EMABWFaOZSNtYqCqZYeAngq4AexW/I3tP122YT879uuCE0FPA1yEy7az39l+pkq2nf3+eLFJkKcAduBWYW6FY9m+p8Ysz8ruF5wAeRhwI1yE55Wx3G1CIfe2bY7bXxcfhDwEmMCNlIgwK/tZOxEOgsz2heS4PQS5G3ADXAaRJXZMpY0Mogc3+h3reuxcJ+T3npMSq6j0IjnwCuQKRJtuQbv37+vYfNi6FByot6rWS2F7BPCtsJ'+ '2p2uZfjehQcTPgAbiXIMcyT8lPzSHp1pgfCnnURVTgekARbAbaXidT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m+UiPCVUlGqTXXa0dUcTjauI/Ps+16YK7Az6sI0OchXVVqBGi+XWD1vAuzlfUwa6quion03WClgvtEFZxeeiO8BFGKZcO/31AGtd/0xisJmiW1XcDHuGD8aLI2RddGFwvScRIo+AK080FOrf72RhW8g9g59II1i1FsAItTqQIdhoCqwWPWvTazPAqGQG2aq5AlmEK7lkMwY5BlefDrBnYJFqhZxTfehp3YKnYA/uYYPdKGBVNf5J6aBkwdrk'+ 'vdKEyvT8s8jzjYgUrKC9UK4y2HVZCphMNuyFFa7mnoptXOst3rA/+9YXTzCaqKoYB2WB61DoR76bZhuADbHqRRV7YBFu9paOdw6CZBHFVXzI01XcE6Z5i94M8ib3h5KfQZ0sXvaeRETnMMgsRq76YJFn0KeGaezPCRWskEXi0A7hjry+imqNJh5RFNENVq0EGPwwi4G13PpecY7Dc2y8q+ePvIDNZooszyB77f3q2AlvuEeNsOBE8kmJ7SQ+qGSDonc+TokZUA9slrqsDDhYumRRxY0cx87LwrJWwLYuVDW7AcwHY/2URaF/IjLHB3shHANtO/Amj3B07dcDLPIIWHMGmIHGsmxwY21utlEXgR22hv4Yz93lDvEmHCxbXWP1YCzbkrzBbXiAE2kE7LgJFlGoIWTWCYTrPW4X8RUcgWbg8VgP7lOfzv63yugqPMgMEE'+ 'Yd2bsM3vUjyJU8g9utXtvhJlufM6hbF2CRZsi4n71xMwrYSwgYz8U67517oS+eRO5Czc7yItWL5CKIIHvl7Hesa4p1K1gkVLHdRoB2O9vP2okjfaTKFqhT1CsyCFiEQsZ6K6C94ypt9EB5MMtgRcbgikwALNIFmZVlYFl4yPazPCu7X/AVPkyndsKnFW0Z67gHK4NJIb7UpxXV1sdBSV2zKrI2+Hlbr6x06YGy1/+8Ldr6QPPBgNXWJ8ZPtPWR/JNt/TcPv2j/h/+oZNmyZcuWLVu2bNlL2n/8Jhh6vcOqMgAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="glow_prev"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='z-index: -1;'; hs+='height : 50px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 50px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_prev.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_prev.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('glow_prevpano') == true)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._glow_prev.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._glow_prev.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._glow_prev.style[domTransition]='opacity 1000ms ease 0ms'; if (me._glow_prev.ggCurrentLogicStateAlpha == 0) { me._glow_prev.style.visibility=me._glow_prev.ggVisible?'inherit':'hidden'; me._glow_prev.style.opacity=1; } else { setTimeout(function() { if (me._glow_prev.style.opacity == 0.0) { me._glow_prev.style.visibility="hidden"; } }, 1005); me._glow_prev.style.opacity=0; } } } me._glow_prev.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._icon_prev.appendChild(me._glow_prev); el=me._glow_prev_timer=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=500; el.ggId="glow_prev_timer"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : 131px;'; hs+='position : absolute;'; hs+='top : -25px;'; hs+='visibility : hidden;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._glow_prev_timer.ggIsActive=function() { return (me._glow_prev_timer.ggTimestamp + me._glow_prev_timer.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._glow_prev_timer.ggActivate=function () { player.setVariableValue('glow_prevpano', true); } me._glow_prev_timer.ggDeactivate=function () { player.setVariableValue('glow_prevpano', false); } me._glow_prev_timer.ggUpdatePosition=function (useTransition) { } me._icon_prev.appendChild(me._glow_prev_timer); me._controller_slider.appendChild(me._icon_prev); me._controller.appendChild(me._controller_slider); el=me._element_alpha_timer=document.createElement('div'); el.ggTimestamp=this.ggCurrentTime; el.ggLastIsActive=true; el.ggTimeout=1000; el.ggId="element_alpha_timer"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 32px;'; hs+='left : -30px;'; hs+='position : absolute;'; hs+='top : -8px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._element_alpha_timer.ggIsActive=function() { return (me._element_alpha_timer.ggTimestamp + me._element_alpha_timer.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._element_alpha_timer.ggDeactivate=function () { player.setVariableValue('vis_timer', true); } me._element_alpha_timer.ggUpdatePosition=function (useTransition) { } me._controller.appendChild(me._element_alpha_timer); el=me._line=document.createElement('div'); el.ggId="line"; el.ggDx=0; el.ggDy=20; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+='background : #ffffff;'; hs+='border : 0px solid #000000;'; hs+='cursor : default;'; hs+='height : 1px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 200px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._line.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._line.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._controller.appendChild(me._line); me.divSkin.appendChild(me._controller); el=me._vr_notice=document.createElement('div'); el.ggId="vr_notice"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+='z-index: 10;'; hs+='background : rgba(179,179,179,0.862745);'; hs+='border : 0px solid #000000;'; hs+='cursor : default;'; hs+='height : 100%;'; hs+='left : 0%;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : -0.09%;'; hs+='visibility : hidden;'; hs+='width : 100%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._vr_notice.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._vr_notice.ggUpdatePosition=function (useTransition) { } el=me._btn_back=document.createElement('div'); els=me._btn_back__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="btn_back"; el.ggDx=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text landing_txt"; el.ggType='text'; hs =''; hs+='bottom : 5%;'; hs+='height : 45px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='visibility : inherit;'; hs+='width : 200px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='bottom: 0px;'; hs+='width: 200px;'; hs+='height: 45px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(255,255,255,1);'; hs+='font-size: 16px;'; hs+='font-weight: lighter;'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; els.setAttribute('style',hs); els.innerHTML="BACK"; el.appendChild(els); me._btn_back.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._btn_back.onclick=function (e) { if (player.transitionsDisabled) { me._vr_notice.style[domTransition]='none'; } else { me._vr_notice.style[domTransition]='all 500ms ease-out 0ms'; } me._vr_notice.style.opacity='0'; me._vr_notice.style.visibility='hidden'; } me._btn_back.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px'; } } me._vr_notice.appendChild(me._btn_back); el=me._instructions2=document.createElement('div'); els=me._instructions2__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="instructions2"; el.ggDx=0; el.ggDy=5; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text general_txt"; el.ggType='text'; hs =''; hs+='height : 42px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 800px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 800px;'; hs+='height: 42px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(255,255,255,1);'; hs+='font-size: 12px;'; hs+='font-weight: inherit;'; hs+='text-align: center;'; hs+='white-space: pre-wrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; els.setAttribute('style',hs); els.innerHTML="*VR FUNCTION REQUIRES A VIRTUAL REALITY HEADSET TO VIEW."; el.appendChild(els); me._instructions2.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._instructions2.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=((this.ggDy * ph)/100.0 + ph/2 - h/2) + 'px'; } } me._vr_notice.appendChild(me._instructions2); el=me._instructions=document.createElement('div'); els=me._instructions__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="instructions"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text landing_txt"; el.ggType='text'; hs =''; hs+='height : 42px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 800px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 800px;'; hs+='height: 42px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(255,255,255,1);'; hs+='font-size: 13px;'; hs+='font-weight: inherit;'; hs+='text-align: center;'; hs+='white-space: pre-wrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; els.setAttribute('style',hs); els.innerHTML="Please switch to a mobile device to experience the VR function."; el.appendChild(els); me._instructions.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._instructions.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=((this.ggDy * ph)/100.0 + ph/2 - h/2) + 'px'; } } me._vr_notice.appendChild(me._instructions); el=me._vr_logo=document.createElement('div'); els=me._vr_logo__img=document.createElement('img'); els.className='ggskin ggskin_vr_logo'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAvCAYAAABqrH0KAAAE2klEQVR4nO2cv2/bVhDHv2d0l4yuBcwsXSPPGaogQZcM1dbBQxU0QFZvnoJqdZa2e4I4Qwx0ijJ0c2p2yBYg9NrFFNBd8l/w7fCO1dMzH0XKj6Rk6wMI/PGOj4/Hx7vj6SRBQEh2AfwAYACgD6Absv8WSAHEAMYi8iFkxxKqI5J9AG8ARAAuACQwA99kevrZg7kBT0UkDdFxEMWTHAB4r5uxfm4TQ5gJNQOwH0L5N1Y8yR6Ac2y+WSlLAuChiMzaHsiWLVu2bFlPVnau6lTvw3j7u0gC4GLVCKey4jV0fIO7E8UsI4GJ75PazkDyVxpikgOSUW0nW3NI9kgOSaYkpySHdZ1opEof1XKCDYVkl+RYddMP3Xmkd/UkaMe3BFV+SvJL6I7HJGeaBNuSg5'+ 'peljU5OyX7vQ+Todu+JnsQkTGAK5SM8soqPsLmZxqbIIFJhy9lQfEk+645sRxGHGBgt50UJoW8gEZA39n7dkj+RvKcJGGyjL1mxgjwOsdL5I9zjvm5QP6LI+t1fiTPLLlVTWqKfFMzABBr3+ckh9nFpyRP8kIifQqChkoeBWaceY45Kzjm2g3Ta8ojzZF9V0auxHWNSNK3n2aSz0jGmak50U9TPM9WRIFxTADwyBVWxWb7E5U/tUR+dOTfYf7Inzrye9pu80SXz1R2onKFT2BVROQQxg+Udq7BoDENHd38aDV9tmTcC/4+WxGRfV0e6K6JiESO/ANL/sCRX2hXOtrPa93+pMtvCi7lRjSueBF5LXMeW01fFxx2T5cTpy/JUTown+0TZ//Eac+4gpnhmb/Ibsy/BWO6EY0rPg+94MypX4nIkdPWsbYXHKanr4yp0zz1'+ 'yP2py1fa5x7ME3CEmmhd8TSRxqtsW0SK3o734ERdqn9vZFMGNUO2z8gzX0FpXfEAdu0NX1Rj8VEd4Etr34sVzvutvSEiB5YJjFborxKtK15EIlVk5mgf5UQdtvxjXR7Bb7PL8M8KxwSjdcVnOI72iUfsytn22ey1Z20Ur7iKhRXilcKR33Wadz1yjdNGHG+/Jbr2vJN70NykdJyZ7VOkzwT5wszGyRTfZJ79L2v9/7dULuZRPmORP6z1Fyp/jLki3e87sxeg7C0Wjt/4hLbJyVH0nfY6cjVFeZfUc4yb8PLG8ipfOlcT8LqW5Wqmuox3YN4KnwL4HcDfdQ3KRh3ps5ymU18op6mCU2f3RCOiPPkI15+EpIlQ0cMFgA8wuj5cKl3HjL+t+GZ8HusW1dwZtopvia3iW+KrtgdQFZqazZ9gkmUzmOqHt+2OqjobpXjOf3'+ '0iMBHLPoAByXsiMmpzbMGh+YacNMWqbY6jS/KSZEKrEoLme8zWx6djiUnGITskW66ZtF5C+jltKcnLFobljuOSIcsc9U6GrQusdv4uC2o3aap2yboqdktAU18adoKSPGzzcea89CQqkGl11pN8T1O6EYXuONFHqdHCVcvHjJbIVSoaDYl17uWpgBU67+kdnTaVPtBzTlmyUllN4lSjn0Yg+YsqvdIvQir9FEcv6ASmejiGCelCVhAnMCVwEUyc3of5cqRf5qcuOr4YAAGMMf8vgi7ClyZmY+wBeCsiw8D9L6KO7lBnV52kNKFiJdNG4+Syev66xzfmGoSxN4bGtAT1ITTZ1cZMT1n+A88jEQb0SGZ2AAAAAElFTkSuQmCC'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="vr_logo"; el.ggDx=0; el.ggDy=-6; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='height : 47px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 94px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._vr_logo.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._vr_logo.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=((this.ggDy * ph)/100.0 + ph/2 - h/2) + 'px'; } } me._vr_notice.appendChild(me._vr_logo); me.divSkin.appendChild(me._vr_notice); el=me._btn_vr=document.createElement('div'); els=me._btn_vr__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="btn_vr"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_text btn_vr"; el.ggType='text'; hs =''; hs+='bottom : 36px;'; hs+='cursor : pointer;'; hs+='height : 20px;'; hs+='position : absolute;'; hs+='right : 44px;'; hs+='visibility : hidden;'; hs+='width : 100px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='right: 0px;'; hs+='bottom: 0px;'; hs+='width: 100px;'; hs+='height: 20px;'; hs+='border: 0px solid #ffffff;'; hs+='color: rgba(255,255,255,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="switch to vr"; el.appendChild(els); me._btn_vr.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._btn_vr.onclick=function (e) { if ( ( ((player.hasVR() == true)) ) ) { player.enterVR(); } if ( ( ((player.hasVR() == false)) ) ) { if (player.transitionsDisabled) { me._vr_notice.style[domTransition]='none'; } else { me._vr_notice.style[domTransition]='all 500ms ease-out 0ms'; } me._vr_notice.style.opacity='1'; me._vr_notice.style.visibility=me._vr_notice.ggVisible?'inherit':'hidden'; } } me._btn_vr.ggUpdatePosition=function (useTransition) { } me.divSkin.appendChild(me._btn_vr); el=me._thumbnail_menu=document.createElement('div'); els=me._thumbnail_menu__content=document.createElement('div'); els.className='ggskin ggskin_subelement ggskin_scrollarea'; el.ggContent=els; el.appendChild(els); el.ggHorScrollVisible = false; el.ggVertScrollVisible = false; el.ggContentLeftOffset = 0; el.ggContentTopOffset = 0; hs =''; hs+='height : 89px;'; hs+='left : 50%;'; hs+='margin-left : -69.5px;'; hs+='overflow : visible;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='width : 139px;'; hs+=""; els.setAttribute('style',hs); me._thumbnail_menu.ggScrollByX = function(diffX) { if(!me._thumbnail_menu.ggHorScrollVisible || diffX == 0 || me._thumbnail_menu.ggHPercentVisible >= 1.0) return; me._thumbnail_menu.ggScrollPosX = (me._thumbnail_menu__horScrollFg.offsetLeft + diffX); me._thumbnail_menu.ggScrollPosX = Math.max(me._thumbnail_menu.ggScrollPosX, 0); me._thumbnail_menu.ggScrollPosX = Math.min(me._thumbnail_menu.ggScrollPosX, me._thumbnail_menu__horScrollBg.offsetWidth - me._thumbnail_menu__horScrollFg.offsetWidth); me._thumbnail_menu__horScrollFg.style.left = me._thumbnail_menu.ggScrollPosX + 'px'; me._thumbnail_menu__content.style.left = -(Math.round(me._thumbnail_menu.ggScrollPosX / me._thumbnail_menu.ggHPercentVisible)) + me._thumbnail_menu.ggContentLeftOffset + 'px'; me._thumbnail_menu.ggScrollPosXPercent = (me._thumbnail_menu__horScrollFg.offsetLeft / me._thumbnail_menu__horScrollBg.offsetWidth); } me._thumbnail_menu.ggScrollByXSmooth = function(diffX) { if(!me._thumbnail_menu.ggHorScrollVisible || diffX == 0 || me._thumbnail_menu.ggHPercentVisible >= 1.0) return; var scrollPerInterval = diffX / 25; var scrollCurrX = 0; var id = setInterval(function() { scrollCurrX += scrollPerInterval; me._thumbnail_menu.ggScrollPosX += scrollPerInterval; if (diffX > 0 && (scrollCurrX >= diffX || me._thumbnail_menu.ggScrollPosX >= me._thumbnail_menu__horScrollBg.offsetWidth - me._thumbnail_menu__horScrollFg.offsetWidth)) { me._thumbnail_menu.ggScrollPosX = Math.min(me._thumbnail_menu.ggScrollPosX, me._thumbnail_menu__horScrollBg.offsetWidth - me._thumbnail_menu__horScrollFg.offsetWidth); clearInterval(id); } if (diffX < 0 && (scrollCurrX <= diffX || me._thumbnail_menu.ggScrollPosX <= 0)) { me._thumbnail_menu.ggScrollPosX = Math.max(me._thumbnail_menu.ggScrollPosX, 0); clearInterval(id); } me._thumbnail_menu__horScrollFg.style.left = me._thumbnail_menu.ggScrollPosX + 'px'; me._thumbnail_menu__content.style.left = -(Math.round(me._thumbnail_menu.ggScrollPosX / me._thumbnail_menu.ggHPercentVisible)) + me._thumbnail_menu.ggContentLeftOffset + 'px'; me._thumbnail_menu.ggScrollPosXPercent = (me._thumbnail_menu__horScrollFg.offsetLeft / me._thumbnail_menu__horScrollBg.offsetWidth); }, 10); } me._thumbnail_menu.ggScrollByY = function(diffY) { if(!me._thumbnail_menu.ggVertScrollVisible || diffY == 0 || me._thumbnail_menu.ggVPercentVisible >= 1.0) return; me._thumbnail_menu.ggScrollPosY = (me._thumbnail_menu__vertScrollFg.offsetTop + diffY); me._thumbnail_menu.ggScrollPosY = Math.max(me._thumbnail_menu.ggScrollPosY, 0); me._thumbnail_menu.ggScrollPosY = Math.min(me._thumbnail_menu.ggScrollPosY, me._thumbnail_menu__vertScrollBg.offsetHeight - me._thumbnail_menu__vertScrollFg.offsetHeight); me._thumbnail_menu__vertScrollFg.style.top = me._thumbnail_menu.ggScrollPosY + 'px'; me._thumbnail_menu__content.style.top = -(Math.round(me._thumbnail_menu.ggScrollPosY / me._thumbnail_menu.ggVPercentVisible)) + me._thumbnail_menu.ggContentTopOffset + 'px'; me._thumbnail_menu.ggScrollPosYPercent = (me._thumbnail_menu__vertScrollFg.offsetTop / me._thumbnail_menu__vertScrollBg.offsetHeight); } me._thumbnail_menu.ggScrollByYSmooth = function(diffY) { if(!me._thumbnail_menu.ggVertScrollVisible || diffY == 0 || me._thumbnail_menu.ggVPercentVisible >= 1.0) return; var scrollPerInterval = diffY / 25; var scrollCurrY = 0; var id = setInterval(function() { scrollCurrY += scrollPerInterval; me._thumbnail_menu.ggScrollPosY += scrollPerInterval; if (diffY > 0 && (scrollCurrY >= diffY || me._thumbnail_menu.ggScrollPosY >= me._thumbnail_menu__vertScrollBg.offsetHeight - me._thumbnail_menu__vertScrollFg.offsetHeight)) { me._thumbnail_menu.ggScrollPosY = Math.min(me._thumbnail_menu.ggScrollPosY, me._thumbnail_menu__vertScrollBg.offsetHeight - me._thumbnail_menu__vertScrollFg.offsetHeight); clearInterval(id); } if (diffY < 0 && (scrollCurrY <= diffY || me._thumbnail_menu.ggScrollPosY <= 0)) { me._thumbnail_menu.ggScrollPosY = Math.max(me._thumbnail_menu.ggScrollPosY, 0); clearInterval(id); } me._thumbnail_menu__vertScrollFg.style.top = me._thumbnail_menu.ggScrollPosY + 'px'; me._thumbnail_menu__content.style.top = -(Math.round(me._thumbnail_menu.ggScrollPosY / me._thumbnail_menu.ggVPercentVisible)) + me._thumbnail_menu.ggContentTopOffset + 'px'; me._thumbnail_menu.ggScrollPosYPercent = (me._thumbnail_menu__vertScrollFg.offsetTop / me._thumbnail_menu__vertScrollBg.offsetHeight); }, 10); } me._thumbnail_menu.ggScrollIntoView = function(posX, posY, width, height) { if (me._thumbnail_menu.ggHorScrollVisible) { if (posX < 0) { var diffX = Math.floor(posX * me._thumbnail_menu.ggHPercentVisible); me._thumbnail_menu.ggScrollByXSmooth(diffX); } else if (posX + width > me._thumbnail_menu.offsetWidth - (me._thumbnail_menu.ggVertScrollVisible ? 15 : 0)) { var diffX = Math.ceil(((posX + width) - (me._thumbnail_menu.offsetWidth - (me._thumbnail_menu.ggVertScrollVisible ? 15 : 0))) * me._thumbnail_menu.ggHPercentVisible); me._thumbnail_menu.ggScrollByXSmooth(diffX); } } if (me._thumbnail_menu.ggVertScrollVisible) { if (posY < 0) { var diffY = Math.floor(posY * me._thumbnail_menu.ggVPercentVisible); me._thumbnail_menu.ggScrollByYSmooth(diffY); } else if (posY + height > me._thumbnail_menu.offsetHeight - (me._thumbnail_menu.ggHorScrollVisible ? 15 : 0)) { var diffY = Math.ceil(((posY + height) - (me._thumbnail_menu.offsetHeight - (me._thumbnail_menu.ggHorScrollVisible ? 15 : 0))) * me._thumbnail_menu.ggVPercentVisible); me._thumbnail_menu.ggScrollByYSmooth(diffY); } } } els.ontouchstart = function(e) { e = e || window.event; var t = e.touches; me._thumbnail_menu.ggDragLastX = t[0].clientX; me._thumbnail_menu.ggDragLastY = t[0].clientY; me._thumbnail_menu__content.ontouchend = function() { let inertiaInterval = setInterval(function() { me._thumbnail_menu.ggDragInertiaX *= 0.65; me._thumbnail_menu.ggDragInertiaY *= 0.65; me._thumbnail_menu.ggScrollByX(-me._thumbnail_menu.ggDragInertiaX); me._thumbnail_menu.ggScrollByY(-me._thumbnail_menu.ggDragInertiaY); if (Math.abs(me._thumbnail_menu.ggDragInertiaX) < 1.0 && Math.abs(me._thumbnail_menu.ggDragInertiaY) < 1.0) { clearInterval(inertiaInterval); } }, 50); me._thumbnail_menu__content.ontouchend = null; me._thumbnail_menu__content.ontouchmove = null; } me._thumbnail_menu__content.ontouchmove = function(e) { e = e || window.event; e.preventDefault(); var t = e.touches; var diffX = t[0].clientX - me._thumbnail_menu.ggDragLastX; var diffY = t[0].clientY - me._thumbnail_menu.ggDragLastY; me._thumbnail_menu.ggDragInertiaX = diffX; me._thumbnail_menu.ggDragInertiaY = diffY; me._thumbnail_menu.ggDragLastX = t[0].clientX; me._thumbnail_menu.ggDragLastY = t[0].clientY; me._thumbnail_menu.ggScrollByX(-diffX); me._thumbnail_menu.ggScrollByY(-diffY); } } elHorScrollBg = me._thumbnail_menu__horScrollBg = document.createElement('div'); el.appendChild(elHorScrollBg); elHorScrollBg.setAttribute('style', 'position: absolute; left: 0px; bottom: 0px; visibility: hidden; width: 1536px; height: 15px; background-color: rgba(0,0,0,0.392157); pointer-events: auto;'); elHorScrollBg.className='ggskin ggskin_scrollarea_hscrollbg'; elHorScrollFg = me._thumbnail_menu__horScrollFg = document.createElement('div'); elHorScrollBg.appendChild(elHorScrollFg); elHorScrollFg.className='ggskin ggskin_scrollarea_hscrollfg'; elHorScrollFg.setAttribute('style', 'position: absolute; left: 0px; top: 0px; visibility: hidden; width: 1536px; height: 15px; background-color: rgba(0,0,0,1); pointer-events: auto;'); me._thumbnail_menu.ggScrollPosX = 0; me._thumbnail_menu.ggScrollPosXPercent = 0.0; elHorScrollFg.onmousedown = function(e) { e = e || window.event; e.preventDefault(); e.stopPropagation(); me._thumbnail_menu.ggDragLastX = e.clientX; document.onmouseup = function() { let inertiaInterval = setInterval(function() { me._thumbnail_menu.ggDragInertiaX *= 0.65; me._thumbnail_menu.ggScrollByX(me._thumbnail_menu.ggDragInertiaX); if (Math.abs(me._thumbnail_menu.ggDragInertiaX) < 1.0) { clearInterval(inertiaInterval); } }, 50); document.onmouseup = null; document.onmousemove = null; } document.onmousemove = function(e) { e = e || window.event; e.preventDefault(); var diffX = e.clientX - me._thumbnail_menu.ggDragLastX; me._thumbnail_menu.ggDragInertiaX = diffX; me._thumbnail_menu.ggDragLastX = e.clientX; me._thumbnail_menu.ggScrollByX(diffX); } } elHorScrollFg.ontouchstart = function(e) { e = e || window.event; e.preventDefault(); e.stopPropagation(); var t = e.touches; me._thumbnail_menu.ggDragLastX = t[0].clientX; document.ontouchend = function() { let inertiaInterval = setInterval(function() { me._thumbnail_menu.ggDragInertiaX *= 0.65; me._thumbnail_menu.ggScrollByX(me._thumbnail_menu.ggDragInertiaX); if (Math.abs(me._thumbnail_menu.ggDragInertiaX) < 1.0) { clearInterval(inertiaInterval); } }, 50); document.ontouchend = null; document.ontouchmove = null; } document.ontouchmove = function(e) { e = e || window.event; e.preventDefault(); var t = e.touches; var diffX = t[0].clientX - me._thumbnail_menu.ggDragLastX; me._thumbnail_menu.ggDragInertiaX = diffX; me._thumbnail_menu.ggDragLastX = t[0].clientX; me._thumbnail_menu.ggScrollByX(diffX); } } elHorScrollBg.onmousedown = function(e) { e = e || window.event; e.preventDefault(); var diffX = me._thumbnail_menu.ggScrollWidth; if (e.offsetX < me._thumbnail_menu.ggScrollPosX) { diffX = diffX * -1; } me._thumbnail_menu.ggScrollByXSmooth(diffX); } elHorScrollBg.ontouchstart = function(e) { e = e || window.event; e.preventDefault(); e.stopPropagation(); var t = e.touches; var rect = me._thumbnail_menu__horScrollBg.getBoundingClientRect(); var diffX = me._thumbnail_menu.ggScrollWidth; if ((t[0].clientX - rect.left) < me._thumbnail_menu.ggScrollPosX) { diffX = diffX * -1; } me._thumbnail_menu.ggScrollByXSmooth(diffX); } el.addEventListener('wheel', function(e) { e.preventDefault(); var wheelDelta = Math.sign(e.deltaX); me._thumbnail_menu.ggScrollByXSmooth(20 * wheelDelta); }); elCornerBg = me._thumbnail_menu__cornerBg = document.createElement('div'); el.appendChild(elCornerBg); elCornerBg.setAttribute('style', 'position: absolute; right: 0px; bottom: 0px; visibility: hidden; width: 15px; height: 15px; background-color: rgba(255,255,255,1);'); elCornerBg.className='ggskin ggskin_scrollarea_scrollcorner'; el.ggId="thumbnail_menu"; el.ggDx=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_scrollarea "; el.ggType='scrollarea'; hs =''; hs+='border : 1px solid rgba(0, 0, 0, 0);'; hs+='bottom : 76px;'; hs+='height : 85px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='overflow : hidden;'; hs+='position : absolute;'; hs+='visibility : hidden;'; hs+='width : 80%;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._thumbnail_menu.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._thumbnail_menu.logicBlock_position = function() { var newLogicStatePosition; if ( ((player.getViewerSize().width < 991)) || ((player.getViewerSize().width / player.getViewerSize().height < 1)) ) { newLogicStatePosition = 0; } else { newLogicStatePosition = -1; } if (me._thumbnail_menu.ggCurrentLogicStatePosition != newLogicStatePosition) { me._thumbnail_menu.ggCurrentLogicStatePosition = newLogicStatePosition; me._thumbnail_menu.style[domTransition]='left 0s, bottom 0s, opacity 500ms ease 0ms'; if (me._thumbnail_menu.ggCurrentLogicStatePosition == 0) { this.ggDx = 0; me._thumbnail_menu.style.bottom='100px'; me._thumbnail_menu.ggUpdatePosition(true); } else { me._thumbnail_menu.ggDx=0; me._thumbnail_menu.style.bottom='76px'; me._thumbnail_menu.ggUpdatePosition(true); } } } me._thumbnail_menu.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('opt_thumbnail') == true)) && ((player.getIsTour() == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._thumbnail_menu.ggCurrentLogicStateVisible != newLogicStateVisible) { me._thumbnail_menu.ggCurrentLogicStateVisible = newLogicStateVisible; me._thumbnail_menu.style[domTransition]='left 0s, bottom 0s, opacity 500ms ease 0ms'; if (me._thumbnail_menu.ggCurrentLogicStateVisible == 0) { me._thumbnail_menu.style.visibility=(Number(me._thumbnail_menu.style.opacity)>0||!me._thumbnail_menu.style.opacity)?'inherit':'hidden'; me._thumbnail_menu.ggVisible=true; } else { me._thumbnail_menu.style.visibility="hidden"; me._thumbnail_menu.ggVisible=false; } } } me._thumbnail_menu.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('vis_thumbnail_menu_show') == true)) && ((player.getVariableValue('vis_thumbnail_menu_auto_hide') == true)) && ((player.getVariableValue('vis_timer') == true)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._thumbnail_menu.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._thumbnail_menu.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._thumbnail_menu.style[domTransition]='left 0s, bottom 0s, opacity 500ms ease 0ms'; if (me._thumbnail_menu.ggCurrentLogicStateAlpha == 0) { me._thumbnail_menu.style.visibility=me._thumbnail_menu.ggVisible?'inherit':'hidden'; me._thumbnail_menu.style.opacity=1; } else { setTimeout(function() { if (me._thumbnail_menu.style.opacity == 0.0) { me._thumbnail_menu.style.visibility="hidden"; } }, 505); me._thumbnail_menu.style.opacity=0; } } } me._thumbnail_menu.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px'; } { var horScrollWasVisible = this.ggHorScrollVisible; var vertScrollWasVisible = this.ggVertScrollVisible; this.ggContent.style.left = '0px'; this.ggContent.style.top = '0px'; this.ggContentLeftOffset = 0; this.ggContentTopOffset = 0; var offsetWidthWithScale = this.getBoundingClientRect().width; var offsetHeightWithScale = this.getBoundingClientRect().height; var domRectContent = this.ggContent.getBoundingClientRect(); var minX = 0; var minY = 0; var maxX = 0; var maxY = 0; var stack=[]; stack.push(this.ggContent); while(stack.length>0) { var e=stack.pop(); if (e!=this.ggContent && e.getBoundingClientRect && e.style['display']!='none') { var domRectChild = e.getBoundingClientRect(); var diffX = domRectChild.left - domRectContent.left; minX = Math.min(minX, diffX); maxX = Math.max(maxX, diffX + domRectChild.width); var diffY = domRectChild.top - domRectContent.top; minY = Math.min(minY, diffY); maxY = Math.max(maxY, diffY + domRectChild.height); } if (e.hasChildNodes() && e.style['display']!='none') { for(var i=0;i Math.ceil(offsetWidthWithScale)) { me._thumbnail_menu__horScrollBg.style.visibility = 'inherit'; me._thumbnail_menu__horScrollFg.style.visibility = 'inherit'; me._thumbnail_menu.ggHorScrollVisible = true; } else { me._thumbnail_menu__horScrollBg.style.visibility = 'hidden'; me._thumbnail_menu__horScrollFg.style.visibility = 'hidden'; me._thumbnail_menu.ggHorScrollVisible = false; } if(me._thumbnail_menu.ggHorScrollVisible) { me._thumbnail_menu.ggAvailableHeight = me._thumbnail_menu.offsetHeight - 15; if (me._thumbnail_menu.ggVertScrollVisible) { me._thumbnail_menu.ggAvailableWidth = me._thumbnail_menu.offsetWidth - 15; me._thumbnail_menu.ggAvailableWidthWithScale = me._thumbnail_menu.getBoundingClientRect().width - me._thumbnail_menu__horScrollBg.getBoundingClientRect().height; } else { me._thumbnail_menu.ggAvailableWidth = me._thumbnail_menu.offsetWidth; me._thumbnail_menu.ggAvailableWidthWithScale = me._thumbnail_menu.getBoundingClientRect().width; } me._thumbnail_menu__horScrollBg.style.width = me._thumbnail_menu.ggAvailableWidth + 'px'; me._thumbnail_menu.ggHPercentVisible = contentWidth != 0 ? me._thumbnail_menu.ggAvailableWidthWithScale / contentWidth : 0.0; if (me._thumbnail_menu.ggHPercentVisible > 1.0) me._thumbnail_menu.ggHPercentVisible = 1.0; me._thumbnail_menu.ggScrollWidth = Math.round(me._thumbnail_menu__horScrollBg.offsetWidth * me._thumbnail_menu.ggHPercentVisible); me._thumbnail_menu__horScrollFg.style.width = me._thumbnail_menu.ggScrollWidth + 'px'; me._thumbnail_menu.ggScrollPosX = me._thumbnail_menu.ggScrollPosXPercent * me._thumbnail_menu.ggAvailableWidth; me._thumbnail_menu.ggScrollPosX = Math.min(me._thumbnail_menu.ggScrollPosX, me._thumbnail_menu__horScrollBg.offsetWidth - me._thumbnail_menu__horScrollFg.offsetWidth); me._thumbnail_menu__horScrollFg.style.left = me._thumbnail_menu.ggScrollPosX + 'px'; if (me._thumbnail_menu.ggHPercentVisible < 1.0) { me._thumbnail_menu__content.style.left = -(Math.round(me._thumbnail_menu.ggScrollPosX / me._thumbnail_menu.ggHPercentVisible)) + this.ggContentLeftOffset + 'px'; } } else { me._thumbnail_menu.ggAvailableHeight = me._thumbnail_menu.offsetHeight; me._thumbnail_menu.ggScrollPosX = 0; me._thumbnail_menu.ggScrollPosXPercent = 0.0; } if(horScrollWasVisible != me._thumbnail_menu.ggHorScrollVisible || vertScrollWasVisible != me._thumbnail_menu.ggVertScrollVisible) { me.updateSize(me._thumbnail_menu); me._thumbnail_menu.ggUpdatePosition(); } } } el=me._thumbnail_cloner=document.createElement('div'); el.ggNumRepeat = 1; el.ggNumRows = 0; el.ggNumCols = 0; el.ggWidth = 96; el.ggHeight = 62; el.ggUpdating = false; el.ggFilter = []; el.ggInstances = []; me._thumbnail_cloner.callChildLogicBlocks_changenode = function(){ if(me._thumbnail_cloner.ggInstances) { var i; for(i = 0; i < me._thumbnail_cloner.ggInstances.length; i++) { if (me._thumbnail_cloner.ggInstances[i]._thumbnail_title && me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha) { me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha(); } } } } me._thumbnail_cloner.callChildLogicBlocks_mouseover = function(){ if(me._thumbnail_cloner.ggInstances) { var i; for(i = 0; i < me._thumbnail_cloner.ggInstances.length; i++) { if (me._thumbnail_cloner.ggInstances[i]._thumbnail_active && me._thumbnail_cloner.ggInstances[i]._thumbnail_active.logicBlock_bordercolor) { me._thumbnail_cloner.ggInstances[i]._thumbnail_active.logicBlock_bordercolor(); } } } } me._thumbnail_cloner.callChildLogicBlocks_mouseover = function(){ if(me._thumbnail_cloner.ggInstances) { var i; for(i = 0; i < me._thumbnail_cloner.ggInstances.length; i++) { if (me._thumbnail_cloner.ggInstances[i]._thumbnail_title && me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha) { me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha(); } } } } me._thumbnail_cloner.callChildLogicBlocks_active = function(){ if(me._thumbnail_cloner.ggInstances) { var i; for(i = 0; i < me._thumbnail_cloner.ggInstances.length; i++) { if (me._thumbnail_cloner.ggInstances[i]._thumbnail_active && me._thumbnail_cloner.ggInstances[i]._thumbnail_active.logicBlock_bordercolor) { me._thumbnail_cloner.ggInstances[i]._thumbnail_active.logicBlock_bordercolor(); } } } } me._thumbnail_cloner.callChildLogicBlocks_activehotspotchanged = function(){ if(me._thumbnail_cloner.ggInstances) { var i; for(i = 0; i < me._thumbnail_cloner.ggInstances.length; i++) { if (me._thumbnail_cloner.ggInstances[i]._thumbnail_title && me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha) { me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha(); } } } } me._thumbnail_cloner.callChildLogicBlocks_varchanged_opt_thumbnail_tooltip = function(){ if(me._thumbnail_cloner.ggInstances) { var i; for(i = 0; i < me._thumbnail_cloner.ggInstances.length; i++) { if (me._thumbnail_cloner.ggInstances[i]._thumbnail_title && me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha) { me._thumbnail_cloner.ggInstances[i]._thumbnail_title.logicBlock_alpha(); } } } } el.ggUpdate = function(filter) { if(me._thumbnail_cloner.ggUpdating == true) return; me._thumbnail_cloner.ggUpdating = true; var el=me._thumbnail_cloner; var curNumRows = 0; curNumRows = el.ggNumRepeat; if (curNumRows < 1) curNumRows = 1; if (typeof filter=='object') { el.ggFilter = filter; } else { filter = el.ggFilter; }; if (me.ggTag) filter.push(me.ggTag); filter=filter.sort(); if ((el.ggNumRows == curNumRows) && (el.ggInstances.length > 0) && (filter.length === el.ggCurrentFilter.length) && (filter.every(function(value, index) { return value === el.ggCurrentFilter[index] }) )) { me._thumbnail_cloner.ggUpdating = false; return; } else { el.ggNumCols = 1; el.ggNumRows = curNumRows; } el.ggCurrentFilter = filter; el.ggInstances = []; if (el.hasChildNodes() == true) { while (el.firstChild) { el.removeChild(el.firstChild); } } var tourNodes = player.getNodeIds(); var row = 0; var column = 0; var currentIndex = 0; for (var i=0; i < tourNodes.length; i++) { var nodeId = tourNodes[i]; var passed = true; var nodeData = player.getNodeUserdata(nodeId); if (filter.length > 0) { for (var j=0; j < filter.length; j++) { if (nodeData['tags'].indexOf(filter[j]) == -1) passed = false; } } if (passed) { var parameter={}; parameter.top=(row * me._thumbnail_cloner.ggHeight) + 'px'; parameter.left=(column * me._thumbnail_cloner.ggWidth) + 'px'; parameter.index=currentIndex; parameter.title=nodeData['title']; var inst = new SkinCloner_thumbnail_cloner_Class(nodeId, me, el, parameter); currentIndex++; el.ggInstances.push(inst); el.appendChild(inst.__div); inst.__div.ggObj=inst; skin.updateSize(inst.__div); row++; if (row >= el.ggNumRows) { row = 0; column++; el.ggNumCols++; } } } me._thumbnail_cloner.callChildLogicBlocks_changenode(); me._thumbnail_cloner.callChildLogicBlocks_mouseover(); me._thumbnail_cloner.callChildLogicBlocks_mouseover(); me._thumbnail_cloner.callChildLogicBlocks_active(); me._thumbnail_cloner.callChildLogicBlocks_activehotspotchanged(); me._thumbnail_cloner.callChildLogicBlocks_varchanged_opt_thumbnail_tooltip(); me._thumbnail_cloner.ggUpdating = false; player.triggerEvent('clonerchanged'); if (me._thumbnail_cloner.parentNode.classList.contains('ggskin_subelement') && me._thumbnail_cloner.parentNode.parentNode.classList.contains('ggskin_scrollarea')) me._thumbnail_cloner.parentNode.parentNode.ggUpdatePosition(); } el.ggFilter = []; el.ggFilter[0] = "_nop_"; el.ggId="thumbnail_cloner"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_cloner "; el.ggType='cloner'; hs =''; hs+='height : 62px;'; hs+='left : 0px;'; hs+='overflow : visible;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 96px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._thumbnail_cloner.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._thumbnail_cloner.onmouseover=function (e) { me.elementMouseOver['thumbnail_cloner']=true; } me._thumbnail_cloner.onmouseout=function (e) { me.elementMouseOver['thumbnail_cloner']=false; } me._thumbnail_cloner.ontouchend=function (e) { me.elementMouseOver['thumbnail_cloner']=false; } me._thumbnail_cloner.ggUpdateConditionNodeChange=function () { var cnode=player.getCurrentNode(); for(var i=0; i0) { var e=list.pop(); if (player.transitionsDisabled) { e.style[domTransition]='none'; } else { e.style[domTransition]='all 500ms ease-out 0ms'; } e.ggParameter.sx=2;e.ggParameter.sy=2; e.style[domTransform]=parameterToTransform(e.ggParameter); } var list=me.findElements("idle_node_back",true); while(list.length>0) { var e=list.pop(); if (player.transitionsDisabled) { e.style[domTransition]='none'; } else { e.style[domTransition]='all 500ms ease-out 0ms'; } e.style.opacity='0'; e.style.visibility='hidden'; } } me._node_pulse.ggDeactivate=function () { var list=me.findElements("idle_node_back",true); while(list.length>0) { var e=list.pop(); e.style[domTransition]='none'; e.ggParameter.sx=1;e.ggParameter.sy=1; e.style[domTransform]=parameterToTransform(e.ggParameter); } var list=me.findElements("idle_node_back",true); while(list.length>0) { var e=list.pop(); e.style[domTransition]='none'; e.style.opacity='1'; e.style.visibility=e.ggVisible?'inherit':'hidden'; } } me._node_pulse.ggUpdatePosition=function (useTransition) { } me.divSkin.appendChild(me._node_pulse); el=me._floor_plan=document.createElement('div'); el.ggId="floor_plan"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_container "; el.ggType='container'; hs =''; hs+='height : 100%;'; hs+='left : -1500px;'; hs+='position : absolute;'; hs+='top : -1px;'; hs+='visibility : inherit;'; hs+='width : 40%;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._floor_plan.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._floor_plan.logicBlock_position = function() { var newLogicStatePosition; if ( ((player.getVariableValue('pos_floorplan') == true)) ) { newLogicStatePosition = 0; } else if ( ((player.getVariableValue('pos_floorplan') == false)) ) { newLogicStatePosition = 1; } else { newLogicStatePosition = -1; } if (me._floor_plan.ggCurrentLogicStatePosition != newLogicStatePosition) { me._floor_plan.ggCurrentLogicStatePosition = newLogicStatePosition; me._floor_plan.style[domTransition]='left 500ms ease 0ms, top 500ms ease 0ms, width 0s, height 0s'; if (me._floor_plan.ggCurrentLogicStatePosition == 0) { me._floor_plan.style.left='0px'; me._floor_plan.style.top='0px'; } else if (me._floor_plan.ggCurrentLogicStatePosition == 1) { me._floor_plan.style.left='-1500px'; me._floor_plan.style.top='0px'; } else { me._floor_plan.style.left='-1500px'; me._floor_plan.style.top='-1px'; } } } me._floor_plan.logicBlock_size = function() { var newLogicStateSize; if ( ((player.getIsMobile() == true)) && ((player.getViewerSize().width / player.getViewerSize().height < 1)) ) { newLogicStateSize = 0; } else if ( ((player.getViewerSize().width <= 991)) && ((player.getViewerSize().width / player.getViewerSize().height < 1)) ) { newLogicStateSize = 1; } else { newLogicStateSize = -1; } if (me._floor_plan.ggCurrentLogicStateSize != newLogicStateSize) { me._floor_plan.ggCurrentLogicStateSize = newLogicStateSize; me._floor_plan.style[domTransition]='left 500ms ease 0ms, top 500ms ease 0ms, width 0s, height 0s'; if (me._floor_plan.ggCurrentLogicStateSize == 0) { me._floor_plan.style.width='100%'; me._floor_plan.style.height='100%'; skin.updateSize(me._floor_plan); } else if (me._floor_plan.ggCurrentLogicStateSize == 1) { me._floor_plan.style.width='100%'; me._floor_plan.style.height='100%'; skin.updateSize(me._floor_plan); } else { me._floor_plan.style.width='40%'; me._floor_plan.style.height='100%'; skin.updateSize(me._floor_plan); } } } me._floor_plan.ggUpdatePosition=function (useTransition) { } el=me._background=document.createElement('div'); el.ggId="background"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+='background : rgba(171,171,171,0.901961);'; hs+='border : 0px solid #000000;'; hs+='cursor : default;'; hs+='height : 100%;'; hs+='left : 0%;'; hs+='position : absolute;'; hs+='top : 0%;'; hs+='visibility : inherit;'; hs+='width : 100%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._background.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._background.ggUpdatePosition=function (useTransition) { } me._floor_plan.appendChild(me._background); el=me._map_1=document.createElement('div'); el.ggFilter = ''; el.ggFilteredIds = []; el.ggMapNotLoaded = true; el.ggId="Map 1"; el.ggDx=0; el.ggDy=37; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_map "; el.ggType='map'; hs =''; hs+='z-index: 2;'; hs+='background : #ffffff;'; hs+='border : 0px solid #000000;'; hs+='cursor : default;'; hs+='height : 63.1482%;'; hs+='left : -10000px;'; hs+='overflow : hidden;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 89.974%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._map_1.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._map_1.ggUpdateConditionResize=function () { var mapDetails = player.getMapDetails(me._map_1.ggMapId); if (!(mapDetails.hasOwnProperty('title'))) return; me._map_1.ggCalculateFloorplanSize(mapDetails); me._map_1.ggShowSimpleFloorplan(mapDetails); me._map_1.ggPlaceMarkersOnSimpleFloorplan(); me._map_1.ggRadar.update(); } me._map_1.ggUpdateConditionTimer=function () { me._map_1.ggRadar.update(); } me._map_1.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } me._map_1.ggUpdateConditionResize(); } me._map_1.ggNodeChange=function () { var mapDetails = player.getMapDetails(me._map_1.ggMapId); if (!(mapDetails.hasOwnProperty('title'))) return; me._map_1.ggCalculateFloorplanSize(mapDetails); me._map_1.ggShowSimpleFloorplan(mapDetails); me._map_1.ggPlaceMarkersOnSimpleFloorplan(); me._map_1.ggRadar.update(); if (me._map_1.ggLastNodeId) { var lastActiveMarker = me._map_1.ggSimpleFloorplanMarkerArray[me._map_1.ggLastNodeId]; if (lastActiveMarker && lastActiveMarker.ggDeactivate) lastActiveMarker.ggDeactivate(); } var id = player.getCurrentNode(); var marker = me._map_1.ggSimpleFloorplanMarkerArray[id]; if (marker) { if (marker.ggActivate) marker.ggActivate(); } if (player.getMapType(me._map_1.ggMapId) == 'file') { var coords = player.getNodeMapCoords(id, me._map_1.ggMapId); if (coords.length < 2) { var mapId = player.getMapContainingNode(id); if (mapId != '') { me._map_1.ggChangeMap(mapId); } } } me._map_1.ggLastNodeId = id; } me._floor_plan.appendChild(me._map_1); el=me._text_1=document.createElement('div'); els=me._text_1__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 1"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text disclaimer_txt"; el.ggType='text'; hs =''; hs+='bottom : 7.16%;'; hs+='height : 6%;'; hs+='left : 5.01%;'; hs+='position : absolute;'; hs+='visibility : inherit;'; hs+='width : 90%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='bottom: 0px;'; hs+='width: 100%;'; hs+='height: 100%;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(255,255,255,1);'; hs+='font-size: 10px;'; hs+='font-weight: inherit;'; hs+='text-align: left;'; hs+='white-space: pre-wrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="THE INFORMATION AND CONTENTS HEREIN ARE CURRENT AT THE TIME OF PRODUCTION AND ARE PROVIDED ON AN \"AS IS\" AND \"AS AVAILABLE\" BASIS. WHILE ALL REASONABLE CARE HAS BEEN TAKEN IN PREPARING THIS COLLATERAL, THE DEVELOPER AND ITS AGENTS SHALL NOT BE HELD RESPONSIBLE FOR ANY INACCURACIES OR THE COMPLETENESS OF THE INFORMATION AND CONTENT HEREIN. ALL RENDERINGS, ILLUSTRATIONS, PICTURES, PHOTOGRAPHS AND OTHER GRAPHIC REPRESENTATIVES AND REFERENCES ARE ARTIST\'S IMPRESSIONS ONLY AND MAY BE SUBJECT TO CHANGES AND DEVIATION AS FURTHER MADE BY THE DEVELOPER OR AS REQUIRED BY THE RELEVANT AUTHORITIES. NOTHING HEREIN SHALL FORM PART OF AN OFFER OR CONTRACT OR BE CONSTRUED AS ANY REPRESENTATIONS BY THE DEVELOPER OR ITS AGENTS. THE PLANS DRAWN HEREIN MAY NOT BE TO SCALE, AND THE AREAS AND MEASUREMENTS STATED HEREIN ARE APPROXIMATE AND ARE SUBJECT TO ADJUSTMENTS ON FINAL SURVEY."; el.appendChild(els); me._text_1.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._text_1.ggUpdatePosition=function (useTransition) { } me._floor_plan.appendChild(me._text_1); el=me._btn_close=document.createElement('div'); els=me._btn_close__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="btn_close"; el.ggDx=35; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text btn_close"; el.ggType='text'; hs =''; hs+='bottom : 15px;'; hs+='cursor : pointer;'; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='visibility : inherit;'; hs+='width : auto;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='left: 0px;'; hs+='bottom: 0px;'; hs+='width: auto;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(255,255,255,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="CLOSE"; el.appendChild(els); me._btn_close.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._btn_close.onclick=function (e) { player.setVariableValue('pos_floorplan', false); player.setVariableValue('glow_floorplan', false); } me._btn_close.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; } } me._floor_plan.appendChild(me._btn_close); el=me._txt_units=document.createElement('div'); els=me._txt_units__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="txt_units"; el.ggDx=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_text txt_mirror"; el.ggType='text'; hs =''; hs+='bottom : 10%;'; hs+='height : 50px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='visibility : hidden;'; hs+='width : 80%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='bottom: 0px;'; hs+='width: 100%;'; hs+='height: auto;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(255,255,255,1);'; hs+='text-align: left;'; hs+='white-space: pre-wrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="*Denotes mirror image units"; el.appendChild(els); me._txt_units.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._txt_units.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px'; } } me._floor_plan.appendChild(me._txt_units); el=me._text_box=document.createElement('div'); el.ggId="text_box"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_container "; el.ggType='container'; hs =''; hs+='height : 100%;'; hs+='left : 0px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 100%;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._text_box.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._text_box.ggUpdatePosition=function (useTransition) { } el=me._floorplan_title=document.createElement('div'); els=me._floorplan_title__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="floorplan_title"; el.ggDx=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text floorplan_title"; el.ggType='text'; hs =''; hs+='height : 27.71%;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : 6%;'; hs+='visibility : inherit;'; hs+='width : 80%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: auto;'; hs+='height: auto;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(255,255,255,1);'; hs+='text-align: left;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="2 BEDROOM"; el.appendChild(els); me._floorplan_title.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._floorplan_title.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px'; } } el=me._text_6=document.createElement('div'); els=me._text_6__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 6"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text txt_sq"; el.ggType='text'; hs =''; hs+='height : 60px;'; hs+='left : 0px;'; hs+='position : absolute;'; hs+='top : 60px;'; hs+='visibility : inherit;'; hs+='width : 100%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 100%;'; hs+='height: auto;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(255,255,255,1);'; hs+='text-align: left;'; hs+='white-space: pre-wrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="90 SQ M \/ 969 SQ FTINCLUSIVE OF 10 SQM BALCONY, 4 SQM A\/C LEDGE"; el.appendChild(els); me._text_6.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._text_6.ggUpdatePosition=function (useTransition) { } me._floorplan_title.appendChild(me._text_6); el=me._room=document.createElement('div'); els=me._room__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="room"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text txt_room"; el.ggType='text'; hs =''; hs+='height : 32px;'; hs+='left : 0px;'; hs+='position : absolute;'; hs+='top : 50px;'; hs+='visibility : inherit;'; hs+='width : 160px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: auto;'; hs+='height: auto;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(255,255,255,1);'; hs+='text-align: left;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="TYPE B1"; el.appendChild(els); me._room.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._room.ggUpdatePosition=function (useTransition) { } me._floorplan_title.appendChild(me._room); me._text_box.appendChild(me._floorplan_title); me._floor_plan.appendChild(me._text_box); me.divSkin.appendChild(me._floor_plan); el=me._pulse_timer=document.createElement('div'); el.ggTimestamp=this.ggCurrentTime; el.ggLastIsActive=true; el.ggTimeout=1300; el.ggId="pulse_timer"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : 540px;'; hs+='position : absolute;'; hs+='top : 620px;'; hs+='visibility : inherit;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._pulse_timer.ggIsActive=function() { return (me._pulse_timer.ggTimestamp==0 ? false : (Math.floor((me.ggCurrentTime - me._pulse_timer.ggTimestamp) / me._pulse_timer.ggTimeout) % 2 == 0)); } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._pulse_timer.ggActivate=function () { var list=me.findElements("pulse_test",true); while(list.length>0) { var e=list.pop(); if (player.transitionsDisabled) { e.style[domTransition]='none'; } else { e.style[domTransition]='all 1000ms ease-out 0ms'; } e.ggParameter.sx=2;e.ggParameter.sy=2; e.style[domTransform]=parameterToTransform(e.ggParameter); } var list=me.findElements("pulse_test",true); while(list.length>0) { var e=list.pop(); if (player.transitionsDisabled) { e.style[domTransition]='none'; } else { e.style[domTransition]='all 1000ms ease-out 0ms'; } e.style.opacity='0'; e.style.visibility='hidden'; } } me._pulse_timer.ggDeactivate=function () { var list=me.findElements("pulse_test",true); while(list.length>0) { var e=list.pop(); e.style[domTransition]='none'; e.ggParameter.sx=1;e.ggParameter.sy=1; e.style[domTransform]=parameterToTransform(e.ggParameter); } var list=me.findElements("pulse_test",true); while(list.length>0) { var e=list.pop(); e.style[domTransition]='none'; e.style.opacity='1'; e.style.visibility=e.ggVisible?'inherit':'hidden'; } } me._pulse_timer.ggUpdatePosition=function (useTransition) { } me.divSkin.appendChild(me._pulse_timer); el=me._tour_hotspots=document.createElement('div'); el.ggId="Tour Hotspots"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_container "; el.ggType='container'; hs =''; hs+='height : 20px;'; hs+='left : 169px;'; hs+='position : absolute;'; hs+='top : 180px;'; hs+='visibility : inherit;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._tour_hotspots.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._tour_hotspots.ggUpdatePosition=function (useTransition) { } el=me._timer_mbath=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=5000; el.ggId="timer_mbath"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : 278px;'; hs+='position : absolute;'; hs+='top : 256px;'; hs+='visibility : inherit;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._timer_mbath.ggIsActive=function() { return (me._timer_mbath.ggTimestamp + me._timer_mbath.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._timer_mbath.ggDeactivate=function () { player.openNext("{node5}",""); } me._timer_mbath.ggUpdatePosition=function (useTransition) { } me._tour_hotspots.appendChild(me._timer_mbath); el=me._timer_mbed=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=5000; el.ggId="timer_mbed"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : 278px;'; hs+='position : absolute;'; hs+='top : 256px;'; hs+='visibility : inherit;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._timer_mbed.ggIsActive=function() { return (me._timer_mbed.ggTimestamp + me._timer_mbed.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._timer_mbed.ggDeactivate=function () { player.openNext("{node4}",""); } me._timer_mbed.ggUpdatePosition=function (useTransition) { } me._tour_hotspots.appendChild(me._timer_mbed); el=me._timer_jrbed=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=5000; el.ggId="timer_jrbed"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : 278px;'; hs+='position : absolute;'; hs+='top : 256px;'; hs+='visibility : inherit;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._timer_jrbed.ggIsActive=function() { return (me._timer_jrbed.ggTimestamp + me._timer_jrbed.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._timer_jrbed.ggDeactivate=function () { player.openNext("{node3}",""); } me._timer_jrbed.ggUpdatePosition=function (useTransition) { } me._tour_hotspots.appendChild(me._timer_jrbed); el=me._timer_bath=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=5000; el.ggId="timer_bath"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : 278px;'; hs+='position : absolute;'; hs+='top : 256px;'; hs+='visibility : inherit;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._timer_bath.ggIsActive=function() { return (me._timer_bath.ggTimestamp + me._timer_bath.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._timer_bath.ggDeactivate=function () { player.openNext("{node2}",""); } me._timer_bath.ggUpdatePosition=function (useTransition) { } me._tour_hotspots.appendChild(me._timer_bath); el=me._timer_living=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=5000; el.ggId="timer_living"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : 278px;'; hs+='position : absolute;'; hs+='top : 256px;'; hs+='visibility : inherit;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._timer_living.ggIsActive=function() { return (me._timer_living.ggTimestamp + me._timer_living.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._timer_living.ggDeactivate=function () { player.openNext("{node1}",""); } me._timer_living.ggUpdatePosition=function (useTransition) { } me._tour_hotspots.appendChild(me._timer_living); el=me._timer_foyer=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=5000; el.ggId="timer_foyer"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : 278px;'; hs+='position : absolute;'; hs+='top : 256px;'; hs+='visibility : inherit;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._timer_foyer.ggIsActive=function() { return (me._timer_foyer.ggTimestamp + me._timer_foyer.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._timer_foyer.ggDeactivate=function () { player.openNext("{node7}",""); } me._timer_foyer.ggUpdatePosition=function (useTransition) { } me._tour_hotspots.appendChild(me._timer_foyer); me.divSkin.appendChild(me._tour_hotspots); el=me._info_hotspots=document.createElement('div'); el.ggId="Info Hotspots"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_container "; el.ggType='container'; hs =''; hs+='height : 20px;'; hs+='left : 35px;'; hs+='position : absolute;'; hs+='top : 105px;'; hs+='visibility : inherit;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._info_hotspots.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._info_hotspots.ggUpdatePosition=function (useTransition) { } me.divSkin.appendChild(me._info_hotspots); el=me._screentint_image=document.createElement('div'); el.ggId="screentint_image"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+='background : rgba(0,0,0,0.392157);'; hs+='border : 0px solid #000000;'; hs+='cursor : pointer;'; hs+='height : 100%;'; hs+='left : 0%;'; hs+='position : absolute;'; hs+='top : -0.09%;'; hs+='visibility : hidden;'; hs+='width : 100%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._screentint_image.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._screentint_image.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_image_popup') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._screentint_image.ggCurrentLogicStateVisible != newLogicStateVisible) { me._screentint_image.ggCurrentLogicStateVisible = newLogicStateVisible; me._screentint_image.style[domTransition]=''; if (me._screentint_image.ggCurrentLogicStateVisible == 0) { me._screentint_image.style.visibility=(Number(me._screentint_image.style.opacity)>0||!me._screentint_image.style.opacity)?'inherit':'hidden'; me._screentint_image.ggVisible=true; } else { me._screentint_image.style.visibility="hidden"; me._screentint_image.ggVisible=false; } } } me._screentint_image.ggUpdatePosition=function (useTransition) { } me.divSkin.appendChild(me._screentint_image); el=me._image_popup=document.createElement('div'); el.ggId="image_popup"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_container popup_img"; el.ggType='container'; hs =''; hs+='height : 100%;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 100%;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._image_popup.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._image_popup.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_image_popup') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._image_popup.ggCurrentLogicStateVisible != newLogicStateVisible) { me._image_popup.ggCurrentLogicStateVisible = newLogicStateVisible; me._image_popup.style[domTransition]=''; if (me._image_popup.ggCurrentLogicStateVisible == 0) { me._image_popup.style.visibility=(Number(me._image_popup.style.opacity)>0||!me._image_popup.style.opacity)?'inherit':'hidden'; me._image_popup.ggVisible=true; } else { me._image_popup.style.visibility="hidden"; me._image_popup.ggVisible=false; } } } me._image_popup.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=((this.ggDy * ph)/100.0 + ph/2 - h/2) + 'px'; } } el=me._mwardrobe_img=document.createElement('div'); els=me._mwardrobe_img__img=document.createElement('img'); els.className='ggskin ggskin_mwardrobe_img'; hs=basePath + 'images/mwardrobe_img.png'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;position: relative;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="mwardrobe_img"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_image img_popup"; el.ggType='image'; hs =''; hs+='height : 60%;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : auto;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._mwardrobe_img.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._mwardrobe_img.logicBlock_size = function() { var newLogicStateSize; if ( ((player.getViewerSize().width / player.getViewerSize().height < 1)) ) { newLogicStateSize = 0; } else if ( ((player.getViewerSize().width < 991)) && ((player.getViewerSize().width / player.getViewerSize().height < 1)) ) { newLogicStateSize = 1; } else if ( ((player.getViewerSize().width < 991)) && ((player.getViewerSize().width / player.getViewerSize().height > 1)) ) { newLogicStateSize = 2; } else { newLogicStateSize = -1; } if (me._mwardrobe_img.ggCurrentLogicStateSize != newLogicStateSize) { me._mwardrobe_img.ggCurrentLogicStateSize = newLogicStateSize; me._mwardrobe_img.style[domTransition]='width 0s, height 0s'; if (me._mwardrobe_img.ggCurrentLogicStateSize == 0) { me._mwardrobe_img.style.width='60%'; me._mwardrobe_img.style.height='auto'; skin.updateSize(me._mwardrobe_img); } else if (me._mwardrobe_img.ggCurrentLogicStateSize == 1) { me._mwardrobe_img.style.width='60%'; me._mwardrobe_img.style.height='auto'; skin.updateSize(me._mwardrobe_img); } else if (me._mwardrobe_img.ggCurrentLogicStateSize == 2) { me._mwardrobe_img.style.width='auto'; me._mwardrobe_img.style.height='60%'; skin.updateSize(me._mwardrobe_img); } else { me._mwardrobe_img.style.width='auto'; me._mwardrobe_img.style.height='60%'; me._mwardrobe_img.style.height='60%'; skin.updateSize(me._mwardrobe_img); } } } me._mwardrobe_img.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_image_popup') == false)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._mwardrobe_img.ggCurrentLogicStateVisible != newLogicStateVisible) { me._mwardrobe_img.ggCurrentLogicStateVisible = newLogicStateVisible; me._mwardrobe_img.style[domTransition]='width 0s, height 0s'; if (me._mwardrobe_img.ggCurrentLogicStateVisible == 0) { me._mwardrobe_img.style.visibility="hidden"; me._mwardrobe_img.ggVisible=false; } else { me._mwardrobe_img.style.visibility="hidden"; me._mwardrobe_img.ggVisible=false; } } } me._mwardrobe_img.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._img_txt=document.createElement('div'); els=me._img_txt__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="img_txt"; el.ggDx=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text info_txt popup"; el.ggType='text'; hs =''; hs+='bottom : -50px;'; hs+='height : 50px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='visibility : inherit;'; hs+='width : 500px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='bottom: 0px;'; hs+='width: 500px;'; hs+='height: 50px;'; hs+='pointer-events: none;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="BUILT-IN WARDROBE WITH LED LIGHT STRIP"; el.appendChild(els); me._img_txt.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._img_txt.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_image_popup') == false)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._img_txt.ggCurrentLogicStateVisible != newLogicStateVisible) { me._img_txt.ggCurrentLogicStateVisible = newLogicStateVisible; me._img_txt.style[domTransition]=''; if (me._img_txt.ggCurrentLogicStateVisible == 0) { me._img_txt.style.visibility="hidden"; me._img_txt.ggVisible=false; } else { me._img_txt.style.visibility=(Number(me._img_txt.style.opacity)>0||!me._img_txt.style.opacity)?'inherit':'hidden'; me._img_txt.ggVisible=true; } } } me._img_txt.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; } } me._mwardrobe_img.appendChild(me._img_txt); el=me._close=document.createElement('div'); els=me._close__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Close"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text "; el.ggType='text'; hs =''; hs+='height : 30px;'; hs+='position : absolute;'; hs+='right : -30px;'; hs+='top : -30px;'; hs+='visibility : inherit;'; hs+='width : 30px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='right: 0px;'; hs+='top: 0px;'; hs+='width: 30px;'; hs+='height: 30px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='font-size: 24px;'; hs+='font-weight: normal;'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="X"; el.appendChild(els); me._close.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._close.onclick=function (e) { player.setVariableValue('vis_image_popup', false); } me._close.ggUpdatePosition=function (useTransition) { } me._mwardrobe_img.appendChild(me._close); me._image_popup.appendChild(me._mwardrobe_img); el=me._washer_popup=document.createElement('div'); els=me._washer_popup__img=document.createElement('img'); els.className='ggskin ggskin_external'; els.setAttribute('style','position: absolute;-webkit-user-drag:none;pointer-events:none;;'); els.onload=function() {me._washer_popup.ggUpdatePosition();} el.ggText=basePath + "assets/popups/washer.png"; els.setAttribute('src', el.ggText); els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); hs =''; el.appendChild(els); el.ggSubElement = els; el.ggId="washer_popup"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_external "; el.ggType='external'; hs =''; hs+='background : #5b5b5b;'; hs+='border : 0px solid #000000;'; hs+='cursor : default;'; hs+='height : 60%;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 60%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._washer_popup.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._washer_popup.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } var parentWidth = me._washer_popup.clientWidth; var parentHeight = me._washer_popup.clientHeight; var img = me._washer_popup__img; var aspectRatioDiv = me._washer_popup.clientWidth / me._washer_popup.clientHeight; var aspectRatioImg = img.naturalWidth / img.naturalHeight; var currentWidth,currentHeight; if (aspectRatioDiv > aspectRatioImg) { currentHeight = parentHeight; currentWidth = parentHeight * aspectRatioImg; img.style.width=''; img.style.height=parentHeight + 'px'; } else { currentWidth = parentWidth; currentHeight = parentWidth / aspectRatioImg; img.style.width=parentWidth + 'px'; img.style.height=''; }; img.style.left='50%'; img.style.marginLeft='-' + currentWidth/2 + 'px'; img.style.top='50%'; img.style.marginTop='-' + currentHeight/2 + 'px'; } me._image_popup.appendChild(me._washer_popup); me.divSkin.appendChild(me._image_popup); el=me._frame=document.createElement('div'); el.ggId="frame"; el.ggDx=1; el.ggDy=-2; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_container iframe_border"; el.ggType='container'; hs =''; hs+='z-index: 0;'; hs+='height : 100%;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 100%;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._frame.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._frame.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._aritist_impression=document.createElement('div'); els=me._aritist_impression__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="aritist_impression"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_text txt_artist"; el.ggType='text'; hs =''; hs+='bottom : 2px;'; hs+='height : 30px;'; hs+='left : 17px;'; hs+='position : absolute;'; hs+='visibility : hidden;'; hs+='width : 440px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='bottom: 0px;'; hs+='width: 440px;'; hs+='height: 30px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(255,255,255,1);'; hs+='text-align: left;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; els.setAttribute('style',hs); els.innerHTML="Artist\'s Impression"; el.appendChild(els); me._aritist_impression.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._aritist_impression.ggUpdatePosition=function (useTransition) { } me._frame.appendChild(me._aritist_impression); el=me._logo=document.createElement('div'); els=me._logo__img=document.createElement('img'); els.className='ggskin ggskin_logo'; hs=basePath + 'images/logo.png'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="logo"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='bottom : 20px;'; hs+='height : 29px;'; hs+='left : 20px;'; hs+='position : absolute;'; hs+='visibility : inherit;'; hs+='width : 200px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._logo.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._logo.logicBlock_position = function() { var newLogicStatePosition; if ( ((player.getViewerSize().width <= 991)) ) { newLogicStatePosition = 0; } else { newLogicStatePosition = -1; } if (me._logo.ggCurrentLogicStatePosition != newLogicStatePosition) { me._logo.ggCurrentLogicStatePosition = newLogicStatePosition; me._logo.style[domTransition]='left 0s, bottom 0s, width 0s, height 0s'; if (me._logo.ggCurrentLogicStatePosition == 0) { me._logo.style.left='10px'; me._logo.style.bottom='10px'; } else { me._logo.style.left='20px'; me._logo.style.bottom='20px'; } } } me._logo.logicBlock_size = function() { var newLogicStateSize; if ( ((player.getViewerSize().width <= 991)) ) { newLogicStateSize = 0; } else { newLogicStateSize = -1; } if (me._logo.ggCurrentLogicStateSize != newLogicStateSize) { me._logo.ggCurrentLogicStateSize = newLogicStateSize; me._logo.style[domTransition]='left 0s, bottom 0s, width 0s, height 0s'; if (me._logo.ggCurrentLogicStateSize == 0) { me._logo.style.width='100px'; me._logo.style.height='15px'; skin.updateSize(me._logo); } else { me._logo.style.width='200px'; me._logo.style.height='29px'; skin.updateSize(me._logo); } } } me._logo.ggUpdatePosition=function (useTransition) { } el=me._logo0=document.createElement('div'); els=me._logo0__img=document.createElement('img'); els.className='ggskin ggskin_logo0'; hs=basePath + 'images/logo0.png'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="logo"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='bottom : 1px;'; hs+='height : 29px;'; hs+='left : -1px;'; hs+='position : absolute;'; hs+='visibility : inherit;'; hs+='width : 200px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._logo0.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._logo0.logicBlock_size = function() { var newLogicStateSize; if ( ((player.getViewerSize().width <= 991)) ) { newLogicStateSize = 0; } else { newLogicStateSize = -1; } if (me._logo0.ggCurrentLogicStateSize != newLogicStateSize) { me._logo0.ggCurrentLogicStateSize = newLogicStateSize; me._logo0.style[domTransition]='width 0s, height 0s'; if (me._logo0.ggCurrentLogicStateSize == 0) { me._logo0.style.width='100px'; me._logo0.style.height='15px'; skin.updateSize(me._logo0); } else { me._logo0.style.width='200px'; me._logo0.style.height='29px'; skin.updateSize(me._logo0); } } } me._logo0.ggUpdatePosition=function (useTransition) { } me._logo.appendChild(me._logo0); me._frame.appendChild(me._logo); me.divSkin.appendChild(me._frame); el=me._transition_video=document.createElement('div'); me._transition_video.seekbars = []; me._transition_video.ggInitMedia = function(media) { var notifySeekbars = function() { for (var i = 0; i < me._transition_video.seekbars.length; i++) { var seekbar = me.findElements(me._transition_video.seekbars[i]); if (seekbar.length > 0) seekbar[0].connectToMediaEl(); } } while (me._transition_video.hasChildNodes()) { me._transition_video.removeChild(me._transition_video.lastChild); } if (me._transition_video__vid) { me._transition_video__vid.pause(); } if(media == '') { notifySeekbars(); if (me._transition_video.ggVideoNotLoaded ==false && me._transition_video.ggDeactivate) { me._transition_video.ggDeactivate(); } me._transition_video.ggVideoNotLoaded = true; var mediaObj = player.getMediaObject('transition_video'); if (mediaObj) { mediaObj.autoplay = false; } return; } me._transition_video.ggVideoNotLoaded = false; me._transition_video__vid=document.createElement('video'); me._transition_video__vid.className='ggskin ggskin_video'; me._transition_video__vid.setAttribute('width', '100%'); me._transition_video__vid.setAttribute('height', '100%'); me._transition_video__vid.setAttribute('autoplay', ''); me._transition_video__source=document.createElement('source'); me._transition_video__source.setAttribute('src', media); me._transition_video__vid.setAttribute('playsinline', 'playsinline'); me._transition_video__vid.setAttribute('style', ';'); me._transition_video__vid.appendChild(me._transition_video__source); me._transition_video.appendChild(me._transition_video__vid); var videoEl = player.registerVideoElement('Transition Video', me._transition_video__vid); videoEl.autoplay = true; notifySeekbars(); if (me._transition_video.ggMediaEnded) { me._transition_video__vid.addEventListener('ended', me._transition_video.ggMediaEnded); } me._transition_video.ggVideoSource = media; } el.ggId="Transition Video"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_video "; el.ggType='video'; hs =''; hs+='height : 1080px;'; hs+='left : -10000px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 1920px;'; hs+='pointer-events:auto;'; hs+='object-fit: cover;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._transition_video.ggIsActive=function() { if (me._transition_video__vid != null) { return (me._transition_video__vid.paused == false && me._transition_video__vid.ended == false); } else { return false; } } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._transition_video.ggMediaEnded=function () { if (player.transitionsDisabled) { me._transition_video.style[domTransition]='none'; } else { me._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } me._transition_video.style.opacity='0'; me._transition_video.style.visibility='hidden'; me._video_timer.ggTimeout=Number("0.5") * 1000.0; me._video_timer.ggTimestamp=skin.ggCurrentTime; } me._transition_video.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._video_timer=document.createElement('div'); el.ggTimestamp=0; el.ggLastIsActive=false; el.ggTimeout=1000; el.ggId="Video Timer"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 1082px;'; hs+='left : -880px;'; hs+='position : absolute;'; hs+='top : -497px;'; hs+='visibility : inherit;'; hs+='width : 1920px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._video_timer.ggIsActive=function() { return (me._video_timer.ggTimestamp + me._video_timer.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._video_timer.ggDeactivate=function () { me._transition_video.ggInitMedia(''); me._transition_video.style[domTransition]='none'; me._transition_video.style.visibility='hidden'; me._transition_video.ggVisible=false; } me._video_timer.ggUpdatePosition=function (useTransition) { } me._transition_video.appendChild(me._video_timer); me.divSkin.appendChild(me._transition_video); el=me._splash=document.createElement('div'); el.ggId="Splash"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_container "; el.ggType='container'; hs =''; hs+='height : 100%;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 100%;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._splash.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._splash.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('delayDone') == true)) && ((player.getVariableValue('loadingDone') == true)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._splash.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._splash.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._splash.style[domTransition]='opacity 2000ms ease 0ms'; if (me._splash.ggCurrentLogicStateAlpha == 0) { setTimeout(function() { if (me._splash.style.opacity == 0.0) { me._splash.style.visibility="hidden"; } }, 2005); me._splash.style.opacity=0; } else { me._splash.style.visibility=me._splash.ggVisible?'inherit':'hidden'; me._splash.style.opacity=1; } } } me._splash.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._bg_splash=document.createElement('div'); els=me._bg_splash__img=document.createElement('img'); els.className='ggskin ggskin_external'; els.setAttribute('style','position: absolute;-webkit-user-drag:none;pointer-events:none;;'); els.onload=function() {me._bg_splash.ggUpdatePosition();} el.ggText=basePath + "assets/bglanding_IKIGAI.png"; els.setAttribute('src', el.ggText); els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); hs =''; el.appendChild(els); el.ggSubElement = els; el.ggId="bg_splash"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_external "; el.ggType='external'; hs =''; hs+='background : #ffffff;'; hs+='border : 1px solid #000000;'; hs+='cursor : default;'; hs+='height : 100%;'; hs+='left : -10000px;'; hs+='overflow : hidden;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 100%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._bg_splash.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._bg_splash.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } var parentWidth = me._bg_splash.clientWidth; var parentHeight = me._bg_splash.clientHeight; var img = me._bg_splash__img; var aspectRatioDiv = me._bg_splash.clientWidth / me._bg_splash.clientHeight; var aspectRatioImg = img.naturalWidth / img.naturalHeight; var currentWidth,currentHeight; if (aspectRatioDiv > aspectRatioImg) { currentWidth = parentWidth; currentHeight = parentWidth / aspectRatioImg; img.style.width=parentWidth + 'px'; img.style.height=''; } else { currentHeight = parentHeight; currentWidth = parentHeight * aspectRatioImg; img.style.width=''; img.style.height=parentHeight + 'px'; }; img.style.left='50%'; img.style.marginLeft='-' + currentWidth/2 + 'px'; img.style.top='50%'; img.style.marginTop='-' + currentHeight/2 + 'px'; } me._splash.appendChild(me._bg_splash); el=me._splash_logo=document.createElement('div'); els=me._splash_logo__img=document.createElement('img'); els.className='ggskin ggskin_splash_logo'; hs=basePath + 'images/splash_logo.png'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="splash_logo"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=false; el.className="ggskin ggskin_image "; el.ggType='image'; hs =''; hs+='height : 175px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 398px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._splash_logo.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._splash_logo.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._splash.appendChild(me._splash_logo); el=me._loading_bar=document.createElement('div'); el.ggId="Loading Bar"; el.ggDx=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_container "; el.ggType='container'; hs =''; hs+='bottom : 5%;'; hs+='height : 10px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='visibility : inherit;'; hs+='width : 12%;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._loading_bar.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._loading_bar.logicBlock_size = function() { var newLogicStateSize; if ( ((player.getViewerSize().width / player.getViewerSize().height < 1)) ) { newLogicStateSize = 0; } else { newLogicStateSize = -1; } if (me._loading_bar.ggCurrentLogicStateSize != newLogicStateSize) { me._loading_bar.ggCurrentLogicStateSize = newLogicStateSize; me._loading_bar.style[domTransition]='width 0s, height 0s'; if (me._loading_bar.ggCurrentLogicStateSize == 0) { me._loading_bar.style.width='30%'; me._loading_bar.style.height='10px'; skin.updateSize(me._loading_bar); } else { me._loading_bar.style.width='12%'; me._loading_bar.style.height='10px'; skin.updateSize(me._loading_bar); } } } me._loading_bar.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; } } el=me._loadingbar=document.createElement('div'); el.ggId="loadingBar"; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+='background : rgba(0,0,0,0.313725);'; hs+='border : 0px solid #000000;'; hs+='cursor : default;'; hs+='height : 100%;'; hs+='left : 0px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 100%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='0% 50%'; me._loadingbar.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._loadingbar.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._loading_bar.appendChild(me._loadingbar); el=me._loadingborder=document.createElement('div'); el.ggId="loadingBorder"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+=cssPrefix + 'background-clip : padding-box;'; hs+='background-clip : padding-box;'; hs+='border : 2px solid rgba(0,0,0,0.313725);'; hs+='cursor : default;'; hs+='height : 100%;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 100%;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._loadingborder.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._loadingborder.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._loading_bar.appendChild(me._loadingborder); me._splash.appendChild(me._loading_bar); el=me._splash_delay=document.createElement('div'); el.ggTimestamp=this.ggCurrentTime; el.ggLastIsActive=true; el.ggTimeout=3000; el.ggId="Splash Delay"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_timer "; el.ggType='timer'; hs =''; hs+='height : 20px;'; hs+='left : 910px;'; hs+='position : absolute;'; hs+='top : 334px;'; hs+='visibility : inherit;'; hs+='width : 100px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._splash_delay.ggIsActive=function() { return (me._splash_delay.ggTimestamp + me._splash_delay.ggTimeout) >= me.ggCurrentTime; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._splash_delay.ggDeactivate=function () { player.setVariableValue('delayDone', true); } me._splash_delay.ggUpdatePosition=function (useTransition) { } me._splash.appendChild(me._splash_delay); me.divSkin.appendChild(me._splash); me._map_1.ggMarkerInstances=[]; me._map_1.ggMapId = 'FloorPlan01'; me._map_1.ggLastNodeId=null; me._map_1.ggSimpleFloorplanMarkerArray=[]; me._map_1.ggFloorplanWidth=0; me._map_1.ggFloorplanHeight=0; me._map_1__mapdiv=document.createElement('div'); me._map_1__mapdiv.className='ggskin ggskin_map'; me._map_1.appendChild(me._map_1__mapdiv); me._map_1__img=document.createElement('img'); me._map_1__img.className='ggskin ggskin_map'; me._map_1__mapdiv.appendChild(me._map_1__img); me._map_1.ggRadar={ lastFov : -1, lastPan : -1, xPos : -1, yPos : -1, radarElement : null } me._map_1.ggRadar.update=function() { var radar=me._map_1.ggRadar; var d2r = Math.PI/180 ; var fov = player.getFov(); var pan = player.getPanNorth(); pan -= me._map_1.ggFloorplanNorth; var filterpassed = true; var currentId = player.getCurrentNode(); if (me._map_1.ggFilteredIds.length > 0 && me._map_1.ggFilteredIds.indexOf(currentId) == -1) filterpassed = false; if ((me._map_1.ggSimpleFloorplanMarkerArray.hasOwnProperty(currentId)) && filterpassed) { var activeMarker = me._map_1.ggSimpleFloorplanMarkerArray[currentId]; if ((radar.radarElement) && (fov==radar.lastFov) && (pan==radar.lastPan) && (activeMarker.radarXPos==radar.xPos) && (activeMarker.radarYPos==radar.yPos)) return; radar.lastPan=pan; radar.lastFov=fov; radar.xPos=activeMarker.radarXPos; radar.yPos=activeMarker.radarYPos; if (radar.radarElement) me._map_1__mapdiv.removeChild(radar.radarElement); radar.radarElement = document.createElementNS('http://www.w3.org/2000/svg','svg'); radar.radarElement.setAttributeNS(null,'width',200); radar.radarElement.setAttributeNS(null,'height',200); radar.radarElement.setAttributeNS(null,'viewBox','0 0 200 200'); var radarPath = document.createElementNS('http://www.w3.org/2000/svg','path'); radarPath.setAttributeNS(null,'id','radarPath'); pan = -90 - pan; var arcX1 = 100 * Math.cos((pan - fov / 2) * d2r); var arcY1 = 100 * Math.sin((pan - fov / 2) * d2r); var arcX2 = 100 * Math.cos((pan + fov / 2) * d2r); var arcY2 = 100 * Math.sin((pan + fov / 2) * d2r); arcX1 += 100; arcY1 += 100; arcX2 += 100; arcY2 += 100; var radarPathString = 'M100,100 L' + arcX1 + ',' + arcY1 + ' A 100 100 0 0 1 ' + arcX2 + ' ' + arcY2 +' Z'; radarPath.setAttributeNS(null,'d', radarPathString); radarPath.setAttributeNS(null,'fill', '#e5e5e5'); radarPath.setAttributeNS(null,'fill-opacity', 0.35); radarPath.setAttributeNS(null,'stroke', '#e5e5e5'); radarPath.setAttributeNS(null,'stroke-opacity', 0.8); radarPath.setAttributeNS(null,'stroke-width', 1); radarPath.setAttributeNS(null,'stroke-linejoin', 'miter'); radar.radarElement.appendChild(radarPath); me._map_1__mapdiv.appendChild(radar.radarElement); var radarXPos = activeMarker.radarXPos - 100; var radarYPos = activeMarker.radarYPos - 100; radar.radarElement.style['position'] = 'absolute'; radar.radarElement.style['left'] = '' + radarXPos + 'px'; radar.radarElement.style['top'] = '' + radarYPos + 'px'; radar.radarElement.style['z-index'] = me._map_1.style['z-index'] + 1; } else { if (radar.radarElement) { me._map_1__mapdiv.removeChild(radar.radarElement); radar.radarElement = null; } } } me._map_1.ggShowSimpleFloorplan=function(mapDetails) { var mapWidth = me._map_1.clientWidth; var mapHeight = me._map_1.clientHeight; var levelLimit = 500; var level = 1; while (mapWidth > levelLimit && mapHeight > levelLimit) { levelLimit *= 2; if (mapDetails['width'] < levelLimit || mapDetails['height'] < levelLimit) break; level++; } var imageFilename = basePath + 'images/maptiles/' + me._map_1.ggMapId + '_' + level + '.' + mapDetails['tileformat']; me._map_1__img.setAttribute('src', imageFilename); me._map_1__mapdiv.setAttribute('style','position: absolute; left: 50%; margin-left: -' + me._map_1.ggFloorplanWidth / 2 + 'px; top: 50%; margin-top: -' + me._map_1.ggFloorplanHeight / 2 + 'px;width:' + me._map_1.ggFloorplanWidth + 'px;height:' + me._map_1.ggFloorplanHeight + 'px;overflow:hidden;;'); me._map_1__img.setAttribute('style','width:' + me._map_1.ggFloorplanWidth + 'px;height:' + me._map_1.ggFloorplanHeight + 'px;-webkit-user-drag:none;pointer-events:none;'); } me._map_1.ggCalculateFloorplanSize=function(mapDetails) { var floorplanWidth = mapDetails['width']; var floorplanHeight = mapDetails['height']; var frameAR = me._map_1.clientWidth / me._map_1.clientHeight; var floorplanAR = floorplanWidth / floorplanHeight; if (frameAR > floorplanAR) { me._map_1.ggFloorplanHeight = me._map_1.clientHeight; me._map_1.ggFloorplanWidth = me._map_1.ggFloorplanHeight * floorplanAR; } else { me._map_1.ggFloorplanWidth = me._map_1.clientWidth; me._map_1.ggFloorplanHeight = me._map_1.ggFloorplanWidth / floorplanAR; } } me._map_1.ggInitMap=function() { me._map_1.ggMapNotLoaded = false; var mapDetails = player.getMapDetails(me._map_1.ggMapId); me._map_1.style.backgroundColor = mapDetails['bgcolor']; if (mapDetails.hasOwnProperty('transparent') && mapDetails['transparent']) { me._map_1.ggPermeableMap = true; } else { me._map_1.ggPermeableMap = false; } me._map_1.ggCalculateFloorplanSize(mapDetails); me._map_1.ggShowSimpleFloorplan(mapDetails); me._map_1.ggFloorplanNorth = mapDetails['floorplannorth']; } me._map_1.ggClearMap=function() { me._map_1.ggClearMapMarkers(); me._map_1.ggMapNotLoaded = true; } me._map_1.ggChangeMap=function(mapId) { var newMapType = player.getMapType(mapId) if (newMapType == 'web') { return; } me._map_1.ggMapId = mapId; me._map_1.ggClearMap(); me._map_1.ggInitMap(); me._map_1.ggInitMapMarkers(); } me._map_1.ggPlaceMarkersOnSimpleFloorplan=function() { var markers=me._map_1.ggSimpleFloorplanMarkerArray; for (id in markers) { if (markers.hasOwnProperty(id)) { marker=markers[id]; var coords = player.getNodeMapCoordsInPercent(id, me._map_1.ggMapId); var xPos = (me._map_1.ggFloorplanWidth * coords[0]) / 100.0; var yPos = (me._map_1.ggFloorplanHeight * coords[1]) / 100.0; marker.radarXPos = xPos; marker.radarYPos = yPos; xPos -= me._map_1.ggHMarkerAnchorOffset; yPos -= me._map_1.ggVMarkerAnchorOffset; marker.style['position'] = 'absolute'; marker.style['left'] = xPos + 'px'; marker.style['top'] = yPos + 'px'; marker.style['z-index'] = me._map_1.style['z-index'] + 2; } } } me._map_1.ggInitMapMarkers=function() { me._map_1.ggClearMapMarkers(); var ids=player.getNodeIds(); me._map_1.ggFilteredIds = []; if (me._map_1.ggFilter != '') { var filter = me._map_1.ggFilter.split(','); for (i=0; i < ids.length; i++) { var nodeId = ids[i]; var nodeData = player.getNodeUserdata(nodeId); for (var j=0; j < filter.length; j++) { if (nodeData['tags'].indexOf(filter[j].trim()) != -1) me._map_1.ggFilteredIds.push(nodeId); } } if (me._map_1.ggFilteredIds.length > 0) ids = me._map_1.ggFilteredIds; } for(var i=0; i < ids.length; i++) { var id = ids[i]; var coords = player.getNodeMapCoordsInPercent(id, me._map_1.ggMapId); if (coords.length>=2) { me._map_1.ggHMarkerAnchorOffset = 10; me._map_1.ggVMarkerAnchorOffset = 10; var markerParent = new Object(); markerParent.ggElementNodeId=function() { return id }; var markerClass = new SkinElement_idle_node_Class(me, markerParent); me._map_1.ggMarkerInstances.push(markerClass); var marker = markerClass._idle_node; me._map_1.ggSimpleFloorplanMarkerArray[id] = marker; me._map_1__mapdiv.appendChild(marker); } } me._map_1.ggPlaceMarkersOnSimpleFloorplan(); skin.updateSize(me._map_1); } me._map_1.ggClearMapMarkers=function() { for (id in me._map_1.ggSimpleFloorplanMarkerArray) { if (me._map_1.ggSimpleFloorplanMarkerArray.hasOwnProperty(id)) { me._map_1__mapdiv.removeChild(me._map_1.ggSimpleFloorplanMarkerArray[id]); } } me._map_1.ggMarkerInstances=[]; me._map_1.ggSimpleFloorplanMarkerArray=[]; } me._transition_video.ggVideoSource = ''; me._transition_video.ggVideoNotLoaded = true; player.addListener('sizechanged', function() { me.updateSize(me.divSkin); }); player.addListener('configloaded', function() { if ( ( ((player.getVariableValue('opt_thumbnail') == true)) ) ) { me._thumbnail_cloner.ggText=""; me._thumbnail_cloner.ggUpdate([]); skin.updateSize(skin.divSkin); } me._thumbnail_cloner.ggUpdate(); me._map_1.ggClearMap(); me._map_1.ggInitMap(false); me._map_1.ggInitMapMarkers(true); }); player.addListener('imagesready', function() { me._controller.style[domTransition]='none'; me._controller.style.visibility=(Number(me._controller.style.opacity)>0||!me._controller.style.opacity)?'inherit':'hidden'; me._controller.ggVisible=true; me._thumbnail_menu.ggUpdatePosition(); player.setVariableValue('loadingDone', true); }); player.addListener('playerstatechanged', function() { if ( ( ((player.hasVR() == true)) ) ) { player.setVariableValue('pos_enter_vr', Number("0")); } if ( ( ((player.hasVR() == true)) ) ) { player.setVariableValue('pos_enter_vr', player.getVariableValue('pos_enter_vr') + Number("2")); } if ( ( ((player.hasVR() == true)) ) ) { player.setVariableValue('pos_enter_vr', player.getVariableValue('pos_enter_vr') + Number("1")); } if ( ( ((player.hasVR() == true)) ) ) { player.setVariableValue('pos_enter_vr', player.getVariableValue('pos_enter_vr') + Number("1")); } }); player.addListener('varchanged_toggle_autorot', function() {if ( ( ((player.getVariableValue('toggle_autorot') == true)) )) { player.startAutorotate("0.2");}if ( ( ((player.getVariableValue('toggle_autorot') == false)) )) { player.stopAutorotate();}}); }; this.hotspotProxyClick=function(id, url) { } this.hotspotProxyDoubleClick=function(id, url) { } me.hotspotProxyOver=function(id, url) { } me.hotspotProxyOut=function(id, url) { } me.callChildLogicBlocksHotspot_ht_jrbath_right_sizechanged = function(){ if(hotspotTemplates['ht_jrbath_right']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath_right'].length; i++) { if (hotspotTemplates['ht_jrbath_right'][i]._ht_jrbath_right.logicBlock_visible) { hotspotTemplates['ht_jrbath_right'][i]._ht_jrbath_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbath_right_changenode = function(){ if(hotspotTemplates['ht_jrbath_right']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath_right'].length; i++) { if (hotspotTemplates['ht_jrbath_right'][i]._ht_jrbath_right.logicBlock_visible) { hotspotTemplates['ht_jrbath_right'][i]._ht_jrbath_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbath_right_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_jrbath_right']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath_right'].length; i++) { if (hotspotTemplates['ht_jrbath_right'][i]._ht_jrbath_right.logicBlock_visible) { hotspotTemplates['ht_jrbath_right'][i]._ht_jrbath_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbath_left_sizechanged = function(){ if(hotspotTemplates['ht_jrbath_left']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath_left'].length; i++) { if (hotspotTemplates['ht_jrbath_left'][i]._ht_jrbath_left.logicBlock_visible) { hotspotTemplates['ht_jrbath_left'][i]._ht_jrbath_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbath_left_changenode = function(){ if(hotspotTemplates['ht_jrbath_left']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath_left'].length; i++) { if (hotspotTemplates['ht_jrbath_left'][i]._ht_jrbath_left.logicBlock_visible) { hotspotTemplates['ht_jrbath_left'][i]._ht_jrbath_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbath_left_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_jrbath_left']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath_left'].length; i++) { if (hotspotTemplates['ht_jrbath_left'][i]._ht_jrbath_left.logicBlock_visible) { hotspotTemplates['ht_jrbath_left'][i]._ht_jrbath_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbath_sizechanged = function(){ if(hotspotTemplates['ht_jrbath']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath'].length; i++) { if (hotspotTemplates['ht_jrbath'][i]._ht_jrbath.logicBlock_visible) { hotspotTemplates['ht_jrbath'][i]._ht_jrbath.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbath_changenode = function(){ if(hotspotTemplates['ht_jrbath']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath'].length; i++) { if (hotspotTemplates['ht_jrbath'][i]._ht_jrbath.logicBlock_visible) { hotspotTemplates['ht_jrbath'][i]._ht_jrbath.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbath_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_jrbath']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath'].length; i++) { if (hotspotTemplates['ht_jrbath'][i]._ht_jrbath.logicBlock_visible) { hotspotTemplates['ht_jrbath'][i]._ht_jrbath.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_living_left_sizechanged = function(){ if(hotspotTemplates['ht_living_left']) { var i; for(i = 0; i < hotspotTemplates['ht_living_left'].length; i++) { if (hotspotTemplates['ht_living_left'][i]._ht_living_left.logicBlock_visible) { hotspotTemplates['ht_living_left'][i]._ht_living_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_living_left_changenode = function(){ if(hotspotTemplates['ht_living_left']) { var i; for(i = 0; i < hotspotTemplates['ht_living_left'].length; i++) { if (hotspotTemplates['ht_living_left'][i]._ht_living_left.logicBlock_visible) { hotspotTemplates['ht_living_left'][i]._ht_living_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_living_left_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_living_left']) { var i; for(i = 0; i < hotspotTemplates['ht_living_left'].length; i++) { if (hotspotTemplates['ht_living_left'][i]._ht_living_left.logicBlock_visible) { hotspotTemplates['ht_living_left'][i]._ht_living_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbedroom_right_sizechanged = function(){ if(hotspotTemplates['ht_jrbedroom_right']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom_right'].length; i++) { if (hotspotTemplates['ht_jrbedroom_right'][i]._ht_jrbedroom_right.logicBlock_visible) { hotspotTemplates['ht_jrbedroom_right'][i]._ht_jrbedroom_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbedroom_right_changenode = function(){ if(hotspotTemplates['ht_jrbedroom_right']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom_right'].length; i++) { if (hotspotTemplates['ht_jrbedroom_right'][i]._ht_jrbedroom_right.logicBlock_visible) { hotspotTemplates['ht_jrbedroom_right'][i]._ht_jrbedroom_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbedroom_right_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_jrbedroom_right']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom_right'].length; i++) { if (hotspotTemplates['ht_jrbedroom_right'][i]._ht_jrbedroom_right.logicBlock_visible) { hotspotTemplates['ht_jrbedroom_right'][i]._ht_jrbedroom_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbedroom_left_sizechanged = function(){ if(hotspotTemplates['ht_jrbedroom_left']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom_left'].length; i++) { if (hotspotTemplates['ht_jrbedroom_left'][i]._ht_jrbedroom_left.logicBlock_visible) { hotspotTemplates['ht_jrbedroom_left'][i]._ht_jrbedroom_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbedroom_left_changenode = function(){ if(hotspotTemplates['ht_jrbedroom_left']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom_left'].length; i++) { if (hotspotTemplates['ht_jrbedroom_left'][i]._ht_jrbedroom_left.logicBlock_visible) { hotspotTemplates['ht_jrbedroom_left'][i]._ht_jrbedroom_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbedroom_left_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_jrbedroom_left']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom_left'].length; i++) { if (hotspotTemplates['ht_jrbedroom_left'][i]._ht_jrbedroom_left.logicBlock_visible) { hotspotTemplates['ht_jrbedroom_left'][i]._ht_jrbedroom_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbedroom_sizechanged = function(){ if(hotspotTemplates['ht_jrbedroom']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom'].length; i++) { if (hotspotTemplates['ht_jrbedroom'][i]._ht_jrbedroom.logicBlock_visible) { hotspotTemplates['ht_jrbedroom'][i]._ht_jrbedroom.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbedroom_changenode = function(){ if(hotspotTemplates['ht_jrbedroom']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom'].length; i++) { if (hotspotTemplates['ht_jrbedroom'][i]._ht_jrbedroom.logicBlock_visible) { hotspotTemplates['ht_jrbedroom'][i]._ht_jrbedroom.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_jrbedroom_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_jrbedroom']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom'].length; i++) { if (hotspotTemplates['ht_jrbedroom'][i]._ht_jrbedroom.logicBlock_visible) { hotspotTemplates['ht_jrbedroom'][i]._ht_jrbedroom.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_foyer_sizechanged = function(){ if(hotspotTemplates['ht_foyer']) { var i; for(i = 0; i < hotspotTemplates['ht_foyer'].length; i++) { if (hotspotTemplates['ht_foyer'][i]._ht_foyer.logicBlock_visible) { hotspotTemplates['ht_foyer'][i]._ht_foyer.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_foyer_changenode = function(){ if(hotspotTemplates['ht_foyer']) { var i; for(i = 0; i < hotspotTemplates['ht_foyer'].length; i++) { if (hotspotTemplates['ht_foyer'][i]._ht_foyer.logicBlock_visible) { hotspotTemplates['ht_foyer'][i]._ht_foyer.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_foyer_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_foyer']) { var i; for(i = 0; i < hotspotTemplates['ht_foyer'].length; i++) { if (hotspotTemplates['ht_foyer'][i]._ht_foyer.logicBlock_visible) { hotspotTemplates['ht_foyer'][i]._ht_foyer.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbath_right_sizechanged = function(){ if(hotspotTemplates['ht_mbath_right']) { var i; for(i = 0; i < hotspotTemplates['ht_mbath_right'].length; i++) { if (hotspotTemplates['ht_mbath_right'][i]._ht_mbath_right.logicBlock_visible) { hotspotTemplates['ht_mbath_right'][i]._ht_mbath_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbath_right_changenode = function(){ if(hotspotTemplates['ht_mbath_right']) { var i; for(i = 0; i < hotspotTemplates['ht_mbath_right'].length; i++) { if (hotspotTemplates['ht_mbath_right'][i]._ht_mbath_right.logicBlock_visible) { hotspotTemplates['ht_mbath_right'][i]._ht_mbath_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbath_right_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_mbath_right']) { var i; for(i = 0; i < hotspotTemplates['ht_mbath_right'].length; i++) { if (hotspotTemplates['ht_mbath_right'][i]._ht_mbath_right.logicBlock_visible) { hotspotTemplates['ht_mbath_right'][i]._ht_mbath_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbath_sizechanged = function(){ if(hotspotTemplates['ht_mbath']) { var i; for(i = 0; i < hotspotTemplates['ht_mbath'].length; i++) { if (hotspotTemplates['ht_mbath'][i]._ht_mbath.logicBlock_visible) { hotspotTemplates['ht_mbath'][i]._ht_mbath.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbath_changenode = function(){ if(hotspotTemplates['ht_mbath']) { var i; for(i = 0; i < hotspotTemplates['ht_mbath'].length; i++) { if (hotspotTemplates['ht_mbath'][i]._ht_mbath.logicBlock_visible) { hotspotTemplates['ht_mbath'][i]._ht_mbath.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbath_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_mbath']) { var i; for(i = 0; i < hotspotTemplates['ht_mbath'].length; i++) { if (hotspotTemplates['ht_mbath'][i]._ht_mbath.logicBlock_visible) { hotspotTemplates['ht_mbath'][i]._ht_mbath.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbedroom_right_sizechanged = function(){ if(hotspotTemplates['ht_mbedroom_right']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom_right'].length; i++) { if (hotspotTemplates['ht_mbedroom_right'][i]._ht_mbedroom_right.logicBlock_visible) { hotspotTemplates['ht_mbedroom_right'][i]._ht_mbedroom_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbedroom_right_changenode = function(){ if(hotspotTemplates['ht_mbedroom_right']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom_right'].length; i++) { if (hotspotTemplates['ht_mbedroom_right'][i]._ht_mbedroom_right.logicBlock_visible) { hotspotTemplates['ht_mbedroom_right'][i]._ht_mbedroom_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbedroom_right_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_mbedroom_right']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom_right'].length; i++) { if (hotspotTemplates['ht_mbedroom_right'][i]._ht_mbedroom_right.logicBlock_visible) { hotspotTemplates['ht_mbedroom_right'][i]._ht_mbedroom_right.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbedroom_left_sizechanged = function(){ if(hotspotTemplates['ht_mbedroom_left']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom_left'].length; i++) { if (hotspotTemplates['ht_mbedroom_left'][i]._ht_mbedroom_left.logicBlock_visible) { hotspotTemplates['ht_mbedroom_left'][i]._ht_mbedroom_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbedroom_left_changenode = function(){ if(hotspotTemplates['ht_mbedroom_left']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom_left'].length; i++) { if (hotspotTemplates['ht_mbedroom_left'][i]._ht_mbedroom_left.logicBlock_visible) { hotspotTemplates['ht_mbedroom_left'][i]._ht_mbedroom_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbedroom_left_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_mbedroom_left']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom_left'].length; i++) { if (hotspotTemplates['ht_mbedroom_left'][i]._ht_mbedroom_left.logicBlock_visible) { hotspotTemplates['ht_mbedroom_left'][i]._ht_mbedroom_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbedroom_sizechanged = function(){ if(hotspotTemplates['ht_mbedroom']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom'].length; i++) { if (hotspotTemplates['ht_mbedroom'][i]._ht_mbedroom.logicBlock_visible) { hotspotTemplates['ht_mbedroom'][i]._ht_mbedroom.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbedroom_changenode = function(){ if(hotspotTemplates['ht_mbedroom']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom'].length; i++) { if (hotspotTemplates['ht_mbedroom'][i]._ht_mbedroom.logicBlock_visible) { hotspotTemplates['ht_mbedroom'][i]._ht_mbedroom.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_mbedroom_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_mbedroom']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom'].length; i++) { if (hotspotTemplates['ht_mbedroom'][i]._ht_mbedroom.logicBlock_visible) { hotspotTemplates['ht_mbedroom'][i]._ht_mbedroom.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_foyer_left_sizechanged = function(){ if(hotspotTemplates['ht_foyer_left']) { var i; for(i = 0; i < hotspotTemplates['ht_foyer_left'].length; i++) { if (hotspotTemplates['ht_foyer_left'][i]._ht_foyer_left.logicBlock_visible) { hotspotTemplates['ht_foyer_left'][i]._ht_foyer_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_foyer_left_changenode = function(){ if(hotspotTemplates['ht_foyer_left']) { var i; for(i = 0; i < hotspotTemplates['ht_foyer_left'].length; i++) { if (hotspotTemplates['ht_foyer_left'][i]._ht_foyer_left.logicBlock_visible) { hotspotTemplates['ht_foyer_left'][i]._ht_foyer_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_ht_foyer_left_varchanged_vis_image_popup = function(){ if(hotspotTemplates['ht_foyer_left']) { var i; for(i = 0; i < hotspotTemplates['ht_foyer_left'].length; i++) { if (hotspotTemplates['ht_foyer_left'][i]._ht_foyer_left.logicBlock_visible) { hotspotTemplates['ht_foyer_left'][i]._ht_foyer_left.logicBlock_visible(); } } } } me.callChildLogicBlocksHotspot_info_spot_changenode = function(){ if(hotspotTemplates['info_spot']) { var i; for(i = 0; i < hotspotTemplates['info_spot'].length; i++) { if (hotspotTemplates['info_spot'][i]._txt && hotspotTemplates['info_spot'][i]._txt.logicBlock_alpha) { hotspotTemplates['info_spot'][i]._txt.logicBlock_alpha(); } } } } me.callChildLogicBlocksHotspot_info_spot_varchanged_info_hideAll = function(){ if(hotspotTemplates['info_spot']) { var i; for(i = 0; i < hotspotTemplates['info_spot'].length; i++) { if (hotspotTemplates['info_spot'][i]._txt && hotspotTemplates['info_spot'][i]._txt.logicBlock_alpha) { hotspotTemplates['info_spot'][i]._txt.logicBlock_alpha(); } } } } player.addListener('changenode', function() { me.ggUserdata=player.userdata; }); me.skinTimerEvent=function() { me.ggCurrentTime=new Date().getTime(); if (me.elementMouseOver['controller']) { if ( ( ((player.getVariableValue('opt_autohide') == true)) ) ) { } } if (me._glow_next_timer.ggLastIsActive!=me._glow_next_timer.ggIsActive()) { me._glow_next_timer.ggLastIsActive=me._glow_next_timer.ggIsActive(); if (me._glow_next_timer.ggLastIsActive) { player.setVariableValue('glow_nextpano', true); } else { player.setVariableValue('glow_nextpano', false); } } if (me._glow_fullscreen_timer.ggLastIsActive!=me._glow_fullscreen_timer.ggIsActive()) { me._glow_fullscreen_timer.ggLastIsActive=me._glow_fullscreen_timer.ggIsActive(); if (me._glow_fullscreen_timer.ggLastIsActive) { player.setVariableValue('glow_fullscreen', true); } else { player.setVariableValue('glow_fullscreen', false); } } if (me._glow_autorot_timer.ggLastIsActive!=me._glow_autorot_timer.ggIsActive()) { me._glow_autorot_timer.ggLastIsActive=me._glow_autorot_timer.ggIsActive(); if (me._glow_autorot_timer.ggLastIsActive) { player.setVariableValue('glow_autorot', true); } else { player.setVariableValue('glow_autorot', false); } } if (me.elementMouseDown['zoomout']) { player.changeFovLog(0.5,true); } if (me._glow_zoomout_timer.ggLastIsActive!=me._glow_zoomout_timer.ggIsActive()) { me._glow_zoomout_timer.ggLastIsActive=me._glow_zoomout_timer.ggIsActive(); if (me._glow_zoomout_timer.ggLastIsActive) { player.setVariableValue('glow_zoomout', true); } else { player.setVariableValue('glow_zoomout', false); } } if (me.elementMouseDown['zoomin']) { player.changeFovLog(-0.5,true); } if (me._glow_zoomin_timer.ggLastIsActive!=me._glow_zoomin_timer.ggIsActive()) { me._glow_zoomin_timer.ggLastIsActive=me._glow_zoomin_timer.ggIsActive(); if (me._glow_zoomin_timer.ggLastIsActive) { player.setVariableValue('glow_zoomin', true); } else { player.setVariableValue('glow_zoomin', false); } } if (me._glow_prev_timer.ggLastIsActive!=me._glow_prev_timer.ggIsActive()) { me._glow_prev_timer.ggLastIsActive=me._glow_prev_timer.ggIsActive(); if (me._glow_prev_timer.ggLastIsActive) { player.setVariableValue('glow_prevpano', true); } else { player.setVariableValue('glow_prevpano', false); } } if (me._element_alpha_timer.ggLastIsActive!=me._element_alpha_timer.ggIsActive()) { me._element_alpha_timer.ggLastIsActive=me._element_alpha_timer.ggIsActive(); if (me._element_alpha_timer.ggLastIsActive) { } else { player.setVariableValue('vis_timer', true); } } if (me.elementMouseOver['thumbnail_cloner']) { if ( ( ((player.getVariableValue('opt_autohide') == true)) ) ) { } } if (me._node_pulse.ggLastIsActive!=me._node_pulse.ggIsActive()) { me._node_pulse.ggLastIsActive=me._node_pulse.ggIsActive(); if (me._node_pulse.ggLastIsActive) { var list=me.findElements("idle_node_back",true); while(list.length>0) { var e=list.pop(); if (player.transitionsDisabled) { e.style[domTransition]='none'; } else { e.style[domTransition]='all 500ms ease-out 0ms'; } e.ggParameter.sx=2;e.ggParameter.sy=2; e.style[domTransform]=parameterToTransform(e.ggParameter); } var list=me.findElements("idle_node_back",true); while(list.length>0) { var e=list.pop(); if (player.transitionsDisabled) { e.style[domTransition]='none'; } else { e.style[domTransition]='all 500ms ease-out 0ms'; } e.style.opacity='0'; e.style.visibility='hidden'; } } else { var list=me.findElements("idle_node_back",true); while(list.length>0) { var e=list.pop(); e.style[domTransition]='none'; e.ggParameter.sx=1;e.ggParameter.sy=1; e.style[domTransform]=parameterToTransform(e.ggParameter); } var list=me.findElements("idle_node_back",true); while(list.length>0) { var e=list.pop(); e.style[domTransition]='none'; e.style.opacity='1'; e.style.visibility=e.ggVisible?'inherit':'hidden'; } } } me._map_1.ggUpdateConditionTimer(); if (me._pulse_timer.ggLastIsActive!=me._pulse_timer.ggIsActive()) { me._pulse_timer.ggLastIsActive=me._pulse_timer.ggIsActive(); if (me._pulse_timer.ggLastIsActive) { var list=me.findElements("pulse_test",true); while(list.length>0) { var e=list.pop(); if (player.transitionsDisabled) { e.style[domTransition]='none'; } else { e.style[domTransition]='all 1000ms ease-out 0ms'; } e.ggParameter.sx=2;e.ggParameter.sy=2; e.style[domTransform]=parameterToTransform(e.ggParameter); } var list=me.findElements("pulse_test",true); while(list.length>0) { var e=list.pop(); if (player.transitionsDisabled) { e.style[domTransition]='none'; } else { e.style[domTransition]='all 1000ms ease-out 0ms'; } e.style.opacity='0'; e.style.visibility='hidden'; } } else { var list=me.findElements("pulse_test",true); while(list.length>0) { var e=list.pop(); e.style[domTransition]='none'; e.ggParameter.sx=1;e.ggParameter.sy=1; e.style[domTransform]=parameterToTransform(e.ggParameter); } var list=me.findElements("pulse_test",true); while(list.length>0) { var e=list.pop(); e.style[domTransition]='none'; e.style.opacity='1'; e.style.visibility=e.ggVisible?'inherit':'hidden'; } } } if (me._timer_mbath.ggLastIsActive!=me._timer_mbath.ggIsActive()) { me._timer_mbath.ggLastIsActive=me._timer_mbath.ggIsActive(); if (me._timer_mbath.ggLastIsActive) { } else { player.openNext("{node5}",""); } } if (me._timer_mbed.ggLastIsActive!=me._timer_mbed.ggIsActive()) { me._timer_mbed.ggLastIsActive=me._timer_mbed.ggIsActive(); if (me._timer_mbed.ggLastIsActive) { } else { player.openNext("{node4}",""); } } if (me._timer_jrbed.ggLastIsActive!=me._timer_jrbed.ggIsActive()) { me._timer_jrbed.ggLastIsActive=me._timer_jrbed.ggIsActive(); if (me._timer_jrbed.ggLastIsActive) { } else { player.openNext("{node3}",""); } } if (me._timer_bath.ggLastIsActive!=me._timer_bath.ggIsActive()) { me._timer_bath.ggLastIsActive=me._timer_bath.ggIsActive(); if (me._timer_bath.ggLastIsActive) { } else { player.openNext("{node2}",""); } } if (me._timer_living.ggLastIsActive!=me._timer_living.ggIsActive()) { me._timer_living.ggLastIsActive=me._timer_living.ggIsActive(); if (me._timer_living.ggLastIsActive) { } else { player.openNext("{node1}",""); } } if (me._timer_foyer.ggLastIsActive!=me._timer_foyer.ggIsActive()) { me._timer_foyer.ggLastIsActive=me._timer_foyer.ggIsActive(); if (me._timer_foyer.ggLastIsActive) { } else { player.openNext("{node7}",""); } } if (me._video_timer.ggLastIsActive!=me._video_timer.ggIsActive()) { me._video_timer.ggLastIsActive=me._video_timer.ggIsActive(); if (me._video_timer.ggLastIsActive) { } else { me._transition_video.ggInitMedia(''); me._transition_video.style[domTransition]='none'; me._transition_video.style.visibility='hidden'; me._transition_video.ggVisible=false; } } var hs=''; if (me._loadingbar.ggParameter) { hs+=parameterToTransform(me._loadingbar.ggParameter) + ' '; } hs+='scale(' + (1 * player.getPercentLoaded() + 0) + ',1.0) '; me._loadingbar.style[domTransform]=hs; if (me._splash_delay.ggLastIsActive!=me._splash_delay.ggIsActive()) { me._splash_delay.ggLastIsActive=me._splash_delay.ggIsActive(); if (me._splash_delay.ggLastIsActive) { } else { player.setVariableValue('delayDone', true); } } }; player.addListener('timer', me.skinTimerEvent); function SkinHotspotClass_ht_jrbath_right(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_jrbath_right=document.createElement('div'); el.ggId="ht_jrbath_right"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 614px;'; hs+='position : absolute;'; hs+='top : 58px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_jrbath_right.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_jrbath_right.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_jrbath_right.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_jrbath_right.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_jrbath_right.style[domTransition]=''; if (me._ht_jrbath_right.ggCurrentLogicStateVisible == 0) { me._ht_jrbath_right.style.visibility="hidden"; me._ht_jrbath_right.ggVisible=false; } else { me._ht_jrbath_right.style.visibility=(Number(me._ht_jrbath_right.style.opacity)>0||!me._ht_jrbath_right.style.opacity)?'inherit':'hidden'; me._ht_jrbath_right.ggVisible=true; } } } me._ht_jrbath_right.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_bath.ggTimeout=Number("2") * 1000.0; skin._timer_bath.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbath_right.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbath_right.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_jrbath_right.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_jrbath_right.ggUpdatePosition=function (useTransition) { } el=me._arrow_livingroom_right1=document.createElement('div'); els=me._arrow_livingroom_right1__img=document.createElement('img'); els.className='ggskin ggskin_arrow_livingroom_right1'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAOCAYAAADNGCeJAAAAt0lEQVQ4jY3SYQ3CMBCG4QYFkzAHTMIkIGEOQAIOmINVwhyAA+oAHKwOXn7sSJql/dr+a/Lk6/XuHPAFFqBz4gABeEoHTOznreDB9SrwAkTgAwzCDeY25Y5wrLhgblKBnUEUPLhrLXA1+CjC3Xpzi3IpnCtuNudPpeqcc2e7BvWLxL1yYLCpxsogeluTmO0vMNqUYsOKlF2ylKFheTdz2aB/E9dK0E0+mEzNl0KanVUzqaCk+rsyPyNjVTa4KGTWAAAAAElFTkSuQmCC'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="arrow_livingroom_right"; el.ggDx=0; el.ggDy=50; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow"; el.ggType='image'; hs =''; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 19px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._arrow_livingroom_right1.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._arrow_livingroom_right1.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbath_right.appendChild(me._arrow_livingroom_right1); el=me._svg_bath21=document.createElement('div'); els=me._svg_bath21__img=document.createElement('img'); els.className='ggskin ggskin_svg'; me._svg_bath21__img.setAttribute('src',basePath + 'images/svg_bath21.svg'); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="svg_bath2"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon svg_bath"; el.ggType='svg'; hs =''; hs+='height : 39px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 55px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_bath21.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_bath21.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbath_right.appendChild(me._svg_bath21); el=me._text_211=document.createElement('div'); els=me._text_211__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=35; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Bath"; el.appendChild(els); me._text_211.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_211.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbath_right.appendChild(me._text_211); me.__div = me._ht_jrbath_right; }; function SkinHotspotClass_ht_jrbath_left(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_jrbath_left=document.createElement('div'); el.ggId="ht_jrbath_left"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 617px;'; hs+='position : absolute;'; hs+='top : 256px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_jrbath_left.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_jrbath_left.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_jrbath_left.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_jrbath_left.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_jrbath_left.style[domTransition]=''; if (me._ht_jrbath_left.ggCurrentLogicStateVisible == 0) { me._ht_jrbath_left.style.visibility="hidden"; me._ht_jrbath_left.ggVisible=false; } else { me._ht_jrbath_left.style.visibility=(Number(me._ht_jrbath_left.style.opacity)>0||!me._ht_jrbath_left.style.opacity)?'inherit':'hidden'; me._ht_jrbath_left.ggVisible=true; } } } me._ht_jrbath_left.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_bath.ggTimeout=Number("2") * 1000.0; skin._timer_bath.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbath_left.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbath_left.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_jrbath_left.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_jrbath_left.ggUpdatePosition=function (useTransition) { } el=me._image_29=document.createElement('div'); els=me._image_29__img=document.createElement('img'); els.className='ggskin ggskin_image_29'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAOCAYAAADNGCeJAAAAxElEQVQ4jY3SQRGDMBBG4aVTAUiIBBwUCUhAAhKQUAk4aCXEATgoDsDB66E/M52WbJJTDt+8nUnWLHGAAMzAM2XkatcBDbABO9A4oQZ4yfVnoFNoLQilBwI9n7MAtRP6duEMTAJTJjTKxT+nB3wI3FOR34EpsAj0mVCUG1LmYmaL7jcvZmbxcN4zGDBo6lz48K474C7orUQrt3nu2J0slFvlOi8YSj5FW5D/PMFYGDzWZbyeoaqqdjNrtXchFZPrgdXM7A25VFRFv8UeTQAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="Image 2"; el.ggDx=0; el.ggDy=50; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow left"; el.ggType='image'; hs =''; hs+='height : 14px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 19px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._image_29.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._image_29.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbath_left.appendChild(me._image_29); el=me._text_210=document.createElement('div'); els=me._text_210__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=35; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Bath"; el.appendChild(els); me._text_210.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_210.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbath_left.appendChild(me._text_210); el=me._svg_bath20=document.createElement('div'); els=me._svg_bath20__img=document.createElement('img'); els.className='ggskin ggskin_svg'; me._svg_bath20__img.setAttribute('src',basePath + 'images/svg_bath20.svg'); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="svg_bath2"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon svg_bath"; el.ggType='svg'; hs =''; hs+='height : 39px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 55px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_bath20.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_bath20.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbath_left.appendChild(me._svg_bath20); me.__div = me._ht_jrbath_left; }; function SkinHotspotClass_ht_jrbath(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_jrbath=document.createElement('div'); el.ggId="ht_jrbath"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 446px;'; hs+='position : absolute;'; hs+='top : 255px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_jrbath.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_jrbath.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_jrbath.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_jrbath.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_jrbath.style[domTransition]=''; if (me._ht_jrbath.ggCurrentLogicStateVisible == 0) { me._ht_jrbath.style.visibility="hidden"; me._ht_jrbath.ggVisible=false; } else { me._ht_jrbath.style.visibility=(Number(me._ht_jrbath.style.opacity)>0||!me._ht_jrbath.style.opacity)?'inherit':'hidden'; me._ht_jrbath.ggVisible=true; } } } me._ht_jrbath.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_bath.ggTimeout=Number("2") * 1000.0; skin._timer_bath.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbath.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbath.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_jrbath.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_jrbath.ggUpdatePosition=function (useTransition) { } el=me._image_28=document.createElement('div'); els=me._image_28__img=document.createElement('img'); els.className='ggskin ggskin_image_28'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAATCAYAAACgADyUAAAAvUlEQVQ4jaWTWxWDMBBEIyESkICESqgEJCChEuKgOCgS6qA4aB0EB7c/E04O3cLS8hU2ubOPTALwArrg/IABGMsC4OyAks72AYjABGSg3YA6QUMdjCo5A9GAToJGS7EFZuBRw4pnVfUhula+VZU8JWhDRi9XZZ+3el/DZXquaVtwdwjyKk8/OCcF4K5edgcA9Dp7+ds5jXX51f5iAktxcc4q3nics1y+/qPbBBWclMU1uAKXN8phEyhj/23/DSj+abIRV81TAAAAAElFTkSuQmCC'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="Image 2"; el.ggDx=0; el.ggDy=60; el.ggParameter={ rx:0,ry:0,a:90,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow down"; el.ggType='image'; hs =''; hs+='height : 19px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 14px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; el.style[domTransform]=parameterToTransform(el.ggParameter); me._image_28.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._image_28.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbath.appendChild(me._image_28); el=me._svg_bath2=document.createElement('div'); els=me._svg_bath2__img=document.createElement('img'); els.className='ggskin ggskin_svg'; me._svg_bath2__img.setAttribute('src',basePath + 'images/svg_bath2.svg'); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="svg_bath2"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon svg_bath"; el.ggType='svg'; hs =''; hs+='height : 39px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 55px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_bath2.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_bath2.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbath.appendChild(me._svg_bath2); el=me._text_29=document.createElement('div'); els=me._text_29__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=35; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Bath"; el.appendChild(els); me._text_29.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_29.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbath.appendChild(me._text_29); me.__div = me._ht_jrbath; }; function SkinHotspotClass_ht_living_left(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_living_left=document.createElement('div'); el.ggId="ht_living_left"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 613px;'; hs+='position : absolute;'; hs+='top : 450px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_living_left.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_living_left.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_living_left.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_living_left.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_living_left.style[domTransition]=''; if (me._ht_living_left.ggCurrentLogicStateVisible == 0) { me._ht_living_left.style.visibility="hidden"; me._ht_living_left.ggVisible=false; } else { me._ht_living_left.style.visibility=(Number(me._ht_living_left.style.opacity)>0||!me._ht_living_left.style.opacity)?'inherit':'hidden'; me._ht_living_left.ggVisible=true; } } } me._ht_living_left.onclick=function (e) { player.openNext(me.hotspot.url,me.hotspot.target); skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_living_left.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_living_left.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_living_left.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_living_left.ggUpdatePosition=function (useTransition) { } el=me._svg_livingroom0=document.createElement('div'); els=me._svg_livingroom0__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjMyLjMxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjIuMDY0IiB2aWV3Qm94PSIwIDAgNjIuMDY0IDMyLjMxNiI+CiA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIiBpZD0iR3JvdXBfODcxMSIgZGF0YS1uYW1lPSJHcm91cCA4NzExIj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIiBpZD0iR3JvdXBfODU3NiIgZGF0YS1uYW1lPSJHcm91cCA4NTc2Ij4KICAgPGcgaWQ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LDAsMCwuNzA5LDcuMTQzLDcuMTQzLDAsMCwxLTEuMTg0LDEuNDg0LDcuMjI1LDcuMjI1LDAsMCwxLDEuNDg1LTEuMTg0LjY3OC42NzgsMCwwLDAsLjcwOSwwLDcuMjUyLDcuMjUyLDAsMCwxLDEuNDg0LDEuMTg0LDcuMTQ0LDcuMTQ0LDAsMCwxLTEuMTg0LTEuNDg0LjY3OC42NzgsMCwwLDAsMC0uNzA5LDcuMTQ0LDcuMTQ0LDAsMCwxLDEuMTg0LTEuNDg0QTcuMjIyLDcuMjIyLDAsMCwxLDMwNi4wODQsMTQ0LjkxN1oiLz4KICAgPC9nPgogIDwvZz4KIDwvZz4KPC9zdmc+Cg=='; me._svg_livingroom0__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="svg_livingroom"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_livingroom svg_icon svg_shadow"; el.ggType='svg'; hs =''; hs+='height : 32px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 52px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_livingroom0.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_livingroom0.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_living_left.appendChild(me._svg_livingroom0); el=me._image_27=document.createElement('div'); els=me._image_27__img=document.createElement('img'); els.className='ggskin ggskin_image_27'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAOCAYAAADNGCeJAAAAxElEQVQ4jY3SQRGDMBBG4aVTAUiIBBwUCUhAAhKQUAk4aCXEATgoDsDB66E/M52WbJJTDt+8nUnWLHGAAMzAM2XkatcBDbABO9A4oQZ4yfVnoFNoLQilBwI9n7MAtRP6duEMTAJTJjTKxT+nB3wI3FOR34EpsAj0mVCUG1LmYmaL7jcvZmbxcN4zGDBo6lz48K474C7orUQrt3nu2J0slFvlOi8YSj5FW5D/PMFYGDzWZbyeoaqqdjNrtXchFZPrgdXM7A25VFRFv8UeTQAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="Image 2"; el.ggDx=0; el.ggDy=50; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow left"; el.ggType='image'; hs =''; hs+='height : 14px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 19px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._image_27.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._image_27.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_living_left.appendChild(me._image_27); el=me._text_2_shadow0=document.createElement('div'); els=me._text_2_shadow0__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2_shadow"; el.ggDx=0; el.ggDy=30; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Living room"; el.appendChild(els); me._text_2_shadow0.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_2_shadow0.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_living_left.appendChild(me._text_2_shadow0); me.__div = me._ht_living_left; }; function SkinHotspotClass_ht_jrbedroom_right(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_jrbedroom_right=document.createElement('div'); el.ggId="ht_jrbedroom_right"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 440px;'; hs+='position : absolute;'; hs+='top : 450px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_jrbedroom_right.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_jrbedroom_right.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_jrbedroom_right.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_jrbedroom_right.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_jrbedroom_right.style[domTransition]=''; if (me._ht_jrbedroom_right.ggCurrentLogicStateVisible == 0) { me._ht_jrbedroom_right.style.visibility="hidden"; me._ht_jrbedroom_right.ggVisible=false; } else { me._ht_jrbedroom_right.style.visibility=(Number(me._ht_jrbedroom_right.style.opacity)>0||!me._ht_jrbedroom_right.style.opacity)?'inherit':'hidden'; me._ht_jrbedroom_right.ggVisible=true; } } } me._ht_jrbedroom_right.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_jrbed.ggTimeout=Number("2") * 1000.0; skin._timer_jrbed.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom_right.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom_right.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom_right.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom_right.ggUpdatePosition=function (useTransition) { } el=me._arrow_right=document.createElement('div'); els=me._arrow_right__img=document.createElement('img'); els.className='ggskin ggskin_arrow_right'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAOCAYAAADNGCeJAAAAt0lEQVQ4jY3SYQ3CMBCG4QYFkzAHTMIkIGEOQAIOmINVwhyAA+oAHKwOXn7sSJql/dr+a/Lk6/XuHPAFFqBz4gABeEoHTOznreDB9SrwAkTgAwzCDeY25Y5wrLhgblKBnUEUPLhrLXA1+CjC3Xpzi3IpnCtuNudPpeqcc2e7BvWLxL1yYLCpxsogeluTmO0vMNqUYsOKlF2ylKFheTdz2aB/E9dK0E0+mEzNl0KanVUzqaCk+rsyPyNjVTa4KGTWAAAAAElFTkSuQmCC'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="arrow_right"; el.ggDx=0; el.ggDy=50; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow"; el.ggType='image'; hs =''; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 19px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._arrow_right.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._arrow_right.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbedroom_right.appendChild(me._arrow_right); el=me._svg_bed24=document.createElement('div'); els=me._svg_bed24__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM3Ljc0OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjMuODc0IiB2aWV3Qm94PSIwIDAgNjMuODc0IDM3Ljc0OCI+CiA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzU3LjQ5OSAtNDY1LjA5KSIgaWQ9Ikdyb3VwXzg3MjMiIGRhdGEtbmFtZT0iR3JvdXAgODcyMyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQ2NSAzOSkiIGlkPSJHcm91cF84NzE4IiBkYXRhLW5hbWU9Ikdyb3VwIDg3MTgiPgogICA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4MjEuNDY3IDQwNC41MDEpIiBpZD0iUGF0aF8xMDQ4NCIgZmlsbD0iI2ZmZiIgZG'+ 'F0YS1uYW1lPSJQYXRoIDEwNDg0IiBkPSJNNjAuMyw1NS44MzdhLjI0My4yNDMsMCwwLDEtLjA1OS0uMDA3LjI4LjI4LDAsMCwxLS4xNzctLjEyNWwtMi40NTUtMy45NzlIOC4yOTJMNS44MzcsNTUuN2EuMjguMjgsMCwwLDEtLjE3Mi4xMjVsLS4wNjQuMDA4YS4yNjcuMjY3LDAsMCwxLS4xNDQtLjA0MWwtLjc5Mi0uNDg5YS4yNzUuMjc1LDAsMCwxLS4wOS0uMzgxbDEuOTc0LTMuMkg1LjIwNmEuMjc4LjI3OCwwLDAsMS0uMjc4LS4yNzh2LTkuMWEuMjc4LjI3OCwwLDAsMSwuMjc4LS4yNzhINy42NDdsMC0xLjZ2LTE1LjFhL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NzU2LDAsMCwwLDMzLjksNDAuNDYxYTIuNTM4LDIuNTM4LDAsMCwwLS4wMDkuMjYxdjEuMzQ2SD'+ 'U3LjE2OFY0MC43NDVhNS43NjgsNS43NjgsMCwwLDAtNS43NjItNS43NjJabS0yNC43NjEtLjJhNS43NzQsNS43NzQsMCwwLDAtNS43NTgsNS43M3YxLjU2SDMyLjQwN1Y0MC40NTZhNS43ODMsNS43ODMsMCwwLDAtNS43NjItNS42NzhabTExLjc1My0xLjQ4NGE3LjI2LDcuMjYsMCwwLDEsNi4yOTMsMy42NjhsLjI2LjQ1Ni4yNzItLjQ0OWE3LjE3Myw3LjE3MywwLDAsMSw2LjE4My0zLjQ3SDUxLjQwNmE3LjI3OCw3LjI3OCwwLDAsMSw1LjIzMywyLjI1MWwuNTMxLjU1NlYyNi41NzNIOS4xMzR2OS41MmwuNTMxLS41NTVhNy4yOCw3LjI4LDAsMCwxLDUuMjI3LTIuMjQ1WiIvPgogIDwvZz4KIDwv'+ 'Zz4KPC9zdmc+Cg=='; me._svg_bed24__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="Svg bed2"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon svg_bedroom"; el.ggType='svg'; hs =''; hs+='height : 28px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 48px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_bed24.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_bed24.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbedroom_right.appendChild(me._svg_bed24); el=me._text_28=document.createElement('div'); els=me._text_28__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=30; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Bedroom 2"; el.appendChild(els); me._text_28.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_28.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbedroom_right.appendChild(me._text_28); me.__div = me._ht_jrbedroom_right; }; function SkinHotspotClass_ht_jrbedroom_left(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_jrbedroom_left=document.createElement('div'); el.ggId="ht_jrbedroom_left"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 275px;'; hs+='position : absolute;'; hs+='top : 450px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_jrbedroom_left.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_jrbedroom_left.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_jrbedroom_left.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_jrbedroom_left.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_jrbedroom_left.style[domTransition]=''; if (me._ht_jrbedroom_left.ggCurrentLogicStateVisible == 0) { me._ht_jrbedroom_left.style.visibility="hidden"; me._ht_jrbedroom_left.ggVisible=false; } else { me._ht_jrbedroom_left.style.visibility=(Number(me._ht_jrbedroom_left.style.opacity)>0||!me._ht_jrbedroom_left.style.opacity)?'inherit':'hidden'; me._ht_jrbedroom_left.ggVisible=true; } } } me._ht_jrbedroom_left.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_jrbed.ggTimeout=Number("2") * 1000.0; skin._timer_jrbed.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom_left.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom_left.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom_left.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom_left.ggUpdatePosition=function (useTransition) { } el=me._image_26=document.createElement('div'); els=me._image_26__img=document.createElement('img'); els.className='ggskin ggskin_image_26'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAOCAYAAADNGCeJAAAAxElEQVQ4jY3SQRGDMBBG4aVTAUiIBBwUCUhAAhKQUAk4aCXEATgoDsDB66E/M52WbJJTDt+8nUnWLHGAAMzAM2XkatcBDbABO9A4oQZ4yfVnoFNoLQilBwI9n7MAtRP6duEMTAJTJjTKxT+nB3wI3FOR34EpsAj0mVCUG1LmYmaL7jcvZmbxcN4zGDBo6lz48K474C7orUQrt3nu2J0slFvlOi8YSj5FW5D/PMFYGDzWZbyeoaqqdjNrtXchFZPrgdXM7A25VFRFv8UeTQAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="Image 2"; el.ggDx=0; el.ggDy=50; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow left"; el.ggType='image'; hs =''; hs+='height : 14px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 19px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._image_26.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._image_26.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbedroom_left.appendChild(me._image_26); el=me._svg_bed23=document.createElement('div'); els=me._svg_bed23__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM3Ljc0OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjMuODc0IiB2aWV3Qm94PSIwIDAgNjMuODc0IDM3Ljc0OCI+CiA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzU3LjQ5OSAtNDY1LjA5KSIgaWQ9Ikdyb3VwXzg3MjMiIGRhdGEtbmFtZT0iR3JvdXAgODcyMyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQ2NSAzOSkiIGlkPSJHcm91cF84NzE4IiBkYXRhLW5hbWU9Ikdyb3VwIDg3MTgiPgogICA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4MjEuNDY3IDQwNC41MDEpIiBpZD0iUGF0aF8xMDQ4NCIgZmlsbD0iI2ZmZiIgZG'+ 'F0YS1uYW1lPSJQYXRoIDEwNDg0IiBkPSJNNjAuMyw1NS44MzdhLjI0My4yNDMsMCwwLDEtLjA1OS0uMDA3LjI4LjI4LDAsMCwxLS4xNzctLjEyNWwtMi40NTUtMy45NzlIOC4yOTJMNS44MzcsNTUuN2EuMjguMjgsMCwwLDEtLjE3Mi4xMjVsLS4wNjQuMDA4YS4yNjcuMjY3LDAsMCwxLS4xNDQtLjA0MWwtLjc5Mi0uNDg5YS4yNzUuMjc1LDAsMCwxLS4wOS0uMzgxbDEuOTc0LTMuMkg1LjIwNmEuMjc4LjI3OCwwLDAsMS0uMjc4LS4yNzh2LTkuMWEuMjc4LjI3OCwwLDAsMSwuMjc4LS4yN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zMuMjQtMTUuMjU5QTUuNzU2LDUuNzU2LDAsMCwwLDMzLjksNDAuNDYxYTIuNTM4LDIuNTM4LDAsMCwwLS4wMDkuMjYxdjEuMzQ2SD'+ 'U3LjE2OFY0MC43NDVhNS43NjgsNS43NjgsMCwwLDAtNS43NjItNS43NjJabS0yNC43NjEtLjJhNS43NzQsNS43NzQsMCwwLDAtNS43NTgsNS43M3YxLjU2SDMyLjQwN1Y0MC40NTZhNS43ODMsNS43ODMsMCwwLDAtNS43NjItNS42NzhabTExLjc1My0xLjQ4NGE3LjI2LDcuMjYsMCwwLDEsNi4yOTMsMy42NjhsLjI2LjQ1Ni4yNzItLjQ0OWE3LjE3Myw3LjE3MywwLDAsMSw2LjE4My0zLjQ3SDUxLjQwNmE3LjI3OCw3LjI3OCwwLDAsMSw1LjIzMywyLjI1MWwuNTMxLjU1NlYyNi41NzNIOS4xMzR2OS41MmwuNTMxLS41NTVhNy4yOCw3LjI4LDAsMCwxLDUuMjI3LTIuMjQ1WiIvPgogIDwvZz4KIDwv'+ 'Zz4KPC9zdmc+Cg=='; me._svg_bed23__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="Svg bed2"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon svg_bedroom"; el.ggType='svg'; hs =''; hs+='height : 28px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 48px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_bed23.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_bed23.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbedroom_left.appendChild(me._svg_bed23); el=me._text_27=document.createElement('div'); els=me._text_27__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=30; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Bedroom 2"; el.appendChild(els); me._text_27.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_27.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbedroom_left.appendChild(me._text_27); me.__div = me._ht_jrbedroom_left; }; function SkinHotspotClass_ht_jrbedroom(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_jrbedroom=document.createElement('div'); el.ggId="ht_jrbedroom"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 101px;'; hs+='position : absolute;'; hs+='top : 450px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_jrbedroom.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_jrbedroom.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_jrbedroom.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_jrbedroom.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_jrbedroom.style[domTransition]=''; if (me._ht_jrbedroom.ggCurrentLogicStateVisible == 0) { me._ht_jrbedroom.style.visibility="hidden"; me._ht_jrbedroom.ggVisible=false; } else { me._ht_jrbedroom.style.visibility=(Number(me._ht_jrbedroom.style.opacity)>0||!me._ht_jrbedroom.style.opacity)?'inherit':'hidden'; me._ht_jrbedroom.ggVisible=true; } } } me._ht_jrbedroom.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_jrbed.ggTimeout=Number("2") * 1000.0; skin._timer_jrbed.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_jrbedroom.ggUpdatePosition=function (useTransition) { } el=me._sv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NjgsMCwwLDAtNS43NjItNS43NjJabS0yNC43NjEtLjJhNS43NzQsNS43NzQsMCwwLDAtNS43NTgsNS43M3YxLjU2SDMyLjQwN1Y0MC40NTZhNS43ODMsNS43ODMsMCwwLDAtNS43NjItNS42NzhabTExLjc1My0xLjQ4NGE3LjI2LDcuMjYsMCwwLDEsNi4yOTMsMy42NjhsLjI2LjQ1Ni4yNzItLjQ0OWE3LjE3Myw3LjE3MywwLDAsMSw2LjE4My0zLjQ3SDUxLjQwNmE3LjI3OCw3LjI3OCwwLDAsMSw1LjIzMywyLjI1MWwuNTMxLjU1NlYyNi41NzNIOS4xMzR2OS41MmwuNTMxLS41NTVhNy4yOCw3LjI4LDAsMCwxLDUuMjI3LTIuMjQ1WiIvPgogIDwvZz4KIDwv'+ 'Zz4KPC9zdmc+Cg=='; me._svg_bed22__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="Svg bed2"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon svg_bedroom"; el.ggType='svg'; hs =''; hs+='height : 28px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 48px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_bed22.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_bed22.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbedroom.appendChild(me._svg_bed22); el=me._image_25=document.createElement('div'); els=me._image_25__img=document.createElement('img'); els.className='ggskin ggskin_image_25'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAATCAYAAACgADyUAAAAvUlEQVQ4jaWTWxWDMBBEIyESkICESqgEJCChEuKgOCgS6qA4aB0EB7c/E04O3cLS8hU2ubOPTALwArrg/IABGMsC4OyAks72AYjABGSg3YA6QUMdjCo5A9GAToJGS7EFZuBRw4pnVfUhula+VZU8JWhDRi9XZZ+3el/DZXquaVtwdwjyKk8/OCcF4K5edgcA9Dp7+ds5jXX51f5iAktxcc4q3nics1y+/qPbBBWclMU1uAKXN8phEyhj/23/DSj+abIRV81TAAAAAElFTkSuQmCC'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="Image 2"; el.ggDx=0; el.ggDy=60; el.ggParameter={ rx:0,ry:0,a:90,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow down"; el.ggType='image'; hs =''; hs+='height : 19px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 14px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; el.style[domTransform]=parameterToTransform(el.ggParameter); me._image_25.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._image_25.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbedroom.appendChild(me._image_25); el=me._text_26=document.createElement('div'); els=me._text_26__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=30; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Bedroom 2"; el.appendChild(els); me._text_26.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_26.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_jrbedroom.appendChild(me._text_26); me.__div = me._ht_jrbedroom; }; function SkinHotspotClass_ht_foyer(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_foyer=document.createElement('div'); el.ggId="ht_foyer"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : -69px;'; hs+='position : absolute;'; hs+='top : 256px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_foyer.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_foyer.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_foyer.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_foyer.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_foyer.style[domTransition]=''; if (me._ht_foyer.ggCurrentLogicStateVisible == 0) { me._ht_foyer.style.visibility="hidden"; me._ht_foyer.ggVisible=false; } else { me._ht_foyer.style.visibility=(Number(me._ht_foyer.style.opacity)>0||!me._ht_foyer.style.opacity)?'inherit':'hidden'; me._ht_foyer.ggVisible=true; } } } me._ht_foyer.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_foyer.ggTimeout=Number("2") * 1000.0; skin._timer_foyer.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_foyer.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_foyer.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_foyer.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_foyer.ggUpdatePosition=function (useTransition) { } el=me._svg_foyer0=document.createElement('div'); els=me._svg_foyer0__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2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LjQyOCwyMDguNDQ2YTguNTE4LDguNT'+ 'E4LDAsMSwwLTguNTE4LTguNTE4QTguNTI3LDguNTI3LDAsMCwwLDI3Ny40MjgsMjA4LjQ0NlptMC0xNi4xMThhNy42LDcuNiwwLDEsMS03LjYsNy42QTcuNjA4LDcuNjA4LDAsMCwxLDI3Ny40MjgsMTkyLjMyOFoiLz4KIDwvZz4KPC9zdmc+Cg=='; me._svg_foyer0__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="Svg foyer"; el.ggDx=0; el.ggDy=-8; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon"; el.ggType='svg'; hs =''; hs+='height : 55px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 60px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_foyer0.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_foyer0.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_foyer.appendChild(me._svg_foyer0); el=me._image_24=document.createElement('div'); els=me._image_24__img=document.createElement('img'); els.className='ggskin ggskin_image_24'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAATCAYAAACgADyUAAAAvUlEQVQ4jaWTWxWDMBBEIyESkICESqgEJCChEuKgOCgS6qA4aB0EB7c/E04O3cLS8hU2ubOPTALwArrg/IABGMsC4OyAks72AYjABGSg3YA6QUMdjCo5A9GAToJGS7EFZuBRw4pnVfUhula+VZU8JWhDRi9XZZ+3el/DZXquaVtwdwjyKk8/OCcF4K5edgcA9Dp7+ds5jXX51f5iAktxcc4q3nics1y+/qPbBBWclMU1uAKXN8phEyhj/23/DSj+abIRV81TAAAAAElFTkSuQmCC'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="Image 2"; el.ggDx=0; el.ggDy=60; el.ggParameter={ rx:0,ry:0,a:90,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow down"; el.ggType='image'; hs =''; hs+='height : 19px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 14px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; el.style[domTransform]=parameterToTransform(el.ggParameter); me._image_24.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._image_24.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_foyer.appendChild(me._image_24); el=me._text_25=document.createElement('div'); els=me._text_25__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=35; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Dining Room"; el.appendChild(els); me._text_25.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_25.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_foyer.appendChild(me._text_25); me.__div = me._ht_foyer; }; function SkinHotspotClass_ht_mbath_right(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_mbath_right=document.createElement('div'); el.ggId="ht_mbath_right"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 430px;'; hs+='position : absolute;'; hs+='top : 59px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_mbath_right.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_mbath_right.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_mbath_right.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_mbath_right.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_mbath_right.style[domTransition]=''; if (me._ht_mbath_right.ggCurrentLogicStateVisible == 0) { me._ht_mbath_right.style.visibility="hidden"; me._ht_mbath_right.ggVisible=false; } else { me._ht_mbath_right.style.visibility=(Number(me._ht_mbath_right.style.opacity)>0||!me._ht_mbath_right.style.opacity)?'inherit':'hidden'; me._ht_mbath_right.ggVisible=true; } } } me._ht_mbath_right.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_mbath.ggTimeout=Number("2") * 1000.0; skin._timer_mbath.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_mbath_right.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_mbath_right.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_mbath_right.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_mbath_right.ggUpdatePosition=function (useTransition) { } el=me._arrow_livingroom_right0=document.createElement('div'); els=me._arrow_livingroom_right0__img=document.createElement('img'); els.className='ggskin ggskin_arrow_livingroom_right0'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAOCAYAAADNGCeJAAAAt0lEQVQ4jY3SYQ3CMBCG4QYFkzAHTMIkIGEOQAIOmINVwhyAA+oAHKwOXn7sSJql/dr+a/Lk6/XuHPAFFqBz4gABeEoHTOznreDB9SrwAkTgAwzCDeY25Y5wrLhgblKBnUEUPLhrLXA1+CjC3Xpzi3IpnCtuNudPpeqcc2e7BvWLxL1yYLCpxsogeluTmO0vMNqUYsOKlF2ylKFheTdz2aB/E9dK0E0+mEzNl0KanVUzqaCk+rsyPyNjVTa4KGTWAAAAAElFTkSuQmCC'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="arrow_livingroom_right"; el.ggDx=0; el.ggDy=50; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow"; el.ggType='image'; hs =''; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 19px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._arrow_livingroom_right0.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._arrow_livingroom_right0.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbath_right.appendChild(me._arrow_livingroom_right0); el=me._svg_bath0=document.createElement('div'); els=me._svg_bath0__img=document.createElement('img'); els.className='ggskin ggskin_svg'; me._svg_bath0__img.setAttribute('src',basePath + 'images/svg_bath0.svg'); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="svg_bath"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon svg_bath"; el.ggType='svg'; hs =''; hs+='height : 39px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 55px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_bath0.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_bath0.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbath_right.appendChild(me._svg_bath0); el=me._text_24=document.createElement('div'); els=me._text_24__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=35; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Master Bath"; el.appendChild(els); me._text_24.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_24.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbath_right.appendChild(me._text_24); me.__div = me._ht_mbath_right; }; function SkinHotspotClass_ht_mbath(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_mbath=document.createElement('div'); el.ggId="ht_mbath"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 263px;'; hs+='position : absolute;'; hs+='top : 60px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_mbath.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_mbath.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_mbath.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_mbath.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_mbath.style[domTransition]=''; if (me._ht_mbath.ggCurrentLogicStateVisible == 0) { me._ht_mbath.style.visibility="hidden"; me._ht_mbath.ggVisible=false; } else { me._ht_mbath.style.visibility=(Number(me._ht_mbath.style.opacity)>0||!me._ht_mbath.style.opacity)?'inherit':'hidden'; me._ht_mbath.ggVisible=true; } } } me._ht_mbath.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_mbath.ggTimeout=Number("2") * 1000.0; skin._timer_mbath.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_mbath.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_mbath.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_mbath.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_mbath.ggUpdatePosition=function (useTransition) { } el=me._svg_bath=document.createElement('div'); els=me._svg_bath__img=document.createElement('img'); els.className='ggskin ggskin_svg'; me._svg_bath__img.setAttribute('src',basePath + 'images/svg_bath.svg'); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="svg_bath"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon svg_bath"; el.ggType='svg'; hs =''; hs+='height : 39px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 55px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_bath.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_bath.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbath.appendChild(me._svg_bath); el=me._image_23=document.createElement('div'); els=me._image_23__img=document.createElement('img'); els.className='ggskin ggskin_image_23'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAATCAYAAACgADyUAAAAvUlEQVQ4jaWTWxWDMBBEIyESkICESqgEJCChEuKgOCgS6qA4aB0EB7c/E04O3cLS8hU2ubOPTALwArrg/IABGMsC4OyAks72AYjABGSg3YA6QUMdjCo5A9GAToJGS7EFZuBRw4pnVfUhula+VZU8JWhDRi9XZZ+3el/DZXquaVtwdwjyKk8/OCcF4K5edgcA9Dp7+ds5jXX51f5iAktxcc4q3nics1y+/qPbBBWclMU1uAKXN8phEyhj/23/DSj+abIRV81TAAAAAElFTkSuQmCC'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="Image 2"; el.ggDx=0; el.ggDy=60; el.ggParameter={ rx:0,ry:0,a:90,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow down"; el.ggType='image'; hs =''; hs+='height : 19px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 14px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; el.style[domTransform]=parameterToTransform(el.ggParameter); me._image_23.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._image_23.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbath.appendChild(me._image_23); el=me._text_23=document.createElement('div'); els=me._text_23__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=35; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Master Bath"; el.appendChild(els); me._text_23.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_23.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbath.appendChild(me._text_23); me.__div = me._ht_mbath; }; function SkinHotspotClass_ht_mbedroom_right(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_mbedroom_right=document.createElement('div'); el.ggId="ht_mbedroom_right"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 103px;'; hs+='position : absolute;'; hs+='top : 255px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_mbedroom_right.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_mbedroom_right.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_mbedroom_right.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_mbedroom_right.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_mbedroom_right.style[domTransition]=''; if (me._ht_mbedroom_right.ggCurrentLogicStateVisible == 0) { me._ht_mbedroom_right.style.visibility="hidden"; me._ht_mbedroom_right.ggVisible=false; } else { me._ht_mbedroom_right.style.visibility=(Number(me._ht_mbedroom_right.style.opacity)>0||!me._ht_mbedroom_right.style.opacity)?'inherit':'hidden'; me._ht_mbedroom_right.ggVisible=true; } } } me._ht_mbedroom_right.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_mbed.ggTimeout=Number("2") * 1000.0; skin._timer_mbed.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom_right.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom_right.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom_right.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom_right.ggUpdatePosition=function (useTransition) { } el=me._arrow_livingroom_right=document.createElement('div'); els=me._arrow_livingroom_right__img=document.createElement('img'); els.className='ggskin ggskin_arrow_livingroom_right'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAOCAYAAADNGCeJAAAAt0lEQVQ4jY3SYQ3CMBCG4QYFkzAHTMIkIGEOQAIOmINVwhyAA+oAHKwOXn7sSJql/dr+a/Lk6/XuHPAFFqBz4gABeEoHTOznreDB9SrwAkTgAwzCDeY25Y5wrLhgblKBnUEUPLhrLXA1+CjC3Xpzi3IpnCtuNudPpeqcc2e7BvWLxL1yYLCpxsogeluTmO0vMNqUYsOKlF2ylKFheTdz2aB/E9dK0E0+mEzNl0KanVUzqaCk+rsyPyNjVTa4KGTWAAAAAElFTkSuQmCC'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="arrow_livingroom_right"; el.ggDx=0; el.ggDy=50; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow"; el.ggType='image'; hs =''; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 19px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._arrow_livingroom_right.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._arrow_livingroom_right.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbedroom_right.appendChild(me._arrow_livingroom_right); el=me._svg_bed21=document.createElement('div'); els=me._svg_bed21__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM3Ljc0OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjMuODc0IiB2aWV3Qm94PSIwIDAgNjMuODc0IDM3Ljc0OCI+CiA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzU3LjQ5OSAtNDY1LjA5KSIgaWQ9Ikdyb3VwXzg3MjMiIGRhdGEtbmFtZT0iR3JvdXAgODcyMyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQ2NSAzOSkiIGlkPSJHcm91cF84NzE4IiBkYXRhLW5hbWU9Ikdyb3VwIDg3MTgiPgogICA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4MjEuNDY3IDQwNC41MDEpIiBpZD0iUGF0aF8xMDQ4NCIgZmlsbD0iI2ZmZiIgZG'+ 'F0YS1uYW1lPSJQYXRoIDEwNDg0IiBkPSJNNjAuMyw1NS44MzdhLjI0My4yNDMsMCwwLDEtLjA1OS0uMDA3LjI4LjI4LDAsMCwxLS4xNzctLjEyNWwtMi40NTUtMy45NzlIOC4yOTJMNS44MzcsNTUuN2EuMjguMjgsMCwwLDEtLjE3Mi4xMjVsLS4wNjQuMDA4YS4yNjcuMjY3LDAsMCwxLS4xNDQtLjA0MWwtLjc5Mi0uNDg5YS4yNzUuMjc1LDAsMCwxLS4wOS0uMzgxbDEuOTc0LTMuMkg1LjIwNmEuMjc4LjI3OCwwLDAsMS0uMjc4LS4yNzh2LTkuMWEuMjc4LjI3OCwwLDAsMSwuMjc4LS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lptMzMuMjQtMTUuMjU5QTUuNzU2LDUuNzU2LDAsMCwwLDMzLjksNDAuNDYxYTIuNTM4LDIuNTM4LDAsMCwwLS4wMDkuMjYxdjEuMzQ2SD'+ 'U3LjE2OFY0MC43NDVhNS43NjgsNS43NjgsMCwwLDAtNS43NjItNS43NjJabS0yNC43NjEtLjJhNS43NzQsNS43NzQsMCwwLDAtNS43NTgsNS43M3YxLjU2SDMyLjQwN1Y0MC40NTZhNS43ODMsNS43ODMsMCwwLDAtNS43NjItNS42NzhabTExLjc1My0xLjQ4NGE3LjI2LDcuMjYsMCwwLDEsNi4yOTMsMy42NjhsLjI2LjQ1Ni4yNzItLjQ0OWE3LjE3Myw3LjE3MywwLDAsMSw2LjE4My0zLjQ3SDUxLjQwNmE3LjI3OCw3LjI3OCwwLDAsMSw1LjIzMywyLjI1MWwuNTMxLjU1NlYyNi41NzNIOS4xMzR2OS41MmwuNTMxLS41NTVhNy4yOCw3LjI4LDAsMCwxLDUuMjI3LTIuMjQ1WiIvPgogIDwvZz4KIDwv'+ 'Zz4KPC9zdmc+Cg=='; me._svg_bed21__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="Svg bed2"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon svg_bedroom"; el.ggType='svg'; hs =''; hs+='height : 28px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 48px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_bed21.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_bed21.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbedroom_right.appendChild(me._svg_bed21); el=me._text_22=document.createElement('div'); els=me._text_22__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=35; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Master Bedroom"; el.appendChild(els); me._text_22.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_22.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbedroom_right.appendChild(me._text_22); me.__div = me._ht_mbedroom_right; }; function SkinHotspotClass_ht_mbedroom_left(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_mbedroom_left=document.createElement('div'); el.ggId="ht_mbedroom_left"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : -69px;'; hs+='position : absolute;'; hs+='top : 449px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_mbedroom_left.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_mbedroom_left.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_mbedroom_left.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_mbedroom_left.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_mbedroom_left.style[domTransition]=''; if (me._ht_mbedroom_left.ggCurrentLogicStateVisible == 0) { me._ht_mbedroom_left.style.visibility="hidden"; me._ht_mbedroom_left.ggVisible=false; } else { me._ht_mbedroom_left.style.visibility=(Number(me._ht_mbedroom_left.style.opacity)>0||!me._ht_mbedroom_left.style.opacity)?'inherit':'hidden'; me._ht_mbedroom_left.ggVisible=true; } } } me._ht_mbedroom_left.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_mbed.ggTimeout=Number("2") * 1000.0; skin._timer_mbed.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom_left.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom_left.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom_left.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom_left.ggUpdatePosition=function (useTransition) { } el=me._image_22=document.createElement('div'); els=me._image_22__img=document.createElement('img'); els.className='ggskin ggskin_image_22'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAOCAYAAADNGCeJAAAAxElEQVQ4jY3SQRGDMBBG4aVTAUiIBBwUCUhAAhKQUAk4aCXEATgoDsDB66E/M52WbJJTDt+8nUnWLHGAAMzAM2XkatcBDbABO9A4oQZ4yfVnoFNoLQilBwI9n7MAtRP6duEMTAJTJjTKxT+nB3wI3FOR34EpsAj0mVCUG1LmYmaL7jcvZmbxcN4zGDBo6lz48K474C7orUQrt3nu2J0slFvlOi8YSj5FW5D/PMFYGDzWZbyeoaqqdjNrtXchFZPrgdXM7A25VFRFv8UeTQAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="Image 2"; el.ggDx=0; el.ggDy=50; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow left"; el.ggType='image'; hs =''; hs+='height : 14px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 19px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._image_22.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._image_22.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbedroom_left.appendChild(me._image_22); el=me._svg_bed20=document.createElement('div'); els=me._svg_bed20__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM3Ljc0OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjMuODc0IiB2aWV3Qm94PSIwIDAgNjMuODc0IDM3Ljc0OCI+CiA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzU3LjQ5OSAtNDY1LjA5KSIgaWQ9Ikdyb3VwXzg3MjMiIGRhdGEtbmFtZT0iR3JvdXAgODcyMyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQ2NSAzOSkiIGlkPSJHcm91cF84NzE4IiBkYXRhLW5hbWU9Ikdyb3VwIDg3MTgiPgogICA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4MjEuNDY3IDQwNC41MDEpIiBpZD0iUGF0aF8xMDQ4NCIgZmlsbD0iI2ZmZiIgZG'+ 'F0YS1uYW1lPSJQYXRoIDEwNDg0IiBkPSJNNjAuMyw1NS44MzdhLjI0My4yNDMsMCwwLDEtLjA1OS0uMDA3LjI4LjI4LDAsMCwxLS4xNzctLjEyNWwtMi40NTUtMy45NzlIOC4yOTJMNS44MzcsNTUuN2EuMjguMjgsMCwwLDEtLjE3Mi4xMjVsLS4wNjQuMDA4YS4yNjcuMjY3LDAsMCwxLS4xNDQtLjA0MWwtLjc5Mi0uNDg5YS4yNzUuMjc1LDAsMCwxLS4wOS0uMzgxbDEuOTc0LTMuMkg1LjIwNmEuMjc4LjI3OCwwLDAsMS0uMjc4LS4yNzh2LTkuMWEuMjc4LjI3OCwwLDAsMSwuMjc4L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MlptMzMuMjQtMTUuMjU5QTUuNzU2LDUuNzU2LDAsMCwwLDMzLjksNDAuNDYxYTIuNTM4LDIuNTM4LDAsMCwwLS4wMDkuMjYxdjEuMzQ2SD'+ 'U3LjE2OFY0MC43NDVhNS43NjgsNS43NjgsMCwwLDAtNS43NjItNS43NjJabS0yNC43NjEtLjJhNS43NzQsNS43NzQsMCwwLDAtNS43NTgsNS43M3YxLjU2SDMyLjQwN1Y0MC40NTZhNS43ODMsNS43ODMsMCwwLDAtNS43NjItNS42NzhabTExLjc1My0xLjQ4NGE3LjI2LDcuMjYsMCwwLDEsNi4yOTMsMy42NjhsLjI2LjQ1Ni4yNzItLjQ0OWE3LjE3Myw3LjE3MywwLDAsMSw2LjE4My0zLjQ3SDUxLjQwNmE3LjI3OCw3LjI3OCwwLDAsMSw1LjIzMywyLjI1MWwuNTMxLjU1NlYyNi41NzNIOS4xMzR2OS41MmwuNTMxLS41NTVhNy4yOCw3LjI4LDAsMCwxLDUuMjI3LTIuMjQ1WiIvPgogIDwvZz4KIDwv'+ 'Zz4KPC9zdmc+Cg=='; me._svg_bed20__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="Svg bed2"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon svg_bedroom"; el.ggType='svg'; hs =''; hs+='height : 28px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 48px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_bed20.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_bed20.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbedroom_left.appendChild(me._svg_bed20); el=me._text_21=document.createElement('div'); els=me._text_21__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=35; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Master Bedroom"; el.appendChild(els); me._text_21.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_21.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbedroom_left.appendChild(me._text_21); me.__div = me._ht_mbedroom_left; }; function SkinHotspotClass_ht_mbedroom(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_mbedroom=document.createElement('div'); el.ggId="ht_mbedroom"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 98px;'; hs+='position : absolute;'; hs+='top : 58px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_mbedroom.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_mbedroom.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_mbedroom.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_mbedroom.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_mbedroom.style[domTransition]=''; if (me._ht_mbedroom.ggCurrentLogicStateVisible == 0) { me._ht_mbedroom.style.visibility="hidden"; me._ht_mbedroom.ggVisible=false; } else { me._ht_mbedroom.style.visibility=(Number(me._ht_mbedroom.style.opacity)>0||!me._ht_mbedroom.style.opacity)?'inherit':'hidden'; me._ht_mbedroom.ggVisible=true; } } } me._ht_mbedroom.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_mbed.ggTimeout=Number("2") * 1000.0; skin._timer_mbed.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_mbedroom.ggUpdatePosition=function (useTransition) { } el=me._image_21=document.createElement('div'); els=me._image_21__img=document.createElement('img'); els.className='ggskin ggskin_image_21'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAATCAYAAACgADyUAAAAvUlEQVQ4jaWTWxWDMBBEIyESkICESqgEJCChEuKgOCgS6qA4aB0EB7c/E04O3cLS8hU2ubOPTALwArrg/IABGMsC4OyAks72AYjABGSg3YA6QUMdjCo5A9GAToJGS7EFZuBRw4pnVfUhula+VZU8JWhDRi9XZZ+3el/DZXquaVtwdwjyKk8/OCcF4K5edgcA9Dp7+ds5jXX51f5iAktxcc4q3nics1y+/qPbBBWclMU1uAKXN8phEyhj/23/DSj+abIRV81TAAAAAElFTkSuQmCC'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="Image 2"; el.ggDx=0; el.ggDy=60; el.ggParameter={ rx:0,ry:0,a:90,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow down"; el.ggType='image'; hs =''; hs+='height : 19px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 14px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; el.style[domTransform]=parameterToTransform(el.ggParameter); me._image_21.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._image_21.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbedroom.appendChild(me._image_21); el=me._svg_bed2=document.createElement('div'); els=me._svg_bed2__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM3Ljc0OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjMuODc0IiB2aWV3Qm94PSIwIDAgNjMuODc0IDM3Ljc0OCI+CiA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzU3LjQ5OSAtNDY1LjA5KSIgaWQ9Ikdyb3VwXzg3MjMiIGRhdGEtbmFtZT0iR3JvdXAgODcyMyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQ2NSAzOSkiIGlkPSJHcm91cF84NzE4IiBkYXRhLW5hbWU9Ikdyb3VwIDg3MTgiPgogICA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4MjEuNDY3IDQwNC41MDEpIiBpZD0iUGF0aF8xMDQ4NCIgZmlsbD0iI2ZmZiIgZG'+ 'F0YS1uYW1lPSJQYXRoIDEwNDg0IiBkPSJNNjAuMyw1NS44MzdhLjI0My4yNDMsMCwwLDEtLjA1OS0uMDA3LjI4LjI4LDAsMCwxLS4xNzctLjEyNWwtMi40NTUtMy45NzlIOC4yOTJMNS44MzcsNTUuN2EuMjguMjgsMCwwLDEtLjE3Mi4xMjVsLS4wNjQuMDA4YS4yNjcuMjY3LDAsMCwxLS4xNDQtLjA0MWwtLjc5Mi0uNDg5YS4yNzUuMjc1LDAsMCwxLS4wOS0uMzgxbDEuOTc0LTMuMkg1LjIwNmEuMjc4LjI3OCwwLDAsMS0uMjc4LS4yNzh2LTkuMWEuMjc4LjI3OCwwLDAsMSwuMjc4LS4yNzhINy42NDdsMC0xLjZ2LTE1LjFhLjI3O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LDAsMCwwLDMzLjksNDAuNDYxYTIuNTM4LDIuNTM4LDAsMCwwLS4wMDkuMjYxdjEuMzQ2SD'+ 'U3LjE2OFY0MC43NDVhNS43NjgsNS43NjgsMCwwLDAtNS43NjItNS43NjJabS0yNC43NjEtLjJhNS43NzQsNS43NzQsMCwwLDAtNS43NTgsNS43M3YxLjU2SDMyLjQwN1Y0MC40NTZhNS43ODMsNS43ODMsMCwwLDAtNS43NjItNS42NzhabTExLjc1My0xLjQ4NGE3LjI2LDcuMjYsMCwwLDEsNi4yOTMsMy42NjhsLjI2LjQ1Ni4yNzItLjQ0OWE3LjE3Myw3LjE3MywwLDAsMSw2LjE4My0zLjQ3SDUxLjQwNmE3LjI3OCw3LjI3OCwwLDAsMSw1LjIzMywyLjI1MWwuNTMxLjU1NlYyNi41NzNIOS4xMzR2OS41MmwuNTMxLS41NTVhNy4yOCw3LjI4LDAsMCwxLDUuMjI3LTIuMjQ1WiIvPgogIDwvZz4KIDwv'+ 'Zz4KPC9zdmc+Cg=='; me._svg_bed2__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="Svg bed2"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon svg_bedroom"; el.ggType='svg'; hs =''; hs+='height : 28px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 48px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_bed2.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_bed2.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbedroom.appendChild(me._svg_bed2); el=me._text_20=document.createElement('div'); els=me._text_20__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=35; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Master Bedroom"; el.appendChild(els); me._text_20.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_20.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_mbedroom.appendChild(me._text_20); me.__div = me._ht_mbedroom; }; function SkinHotspotClass_ht_foyer_left(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_foyer_left=document.createElement('div'); el.ggId="ht_foyer_left"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : -68px;'; hs+='position : absolute;'; hs+='top : 58px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_foyer_left.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_foyer_left.logicBlock_visible = function() { var newLogicStateVisible; if ( ((player.getVariableValue('vis_userdata') == true)) || ((player.getVariableValue('vis_image_popup') == true)) || ((player.getVariableValue('vis_info_popup') == true)) || ((player.getVariableValue('vis_video_popup_file') == true)) || ((player.getVariableValue('vis_video_popup_url') == true)) || ((player.getVariableValue('vis_video_popup_vimeo') == true)) || ((player.getVariableValue('vis_video_popup_youtube') == true)) || ((player.getVariableValue('vis_website') == true)) ) { newLogicStateVisible = 0; } else { newLogicStateVisible = -1; } if (me._ht_foyer_left.ggCurrentLogicStateVisible != newLogicStateVisible) { me._ht_foyer_left.ggCurrentLogicStateVisible = newLogicStateVisible; me._ht_foyer_left.style[domTransition]=''; if (me._ht_foyer_left.ggCurrentLogicStateVisible == 0) { me._ht_foyer_left.style.visibility="hidden"; me._ht_foyer_left.ggVisible=false; } else { me._ht_foyer_left.style.visibility=(Number(me._ht_foyer_left.style.opacity)>0||!me._ht_foyer_left.style.opacity)?'inherit':'hidden'; me._ht_foyer_left.ggVisible=true; } } } me._ht_foyer_left.onclick=function (e) { player.openNext(me.hotspot.url,me.hotspot.target); skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_foyer_left.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_foyer_left.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_foyer_left.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_foyer_left.ggUpdatePosition=function (useTransition) { } el=me._image_20=document.createElement('div'); els=me._image_20__img=document.createElement('img'); els.className='ggskin ggskin_image_20'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAOCAYAAADNGCeJAAAAxElEQVQ4jY3SQRGDMBBG4aVTAUiIBBwUCUhAAhKQUAk4aCXEATgoDsDB66E/M52WbJJTDt+8nUnWLHGAAMzAM2XkatcBDbABO9A4oQZ4yfVnoFNoLQilBwI9n7MAtRP6duEMTAJTJjTKxT+nB3wI3FOR34EpsAj0mVCUG1LmYmaL7jcvZmbxcN4zGDBo6lz48K474C7orUQrt3nu2J0slFvlOi8YSj5FW5D/PMFYGDzWZbyeoaqqdjNrtXchFZPrgdXM7A25VFRFv8UeTQAAAABJRU5ErkJggg=='; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="Image 2"; el.ggDx=0; el.ggDy=50; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow left"; el.ggType='image'; hs =''; hs+='height : 14px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 19px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._image_20.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._image_20.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_foyer_left.appendChild(me._image_20); el=me._svg_foyer=document.createElement('div'); els=me._svg_foyer__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjUzLjMyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzcuMzI0IiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDM3LjMyNCA1My4zMjQiPgogPGRlZnM+CiAgPHBhdHRlcm4gaGVpZ2h0PSIx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MTA1NTEiIGZpbGw9IiNmZmYiIGRhdGEtbmFtZT0iUGF0aCAxMDU1MSIgZD0iTTQxNi4xNzIsMjU4LjQzYS4yNDEuMjQxLDAsMCwwLS4yMzkuMjQzdi44NDlhLjIzOC4yMzgsMCwwLDAsLjA2OC4xNzUuMjQ0LjI0NCwwLDAsMCwuMzQ5LDAsLjIzOC4yMzgsMCwwLDAsLjA2OC0uMTc1di0uODQ5YS4yMzguMjM4LDAsMCwwLS4wNzEtLjE3M0EuMjQ0LjI0NCww'+ 'LDAsMCw0MTYuMTcyLDI1OC40M1oiLz4KICA8L2c+CiA8L2c+Cjwvc3ZnPgo='; me._svg_foyer__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="Svg foyer"; el.ggDx=0; el.ggDy=-8; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_icon"; el.ggType='svg'; hs =''; hs+='height : 55px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 60px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_foyer.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_foyer.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_foyer_left.appendChild(me._svg_foyer); el=me._text_2=document.createElement('div'); els=me._text_2__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2"; el.ggDx=0; el.ggDy=35; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Foyer"; el.appendChild(els); me._text_2.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_2.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_foyer_left.appendChild(me._text_2); me.__div = me._ht_foyer_left; }; function SkinHotspotClass_ht_living(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._ht_living=document.createElement('div'); el.ggId="ht_living"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 278px;'; hs+='position : absolute;'; hs+='top : 256px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._ht_living.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._ht_living.onclick=function (e) { skin._transition_video.ggInitMedia("assets\/"+me.hotspot.description); if (player.transitionsDisabled) { skin._transition_video.style[domTransition]='none'; } else { skin._transition_video.style[domTransition]='all 500ms ease-out 0ms'; } skin._transition_video.style.opacity='1'; skin._transition_video.style.visibility=skin._transition_video.ggVisible?'inherit':'hidden'; if (skin._transition_video.ggVideoNotLoaded) { skin._transition_video.ggInitMedia(skin._transition_video.ggVideoSource); } skin._transition_video.style[domTransition]='none'; skin._transition_video.style.visibility=(Number(skin._transition_video.style.opacity)>0||!skin._transition_video.style.opacity)?'inherit':'hidden'; skin._transition_video.ggVisible=true; skin._timer_living.ggTimeout=Number("2") * 1000.0; skin._timer_living.ggTimestamp=skin.ggCurrentTime; skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._ht_living.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._ht_living.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._ht_living.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._ht_living.ggUpdatePosition=function (useTransition) { } el=me._image_2=document.createElement('div'); els=me._image_2__img=document.createElement('img'); els.className='ggskin ggskin_image_2'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAATCAYAAACgADyUAAAAvUlEQVQ4jaWTWxWDMBBEIyESkICESqgEJCChEuKgOCgS6qA4aB0EB7c/E04O3cLS8hU2ubOPTALwArrg/IABGMsC4OyAks72AYjABGSg3YA6QUMdjCo5A9GAToJGS7EFZuBRw4pnVfUhula+VZU8JWhDRi9XZZ+3el/DZXquaVtwdwjyKk8/OCcF4K5edgcA9Dp7+ds5jXX51f5iAktxcc4q3nics1y+/qPbBBWclMU1uAKXN8phEyhj/23/DSj+abIRV81TAAAAAElFTkSuQmCC'; els.setAttribute('src',hs); els.ggNormalSrc=hs; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_image'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; el.ggId="Image 2"; el.ggDx=0; el.ggDy=60; el.ggParameter={ rx:0,ry:0,a:90,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_image icon_arrow down"; el.ggType='image'; hs =''; hs+='height : 19px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 14px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; el.style[domTransform]=parameterToTransform(el.ggParameter); me._image_2.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._image_2.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_living.appendChild(me._image_2); el=me._svg_livingroom=document.createElement('div'); els=me._svg_livingroom__img=document.createElement('img'); els.className='ggskin ggskin_svg'; hs='data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjMyLjMxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjIuMDY0IiB2aWV3Qm94PSIwIDAgNjIuMDY0IDMyLjMxNiI+CiA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIiBpZD0iR3JvdXBfODcxMSIgZGF0YS1uYW1lPSJHcm91cCA4NzExIj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIiBpZD0iR3JvdXBfODU3NiIgZGF0YS1uYW1lPSJHcm91cCA4NTc2Ij4KICAgPGcgaWQ9Ikdyb3VwXzg1NzQiIGRhdGEtbmFtZT0iR3JvdXAgODU3NCI+CiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjEzKSIgaWQ9Ikdyb3VwXzg1Nz'+ 'MiIGRhdGEtbmFtZT0iR3JvdXAgODU3MyI+CiAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS45NjcgMjkuMDcpIiBpZD0iR3JvdXBfODU3MiIgZGF0YS1uYW1lPSJHcm91cCA4NTcyIj4KICAgICAgPHJlY3QgaGVpZ2h0PSIzLjI0NiIgaWQ9IlJlY3Rhbmds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Lz4KICAgPC9nPgogIDwvZz4KIDwvZz4KPC9zdmc+Cg=='; me._svg_livingroom__img.setAttribute('src',hs); els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="svg_livingroom"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_svg svg_livingroom svg_icon svg_shadow"; el.ggType='svg'; hs =''; hs+='height : 32px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 52px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._svg_livingroom.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._svg_livingroom.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_living.appendChild(me._svg_livingroom); el=me._text_2_shadow=document.createElement('div'); els=me._text_2_shadow__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="Text 2_shadow"; el.ggDx=0; el.ggDy=30; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text hs_txt general_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 132px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 132px;'; hs+='height: 20px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Living room"; el.appendChild(els); me._text_2_shadow.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._text_2_shadow.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth + 0; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._ht_living.appendChild(me._text_2_shadow); me.__div = me._ht_living; }; function SkinHotspotClass_info_popup(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._info_popup=document.createElement('div'); el.ggId="info_popup"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 0px;'; hs+='position : absolute;'; hs+='top : 37px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._info_popup.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._info_popup.onclick=function (e) { skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._info_popup.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._info_popup.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._info_popup.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._info_popup.ggUpdatePosition=function (useTransition) { } el=me._pulse_test0=document.createElement('div'); el.ggId="pulse_test"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 99px;'; hs+='border-radius : 99px;'; hs+='background : rgba(255,255,255,0.698039);'; hs+='border : 0px solid #000000;'; hs+='cursor : default;'; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 15px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._pulse_test0.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._pulse_test0.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._info_popup.appendChild(me._pulse_test0); el=me._info_point0=document.createElement('div'); el.ggId="Info Point"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 99px;'; hs+='border-radius : 99px;'; hs+='background : rgba(255,255,255,0.698039);'; hs+='border : 0px solid #000000;'; hs+='cursor : default;'; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 15px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._info_point0.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._info_point0.onclick=function (e) { player.setVariableValue('info_hideAll', true); player.setVariableValue('info_hideAll', false); player.setVariableValue('vis_image_popup', true); } me._info_point0.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._info_popup.appendChild(me._info_point0); me.__div = me._info_popup; }; function SkinHotspotClass_info_spot(parentScope,hotspot) { var me=this; var flag=false; var hs=''; me.parentScope=parentScope; me.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // } me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._info_spot=document.createElement('div'); el.ggId="info_spot"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_hotspot "; el.ggType='hotspot'; hs =''; hs+='height : 0px;'; hs+='left : 0px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 0px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._info_spot.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // } return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } else { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } else { return player.getCurrentNode(); } } } me._info_spot.onclick=function (e) { skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url); } me._info_spot.ondblclick=function (e) { skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url); } me._info_spot.onmouseover=function (e) { player.setActiveHotspot(me.hotspot); skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url); } me._info_spot.onmouseout=function (e) { player.setActiveHotspot(null); skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url); } me._info_spot.ggUpdatePosition=function (useTransition) { } el=me._pulse_test=document.createElement('div'); el.ggId="pulse_test"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 99px;'; hs+='border-radius : 99px;'; hs+='background : rgba(255,255,255,0.698039);'; hs+='border : 0px solid #000000;'; hs+='cursor : default;'; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 15px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._pulse_test.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._pulse_test.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._info_spot.appendChild(me._pulse_test); el=me._info_point=document.createElement('div'); el.ggId="Info Point"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 99px;'; hs+='border-radius : 99px;'; hs+='background : rgba(255,255,255,0.698039);'; hs+='border : 0px solid #000000;'; hs+='cursor : default;'; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 15px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._info_point.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._info_point.onclick=function (e) { player.setVariableValue('info_hideAll', true); player.setVariableValue('info_hideAll', false); } me._info_point.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } el=me._txt=document.createElement('div'); els=me._txt__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="txt"; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text info_txt"; el.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : 31px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : hidden;'; hs+='width : 250px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='cursor: default;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 250px;'; hs+='height: 20px;'; hs+='pointer-events: none;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(220,220,220,1);'; hs+='text-align: left;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; hs+='overflow-y: auto;'; els.setAttribute('style',hs); els.innerHTML="Text"; el.appendChild(els); me._txt.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._txt.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((player.getVariableValue('info_hideAll') == true)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._txt.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._txt.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._txt.style[domTransition]='opacity 500ms ease 0ms'; if (me._txt.ggCurrentLogicStateAlpha == 0) { setTimeout(function() { if (me._txt.style.opacity == 0.0) { me._txt.style.visibility="hidden"; } }, 505); me._txt.style.opacity=0; } else { setTimeout(function() { if (me._txt.style.opacity == 0.0) { me._txt.style.visibility="hidden"; } }, 505); me._txt.style.opacity=0; } } } me._txt.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._info_point.appendChild(me._txt); me._info_spot.appendChild(me._info_point); me.__div = me._info_spot; }; me.addSkinHotspot=function(hotspot) { var hsinst = null; if (hotspot.skinid=='ht_jrbath_right') { hotspot.skinid = 'ht_jrbath_right'; hsinst = new SkinHotspotClass_ht_jrbath_right(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_jrbath_right_sizechanged();; me.callChildLogicBlocksHotspot_ht_jrbath_right_changenode();; me.callChildLogicBlocksHotspot_ht_jrbath_right_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_jrbath_left') { hotspot.skinid = 'ht_jrbath_left'; hsinst = new SkinHotspotClass_ht_jrbath_left(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_jrbath_left_sizechanged();; me.callChildLogicBlocksHotspot_ht_jrbath_left_changenode();; me.callChildLogicBlocksHotspot_ht_jrbath_left_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_jrbath') { hotspot.skinid = 'ht_jrbath'; hsinst = new SkinHotspotClass_ht_jrbath(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_jrbath_sizechanged();; me.callChildLogicBlocksHotspot_ht_jrbath_changenode();; me.callChildLogicBlocksHotspot_ht_jrbath_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_living_left') { hotspot.skinid = 'ht_living_left'; hsinst = new SkinHotspotClass_ht_living_left(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_living_left_sizechanged();; me.callChildLogicBlocksHotspot_ht_living_left_changenode();; me.callChildLogicBlocksHotspot_ht_living_left_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_jrbedroom_right') { hotspot.skinid = 'ht_jrbedroom_right'; hsinst = new SkinHotspotClass_ht_jrbedroom_right(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_jrbedroom_right_sizechanged();; me.callChildLogicBlocksHotspot_ht_jrbedroom_right_changenode();; me.callChildLogicBlocksHotspot_ht_jrbedroom_right_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_jrbedroom_left') { hotspot.skinid = 'ht_jrbedroom_left'; hsinst = new SkinHotspotClass_ht_jrbedroom_left(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_jrbedroom_left_sizechanged();; me.callChildLogicBlocksHotspot_ht_jrbedroom_left_changenode();; me.callChildLogicBlocksHotspot_ht_jrbedroom_left_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_jrbedroom') { hotspot.skinid = 'ht_jrbedroom'; hsinst = new SkinHotspotClass_ht_jrbedroom(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_jrbedroom_sizechanged();; me.callChildLogicBlocksHotspot_ht_jrbedroom_changenode();; me.callChildLogicBlocksHotspot_ht_jrbedroom_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_foyer') { hotspot.skinid = 'ht_foyer'; hsinst = new SkinHotspotClass_ht_foyer(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_foyer_sizechanged();; me.callChildLogicBlocksHotspot_ht_foyer_changenode();; me.callChildLogicBlocksHotspot_ht_foyer_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_mbath_right') { hotspot.skinid = 'ht_mbath_right'; hsinst = new SkinHotspotClass_ht_mbath_right(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_mbath_right_sizechanged();; me.callChildLogicBlocksHotspot_ht_mbath_right_changenode();; me.callChildLogicBlocksHotspot_ht_mbath_right_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_mbath') { hotspot.skinid = 'ht_mbath'; hsinst = new SkinHotspotClass_ht_mbath(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_mbath_sizechanged();; me.callChildLogicBlocksHotspot_ht_mbath_changenode();; me.callChildLogicBlocksHotspot_ht_mbath_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_mbedroom_right') { hotspot.skinid = 'ht_mbedroom_right'; hsinst = new SkinHotspotClass_ht_mbedroom_right(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_mbedroom_right_sizechanged();; me.callChildLogicBlocksHotspot_ht_mbedroom_right_changenode();; me.callChildLogicBlocksHotspot_ht_mbedroom_right_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_mbedroom_left') { hotspot.skinid = 'ht_mbedroom_left'; hsinst = new SkinHotspotClass_ht_mbedroom_left(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_mbedroom_left_sizechanged();; me.callChildLogicBlocksHotspot_ht_mbedroom_left_changenode();; me.callChildLogicBlocksHotspot_ht_mbedroom_left_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_mbedroom') { hotspot.skinid = 'ht_mbedroom'; hsinst = new SkinHotspotClass_ht_mbedroom(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_mbedroom_sizechanged();; me.callChildLogicBlocksHotspot_ht_mbedroom_changenode();; me.callChildLogicBlocksHotspot_ht_mbedroom_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_foyer_left') { hotspot.skinid = 'ht_foyer_left'; hsinst = new SkinHotspotClass_ht_foyer_left(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_ht_foyer_left_sizechanged();; me.callChildLogicBlocksHotspot_ht_foyer_left_changenode();; me.callChildLogicBlocksHotspot_ht_foyer_left_varchanged_vis_image_popup();; } else if (hotspot.skinid=='ht_living') { hotspot.skinid = 'ht_living'; hsinst = new SkinHotspotClass_ht_living(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); } else if (hotspot.skinid=='info_popup') { hotspot.skinid = 'info_popup'; hsinst = new SkinHotspotClass_info_popup(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); } else { hotspot.skinid = 'info_spot'; hsinst = new SkinHotspotClass_info_spot(me, hotspot); if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) { hotspotTemplates[hotspot.skinid] = []; } hotspotTemplates[hotspot.skinid].push(hsinst); me.callChildLogicBlocksHotspot_info_spot_changenode();; me.callChildLogicBlocksHotspot_info_spot_varchanged_info_hideAll();; } return hsinst; } me.removeSkinHotspots=function() { if(hotspotTemplates['ht_jrbath_right']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath_right'].length; i++) { hotspotTemplates['ht_jrbath_right'][i] = null; } } if(hotspotTemplates['ht_jrbath_left']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath_left'].length; i++) { hotspotTemplates['ht_jrbath_left'][i] = null; } } if(hotspotTemplates['ht_jrbath']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbath'].length; i++) { hotspotTemplates['ht_jrbath'][i] = null; } } if(hotspotTemplates['ht_living_left']) { var i; for(i = 0; i < hotspotTemplates['ht_living_left'].length; i++) { hotspotTemplates['ht_living_left'][i] = null; } } if(hotspotTemplates['ht_jrbedroom_right']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom_right'].length; i++) { hotspotTemplates['ht_jrbedroom_right'][i] = null; } } if(hotspotTemplates['ht_jrbedroom_left']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom_left'].length; i++) { hotspotTemplates['ht_jrbedroom_left'][i] = null; } } if(hotspotTemplates['ht_jrbedroom']) { var i; for(i = 0; i < hotspotTemplates['ht_jrbedroom'].length; i++) { hotspotTemplates['ht_jrbedroom'][i] = null; } } if(hotspotTemplates['ht_foyer']) { var i; for(i = 0; i < hotspotTemplates['ht_foyer'].length; i++) { hotspotTemplates['ht_foyer'][i] = null; } } if(hotspotTemplates['ht_mbath_right']) { var i; for(i = 0; i < hotspotTemplates['ht_mbath_right'].length; i++) { hotspotTemplates['ht_mbath_right'][i] = null; } } if(hotspotTemplates['ht_mbath']) { var i; for(i = 0; i < hotspotTemplates['ht_mbath'].length; i++) { hotspotTemplates['ht_mbath'][i] = null; } } if(hotspotTemplates['ht_mbedroom_right']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom_right'].length; i++) { hotspotTemplates['ht_mbedroom_right'][i] = null; } } if(hotspotTemplates['ht_mbedroom_left']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom_left'].length; i++) { hotspotTemplates['ht_mbedroom_left'][i] = null; } } if(hotspotTemplates['ht_mbedroom']) { var i; for(i = 0; i < hotspotTemplates['ht_mbedroom'].length; i++) { hotspotTemplates['ht_mbedroom'][i] = null; } } if(hotspotTemplates['ht_foyer_left']) { var i; for(i = 0; i < hotspotTemplates['ht_foyer_left'].length; i++) { hotspotTemplates['ht_foyer_left'][i] = null; } } if(hotspotTemplates['ht_living']) { var i; for(i = 0; i < hotspotTemplates['ht_living'].length; i++) { hotspotTemplates['ht_living'][i] = null; } } if(hotspotTemplates['info_popup']) { var i; for(i = 0; i < hotspotTemplates['info_popup'].length; i++) { hotspotTemplates['info_popup'][i] = null; } } if(hotspotTemplates['info_spot']) { var i; for(i = 0; i < hotspotTemplates['info_spot'].length; i++) { hotspotTemplates['info_spot'][i] = null; } } hotspotTemplates = []; } function SkinElement_idle_node_Class(parentScope,ggParent) { var me=this; var flag=false; me.parentScope=parentScope; me.ggParent=ggParent; var nodeId=ggParent.ggElementNodeId(); me.ggNodeId=nodeId; me.ggUserdata=skin.player.getNodeUserdata(nodeId); me.elementMouseDown=[]; me.elementMouseOver=[]; me.findElements=function(id,regex) { return skin.findElements(id,regex); } el=me._idle_node=document.createElement('div'); el.ggId="idle_node"; el.ggDx=0; el.ggDy=-22; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_container "; el.ggType='container'; hs =''; hs+='cursor : pointer;'; hs+='height : 20px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 20px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._idle_node.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { return me.ggNodeId; } me._idle_node.onclick=function (e) { player.openNext("{"+me.ggNodeId+"}",""); } me._idle_node.ggUpdatePosition=function (useTransition) { } el=me._idle_node_back=document.createElement('div'); el.ggId="idle_node_back"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 999px;'; hs+='border-radius : 999px;'; hs+='background : #5e5e5e;'; hs+='border : 0px solid #5e5e5e;'; hs+='cursor : default;'; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 15px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._idle_node_back.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._idle_node_back.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._idle_node.appendChild(me._idle_node_back); el=me._idle_node_front=document.createElement('div'); el.ggId="idle_node_front"; el.ggDx=0; el.ggDy=0; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle "; el.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 999px;'; hs+='border-radius : 999px;'; hs+='background : #ffffff;'; hs+='border : 2px solid #5e5e5e;'; hs+='cursor : default;'; hs+='height : 15px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='top : -10000px;'; hs+='visibility : inherit;'; hs+='width : 15px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._idle_node_front.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } me._idle_node_front.ggUpdatePosition=function (useTransition) { if (useTransition==='undefined') { useTransition = false; } if (!useTransition) { this.style[domTransition]='none'; } if (this.parentNode) { var pw=this.parentNode.clientWidth; var w=this.offsetWidth; this.style.left=(this.ggDx + pw/2 - w/2) + 'px'; var ph=this.parentNode.clientHeight; var h=this.offsetHeight; this.style.top=(this.ggDy + ph/2 - h/2) + 'px'; } } me._idle_node.appendChild(me._idle_node_front); }; function SkinCloner_thumbnail_cloner_Class(nodeId, parentScope,ggParent,parameter) { var me=this; var hs=''; me.parentScope=parentScope; me.ggParent=ggParent; me.findElements=skin.findElements; me.ggIndex=parameter.index; me.ggNodeId=nodeId; me.ggTitle=parameter.title; me.ggUserdata=skin.player.getNodeUserdata(me.ggNodeId); me.elementMouseDown={}; me.elementMouseOver={}; me.__div=document.createElement('div'); me.__div.setAttribute('style','position: absolute;width: 96px; height: 62px; visibility: inherit; overflow: visible;'); me.__div.style.left=parameter.left; me.__div.style.top=parameter.top; me.__div.ggIsActive = function() { return player.getCurrentNode()==me.ggNodeId; } me.__div.ggElementNodeId=function() { return me.ggNodeId; } el=me._thumbnail_nodeimage=document.createElement('div'); els=me._thumbnail_nodeimage__img=document.createElement('img'); els.className='ggskin ggskin_nodeimage'; els.setAttribute('src',basePath + "images/thumbnail_nodeimage_" + nodeId + ".jpg"); el.ggNodeId=nodeId; els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;'); els.className='ggskin ggskin_nodeimage'; els['ondragstart']=function() { return false; }; el.appendChild(els); el.ggSubElement = els; el.ggId="thumbnail_nodeImage"; el.ggParameter={ rx:0,ry:0,a:0,sx:0.64,sy:0.6 }; el.ggVisible=true; el.className="ggskin ggskin_nodeimage thumbnail_img"; el.ggType='nodeimage'; hs =''; hs+='cursor : pointer;'; hs+='height : 90px;'; hs+='left : 0px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 140px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='0% 0%'; el.style[domTransform]=parameterToTransform(el.ggParameter); me._thumbnail_nodeimage.ggIsActive=function() { return player.getCurrentNode()==this.ggElementNodeId(); } el.ggElementNodeId=function() { return this.ggNodeId; } me._thumbnail_nodeimage.ggUpdatePosition=function (useTransition) { } me.__div.appendChild(me._thumbnail_nodeimage); el=me._thumbnail_active=document.createElement('div'); el.ggId="thumbnail_active"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_rectangle menu_active"; el.ggType='rectangle'; hs =''; hs+=cssPrefix + 'background-clip : padding-box;'; hs+='background-clip : padding-box;'; hs+='border : 2px solid rgba(255,255,255,0);'; hs+='cursor : pointer;'; hs+='height : 51px;'; hs+='left : 0px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 85px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._thumbnail_active.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._thumbnail_active.logicBlock_bordercolor = function() { var newLogicStateBorderColor; if ( ((me._thumbnail_active.ggIsActive() == true)) ) { newLogicStateBorderColor = 0; } else if ( ((me.elementMouseOver['thumbnail_active'] == true)) ) { newLogicStateBorderColor = 1; } else { newLogicStateBorderColor = -1; } if (me._thumbnail_active.ggCurrentLogicStateBorderColor != newLogicStateBorderColor) { me._thumbnail_active.ggCurrentLogicStateBorderColor = newLogicStateBorderColor; me._thumbnail_active.style[domTransition]='border-color 0s'; if (me._thumbnail_active.ggCurrentLogicStateBorderColor == 0) { me._thumbnail_active.style.borderColor="rgba(255,255,255,1)"; } else if (me._thumbnail_active.ggCurrentLogicStateBorderColor == 1) { me._thumbnail_active.style.borderColor="rgba(255,255,255,1)"; } else { me._thumbnail_active.style.borderColor="rgba(255,255,255,0)"; } } } me._thumbnail_active.onclick=function (e) { if ( ( ((me._thumbnail_active.ggIsActive() == false)) ) ) { player.openNext("{"+me.ggNodeId+"}",""); } } me._thumbnail_active.onmouseover=function (e) { me.elementMouseOver['thumbnail_active']=true; me._thumbnail_title.logicBlock_alpha(); me._thumbnail_active.logicBlock_bordercolor(); } me._thumbnail_active.onmouseout=function (e) { me.elementMouseOver['thumbnail_active']=false; me._thumbnail_title.logicBlock_alpha(); me._thumbnail_active.logicBlock_bordercolor(); } me._thumbnail_active.ontouchend=function (e) { me.elementMouseOver['thumbnail_active']=false; me._thumbnail_title.logicBlock_alpha(); me._thumbnail_active.logicBlock_bordercolor(); } me._thumbnail_active.ggUpdatePosition=function (useTransition) { } el=me._thumbnail_title=document.createElement('div'); els=me._thumbnail_title__text=document.createElement('div'); el.className='ggskin ggskin_textdiv'; el.ggTextDiv=els; el.ggId="thumbnail_title"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_text "; el.ggType='text'; hs =''; hs+='cursor : pointer;'; hs+='height : 51px;'; hs+='left : 0px;'; hs+='opacity : 0;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : hidden;'; hs+='width : 85px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs += 'box-sizing: border-box;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 85px;'; hs+='height: 51px;'; hs+='background: #000000;'; hs+='background: rgba(0,0,0,0.470588);'; hs+='border: 0px solid #000000;'; hs+='color: rgba(255,255,255,1);'; hs+='text-align: center;'; hs+='white-space: pre-wrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; els.setAttribute('style',hs); els.innerHTML=me.ggUserdata.title; el.appendChild(els); me._thumbnail_title.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } el.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return player.getCurrentNode(); } me._thumbnail_title.logicBlock_alpha = function() { var newLogicStateAlpha; if ( ((me.elementMouseOver['thumbnail_active'] == true)) && ((me.ggUserdata.title != "")) && ((player.getVariableValue('opt_thumbnail_tooltip') == true)) ) { newLogicStateAlpha = 0; } else { newLogicStateAlpha = -1; } if (me._thumbnail_title.ggCurrentLogicStateAlpha != newLogicStateAlpha) { me._thumbnail_title.ggCurrentLogicStateAlpha = newLogicStateAlpha; me._thumbnail_title.style[domTransition]='opacity 500ms ease 0ms'; if (me._thumbnail_title.ggCurrentLogicStateAlpha == 0) { me._thumbnail_title.style.visibility=me._thumbnail_title.ggVisible?'inherit':'hidden'; me._thumbnail_title.style.opacity=1; } else { setTimeout(function() { if (me._thumbnail_title.style.opacity == 0.0) { me._thumbnail_title.style.visibility="hidden"; } }, 505); me._thumbnail_title.style.opacity=0; } } } me._thumbnail_title.ggUpdatePosition=function (useTransition) { } me._thumbnail_active.appendChild(me._thumbnail_title); me.__div.appendChild(me._thumbnail_active); }; me.addSkin(); var style = document.createElement('style'); style.type = 'text/css'; style.appendChild(document.createTextNode('.ggskin { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px;} .ggskin.title { font-family: "Quicksand", sans-serif; font-size: 20px;}')); document.head.appendChild(style); me._controller.logicBlock_position(); me._thumbnail_menu.logicBlock_position(); me._floor_plan.logicBlock_size(); me._mwardrobe_img.logicBlock_size(); me._logo.logicBlock_position(); me._logo.logicBlock_size(); me._logo0.logicBlock_size(); me._loading_bar.logicBlock_size(); me._loading_multires.logicBlock_visible(); me._controller.logicBlock_alpha(); me._controller_bg.logicBlock_position(); me._controller_bg.logicBlock_size(); me._controller_bg.logicBlock_visible(); me._controller_slider.logicBlock_alpha(); me._glow_next.logicBlock_alpha(); me._glow_fullscreen.logicBlock_alpha(); me._floorplan_glow.logicBlock_alpha(); me._autorotate_start.logicBlock_alpha(); me._glow_autorot.logicBlock_alpha(); me._zoomout.logicBlock_visible(); me._glow_zoomout.logicBlock_alpha(); me._zoomin.logicBlock_visible(); me._glow_zoomin.logicBlock_alpha(); me._glow_gallery.logicBlock_alpha(); me._glow_prev.logicBlock_alpha(); me._thumbnail_menu.logicBlock_visible(); me._thumbnail_menu.logicBlock_alpha(); me._floor_plan.logicBlock_position(); me._screentint_image.logicBlock_visible(); me._image_popup.logicBlock_visible(); me._mwardrobe_img.logicBlock_visible(); me._img_txt.logicBlock_visible(); me._splash.logicBlock_alpha(); player.addListener('sizechanged', function(args) { me._controller.logicBlock_position();me._thumbnail_menu.logicBlock_position();me._floor_plan.logicBlock_size();me._mwardrobe_img.logicBlock_size();me._logo.logicBlock_position();me._logo.logicBlock_size();me._logo0.logicBlock_size();me._loading_bar.logicBlock_size(); }); player.addListener('tilesready', function(args) { me._loading_multires.logicBlock_visible(); }); player.addListener('tilesrequested', function(args) { me._loading_multires.logicBlock_visible(); }); player.addListener('changenode', function(args) { me._loading_multires.logicBlock_visible();me._controller.logicBlock_alpha();me._controller_bg.logicBlock_position();me._controller_bg.logicBlock_size();me._controller_bg.logicBlock_visible();me._controller_slider.logicBlock_alpha();me._glow_next.logicBlock_alpha();me._glow_fullscreen.logicBlock_alpha();me._floorplan_glow.logicBlock_alpha();me._autorotate_start.logicBlock_alpha();me._glow_autorot.logicBlock_alpha();me._zoomout.logicBlock_visible();me._glow_zoomout.logicBlock_alpha();me._zoomin.logicBlock_visible();me._glow_zoomin.logicBlock_alpha();me._glow_gallery.logicBlock_alpha();me._glow_prev.logicBlock_alpha();me._thumbnail_menu.logicBlock_visible();me._thumbnail_menu.logicBlock_alpha();me._floor_plan.logicBlock_position();me._screentint_image.logicBlock_visible();me._image_popup.logicBlock_visible();me._mwardrobe_img.logicBlock_visible();me._img_txt.logicBlock_visible();me._splash.logicBlock_alpha(); }); player.addListener('configloaded', function(args) { me._thumbnail_menu.logicBlock_visible();me._floor_plan.logicBlock_size(); }); player.addListener('autorotatechanged', function(args) { me._autorotate_start.logicBlock_alpha(); }); player.addListener('varchanged_opt_loader_mulires', function(args) { me._loading_multires.logicBlock_visible(); }); player.addListener('varchanged_vis_timer', function(args) { me._controller.logicBlock_alpha();me._controller_slider.logicBlock_alpha();me._thumbnail_menu.logicBlock_alpha(); }); player.addListener('varchanged_opt_thumbnail', function(args) { me._thumbnail_menu.logicBlock_visible(); }); player.addListener('varchanged_vis_thumbnail_menu_show', function(args) { me._thumbnail_menu.logicBlock_alpha(); }); player.addListener('varchanged_vis_thumbnail_menu_auto_hide', function(args) { me._thumbnail_menu.logicBlock_alpha(); }); player.addListener('varchanged_pos_floorplan', function(args) { me._floor_plan.logicBlock_position(); }); player.addListener('varchanged_vis_image_popup', function(args) { me._screentint_image.logicBlock_visible();me._image_popup.logicBlock_visible();me._mwardrobe_img.logicBlock_visible();me._img_txt.logicBlock_visible(); }); player.addListener('varchanged_delayDone', function(args) { me._splash.logicBlock_alpha(); }); player.addListener('varchanged_loadingDone', function(args) { me._splash.logicBlock_alpha(); }); player.addListener('varchanged_pos_controller', function(args) { me._controller_bg.logicBlock_position();me._controller_bg.logicBlock_size();me._controller_bg.logicBlock_visible(); }); player.addListener('varchanged_opt_zoom', function(args) { me._zoomout.logicBlock_visible();me._zoomin.logicBlock_visible(); }); player.addListener('varchanged_glow_nextpano', function(args) { me._glow_next.logicBlock_alpha(); }); player.addListener('varchanged_glow_fullscreen', function(args) { me._glow_fullscreen.logicBlock_alpha(); }); player.addListener('varchanged_glow_floorplan', function(args) { me._floorplan_glow.logicBlock_alpha(); }); player.addListener('varchanged_toggle_autorot', function(args) { me._glow_autorot.logicBlock_alpha(); }); player.addListener('varchanged_glow_zoomout', function(args) { me._glow_zoomout.logicBlock_alpha(); }); player.addListener('varchanged_glow_zoomin', function(args) { me._glow_zoomin.logicBlock_alpha(); }); player.addListener('varchanged_glow_gallery', function(args) { me._glow_gallery.logicBlock_alpha(); }); player.addListener('varchanged_glow_prevpano', function(args) { me._glow_prev.logicBlock_alpha(); }); player.addListener('changenode', function(args) { me._thumbnail_cloner.callChildLogicBlocks_changenode(); }); player.addListener('mouseover', function(args) { me._thumbnail_cloner.callChildLogicBlocks_mouseover(); }); player.addListener('mouseover', function(args) { me._thumbnail_cloner.callChildLogicBlocks_mouseover(); }); player.addListener('changenode', function(args) { me._thumbnail_cloner.callChildLogicBlocks_active(); }); player.addListener('activehotspotchanged', function(args) { me._thumbnail_cloner.callChildLogicBlocks_activehotspotchanged(); }); player.addListener('varchanged_opt_thumbnail_tooltip', function(args) { me._thumbnail_cloner.callChildLogicBlocks_varchanged_opt_thumbnail_tooltip(); }); player.addListener('sizechanged', function(args) { me.callChildLogicBlocksHotspot_ht_jrbath_right_sizechanged();me.callChildLogicBlocksHotspot_ht_jrbath_left_sizechanged();me.callChildLogicBlocksHotspot_ht_jrbath_sizechanged();me.callChildLogicBlocksHotspot_ht_living_left_sizechanged();me.callChildLogicBlocksHotspot_ht_jrbedroom_right_sizechanged();me.callChildLogicBlocksHotspot_ht_jrbedroom_left_sizechanged();me.callChildLogicBlocksHotspot_ht_jrbedroom_sizechanged();me.callChildLogicBlocksHotspot_ht_foyer_sizechanged();me.callChildLogicBlocksHotspot_ht_mbath_right_sizechanged();me.callChildLogicBlocksHotspot_ht_mbath_sizechanged();me.callChildLogicBlocksHotspot_ht_mbedroom_right_sizechanged();me.callChildLogicBlocksHotspot_ht_mbedroom_left_sizechanged();me.callChildLogicBlocksHotspot_ht_mbedroom_sizechanged();me.callChildLogicBlocksHotspot_ht_foyer_left_sizechanged(); }); player.addListener('changenode', function(args) { me.callChildLogicBlocksHotspot_ht_jrbath_right_changenode();me.callChildLogicBlocksHotspot_ht_jrbath_left_changenode();me.callChildLogicBlocksHotspot_ht_jrbath_changenode();me.callChildLogicBlocksHotspot_ht_living_left_changenode();me.callChildLogicBlocksHotspot_ht_jrbedroom_right_changenode();me.callChildLogicBlocksHotspot_ht_jrbedroom_left_changenode();me.callChildLogicBlocksHotspot_ht_jrbedroom_changenode();me.callChildLogicBlocksHotspot_ht_foyer_changenode();me.callChildLogicBlocksHotspot_ht_mbath_right_changenode();me.callChildLogicBlocksHotspot_ht_mbath_changenode();me.callChildLogicBlocksHotspot_ht_mbedroom_right_changenode();me.callChildLogicBlocksHotspot_ht_mbedroom_left_changenode();me.callChildLogicBlocksHotspot_ht_mbedroom_changenode();me.callChildLogicBlocksHotspot_ht_foyer_left_changenode();me.callChildLogicBlocksHotspot_info_spot_changenode(); }); player.addListener('varchanged_vis_image_popup', function(args) { me.callChildLogicBlocksHotspot_ht_jrbath_right_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_jrbath_left_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_jrbath_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_living_left_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_jrbedroom_right_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_jrbedroom_left_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_jrbedroom_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_foyer_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_mbath_right_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_mbath_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_mbedroom_right_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_mbedroom_left_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_mbedroom_varchanged_vis_image_popup();me.callChildLogicBlocksHotspot_ht_foyer_left_varchanged_vis_image_popup(); }); player.addListener('varchanged_info_hideAll', function(args) { me.callChildLogicBlocksHotspot_info_spot_varchanged_info_hideAll(); }); player.addListener('hotspotsremoved', function(args) { me.removeSkinHotspots(); }); me.skinTimerEvent(); };