uawdijnntqw1x1x1
IP : 216.73.217.15
Hostname : webd002.cluster106.gra.hosting.ovh.net
Kernel : Linux webd002.cluster106.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
photograt
/
gerard-clavet-photos.com
/
AutreJML4
/
b7b58
/
..
/
Pano360
/
Ourrec14
/
skin.js
/
/
// Garden Gnome Software - Skin // Pano2VR 5.0beta4/11987 // Filename: simplex.ggsk // Generated ven. déc. 6 13:44:59 2019 function pano2vrSkin(player,base) { var ggSkinVars = []; var me=this; var flag=false; var nodeMarker=[]; var activeNodeMarker=[]; this.player=player; this.player.skinObj=this; this.divSkin=player.divSkin; this.ggUserdata=me.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<scripts.length;i++) { var src=scripts[i].src; if (src.indexOf('skin.js')>=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; if (typeof document.body.style['transform'] == 'undefined') { for(var i=0;i<prefixes.length;i++) { if (typeof document.body.style[prefixes[i] + 'Transform'] !== 'undefined') { cssPrefix='-' + prefixes[i].toLowerCase() + '-'; domTransition=prefixes[i] + 'Transition'; domTransform=prefixes[i] + 'Transform'; } } } this.player.setMargins(0,0,0,0); this.updateSize=function(startElement) { var stack=[]; stack.push(startElement); while(stack.length>0) { var e=stack.pop(); if (e.ggUpdatePosition) { e.ggUpdatePosition(); } if (e.hasChildNodes()) { for(var i=0;i<e.childNodes.length;i++) { stack.push(e.childNodes[i]); } } } } parameterToTransform=function(p) { var hs='translate(' + p.rx + 'px,' + p.ry + 'px) rotate(' + p.a + 'deg) scale(' + p.sx + ',' + p.sy + ')'; return hs; } this.findElements=function(id,regex) { var r=[]; var stack=[]; var pat=new RegExp(id,''); stack.push(me.divSkin); while(stack.length>0) { 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<e.childNodes.length;i++) { stack.push(e.childNodes[i]); } } } return r; } this.addSkin=function() { var hs=''; this.ggCurrentTime=new Date().getTime(); this._controller=document.createElement('div'); this._controller.ggId="controller"; this._controller.ggLeft=-142; this._controller.ggTop=-65; this._controller.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._controller.ggVisible=true; this._controller.className='ggskin ggskin_container '; this._controller.ggType='container'; hs =''; hs+='height : 50px;'; hs+='left : -142px;'; hs+='position : absolute;'; hs+='top : -65px;'; hs+='visibility : inherit;'; hs+='width : 286px;'; this._controller.setAttribute('style',hs); this._controller.style[domTransform + 'Origin']='50% 50%'; me._controller.ggIsActive=function() { return false; } me._controller.ggElementNodeId=function() { return me.player.getCurrentNode(); } this._controller.ggUpdatePosition=function () { this.style[domTransition]='none'; if (this.parentNode) { var w=this.parentNode.offsetWidth; this.style.left=(this.ggLeft - 0 + w/2) + 'px'; var h=this.parentNode.offsetHeight; this.style.top=(this.ggTop - 0 + h) + 'px'; } } this._up=document.createElement('div'); this._up__img=document.createElement('img'); this._up__img.className='ggskin ggskin_svg'; this._up__img.setAttribute('src',basePath + 'images/up.svg'); this._up__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._up__img['ondragstart']=function() { return false; }; this._up.appendChild(this._up__img); this._up__imgo=document.createElement('img'); this._up__imgo.className='ggskin ggskin_svg'; this._up__imgo.setAttribute('src',basePath + 'images/up__o.svg'); this._up__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); this._up__imgo['ondragstart']=function() { return false; }; this._up.appendChild(this._up__imgo); this._up.ggId="up"; this._up.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._up.ggVisible=true; this._up.className='ggskin ggskin_svg '; this._up.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 25px;'; hs+='position : absolute;'; hs+='top : -5px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; this._up.setAttribute('style',hs); this._up.style[domTransform + 'Origin']='50% 50%'; me._up.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._up.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._up.onmouseover=function () { me._up__img.style.visibility='hidden'; me._up__imgo.style.visibility='inherit'; } this._up.onmouseout=function () { me._up__img.style.visibility='inherit'; me._up__imgo.style.visibility='hidden'; me.elementMouseDown['up']=false; } this._up.onmousedown=function () { me.elementMouseDown['up']=true; } this._up.onmouseup=function () { me.elementMouseDown['up']=false; } this._up.ontouchend=function () { me.elementMouseDown['up']=false; } this._up.ggUpdatePosition=function () { } this._controller.appendChild(this._up); this._down=document.createElement('div'); this._down__img=document.createElement('img'); this._down__img.className='ggskin ggskin_svg'; this._down__img.setAttribute('src',basePath + 'images/down.svg'); this._down__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._down__img['ondragstart']=function() { return false; }; this._down.appendChild(this._down__img); this._down__imgo=document.createElement('img'); this._down__imgo.className='ggskin ggskin_svg'; this._down__imgo.setAttribute('src',basePath + 'images/down__o.svg'); this._down__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); this._down__imgo['ondragstart']=function() { return false; }; this._down.appendChild(this._down__imgo); this._down.ggId="down"; this._down.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._down.ggVisible=true; this._down.className='ggskin ggskin_svg '; this._down.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 25px;'; hs+='position : absolute;'; hs+='top : 25px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; this._down.setAttribute('style',hs); this._down.style[domTransform + 'Origin']='50% 50%'; me._down.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._down.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._down.onmouseover=function () { me._down__img.style.visibility='hidden'; me._down__imgo.style.visibility='inherit'; } this._down.onmouseout=function () { me._down__img.style.visibility='inherit'; me._down__imgo.style.visibility='hidden'; me.elementMouseDown['down']=false; } this._down.onmousedown=function () { me.elementMouseDown['down']=true; } this._down.onmouseup=function () { me.elementMouseDown['down']=false; } this._down.ontouchend=function () { me.elementMouseDown['down']=false; } this._down.ggUpdatePosition=function () { } this._controller.appendChild(this._down); this._left=document.createElement('div'); this._left__img=document.createElement('img'); this._left__img.className='ggskin ggskin_svg'; this._left__img.setAttribute('src',basePath + 'images/left.svg'); this._left__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._left__img['ondragstart']=function() { return false; }; this._left.appendChild(this._left__img); this._left__imgo=document.createElement('img'); this._left__imgo.className='ggskin ggskin_svg'; this._left__imgo.setAttribute('src',basePath + 'images/left__o.svg'); this._left__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); this._left__imgo['ondragstart']=function() { return false; }; this._left.appendChild(this._left__imgo); this._left.ggId="left"; this._left.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._left.ggVisible=true; this._left.className='ggskin ggskin_svg '; this._left.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 0px;'; hs+='position : absolute;'; hs+='top : 10px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; this._left.setAttribute('style',hs); this._left.style[domTransform + 'Origin']='50% 50%'; me._left.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._left.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._left.onmouseover=function () { me._left__img.style.visibility='hidden'; me._left__imgo.style.visibility='inherit'; } this._left.onmouseout=function () { me._left__img.style.visibility='inherit'; me._left__imgo.style.visibility='hidden'; me.elementMouseDown['left']=false; } this._left.onmousedown=function () { me.elementMouseDown['left']=true; } this._left.onmouseup=function () { me.elementMouseDown['left']=false; } this._left.ontouchend=function () { me.elementMouseDown['left']=false; } this._left.ggUpdatePosition=function () { } this._controller.appendChild(this._left); this._right=document.createElement('div'); this._right__img=document.createElement('img'); this._right__img.className='ggskin ggskin_svg'; this._right__img.setAttribute('src',basePath + 'images/right.svg'); this._right__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._right__img['ondragstart']=function() { return false; }; this._right.appendChild(this._right__img); this._right__imgo=document.createElement('img'); this._right__imgo.className='ggskin ggskin_svg'; this._right__imgo.setAttribute('src',basePath + 'images/right__o.svg'); this._right__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); this._right__imgo['ondragstart']=function() { return false; }; this._right.appendChild(this._right__imgo); this._right.ggId="right"; this._right.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._right.ggVisible=true; this._right.className='ggskin ggskin_svg '; this._right.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 50px;'; hs+='position : absolute;'; hs+='top : 10px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; this._right.setAttribute('style',hs); this._right.style[domTransform + 'Origin']='50% 50%'; me._right.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._right.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._right.onmouseover=function () { me._right__img.style.visibility='hidden'; me._right__imgo.style.visibility='inherit'; } this._right.onmouseout=function () { me._right__img.style.visibility='inherit'; me._right__imgo.style.visibility='hidden'; me.elementMouseDown['right']=false; } this._right.onmousedown=function () { me.elementMouseDown['right']=true; } this._right.onmouseup=function () { me.elementMouseDown['right']=false; } this._right.ontouchend=function () { me.elementMouseDown['right']=false; } this._right.ggUpdatePosition=function () { } this._controller.appendChild(this._right); this._zoomin=document.createElement('div'); this._zoomin__img=document.createElement('img'); this._zoomin__img.className='ggskin ggskin_svg'; this._zoomin__img.setAttribute('src',basePath + 'images/zoomin.svg'); this._zoomin__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._zoomin__img['ondragstart']=function() { return false; }; this._zoomin.appendChild(this._zoomin__img); this._zoomin__imgo=document.createElement('img'); this._zoomin__imgo.className='ggskin ggskin_svg'; this._zoomin__imgo.setAttribute('src',basePath + 'images/zoomin__o.svg'); this._zoomin__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); this._zoomin__imgo['ondragstart']=function() { return false; }; this._zoomin.appendChild(this._zoomin__imgo); this._zoomin.ggId="zoomin"; this._zoomin.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._zoomin.ggVisible=true; this._zoomin.className='ggskin ggskin_svg '; this._zoomin.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 90px;'; hs+='position : absolute;'; hs+='top : 10px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; this._zoomin.setAttribute('style',hs); this._zoomin.style[domTransform + 'Origin']='50% 50%'; me._zoomin.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._zoomin.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._zoomin.onmouseover=function () { me._tt_zoomin.style[domTransition]='none'; me._tt_zoomin.style.visibility='inherit'; me._tt_zoomin.ggVisible=true; me._zoomin__img.style.visibility='hidden'; me._zoomin__imgo.style.visibility='inherit'; } this._zoomin.onmouseout=function () { me._tt_zoomin.style[domTransition]='none'; me._tt_zoomin.style.visibility='hidden'; me._tt_zoomin.ggVisible=false; me._zoomin__img.style.visibility='inherit'; me._zoomin__imgo.style.visibility='hidden'; me.elementMouseDown['zoomin']=false; } this._zoomin.onmousedown=function () { me.elementMouseDown['zoomin']=true; } this._zoomin.onmouseup=function () { me.elementMouseDown['zoomin']=false; } this._zoomin.ontouchend=function () { me.elementMouseDown['zoomin']=false; } this._zoomin.ggUpdatePosition=function () { } this._tt_zoomin=document.createElement('div'); this._tt_zoomin__text=document.createElement('div'); this._tt_zoomin.className='ggskin ggskin_textdiv'; this._tt_zoomin.ggTextDiv=this._tt_zoomin__text; this._tt_zoomin.ggId="tt_zoomin"; this._tt_zoomin.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_zoomin.ggVisible=false; this._tt_zoomin.className='ggskin ggskin_text '; this._tt_zoomin.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -55px;'; hs+='position : absolute;'; hs+='top : 36px;'; hs+='visibility : hidden;'; hs+='width : 148px;'; this._tt_zoomin.setAttribute('style',hs); this._tt_zoomin.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 148px;'; hs+='height: 18px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(0,0,0,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; this._tt_zoomin__text.setAttribute('style',hs); this._tt_zoomin__text.innerHTML="Zoom In"; this._tt_zoomin.appendChild(this._tt_zoomin__text); me._tt_zoomin.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_zoomin.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_zoomin.ggUpdatePosition=function () { } this._tt_zoomin_white=document.createElement('div'); this._tt_zoomin_white__text=document.createElement('div'); this._tt_zoomin_white.className='ggskin ggskin_textdiv'; this._tt_zoomin_white.ggTextDiv=this._tt_zoomin_white__text; this._tt_zoomin_white.ggId="tt_zoomin_white"; this._tt_zoomin_white.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_zoomin_white.ggVisible=true; this._tt_zoomin_white.className='ggskin ggskin_text '; this._tt_zoomin_white.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -1px;'; hs+='position : absolute;'; hs+='top : -1px;'; hs+='visibility : inherit;'; hs+='width : 148px;'; this._tt_zoomin_white.setAttribute('style',hs); this._tt_zoomin_white.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 148px;'; hs+='height: 18px;'; 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;'; this._tt_zoomin_white__text.setAttribute('style',hs); this._tt_zoomin_white__text.innerHTML="Zoom In"; this._tt_zoomin_white.appendChild(this._tt_zoomin_white__text); me._tt_zoomin_white.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_zoomin_white.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_zoomin_white.ggUpdatePosition=function () { } this._tt_zoomin.appendChild(this._tt_zoomin_white); this._zoomin.appendChild(this._tt_zoomin); this._controller.appendChild(this._zoomin); this._zoomout=document.createElement('div'); this._zoomout__img=document.createElement('img'); this._zoomout__img.className='ggskin ggskin_svg'; this._zoomout__img.setAttribute('src',basePath + 'images/zoomout.svg'); this._zoomout__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._zoomout__img['ondragstart']=function() { return false; }; this._zoomout.appendChild(this._zoomout__img); this._zoomout__imgo=document.createElement('img'); this._zoomout__imgo.className='ggskin ggskin_svg'; this._zoomout__imgo.setAttribute('src',basePath + 'images/zoomout__o.svg'); this._zoomout__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); this._zoomout__imgo['ondragstart']=function() { return false; }; this._zoomout.appendChild(this._zoomout__imgo); this._zoomout.ggId="zoomout"; this._zoomout.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._zoomout.ggVisible=true; this._zoomout.className='ggskin ggskin_svg '; this._zoomout.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 120px;'; hs+='position : absolute;'; hs+='top : 10px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; this._zoomout.setAttribute('style',hs); this._zoomout.style[domTransform + 'Origin']='50% 50%'; me._zoomout.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._zoomout.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._zoomout.onmouseover=function () { me._tt_zoomout.style[domTransition]='none'; me._tt_zoomout.style.visibility='inherit'; me._tt_zoomout.ggVisible=true; me._zoomout__img.style.visibility='hidden'; me._zoomout__imgo.style.visibility='inherit'; } this._zoomout.onmouseout=function () { me._tt_zoomout.style[domTransition]='none'; me._tt_zoomout.style.visibility='hidden'; me._tt_zoomout.ggVisible=false; me._zoomout__img.style.visibility='inherit'; me._zoomout__imgo.style.visibility='hidden'; me.elementMouseDown['zoomout']=false; } this._zoomout.onmousedown=function () { me.elementMouseDown['zoomout']=true; } this._zoomout.onmouseup=function () { me.elementMouseDown['zoomout']=false; } this._zoomout.ontouchend=function () { me.elementMouseDown['zoomout']=false; } this._zoomout.ggUpdatePosition=function () { } this._tt_zoomout=document.createElement('div'); this._tt_zoomout__text=document.createElement('div'); this._tt_zoomout.className='ggskin ggskin_textdiv'; this._tt_zoomout.ggTextDiv=this._tt_zoomout__text; this._tt_zoomout.ggId="tt_zoomout"; this._tt_zoomout.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_zoomout.ggVisible=false; this._tt_zoomout.className='ggskin ggskin_text '; this._tt_zoomout.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -55px;'; hs+='position : absolute;'; hs+='top : 36px;'; hs+='visibility : hidden;'; hs+='width : 148px;'; this._tt_zoomout.setAttribute('style',hs); this._tt_zoomout.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 148px;'; hs+='height: 18px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(0,0,0,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; this._tt_zoomout__text.setAttribute('style',hs); this._tt_zoomout__text.innerHTML="Zoom Out"; this._tt_zoomout.appendChild(this._tt_zoomout__text); me._tt_zoomout.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_zoomout.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_zoomout.ggUpdatePosition=function () { } this._tt_zoomout_white=document.createElement('div'); this._tt_zoomout_white__text=document.createElement('div'); this._tt_zoomout_white.className='ggskin ggskin_textdiv'; this._tt_zoomout_white.ggTextDiv=this._tt_zoomout_white__text; this._tt_zoomout_white.ggId="tt_zoomout_white"; this._tt_zoomout_white.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_zoomout_white.ggVisible=true; this._tt_zoomout_white.className='ggskin ggskin_text '; this._tt_zoomout_white.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -1px;'; hs+='position : absolute;'; hs+='top : -1px;'; hs+='visibility : inherit;'; hs+='width : 148px;'; this._tt_zoomout_white.setAttribute('style',hs); this._tt_zoomout_white.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 148px;'; hs+='height: 18px;'; 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;'; this._tt_zoomout_white__text.setAttribute('style',hs); this._tt_zoomout_white__text.innerHTML="Zoom Out"; this._tt_zoomout_white.appendChild(this._tt_zoomout_white__text); me._tt_zoomout_white.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_zoomout_white.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_zoomout_white.ggUpdatePosition=function () { } this._tt_zoomout.appendChild(this._tt_zoomout_white); this._zoomout.appendChild(this._tt_zoomout); this._controller.appendChild(this._zoomout); this._autorotate=document.createElement('div'); this._autorotate__img=document.createElement('img'); this._autorotate__img.className='ggskin ggskin_svg'; this._autorotate__img.setAttribute('src',basePath + 'images/autorotate.svg'); this._autorotate__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._autorotate__img['ondragstart']=function() { return false; }; this._autorotate.appendChild(this._autorotate__img); this._autorotate__imgo=document.createElement('img'); this._autorotate__imgo.className='ggskin ggskin_svg'; this._autorotate__imgo.setAttribute('src',basePath + 'images/autorotate__o.svg'); this._autorotate__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); this._autorotate__imgo['ondragstart']=function() { return false; }; this._autorotate.appendChild(this._autorotate__imgo); this._autorotate.ggId="autorotate"; this._autorotate.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._autorotate.ggVisible=true; this._autorotate.className='ggskin ggskin_svg '; this._autorotate.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 160px;'; hs+='position : absolute;'; hs+='top : 10px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; this._autorotate.setAttribute('style',hs); this._autorotate.style[domTransform + 'Origin']='50% 50%'; me._autorotate.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._autorotate.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._autorotate.onclick=function () { me.player.toggleAutorotate(); } this._autorotate.onmouseover=function () { me._tt_autorotate.style[domTransition]='none'; me._tt_autorotate.style.visibility='inherit'; me._tt_autorotate.ggVisible=true; me._autorotate__img.style.visibility='hidden'; me._autorotate__imgo.style.visibility='inherit'; } this._autorotate.onmouseout=function () { me._tt_autorotate.style[domTransition]='none'; me._tt_autorotate.style.visibility='hidden'; me._tt_autorotate.ggVisible=false; me._autorotate__img.style.visibility='inherit'; me._autorotate__imgo.style.visibility='hidden'; } this._autorotate.ggUpdatePosition=function () { } this._tt_autorotate=document.createElement('div'); this._tt_autorotate__text=document.createElement('div'); this._tt_autorotate.className='ggskin ggskin_textdiv'; this._tt_autorotate.ggTextDiv=this._tt_autorotate__text; this._tt_autorotate.ggId="tt_autorotate"; this._tt_autorotate.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_autorotate.ggVisible=false; this._tt_autorotate.className='ggskin ggskin_text '; this._tt_autorotate.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -65px;'; hs+='position : absolute;'; hs+='top : 36px;'; hs+='visibility : hidden;'; hs+='width : 168px;'; this._tt_autorotate.setAttribute('style',hs); this._tt_autorotate.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 168px;'; hs+='height: 18px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(0,0,0,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; this._tt_autorotate__text.setAttribute('style',hs); this._tt_autorotate__text.innerHTML="Start\/Stop Autorotation"; this._tt_autorotate.appendChild(this._tt_autorotate__text); me._tt_autorotate.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_autorotate.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_autorotate.ggUpdatePosition=function () { } this._tt_autorotate_white=document.createElement('div'); this._tt_autorotate_white__text=document.createElement('div'); this._tt_autorotate_white.className='ggskin ggskin_textdiv'; this._tt_autorotate_white.ggTextDiv=this._tt_autorotate_white__text; this._tt_autorotate_white.ggId="tt_autorotate_white"; this._tt_autorotate_white.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_autorotate_white.ggVisible=true; this._tt_autorotate_white.className='ggskin ggskin_text '; this._tt_autorotate_white.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -1px;'; hs+='position : absolute;'; hs+='top : -1px;'; hs+='visibility : inherit;'; hs+='width : 168px;'; this._tt_autorotate_white.setAttribute('style',hs); this._tt_autorotate_white.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 168px;'; hs+='height: 18px;'; 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;'; this._tt_autorotate_white__text.setAttribute('style',hs); this._tt_autorotate_white__text.innerHTML="Start\/Stop Autorotation"; this._tt_autorotate_white.appendChild(this._tt_autorotate_white__text); me._tt_autorotate_white.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_autorotate_white.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_autorotate_white.ggUpdatePosition=function () { } this._tt_autorotate.appendChild(this._tt_autorotate_white); this._autorotate.appendChild(this._tt_autorotate); this._controller.appendChild(this._autorotate); this._info=document.createElement('div'); this._info__img=document.createElement('img'); this._info__img.className='ggskin ggskin_svg'; this._info__img.setAttribute('src',basePath + 'images/info.svg'); this._info__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._info__img['ondragstart']=function() { return false; }; this._info.appendChild(this._info__img); this._info__imgo=document.createElement('img'); this._info__imgo.className='ggskin ggskin_svg'; this._info__imgo.setAttribute('src',basePath + 'images/info__o.svg'); this._info__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); this._info__imgo['ondragstart']=function() { return false; }; this._info.appendChild(this._info__imgo); this._info.ggId="info"; this._info.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._info.ggVisible=true; this._info.className='ggskin ggskin_svg '; this._info.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 190px;'; hs+='position : absolute;'; hs+='top : 10px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; this._info.setAttribute('style',hs); this._info.style[domTransform + 'Origin']='50% 50%'; me._info.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._info.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._info.onclick=function () { var flag=(me._userdata.style.visibility=='hidden'); me._userdata.style[domTransition]='none'; me._userdata.style.visibility=flag?'inherit':'hidden'; me._userdata.ggVisible=flag; } this._info.onmouseover=function () { me._tt_info.style[domTransition]='none'; me._tt_info.style.visibility='inherit'; me._tt_info.ggVisible=true; me._info__img.style.visibility='hidden'; me._info__imgo.style.visibility='inherit'; } this._info.onmouseout=function () { me._tt_info.style[domTransition]='none'; me._tt_info.style.visibility='hidden'; me._tt_info.ggVisible=false; me._info__img.style.visibility='inherit'; me._info__imgo.style.visibility='hidden'; } this._info.ggUpdatePosition=function () { } this._tt_info=document.createElement('div'); this._tt_info__text=document.createElement('div'); this._tt_info.className='ggskin ggskin_textdiv'; this._tt_info.ggTextDiv=this._tt_info__text; this._tt_info.ggId="tt_info"; this._tt_info.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_info.ggVisible=false; this._tt_info.className='ggskin ggskin_text '; this._tt_info.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -55px;'; hs+='position : absolute;'; hs+='top : 36px;'; hs+='visibility : hidden;'; hs+='width : 148px;'; this._tt_info.setAttribute('style',hs); this._tt_info.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 148px;'; hs+='height: 18px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(0,0,0,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; this._tt_info__text.setAttribute('style',hs); this._tt_info__text.innerHTML="Show Information"; this._tt_info.appendChild(this._tt_info__text); me._tt_info.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_info.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_info.ggUpdatePosition=function () { } this._tt_info_white=document.createElement('div'); this._tt_info_white__text=document.createElement('div'); this._tt_info_white.className='ggskin ggskin_textdiv'; this._tt_info_white.ggTextDiv=this._tt_info_white__text; this._tt_info_white.ggId="tt_info_white"; this._tt_info_white.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_info_white.ggVisible=true; this._tt_info_white.className='ggskin ggskin_text '; this._tt_info_white.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -1px;'; hs+='position : absolute;'; hs+='top : -1px;'; hs+='visibility : inherit;'; hs+='width : 148px;'; this._tt_info_white.setAttribute('style',hs); this._tt_info_white.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 148px;'; hs+='height: 18px;'; 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;'; this._tt_info_white__text.setAttribute('style',hs); this._tt_info_white__text.innerHTML="Show Information"; this._tt_info_white.appendChild(this._tt_info_white__text); me._tt_info_white.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_info_white.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_info_white.ggUpdatePosition=function () { } this._tt_info.appendChild(this._tt_info_white); this._info.appendChild(this._tt_info); this._controller.appendChild(this._info); this._movemode=document.createElement('div'); this._movemode__img=document.createElement('img'); this._movemode__img.className='ggskin ggskin_svg'; this._movemode__img.setAttribute('src',basePath + 'images/movemode.svg'); this._movemode__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._movemode__img['ondragstart']=function() { return false; }; this._movemode.appendChild(this._movemode__img); this._movemode__imgo=document.createElement('img'); this._movemode__imgo.className='ggskin ggskin_svg'; this._movemode__imgo.setAttribute('src',basePath + 'images/movemode__o.svg'); this._movemode__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); this._movemode__imgo['ondragstart']=function() { return false; }; this._movemode.appendChild(this._movemode__imgo); this._movemode.ggId="movemode"; this._movemode.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._movemode.ggVisible=true; this._movemode.className='ggskin ggskin_svg '; this._movemode.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 220px;'; hs+='position : absolute;'; hs+='top : 10px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; this._movemode.setAttribute('style',hs); this._movemode.style[domTransform + 'Origin']='50% 50%'; me._movemode.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._movemode.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._movemode.onclick=function () { me.player.changeViewMode(2); } this._movemode.onmouseover=function () { me._tt_movemode.style[domTransition]='none'; me._tt_movemode.style.visibility='inherit'; me._tt_movemode.ggVisible=true; me._movemode__img.style.visibility='hidden'; me._movemode__imgo.style.visibility='inherit'; } this._movemode.onmouseout=function () { me._tt_movemode.style[domTransition]='none'; me._tt_movemode.style.visibility='hidden'; me._tt_movemode.ggVisible=false; me._movemode__img.style.visibility='inherit'; me._movemode__imgo.style.visibility='hidden'; } this._movemode.ggUpdatePosition=function () { } this._tt_movemode=document.createElement('div'); this._tt_movemode__text=document.createElement('div'); this._tt_movemode.className='ggskin ggskin_textdiv'; this._tt_movemode.ggTextDiv=this._tt_movemode__text; this._tt_movemode.ggId="tt_movemode"; this._tt_movemode.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_movemode.ggVisible=false; this._tt_movemode.className='ggskin ggskin_text '; this._tt_movemode.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -65px;'; hs+='position : absolute;'; hs+='top : 36px;'; hs+='visibility : hidden;'; hs+='width : 168px;'; this._tt_movemode.setAttribute('style',hs); this._tt_movemode.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 168px;'; hs+='height: 18px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(0,0,0,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; this._tt_movemode__text.setAttribute('style',hs); this._tt_movemode__text.innerHTML="Change Control Mode"; this._tt_movemode.appendChild(this._tt_movemode__text); me._tt_movemode.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_movemode.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_movemode.ggUpdatePosition=function () { } this._tt_movemode_white=document.createElement('div'); this._tt_movemode_white__text=document.createElement('div'); this._tt_movemode_white.className='ggskin ggskin_textdiv'; this._tt_movemode_white.ggTextDiv=this._tt_movemode_white__text; this._tt_movemode_white.ggId="tt_movemode_white"; this._tt_movemode_white.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_movemode_white.ggVisible=true; this._tt_movemode_white.className='ggskin ggskin_text '; this._tt_movemode_white.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -1px;'; hs+='position : absolute;'; hs+='top : -1px;'; hs+='visibility : inherit;'; hs+='width : 168px;'; this._tt_movemode_white.setAttribute('style',hs); this._tt_movemode_white.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 168px;'; hs+='height: 18px;'; 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;'; this._tt_movemode_white__text.setAttribute('style',hs); this._tt_movemode_white__text.innerHTML="Change Control Mode"; this._tt_movemode_white.appendChild(this._tt_movemode_white__text); me._tt_movemode_white.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_movemode_white.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_movemode_white.ggUpdatePosition=function () { } this._tt_movemode.appendChild(this._tt_movemode_white); this._movemode.appendChild(this._tt_movemode); this._controller.appendChild(this._movemode); this._fullscreen=document.createElement('div'); this._fullscreen__img=document.createElement('img'); this._fullscreen__img.className='ggskin ggskin_svg'; this._fullscreen__img.setAttribute('src',basePath + 'images/fullscreen.svg'); this._fullscreen__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._fullscreen__img['ondragstart']=function() { return false; }; this._fullscreen.appendChild(this._fullscreen__img); this._fullscreen__imgo=document.createElement('img'); this._fullscreen__imgo.className='ggskin ggskin_svg'; this._fullscreen__imgo.setAttribute('src',basePath + 'images/fullscreen__o.svg'); this._fullscreen__imgo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;'); this._fullscreen__imgo['ondragstart']=function() { return false; }; this._fullscreen.appendChild(this._fullscreen__imgo); this._fullscreen.ggId="fullscreen"; this._fullscreen.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._fullscreen.ggVisible=true; this._fullscreen.className='ggskin ggskin_svg '; this._fullscreen.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : 250px;'; hs+='position : absolute;'; hs+='top : 10px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; this._fullscreen.setAttribute('style',hs); this._fullscreen.style[domTransform + 'Origin']='50% 50%'; me._fullscreen.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._fullscreen.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._fullscreen.onclick=function () { me.player.toggleFullscreen(); } this._fullscreen.onmouseover=function () { me._tt_fullscreen.style[domTransition]='none'; me._tt_fullscreen.style.visibility='inherit'; me._tt_fullscreen.ggVisible=true; me._fullscreen__img.style.visibility='hidden'; me._fullscreen__imgo.style.visibility='inherit'; } this._fullscreen.onmouseout=function () { me._tt_fullscreen.style[domTransition]='none'; me._tt_fullscreen.style.visibility='hidden'; me._tt_fullscreen.ggVisible=false; me._fullscreen__img.style.visibility='inherit'; me._fullscreen__imgo.style.visibility='hidden'; } this._fullscreen.ggUpdatePosition=function () { } this._tt_fullscreen=document.createElement('div'); this._tt_fullscreen__text=document.createElement('div'); this._tt_fullscreen.className='ggskin ggskin_textdiv'; this._tt_fullscreen.ggTextDiv=this._tt_fullscreen__text; this._tt_fullscreen.ggId="tt_fullscreen"; this._tt_fullscreen.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_fullscreen.ggVisible=false; this._tt_fullscreen.className='ggskin ggskin_text '; this._tt_fullscreen.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -55px;'; hs+='position : absolute;'; hs+='top : 36px;'; hs+='visibility : hidden;'; hs+='width : 148px;'; this._tt_fullscreen.setAttribute('style',hs); this._tt_fullscreen.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 148px;'; hs+='height: 18px;'; hs+='border: 0px solid #000000;'; hs+='color: rgba(0,0,0,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 0px 1px 0px 1px;'; hs+='overflow: hidden;'; this._tt_fullscreen__text.setAttribute('style',hs); this._tt_fullscreen__text.innerHTML="Fullscreen"; this._tt_fullscreen.appendChild(this._tt_fullscreen__text); me._tt_fullscreen.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_fullscreen.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_fullscreen.ggUpdatePosition=function () { } this._tt_fullscreen_white=document.createElement('div'); this._tt_fullscreen_white__text=document.createElement('div'); this._tt_fullscreen_white.className='ggskin ggskin_textdiv'; this._tt_fullscreen_white.ggTextDiv=this._tt_fullscreen_white__text; this._tt_fullscreen_white.ggId="tt_fullscreen_white"; this._tt_fullscreen_white.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._tt_fullscreen_white.ggVisible=true; this._tt_fullscreen_white.className='ggskin ggskin_text '; this._tt_fullscreen_white.ggType='text'; hs =''; hs+='height : 18px;'; hs+='left : -1px;'; hs+='position : absolute;'; hs+='top : -1px;'; hs+='visibility : inherit;'; hs+='width : 148px;'; this._tt_fullscreen_white.setAttribute('style',hs); this._tt_fullscreen_white.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 148px;'; hs+='height: 18px;'; 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;'; this._tt_fullscreen_white__text.setAttribute('style',hs); this._tt_fullscreen_white__text.innerHTML="Fullscreen"; this._tt_fullscreen_white.appendChild(this._tt_fullscreen_white__text); me._tt_fullscreen_white.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._tt_fullscreen_white.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._tt_fullscreen_white.ggUpdatePosition=function () { } this._tt_fullscreen.appendChild(this._tt_fullscreen_white); this._fullscreen.appendChild(this._tt_fullscreen); this._controller.appendChild(this._fullscreen); this.divSkin.appendChild(this._controller); this._loading=document.createElement('div'); this._loading.ggId="loading"; this._loading.ggLeft=-105; this._loading.ggTop=-30; this._loading.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._loading.ggVisible=true; this._loading.className='ggskin ggskin_container '; this._loading.ggType='container'; hs =''; hs+='height : 60px;'; hs+='left : -105px;'; hs+='position : absolute;'; hs+='top : -30px;'; hs+='visibility : inherit;'; hs+='width : 210px;'; this._loading.setAttribute('style',hs); this._loading.style[domTransform + 'Origin']='50% 50%'; me._loading.ggIsActive=function() { return false; } me._loading.ggElementNodeId=function() { return me.player.getCurrentNode(); } this._loading.onclick=function () { me._loading.style[domTransition]='none'; me._loading.style.visibility='hidden'; me._loading.ggVisible=false; } this._loading.ggUpdatePosition=function () { this.style[domTransition]='none'; if (this.parentNode) { var w=this.parentNode.offsetWidth; this.style.left=(this.ggLeft - 0 + w/2) + 'px'; var h=this.parentNode.offsetHeight; this.style.top=(this.ggTop - 0 + h/2) + 'px'; } } this._loadingbg=document.createElement('div'); this._loadingbg.ggId="loadingbg"; this._loadingbg.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._loadingbg.ggVisible=true; this._loadingbg.className='ggskin ggskin_rectangle '; this._loadingbg.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 10px;'; hs+='border-radius : 10px;'; hs+='background : #000000;'; hs+='border : 0px solid #000000;'; hs+='height : 60px;'; hs+='left : 0px;'; hs+='opacity : 0.5;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 210px;'; this._loadingbg.setAttribute('style',hs); this._loadingbg.style[domTransform + 'Origin']='50% 50%'; me._loadingbg.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._loadingbg.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._loadingbg.ggUpdatePosition=function () { } this._loading.appendChild(this._loadingbg); this._loadingbrd=document.createElement('div'); this._loadingbrd.ggId="loadingbrd"; this._loadingbrd.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._loadingbrd.ggVisible=true; this._loadingbrd.className='ggskin ggskin_rectangle '; this._loadingbrd.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 10px;'; hs+='border-radius : 10px;'; hs+='border : 2px solid #ffffff;'; hs+='height : 58px;'; hs+='left : -1px;'; hs+='opacity : 0.5;'; hs+='position : absolute;'; hs+='top : -1px;'; hs+='visibility : inherit;'; hs+='width : 208px;'; this._loadingbrd.setAttribute('style',hs); this._loadingbrd.style[domTransform + 'Origin']='50% 50%'; me._loadingbrd.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._loadingbrd.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._loadingbrd.ggUpdatePosition=function () { } this._loading.appendChild(this._loadingbrd); this._loadingtext=document.createElement('div'); this._loadingtext__text=document.createElement('div'); this._loadingtext.className='ggskin ggskin_textdiv'; this._loadingtext.ggTextDiv=this._loadingtext__text; this._loadingtext.ggId="loadingtext"; this._loadingtext.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._loadingtext.ggVisible=true; this._loadingtext.className='ggskin ggskin_text '; this._loadingtext.ggType='text'; hs =''; hs+='height : 23px;'; hs+='left : 16px;'; hs+='position : absolute;'; hs+='top : 12px;'; hs+='visibility : inherit;'; hs+='width : 176px;'; this._loadingtext.setAttribute('style',hs); this._loadingtext.style[domTransform + 'Origin']='0% 50%'; hs ='position:absolute;'; 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;'; this._loadingtext__text.setAttribute('style',hs); this._loadingtext.ggUpdateText=function() { var hs="Loading... "+(me.player.getPercentLoaded()*100.0).toFixed(0)+"%"; if (hs!=this.ggText) { this.ggText=hs; this.ggTextDiv.innerHTML=hs; if (this.ggUpdatePosition) this.ggUpdatePosition(); } } me._loadingtext.ggUpdateText(); this._loadingtext.appendChild(this._loadingtext__text); me._loadingtext.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._loadingtext.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._loadingtext.ggUpdatePosition=function () { } this._loading.appendChild(this._loadingtext); this._loadingbar=document.createElement('div'); this._loadingbar.ggId="loadingbar"; this._loadingbar.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._loadingbar.ggVisible=true; this._loadingbar.className='ggskin ggskin_rectangle '; this._loadingbar.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 5px;'; hs+='border-radius : 5px;'; hs+='background : #ffffff;'; hs+='border : 1px solid #808080;'; hs+='height : 12px;'; hs+='left : 15px;'; hs+='position : absolute;'; hs+='top : 35px;'; hs+='visibility : inherit;'; hs+='width : 181px;'; this._loadingbar.setAttribute('style',hs); this._loadingbar.style[domTransform + 'Origin']='0% 50%'; me._loadingbar.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._loadingbar.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._loadingbar.ggUpdatePosition=function () { } this._loading.appendChild(this._loadingbar); this.divSkin.appendChild(this._loading); this._userdata=document.createElement('div'); this._userdata.ggId="userdata"; this._userdata.ggLeft=-120; this._userdata.ggTop=-80; this._userdata.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._userdata.ggVisible=false; this._userdata.className='ggskin ggskin_container '; this._userdata.ggType='container'; hs =''; hs+='height : 140px;'; hs+='left : -120px;'; hs+='position : absolute;'; hs+='top : -80px;'; hs+='visibility : hidden;'; hs+='width : 240px;'; this._userdata.setAttribute('style',hs); this._userdata.style[domTransform + 'Origin']='50% 50%'; me._userdata.ggIsActive=function() { return false; } me._userdata.ggElementNodeId=function() { return me.player.getCurrentNode(); } this._userdata.onclick=function () { me._userdata.style[domTransition]='none'; me._userdata.style.visibility='hidden'; me._userdata.ggVisible=false; } this._userdata.ggUpdatePosition=function () { this.style[domTransition]='none'; if (this.parentNode) { var w=this.parentNode.offsetWidth; this.style.left=(this.ggLeft - 0 + w/2) + 'px'; var h=this.parentNode.offsetHeight; this.style.top=(this.ggTop - 0 + h/2) + 'px'; } } this._userdatabg=document.createElement('div'); this._userdatabg.ggId="userdatabg"; this._userdatabg.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._userdatabg.ggVisible=true; this._userdatabg.className='ggskin ggskin_rectangle '; this._userdatabg.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 10px;'; hs+='border-radius : 10px;'; hs+='background : #000000;'; hs+='border : 0px solid #000000;'; hs+='height : 140px;'; hs+='left : 0px;'; hs+='opacity : 0.5;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 240px;'; this._userdatabg.setAttribute('style',hs); this._userdatabg.style[domTransform + 'Origin']='50% 50%'; me._userdatabg.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._userdatabg.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._userdatabg.ggUpdatePosition=function () { } this._userdata.appendChild(this._userdatabg); this._userdatabrd=document.createElement('div'); this._userdatabrd.ggId="userdatabrd"; this._userdatabrd.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._userdatabrd.ggVisible=true; this._userdatabrd.className='ggskin ggskin_rectangle '; this._userdatabrd.ggType='rectangle'; hs =''; hs+=cssPrefix + 'border-radius : 10px;'; hs+='border-radius : 10px;'; hs+='border : 2px solid #ffffff;'; hs+='height : 138px;'; hs+='left : -1px;'; hs+='opacity : 0.5;'; hs+='position : absolute;'; hs+='top : -1px;'; hs+='visibility : inherit;'; hs+='width : 238px;'; this._userdatabrd.setAttribute('style',hs); this._userdatabrd.style[domTransform + 'Origin']='50% 50%'; me._userdatabrd.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._userdatabrd.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._userdatabrd.ggUpdatePosition=function () { } this._userdata.appendChild(this._userdatabrd); this._title=document.createElement('div'); this._title__text=document.createElement('div'); this._title.className='ggskin ggskin_textdiv'; this._title.ggTextDiv=this._title__text; this._title.ggId="title"; this._title.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._title.ggVisible=true; this._title.className='ggskin ggskin_text '; this._title.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : 10px;'; hs+='position : absolute;'; hs+='top : 10px;'; hs+='visibility : inherit;'; hs+='width : 218px;'; this._title.setAttribute('style',hs); this._title.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 218px;'; hs+='height: 20px;'; 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;'; this._title__text.setAttribute('style',hs); this._title.ggUpdateText=function() { var hs="<b>"+me.ggUserdata.title+"<\/b>"; if (hs!=this.ggText) { this.ggText=hs; this.ggTextDiv.innerHTML=hs; if (this.ggUpdatePosition) this.ggUpdatePosition(); } } me._title.ggUpdateText(); this._title.appendChild(this._title__text); me._title.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._title.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._title.ggUpdatePosition=function () { } this._userdata.appendChild(this._title); this._description=document.createElement('div'); this._description__text=document.createElement('div'); this._description.className='ggskin ggskin_textdiv'; this._description.ggTextDiv=this._description__text; this._description.ggId="description"; this._description.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._description.ggVisible=true; this._description.className='ggskin ggskin_text '; this._description.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : 10px;'; hs+='position : absolute;'; hs+='top : 30px;'; hs+='visibility : inherit;'; hs+='width : 218px;'; this._description.setAttribute('style',hs); this._description.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 218px;'; hs+='height: 20px;'; 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;'; this._description__text.setAttribute('style',hs); this._description.ggUpdateText=function() { var hs=me.ggUserdata.description; if (hs!=this.ggText) { this.ggText=hs; this.ggTextDiv.innerHTML=hs; if (this.ggUpdatePosition) this.ggUpdatePosition(); } } me._description.ggUpdateText(); this._description.appendChild(this._description__text); me._description.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._description.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._description.ggUpdatePosition=function () { } this._userdata.appendChild(this._description); this._author=document.createElement('div'); this._author__text=document.createElement('div'); this._author.className='ggskin ggskin_textdiv'; this._author.ggTextDiv=this._author__text; this._author.ggId="author"; this._author.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._author.ggVisible=true; this._author.className='ggskin ggskin_text '; this._author.ggType='text'; hs =''; hs+='height : 20px;'; hs+='left : 10px;'; hs+='position : absolute;'; hs+='top : 50px;'; hs+='visibility : inherit;'; hs+='width : 218px;'; this._author.setAttribute('style',hs); this._author.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: 218px;'; hs+='height: 20px;'; 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;'; this._author__text.setAttribute('style',hs); this._author.ggUpdateText=function() { var hs=me.ggUserdata.author; if (hs!=this.ggText) { this.ggText=hs; this.ggTextDiv.innerHTML=hs; if (this.ggUpdatePosition) this.ggUpdatePosition(); } } me._author.ggUpdateText(); this._author.appendChild(this._author__text); me._author.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._author.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._author.ggUpdatePosition=function () { } this._userdata.appendChild(this._author); this._datetime=document.createElement('div'); this._datetime__text=document.createElement('div'); this._datetime.className='ggskin ggskin_textdiv'; this._datetime.ggTextDiv=this._datetime__text; this._datetime.ggId="datetime"; this._datetime.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._datetime.ggVisible=true; this._datetime.className='ggskin ggskin_text '; this._datetime.ggType='text'; hs =''; hs+='height : 23px;'; hs+='left : 10px;'; hs+='position : absolute;'; hs+='top : 70px;'; hs+='visibility : inherit;'; hs+='width : 218px;'; this._datetime.setAttribute('style',hs); this._datetime.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; 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;'; this._datetime__text.setAttribute('style',hs); this._datetime.ggUpdateText=function() { var hs=me.ggUserdata.datetime; if (hs!=this.ggText) { this.ggText=hs; this.ggTextDiv.innerHTML=hs; if (this.ggUpdatePosition) this.ggUpdatePosition(); } } me._datetime.ggUpdateText(); this._datetime.appendChild(this._datetime__text); me._datetime.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._datetime.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._datetime.ggUpdatePosition=function () { } this._userdata.appendChild(this._datetime); this._copyright=document.createElement('div'); this._copyright__text=document.createElement('div'); this._copyright.className='ggskin ggskin_textdiv'; this._copyright.ggTextDiv=this._copyright__text; this._copyright.ggId="copyright"; this._copyright.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._copyright.ggVisible=true; this._copyright.className='ggskin ggskin_text '; this._copyright.ggType='text'; hs =''; hs+='height : 23px;'; hs+='left : 10px;'; hs+='position : absolute;'; hs+='top : 110px;'; hs+='visibility : inherit;'; hs+='width : 218px;'; this._copyright.setAttribute('style',hs); this._copyright.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; 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;'; this._copyright__text.setAttribute('style',hs); this._copyright.ggUpdateText=function() { var hs="© "+me.ggUserdata.copyright; if (hs!=this.ggText) { this.ggText=hs; this.ggTextDiv.innerHTML=hs; if (this.ggUpdatePosition) this.ggUpdatePosition(); } } me._copyright.ggUpdateText(); this._copyright.appendChild(this._copyright__text); me._copyright.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._copyright.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._copyright.ggUpdatePosition=function () { } this._userdata.appendChild(this._copyright); this.divSkin.appendChild(this._userdata); this._hide_template=document.createElement('div'); this._hide_template.ggId="hide_template"; this._hide_template.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._hide_template.ggVisible=false; this._hide_template.className='ggskin ggskin_container '; this._hide_template.ggType='container'; hs =''; hs+='height : 45px;'; hs+='left : 10px;'; hs+='overflow : hidden;'; hs+='position : absolute;'; hs+='top : 10px;'; hs+='visibility : hidden;'; hs+='width : 187px;'; this._hide_template.setAttribute('style',hs); this._hide_template.style[domTransform + 'Origin']='50% 50%'; me._hide_template.ggIsActive=function() { return false; } me._hide_template.ggElementNodeId=function() { return me.player.getCurrentNode(); } this._hide_template.ggUpdatePosition=function () { } this._markertemplate=document.createElement('div'); this._markertemplate.ggMarkerNodeId=''; nodeMarker.push(this._markertemplate); this._markertemplate.ggId="markertemplate"; this._markertemplate.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._markertemplate.ggVisible=true; this._markertemplate.className='ggskin ggskin_mark '; this._markertemplate.ggType='mark'; hs =''; hs+='height : 5px;'; hs+='left : 60px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 5px;'; this._markertemplate.setAttribute('style',hs); this._markertemplate.style[domTransform + 'Origin']='50% 50%'; me._markertemplate.ggIsActive=function() { return this.ggIsMarkerActive==true; } me._markertemplate.ggElementNodeId=function() { var hs=String(this.ggMarkerNodeId); if (hs.charAt(0)=='{') { return hs.substr(1, hs.length - 2); } return ''; } this._markertemplate.onmouseover=function () { me._marker_title.style[domTransition]='none'; me._marker_title.style.visibility='inherit'; me._marker_title.ggVisible=true; } this._markertemplate.onmouseout=function () { me._marker_title.style[domTransition]='none'; me._marker_title.style.visibility='hidden'; me._marker_title.ggVisible=false; } this._markertemplate.ggUpdateConditionNodeChange=function () { me._markertemplate__normal.ggNodeChangeMain(); me._markertemplate__active.ggNodeChangeMain(); } this._markertemplate.ggUpdatePosition=function () { } this._markertemplate.ggNodeChange=function () { me._markertemplate.ggUpdateConditionNodeChange(); } this._marker_title=document.createElement('div'); this._marker_title__text=document.createElement('div'); this._marker_title.className='ggskin ggskin_textdiv'; this._marker_title.ggTextDiv=this._marker_title__text; this._marker_title.ggId="marker_title"; this._marker_title.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._marker_title.ggVisible=false; this._marker_title.className='ggskin ggskin_text '; this._marker_title.ggType='text'; hs =''; hs+='height : 17px;'; hs+='left : -60px;'; hs+='position : absolute;'; hs+='top : 35px;'; hs+='visibility : hidden;'; hs+='width : 145px;'; this._marker_title.setAttribute('style',hs); this._marker_title.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: auto;'; hs+='height: auto;'; hs+='background: #ffffff;'; hs+='background: rgba(255,255,255,0.705882);'; hs+='border: 1px solid #000000;'; hs+='border-radius: 5px;'; hs+=cssPrefix + 'border-radius: 5px;'; hs+='color: rgba(0,0,0,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 1px 2px 1px 2px;'; hs+='overflow: hidden;'; this._marker_title__text.setAttribute('style',hs); this._marker_title.ggUpdateText=function() { var hs=me.ggUserdata.title; if (hs!=this.ggText) { this.ggText=hs; this.ggTextDiv.innerHTML=hs; if (this.ggUpdatePosition) this.ggUpdatePosition(); } } me._marker_title.ggUpdateText(); this._marker_title.appendChild(this._marker_title__text); me._marker_title.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._marker_title.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.player.getCurrentNode(); } this._marker_title.ggUpdatePosition=function () { this.style[domTransition]='none'; this.ggTextDiv.style.left=((149-this.ggTextDiv.offsetWidth)/2) + 'px'; } this._markertemplate.appendChild(this._marker_title); this._hide_template.appendChild(this._markertemplate); this.divSkin.appendChild(this._hide_template); this._markertemplate__normal=new SkinElement_marker_normal_Class(this,this._markertemplate); this._markertemplate__normal.style.visibility='inherit'; this._markertemplate__normal.style.left='0px'; this._markertemplate__normal.style.top='0px'; this._markertemplate.ggMarkerNormal=this._markertemplate__normal; this._markertemplate__active=new SkinElement_marker_active_Class(this,this._markertemplate); this._markertemplate__active.style.visibility='hidden'; this._markertemplate__active.style.left='0px'; this._markertemplate__active.style.top='0px'; this._markertemplate.ggMarkerActive=this._markertemplate__active; if (this._markertemplate.firstChild) { this._markertemplate.insertBefore(this._markertemplate__active,this._markertemplate.firstChild); } else { this._markertemplate.appendChild(this._markertemplate__active); } if (this._markertemplate.firstChild) { this._markertemplate.insertBefore(this._markertemplate__normal,this._markertemplate.firstChild); } else { this._markertemplate.appendChild(this._markertemplate__normal); } this.divSkin.ggUpdateSize=function(w,h) { me.updateSize(me.divSkin); } this.divSkin.ggViewerInit=function() { } this.divSkin.ggLoaded=function() { me._loading.style[domTransition]='none'; me._loading.style.visibility='hidden'; me._loading.ggVisible=false; } this.divSkin.ggReLoaded=function() { me._loading.style[domTransition]='none'; me._loading.style.visibility='inherit'; me._loading.ggVisible=true; } this.divSkin.ggLoadedLevels=function() { } this.divSkin.ggReLoadedLevels=function() { } this.divSkin.ggEnterFullscreen=function() { } this.divSkin.ggExitFullscreen=function() { } this.skinTimerEvent(); }; this.hotspotProxyClick=function(id) { } this.hotspotProxyOver=function(id) { } this.hotspotProxyOut=function(id) { } this.changeActiveNode=function(id) { me.ggUserdata=me.player.userdata; me._markertemplate.ggNodeChange(); var newMarker=[]; var i,j; var tags=me.ggUserdata.tags; for (i=0;i<nodeMarker.length;i++) { var match=false; if ((nodeMarker[i].ggMarkerNodeId==id) && (id!='')) match=true; for(j=0;j<tags.length;j++) { if (nodeMarker[i].ggMarkerNodeId==tags[j]) match=true; } if (match) { newMarker.push(nodeMarker[i]); } } for(i=0;i<activeNodeMarker.length;i++) { if (newMarker.indexOf(activeNodeMarker[i])<0) { if (activeNodeMarker[i].ggMarkerNormal) { activeNodeMarker[i].ggMarkerNormal.style.visibility='inherit'; } if (activeNodeMarker[i].ggMarkerActive) { activeNodeMarker[i].ggMarkerActive.style.visibility='hidden'; } if (activeNodeMarker[i].ggDeactivate) { activeNodeMarker[i].ggDeactivate(); } activeNodeMarker[i].ggIsMarkerActive=false; } } for(i=0;i<newMarker.length;i++) { if (activeNodeMarker.indexOf(newMarker[i])<0) { if (newMarker[i].ggMarkerNormal) { newMarker[i].ggMarkerNormal.style.visibility='hidden'; } if (newMarker[i].ggMarkerActive) { newMarker[i].ggMarkerActive.style.visibility='inherit'; } if (newMarker[i].ggActivate) { newMarker[i].ggActivate(); } newMarker[i].ggIsMarkerActive=true; } } activeNodeMarker=newMarker; } this.skinTimerEvent=function() { setTimeout(function() { me.skinTimerEvent(); }, 10); me.ggCurrentTime=new Date().getTime(); if (me.elementMouseDown['up']) { me.player.changeTiltLog(1,true); } if (me.elementMouseDown['down']) { me.player.changeTiltLog(-1,true); } if (me.elementMouseDown['left']) { me.player.changePanLog(1,true); } if (me.elementMouseDown['right']) { me.player.changePanLog(-1,true); } if (me.elementMouseDown['zoomin']) { me.player.changeFovLog(-1,true); } if (me.elementMouseDown['zoomout']) { me.player.changeFovLog(1,true); } me._loadingtext.ggUpdateText(); var hs=''; if (me._loadingbar.ggParameter) { hs+=parameterToTransform(me._loadingbar.ggParameter) + ' '; } hs+='scale(' + (1 * me.player.getPercentLoaded() + 0) + ',1.0) '; me._loadingbar.style[domTransform]=hs; me._title.ggUpdateText(); me._description.ggUpdateText(); me._author.ggUpdateText(); me._datetime.ggUpdateText(); me._copyright.ggUpdateText(); me._marker_title.ggUpdateText(); }; function SkinHotspotClass(skinObj,hotspot) { var me=this; var flag=false; this.player=skinObj.player; this.skin=skinObj; this.hotspot=hotspot; var nodeId=String(hotspot.url); nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; this.ggUserdata=this.skin.player.getNodeUserdata(nodeId); this.elementMouseDown=[]; this.elementMouseOver=[]; this.findElements=function(id,regex) { return me.skin.findElements(id,regex); } { this.__div=document.createElement('div'); this.__div.ggId="hotspot"; this.__div.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this.__div.ggVisible=true; this.__div.className='ggskin ggskin_hotspot '; this.__div.ggType='hotspot'; hs =''; hs+='height : 5px;'; hs+='left : 350px;'; hs+='position : absolute;'; hs+='top : 20px;'; hs+='visibility : inherit;'; hs+='width : 5px;'; this.__div.setAttribute('style',hs); this.__div.style[domTransform + 'Origin']='50% 50%'; me.__div.ggIsActive=function() { return me.player.getCurrentNode()==this.ggElementNodeId(); } me.__div.ggElementNodeId=function() { return me.hotspot.url.substr(1, me.hotspot.url.length - 2); } this.__div.onclick=function () { me.player.openUrl(me.hotspot.url,me.hotspot.target); me.skin.hotspotProxyClick(me.hotspot.id); } this.__div.onmouseover=function () { me.player.setActiveHotspot(me.hotspot); me._hstext.style[domTransition]='none'; me._hstext.style.visibility='inherit'; me._hstext.ggVisible=true; me.skin.hotspotProxyOver(me.hotspot.id); } this.__div.onmouseout=function () { me.player.setActiveHotspot(null); me._hstext.style[domTransition]='none'; me._hstext.style.visibility='hidden'; me._hstext.ggVisible=false; me.skin.hotspotProxyOut(me.hotspot.id); } this.__div.ggUpdatePosition=function () { } this._hsimage=document.createElement('div'); this._hsimage__img=document.createElement('img'); this._hsimage__img.className='ggskin ggskin_svg'; this._hsimage__img.setAttribute('src',basePath + 'images/hsimage.svg'); this._hsimage__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._hsimage__img['ondragstart']=function() { return false; }; this._hsimage.appendChild(this._hsimage__img); this._hsimage.ggId="hsimage"; this._hsimage.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._hsimage.ggVisible=true; this._hsimage.className='ggskin ggskin_svg '; this._hsimage.ggType='svg'; hs =''; hs+='cursor : pointer;'; hs+='height : 32px;'; hs+='left : -16px;'; hs+='position : absolute;'; hs+='top : -16px;'; hs+='visibility : inherit;'; hs+='width : 32px;'; this._hsimage.setAttribute('style',hs); this._hsimage.style[domTransform + 'Origin']='50% 50%'; me._hsimage.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._hsimage.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } this._hsimage.ggUpdatePosition=function () { } this.__div.appendChild(this._hsimage); this._hstext=document.createElement('div'); this._hstext__text=document.createElement('div'); this._hstext.className='ggskin ggskin_textdiv'; this._hstext.ggTextDiv=this._hstext__text; this._hstext.ggId="hstext"; this._hstext.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._hstext.ggVisible=false; this._hstext.className='ggskin ggskin_text '; this._hstext.ggType='text'; hs =''; hs+='height : 17px;'; hs+='left : -50px;'; hs+='position : absolute;'; hs+='top : 20px;'; hs+='visibility : hidden;'; hs+='width : 95px;'; this._hstext.setAttribute('style',hs); this._hstext.style[domTransform + 'Origin']='50% 50%'; hs ='position:absolute;'; hs+='left: 0px;'; hs+='top: 0px;'; hs+='width: auto;'; hs+='height: auto;'; hs+='background: #ffffff;'; hs+='background: rgba(255,255,255,0.705882);'; hs+='border: 1px solid #000000;'; hs+='border-radius: 5px;'; hs+=cssPrefix + 'border-radius: 5px;'; hs+='color: rgba(0,0,0,1);'; hs+='text-align: center;'; hs+='white-space: nowrap;'; hs+='padding: 1px 2px 1px 2px;'; hs+='overflow: hidden;'; this._hstext__text.setAttribute('style',hs); this._hstext__text.innerHTML=me.hotspot.title; this._hstext.appendChild(this._hstext__text); me._hstext.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._hstext.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } this._hstext.ggUpdatePosition=function () { this.style[domTransition]='none'; this.ggTextDiv.style.left=((99-this.ggTextDiv.offsetWidth)/2) + 'px'; } this.__div.appendChild(this._hstext); } }; this.addSkinHotspot=function(hotspot) { return new SkinHotspotClass(me,hotspot); } function SkinElement_marker_normal_Class(skinObj,ggParent) { var me=this; var flag=false; this.player=skinObj.player; this.skin=skinObj; this.ggParent=ggParent; var nodeId=ggParent.ggElementNodeId(); this.ggNodeId=nodeId; this.ggUserdata=this.skin.player.getNodeUserdata(nodeId); this.elementMouseDown=[]; this.elementMouseOver=[]; this.findElements=function(id,regex) { return me.skin.findElements(id,regex); } this._marker_normal=document.createElement('div'); this._marker_normal__img=document.createElement('img'); this._marker_normal__img.className='ggskin ggskin_svg'; this._marker_normal__img.setAttribute('src',basePath + 'images/marker_normal.svg'); this._marker_normal__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._marker_normal__img['ondragstart']=function() { return false; }; this._marker_normal.appendChild(this._marker_normal__img); this._marker_normal.ggId="marker_normal"; this._marker_normal.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._marker_normal.ggVisible=true; this._marker_normal.className='ggskin ggskin_svg '; this._marker_normal.ggType='svg'; hs =''; hs+='height : 32px;'; hs+='left : 140px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 31px;'; this._marker_normal.setAttribute('style',hs); this._marker_normal.style[domTransform + 'Origin']='50% 50%'; me._marker_normal.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._marker_normal.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } this._marker_normal.ggUpdatePosition=function () { } this._marker_normal.ggNodeChangeMain=function() { } return this._marker_normal; }; function SkinElement_marker_active_Class(skinObj,ggParent) { var me=this; var flag=false; this.player=skinObj.player; this.skin=skinObj; this.ggParent=ggParent; var nodeId=ggParent.ggElementNodeId(); this.ggNodeId=nodeId; this.ggUserdata=this.skin.player.getNodeUserdata(nodeId); this.elementMouseDown=[]; this.elementMouseOver=[]; this.findElements=function(id,regex) { return me.skin.findElements(id,regex); } this._marker_active=document.createElement('div'); this._marker_active__img=document.createElement('img'); this._marker_active__img.className='ggskin ggskin_svg'; this._marker_active__img.setAttribute('src',basePath + 'images/marker_active.svg'); this._marker_active__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;'); this._marker_active__img['ondragstart']=function() { return false; }; this._marker_active.appendChild(this._marker_active__img); this._marker_active.ggId="marker_active"; this._marker_active.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._marker_active.ggVisible=true; this._marker_active.className='ggskin ggskin_svg '; this._marker_active.ggType='svg'; hs =''; hs+='height : 31px;'; hs+='left : 105px;'; hs+='position : absolute;'; hs+='top : 0px;'; hs+='visibility : inherit;'; hs+='width : 31px;'; this._marker_active.setAttribute('style',hs); this._marker_active.style[domTransform + 'Origin']='50% 50%'; me._marker_active.ggIsActive=function() { if ((this.parentNode) && (this.parentNode.ggIsActive)) { return this.parentNode.ggIsActive(); } return false; } me._marker_active.ggElementNodeId=function() { if ((this.parentNode) && (this.parentNode.ggElementNodeId)) { return this.parentNode.ggElementNodeId(); } return me.ggNodeId; } this._marker_active.ggUpdatePosition=function () { } this._marker_active.ggNodeChangeMain=function() { } return this._marker_active; }; this.addSkin(); };
/home/photograt/gerard-clavet-photos.com/AutreJML4/b7b58/../Pano360/Ourrec14/skin.js