// Garden Gnome Software - Skin // Pano2VR 6.1.11/18043 // Filename: controller_rsq.ggsk // Generated 2021-09-02T01:26:15 function pano2vrSkin(player,base) { var me=this; var skin=this; var flag=false; 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;i"; if (hs!=this.ggText) { this.ggText=hs; this.ggTextDiv.innerHTML=hs; if (this.ggUpdatePosition) this.ggUpdatePosition(); } } me._loading_text.ggUpdateText(); player.addListener('downloadprogress', function() { me._loading_text.ggUpdateText(); }); el.appendChild(els); me._loading_text.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_text.ggUpdatePosition=function (useTransition) { } me._loading_image.appendChild(me._loading_text); el=me._loading_bar=document.createElement('div'); el.ggId="loading bar"; 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 : #4f4f4f;'; hs+='border : 2px solid #000000;'; hs+='cursor : default;'; hs+='height : 10px;'; hs+='left : 11px;'; hs+='position : absolute;'; hs+='top : 39px;'; hs+='visibility : inherit;'; hs+='width : 198px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='0% 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.ggUpdatePosition=function (useTransition) { } me._loading_image.appendChild(me._loading_bar); el=me._loading_close=document.createElement('div'); els=me._loading_close__img=document.createElement('img'); els.className='ggskin ggskin_loading_close'; hs='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACx0lEQVRIie2Vv0tbURTHv/e+5L6Xl6IPTJMQfGIM/hj8A+JmRqFgOiQxwbbUJYtLS4fSv6MSwaFCSyku6eJgqOWpiyI6REUHf4BjwDRN0oSXl3dvBysdfBGFOgg9cJczfD7cc+49hwghcJ9B75X+X3CbcDklTdPE8fExWq0WAMDtdgMArh4EIQSEEFiWdQlxuTAwMABVVa/DhBDXzv7+Piilj/r6+hLhcDgNwKsoCjRNg6ZpVyB3KBRK6br+jFL62DAMR5Zjcnd3F7quTxmGIba2tkQ8Hv8CwDM4OIiRkREAkKLRaG5hYUHkcjmh6/qbQqHgyHIsEQAwxhTOOZrNJmZnZ1OWZWF5efkFIaQ1NjY2NzMzkzVNE7ZtQ5IkdqceMMZwdnb2dX5+Pp5Opy'+ 'cbjQYymUyq3W5b9Xq9lkwms+VyGQCwubm5fn5+/uGqT7cSAADnvLK0tDRNKf0Ui8Umm80mJiYmpi3LQqVSgRACh4eHG/l8PgGgRAi5mwAAotFofXt7O2Oa5iKlNFGpVMA5h6IoUFX1287OztT4+PiFYRgdGTcKZFkGY6xxcHBQrlarqNfrAABFUeD3+38QQn7KsnwT4mbB2tqaNDQ0NOfxeLK2baOnpwdCCDQaDXDOE4qi8JWVlZcAmp0YHX8yIcTT398/5/f7s4wx9Pb2ghDy3bbtfCgUgizLUFU1FYlEFgF03ekGtm1D07Qnw8PDWUopgsEgTk9PN46OjpJCiF8APkcikae1Wg2qqiZLpdIG5/z9rQVCCFBKWTAYhKqqKBaL63t7e4lwOHwhSRJOTk6eM8Y+jo6Oxk3TBKWUdtwrTr+vWCwCgM/n870NBALvAAQA'+ 'wOv1wuv14s+T7NI07XV3d/crAP7V1VVHFnEyV6tVFAoFWJYFIQTcbvff2YK/w67dbl+WweVCLBaDz+e7xnIU/Mt4+Avn4Qt+A9nka/1nd+55AAAAAElFTkSuQmCC'; 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="loading close"; 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 : 24px;'; hs+='left : 200px;'; hs+='position : absolute;'; hs+='top : 1px;'; hs+='visibility : inherit;'; hs+='width : 24px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._loading_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._loading_close.onclick=function (e) { me._loading_image.style[domTransition]='none'; me._loading_image.style.visibility='hidden'; me._loading_image.ggVisible=false; } me._loading_close.ggUpdatePosition=function (useTransition) { } me._loading_image.appendChild(me._loading_close); me.divSkin.appendChild(me._loading_image); el=me._toolbar=document.createElement('div'); el.ggId="toolbar"; el.ggDx=0.5; 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 : 6px;'; hs+='height : 32px;'; hs+='left : -10000px;'; hs+='position : absolute;'; hs+='visibility : inherit;'; hs+='width : 277px;'; hs+='pointer-events:none;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._toolbar.ggIsActive=function() { return false; } el.ggElementNodeId=function() { return player.getCurrentNode(); } me._toolbar.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._left=document.createElement('div'); els=me._left__img=document.createElement('img'); els.className='ggskin ggskin_left'; hs=basePath + 'images/left.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_button'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; hs=basePath + 'images/left__o.png'; me._left__img.ggOverSrc=hs; el.ggId="left"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_button "; el.ggType='button'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 0px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._left.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._left.onmouseover=function (e) { me._left__img.src=me._left__img.ggOverSrc; } me._left.onmouseout=function (e) { me._left__img.src=me._left__img.ggNormalSrc; me.elementMouseDown['left']=false; } me._left.onmousedown=function (e) { me.elementMouseDown['left']=true; } me._left.onmouseup=function (e) { me.elementMouseDown['left']=false; } me._left.ontouchend=function (e) { me.elementMouseDown['left']=false; } me._left.ggUpdatePosition=function (useTransition) { } me._toolbar.appendChild(me._left); el=me._right=document.createElement('div'); els=me._right__img=document.createElement('img'); els.className='ggskin ggskin_right'; hs=basePath + 'images/right.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_button'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; hs=basePath + 'images/right__o.png'; me._right__img.ggOverSrc=hs; el.ggId="right"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_button "; el.ggType='button'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 35px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._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 player.getCurrentNode(); } me._right.onmouseover=function (e) { me._right__img.src=me._right__img.ggOverSrc; } me._right.onmouseout=function (e) { me._right__img.src=me._right__img.ggNormalSrc; me.elementMouseDown['right']=false; } me._right.onmousedown=function (e) { me.elementMouseDown['right']=true; } me._right.onmouseup=function (e) { me.elementMouseDown['right']=false; } me._right.ontouchend=function (e) { me.elementMouseDown['right']=false; } me._right.ggUpdatePosition=function (useTransition) { } me._toolbar.appendChild(me._right); el=me._up=document.createElement('div'); els=me._up__img=document.createElement('img'); els.className='ggskin ggskin_up'; hs=basePath + 'images/up.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_button'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; hs=basePath + 'images/up__o.png'; me._up__img.ggOverSrc=hs; el.ggId="up"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_button "; el.ggType='button'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 70px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._up.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._up.onmouseover=function (e) { me._up__img.src=me._up__img.ggOverSrc; } me._up.onmouseout=function (e) { me._up__img.src=me._up__img.ggNormalSrc; me.elementMouseDown['up']=false; } me._up.onmousedown=function (e) { me.elementMouseDown['up']=true; } me._up.onmouseup=function (e) { me.elementMouseDown['up']=false; } me._up.ontouchend=function (e) { me.elementMouseDown['up']=false; } me._up.ggUpdatePosition=function (useTransition) { } me._toolbar.appendChild(me._up); el=me._down=document.createElement('div'); els=me._down__img=document.createElement('img'); els.className='ggskin ggskin_down'; hs=basePath + 'images/down.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_button'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; hs=basePath + 'images/down__o.png'; me._down__img.ggOverSrc=hs; el.ggId="down"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_button "; el.ggType='button'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 105px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._down.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._down.onmouseover=function (e) { me._down__img.src=me._down__img.ggOverSrc; } me._down.onmouseout=function (e) { me._down__img.src=me._down__img.ggNormalSrc; me.elementMouseDown['down']=false; } me._down.onmousedown=function (e) { me.elementMouseDown['down']=true; } me._down.onmouseup=function (e) { me.elementMouseDown['down']=false; } me._down.ontouchend=function (e) { me.elementMouseDown['down']=false; } me._down.ggUpdatePosition=function (useTransition) { } me._toolbar.appendChild(me._down); el=me._zoom_in=document.createElement('div'); els=me._zoom_in__img=document.createElement('img'); els.className='ggskin ggskin_zoom_in'; hs=basePath + 'images/zoom_in.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_button'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; hs=basePath + 'images/zoom_in__o.png'; me._zoom_in__img.ggOverSrc=hs; el.ggId="zoom in"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_button "; el.ggType='button'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 140px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._zoom_in.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._zoom_in.onmouseover=function (e) { me._zoom_in__img.src=me._zoom_in__img.ggOverSrc; } me._zoom_in.onmouseout=function (e) { me._zoom_in__img.src=me._zoom_in__img.ggNormalSrc; me.elementMouseDown['zoom_in']=false; } me._zoom_in.onmousedown=function (e) { me.elementMouseDown['zoom_in']=true; } me._zoom_in.onmouseup=function (e) { me.elementMouseDown['zoom_in']=false; } me._zoom_in.ontouchend=function (e) { me.elementMouseDown['zoom_in']=false; } me._zoom_in.ggUpdatePosition=function (useTransition) { } me._toolbar.appendChild(me._zoom_in); el=me._zoom_out=document.createElement('div'); els=me._zoom_out__img=document.createElement('img'); els.className='ggskin ggskin_zoom_out'; hs=basePath + 'images/zoom_out.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_button'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; hs=basePath + 'images/zoom_out__o.png'; me._zoom_out__img.ggOverSrc=hs; el.ggId="zoom out"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_button "; el.ggType='button'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 175px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._zoom_out.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._zoom_out.onmouseover=function (e) { me._zoom_out__img.src=me._zoom_out__img.ggOverSrc; } me._zoom_out.onmouseout=function (e) { me._zoom_out__img.src=me._zoom_out__img.ggNormalSrc; me.elementMouseDown['zoom_out']=false; } me._zoom_out.onmousedown=function (e) { me.elementMouseDown['zoom_out']=true; } me._zoom_out.onmouseup=function (e) { me.elementMouseDown['zoom_out']=false; } me._zoom_out.ontouchend=function (e) { me.elementMouseDown['zoom_out']=false; } me._zoom_out.ggUpdatePosition=function (useTransition) { } me._toolbar.appendChild(me._zoom_out); el=me._auto_rotate=document.createElement('div'); els=me._auto_rotate__img=document.createElement('img'); els.className='ggskin ggskin_auto_rotate'; hs=basePath + 'images/auto_rotate.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_button'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; hs=basePath + 'images/auto_rotate__o.png'; me._auto_rotate__img.ggOverSrc=hs; el.ggId="auto rotate"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_button "; el.ggType='button'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 210px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; hs+='pointer-events:auto;'; el.setAttribute('style',hs); el.style[domTransform + 'Origin']='50% 50%'; me._auto_rotate.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._auto_rotate.onclick=function (e) { player.toggleAutorotate(); } me._auto_rotate.onmouseover=function (e) { me._auto_rotate__img.src=me._auto_rotate__img.ggOverSrc; } me._auto_rotate.onmouseout=function (e) { me._auto_rotate__img.src=me._auto_rotate__img.ggNormalSrc; } me._auto_rotate.ggUpdatePosition=function (useTransition) { } me._toolbar.appendChild(me._auto_rotate); el=me._fullscreen=document.createElement('div'); els=me._fullscreen__img=document.createElement('img'); els.className='ggskin ggskin_fullscreen'; hs=basePath + 'images/fullscreen.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_button'; els['ondragstart']=function() { return false; }; player.checkLoaded.push(els); el.appendChild(els); el.ggSubElement = els; hs=basePath + 'images/fullscreen__o.png'; me._fullscreen__img.ggOverSrc=hs; el.ggId="fullscreen"; el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; el.ggVisible=true; el.className="ggskin ggskin_button "; el.ggType='button'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 245px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; 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._fullscreen.onmouseover=function (e) { me._fullscreen__img.src=me._fullscreen__img.ggOverSrc; } me._fullscreen.onmouseout=function (e) { me._fullscreen__img.src=me._fullscreen__img.ggNormalSrc; } me._fullscreen.ggUpdatePosition=function (useTransition) { } me._toolbar.appendChild(me._fullscreen); me.divSkin.appendChild(me._toolbar); this.preloadImages(); player.addListener('sizechanged', function() { me.updateSize(me.divSkin); }); player.addListener('imagesready', function() { me._loading_image.style[domTransition]='none'; me._loading_image.style.visibility='hidden'; me._loading_image.ggVisible=false; }); }; this.hotspotProxyClick=function(id, url) { } this.hotspotProxyDoubleClick=function(id, url) { } me.hotspotProxyOver=function(id, url) { } me.hotspotProxyOut=function(id, url) { } player.addListener('changenode', function() { me.ggUserdata=player.userdata; }); me.skinTimerEvent=function() { me.ggCurrentTime=new Date().getTime(); var hs=''; if (me._loading_bar.ggParameter) { hs+=parameterToTransform(me._loading_bar.ggParameter) + ' '; } hs+='scale(' + (1 * player.getPercentLoaded() + 0) + ',1.0) '; me._loading_bar.style[domTransform]=hs; if (me.elementMouseDown['left']) { player.changePanLog(1,true); } if (me.elementMouseDown['right']) { player.changePanLog(-1,true); } if (me.elementMouseDown['up']) { player.changeTiltLog(1,true); } if (me.elementMouseDown['down']) { player.changeTiltLog(-1,true); } if (me.elementMouseDown['zoom_in']) { player.changeFovLog(-1,true); } if (me.elementMouseDown['zoom_out']) { player.changeFovLog(1,true); } }; player.addListener('timer', me.skinTimerEvent); 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;}')); document.head.appendChild(style); me.skinTimerEvent(); };