File: /services/webpages/a/b/absolutespace.ca/secure/Pano2VR/AIWWTP/skin.js
// Garden Gnome Software - Skin
// Pano2VR 5.2.5/15998
// Filename: AIWWTP.ggsk
// Generated Thu Sep 27 21:57:30 2018
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;';
hs+='pointer-events:none;';
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 (useTransition) {
if (useTransition==='undefined') {
useTransition = false;
}
if (!useTransition) {
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;';
hs+='pointer-events:auto;';
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 (e) {
me._up__img.style.visibility='hidden';
me._up__imgo.style.visibility='inherit';
}
this._up.onmouseout=function (e) {
me._up__img.style.visibility='inherit';
me._up__imgo.style.visibility='hidden';
me.elementMouseDown['up']=false;
}
this._up.onmousedown=function (e) {
me.elementMouseDown['up']=true;
}
this._up.onmouseup=function (e) {
me.elementMouseDown['up']=false;
}
this._up.ontouchend=function (e) {
me.elementMouseDown['up']=false;
}
this._up.ggUpdatePosition=function (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (e) {
me._down__img.style.visibility='hidden';
me._down__imgo.style.visibility='inherit';
}
this._down.onmouseout=function (e) {
me._down__img.style.visibility='inherit';
me._down__imgo.style.visibility='hidden';
me.elementMouseDown['down']=false;
}
this._down.onmousedown=function (e) {
me.elementMouseDown['down']=true;
}
this._down.onmouseup=function (e) {
me.elementMouseDown['down']=false;
}
this._down.ontouchend=function (e) {
me.elementMouseDown['down']=false;
}
this._down.ggUpdatePosition=function (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (e) {
me._left__img.style.visibility='hidden';
me._left__imgo.style.visibility='inherit';
}
this._left.onmouseout=function (e) {
me._left__img.style.visibility='inherit';
me._left__imgo.style.visibility='hidden';
me.elementMouseDown['left']=false;
}
this._left.onmousedown=function (e) {
me.elementMouseDown['left']=true;
}
this._left.onmouseup=function (e) {
me.elementMouseDown['left']=false;
}
this._left.ontouchend=function (e) {
me.elementMouseDown['left']=false;
}
this._left.ggUpdatePosition=function (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (e) {
me._right__img.style.visibility='hidden';
me._right__imgo.style.visibility='inherit';
}
this._right.onmouseout=function (e) {
me._right__img.style.visibility='inherit';
me._right__imgo.style.visibility='hidden';
me.elementMouseDown['right']=false;
}
this._right.onmousedown=function (e) {
me.elementMouseDown['right']=true;
}
this._right.onmouseup=function (e) {
me.elementMouseDown['right']=false;
}
this._right.ontouchend=function (e) {
me.elementMouseDown['right']=false;
}
this._right.ggUpdatePosition=function (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (e) {
me._tt_zoomin.style[domTransition]='none';
me._tt_zoomin.style.visibility=(Number(me._tt_zoomin.style.opacity)>0||!me._tt_zoomin.style.opacity)?'inherit':'hidden';
me._tt_zoomin.ggVisible=true;
me._zoomin__img.style.visibility='hidden';
me._zoomin__imgo.style.visibility='inherit';
}
this._zoomin.onmouseout=function (e) {
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 (e) {
me.elementMouseDown['zoomin']=true;
}
this._zoomin.onmouseup=function (e) {
me.elementMouseDown['zoomin']=false;
}
this._zoomin.ontouchend=function (e) {
me.elementMouseDown['zoomin']=false;
}
this._zoomin.ggUpdatePosition=function (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_zoomin.setAttribute('style',hs);
this._tt_zoomin.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_zoomin_white.setAttribute('style',hs);
this._tt_zoomin_white.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (e) {
me._tt_zoomout.style[domTransition]='none';
me._tt_zoomout.style.visibility=(Number(me._tt_zoomout.style.opacity)>0||!me._tt_zoomout.style.opacity)?'inherit':'hidden';
me._tt_zoomout.ggVisible=true;
me._zoomout__img.style.visibility='hidden';
me._zoomout__imgo.style.visibility='inherit';
}
this._zoomout.onmouseout=function (e) {
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 (e) {
me.elementMouseDown['zoomout']=true;
}
this._zoomout.onmouseup=function (e) {
me.elementMouseDown['zoomout']=false;
}
this._zoomout.ontouchend=function (e) {
me.elementMouseDown['zoomout']=false;
}
this._zoomout.ggUpdatePosition=function (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_zoomout.setAttribute('style',hs);
this._tt_zoomout.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_zoomout_white.setAttribute('style',hs);
this._tt_zoomout_white.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (e) {
me.player.toggleAutorotate();
}
this._autorotate.onmouseover=function (e) {
me._tt_autorotate.style[domTransition]='none';
me._tt_autorotate.style.visibility=(Number(me._tt_autorotate.style.opacity)>0||!me._tt_autorotate.style.opacity)?'inherit':'hidden';
me._tt_autorotate.ggVisible=true;
me._autorotate__img.style.visibility='hidden';
me._autorotate__imgo.style.visibility='inherit';
}
this._autorotate.onmouseout=function (e) {
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_autorotate.setAttribute('style',hs);
this._tt_autorotate.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_autorotate_white.setAttribute('style',hs);
this._tt_autorotate_white.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (e) {
me._userdata.ggVisible = !me._userdata.ggVisible;
var flag=me._userdata.ggVisible;
me._userdata.style[domTransition]='none';
me._userdata.style.visibility=((flag)&&(Number(me._userdata.style.opacity)>0||!me._userdata.style.opacity))?'inherit':'hidden';
}
this._info.onmouseover=function (e) {
me._tt_info.style[domTransition]='none';
me._tt_info.style.visibility=(Number(me._tt_info.style.opacity)>0||!me._tt_info.style.opacity)?'inherit':'hidden';
me._tt_info.ggVisible=true;
me._info__img.style.visibility='hidden';
me._info__imgo.style.visibility='inherit';
}
this._info.onmouseout=function (e) {
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_info.setAttribute('style',hs);
this._tt_info.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_info_white.setAttribute('style',hs);
this._tt_info_white.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (e) {
me.player.changeViewMode(2);
}
this._movemode.onmouseover=function (e) {
me._tt_movemode.style[domTransition]='none';
me._tt_movemode.style.visibility=(Number(me._tt_movemode.style.opacity)>0||!me._tt_movemode.style.opacity)?'inherit':'hidden';
me._tt_movemode.ggVisible=true;
me._movemode__img.style.visibility='hidden';
me._movemode__imgo.style.visibility='inherit';
}
this._movemode.onmouseout=function (e) {
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_movemode.setAttribute('style',hs);
this._tt_movemode.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_movemode_white.setAttribute('style',hs);
this._tt_movemode_white.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (e) {
me.player.toggleFullscreen();
}
this._fullscreen.onmouseover=function (e) {
me._tt_fullscreen.style[domTransition]='none';
me._tt_fullscreen.style.visibility=(Number(me._tt_fullscreen.style.opacity)>0||!me._tt_fullscreen.style.opacity)?'inherit':'hidden';
me._tt_fullscreen.ggVisible=true;
me._fullscreen__img.style.visibility='hidden';
me._fullscreen__imgo.style.visibility='inherit';
}
this._fullscreen.onmouseout=function (e) {
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_fullscreen.setAttribute('style',hs);
this._tt_fullscreen.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._tt_fullscreen_white.setAttribute('style',hs);
this._tt_fullscreen_white.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:none;';
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 (e) {
me._loading.style[domTransition]='none';
me._loading.style.visibility='hidden';
me._loading.ggVisible=false;
}
this._loading.ggUpdatePosition=function (useTransition) {
if (useTransition==='undefined') {
useTransition = false;
}
if (!useTransition) {
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+='cursor : default;';
hs+='height : 60px;';
hs+='left : 0px;';
hs+='opacity : 0.5;';
hs+='position : absolute;';
hs+='top : 0px;';
hs+='visibility : inherit;';
hs+='width : 210px;';
hs+='pointer-events:auto;';
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 (useTransition) {
}
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+='cursor : default;';
hs+='height : 58px;';
hs+='left : -1px;';
hs+='opacity : 0.5;';
hs+='position : absolute;';
hs+='top : -1px;';
hs+='visibility : inherit;';
hs+='width : 208px;';
hs+='pointer-events:auto;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._loadingtext.setAttribute('style',hs);
this._loadingtext.style[domTransform + 'Origin']='0% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
hs+='left: 0px;';
hs+='top: 0px;';
hs+='width: auto;';
hs+='height: auto;';
hs+='border: 0px solid #000000;';
hs+='color: rgba(255,255,255,1);';
hs+='text-align: left;';
hs+='white-space: nowrap;';
hs+='padding: 0px 1px 0px 1px;';
hs+='overflow: hidden;';
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 (useTransition) {
}
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+='cursor : default;';
hs+='height : 12px;';
hs+='left : 15px;';
hs+='position : absolute;';
hs+='top : 35px;';
hs+='visibility : inherit;';
hs+='width : 181px;';
hs+='pointer-events:auto;';
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 (useTransition) {
}
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;';
hs+='pointer-events:none;';
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 (e) {
me._userdata.style[domTransition]='none';
me._userdata.style.visibility='hidden';
me._userdata.ggVisible=false;
}
this._userdata.ggUpdatePosition=function (useTransition) {
if (useTransition==='undefined') {
useTransition = false;
}
if (!useTransition) {
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+='cursor : default;';
hs+='height : 140px;';
hs+='left : 0px;';
hs+='opacity : 0.5;';
hs+='position : absolute;';
hs+='top : 0px;';
hs+='visibility : inherit;';
hs+='width : 240px;';
hs+='pointer-events:auto;';
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 (useTransition) {
}
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+='cursor : default;';
hs+='height : 138px;';
hs+='left : -1px;';
hs+='opacity : 0.5;';
hs+='position : absolute;';
hs+='top : -1px;';
hs+='visibility : inherit;';
hs+='width : 238px;';
hs+='pointer-events:auto;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._title.setAttribute('style',hs);
this._title.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._description.setAttribute('style',hs);
this._description.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._author.setAttribute('style',hs);
this._author.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._datetime.setAttribute('style',hs);
this._datetime.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
hs+='left: 0px;';
hs+='top: 0px;';
hs+='width: auto;';
hs+='height: auto;';
hs+='border: 0px solid #000000;';
hs+='color: rgba(255,255,255,1);';
hs+='text-align: left;';
hs+='white-space: nowrap;';
hs+='padding: 0px 1px 0px 1px;';
hs+='overflow: hidden;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
this._copyright.setAttribute('style',hs);
this._copyright.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
hs+='left: 0px;';
hs+='top: 0px;';
hs+='width: auto;';
hs+='height: auto;';
hs+='border: 0px solid #000000;';
hs+='color: rgba(255,255,255,1);';
hs+='text-align: left;';
hs+='white-space: nowrap;';
hs+='padding: 0px 1px 0px 1px;';
hs+='overflow: hidden;';
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 (useTransition) {
}
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;';
hs+='pointer-events:none;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (e) {
me._marker_title3.style[domTransition]='none';
me._marker_title3.style.visibility=(Number(me._marker_title3.style.opacity)>0||!me._marker_title3.style.opacity)?'inherit':'hidden';
me._marker_title3.ggVisible=true;
}
this._markertemplate.onmouseout=function (e) {
me._marker_title3.style[domTransition]='none';
me._marker_title3.style.visibility='hidden';
me._marker_title3.ggVisible=false;
}
this._markertemplate.ggUpdateConditionNodeChange=function () {
me._markertemplate__normal.ggNodeChangeMain();
me._markertemplate__active.ggNodeChangeMain();
}
this._markertemplate.ggUpdatePosition=function (useTransition) {
}
this._markertemplate.ggNodeChange=function () {
me._markertemplate.ggUpdateConditionNodeChange();
}
this._marker_title3=document.createElement('div');
this._marker_title3__text=document.createElement('div');
this._marker_title3.className='ggskin ggskin_textdiv';
this._marker_title3.ggTextDiv=this._marker_title3__text;
this._marker_title3.ggId="marker_title";
this._marker_title3.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
this._marker_title3.ggVisible=false;
this._marker_title3.className='ggskin ggskin_text ';
this._marker_title3.ggType='text';
hs ='';
hs+='z-index: 100;';
hs+='height : 17px;';
hs+='left : -60px;';
hs+='position : absolute;';
hs+='top : 35px;';
hs+='visibility : hidden;';
hs+='width : 145px;';
hs+='pointer-events:auto;';
this._marker_title3.setAttribute('style',hs);
this._marker_title3.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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_title3__text.setAttribute('style',hs);
this._marker_title3.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_title3.ggUpdateText();
this._marker_title3.appendChild(this._marker_title3__text);
me._marker_title3.ggIsActive=function() {
if ((this.parentNode) && (this.parentNode.ggIsActive)) {
return this.parentNode.ggIsActive();
}
return false;
}
me._marker_title3.ggElementNodeId=function() {
if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
return this.parentNode.ggElementNodeId();
}
return me.player.getCurrentNode();
}
this._marker_title3.ggUpdatePosition=function (useTransition) {
this.style[domTransition]='none';
this.ggTextDiv.style.left=((149-this.ggTextDiv.offsetWidth)/2) + 'px';
}
this._markertemplate.appendChild(this._marker_title3);
this._hide_template.appendChild(this._markertemplate);
this.divSkin.appendChild(this._hide_template);
this._sitemap=document.createElement('div');
this._sitemap__img=document.createElement('img');
this._sitemap__img.className='ggskin ggskin_image';
this._sitemap__img.setAttribute('src',basePath + 'images/sitemap.png');
this._sitemap__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;');
this._sitemap__img.className='ggskin ggskin_image';
this._sitemap__img['ondragstart']=function() { return false; };
me.player.checkLoaded.push(this._sitemap__img);
this._sitemap.appendChild(this._sitemap__img);
this._sitemap.ggId="SiteMap";
this._sitemap.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
this._sitemap.ggVisible=true;
this._sitemap.className='ggskin ggskin_image ';
this._sitemap.ggType='image';
hs ='';
hs+='height : 400px;';
hs+='left : -1px;';
hs+='position : absolute;';
hs+='top : -1px;';
hs+='visibility : inherit;';
hs+='width : 600px;';
hs+='pointer-events:auto;';
this._sitemap.setAttribute('style',hs);
this._sitemap.style[domTransform + 'Origin']='50% 50%';
me._sitemap.ggIsActive=function() {
return false;
}
me._sitemap.ggElementNodeId=function() {
return me.player.getCurrentNode();
}
this._sitemap.ggUpdatePosition=function (useTransition) {
}
this._marker_node1=document.createElement('div');
this._marker_node1.ggMarkerNodeId='{node1}';
nodeMarker.push(this._marker_node1);
this._marker_node1.ggId="marker_node1";
this._marker_node1.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
this._marker_node1.ggVisible=true;
this._marker_node1.className='ggskin ggskin_mark ';
this._marker_node1.ggType='mark';
hs ='';
hs+='height : 5px;';
hs+='left : 95px;';
hs+='position : absolute;';
hs+='top : 195px;';
hs+='visibility : inherit;';
hs+='width : 5px;';
hs+='pointer-events:auto;';
this._marker_node1.setAttribute('style',hs);
this._marker_node1.style[domTransform + 'Origin']='50% 50%';
me._marker_node1.ggIsActive=function() {
return this.ggIsMarkerActive==true;
}
me._marker_node1.ggElementNodeId=function() {
var hs=String(this.ggMarkerNodeId);
if (hs.charAt(0)=='{') {
return hs.substr(1, hs.length - 2);
}
return '';
}
this._marker_node1.onclick=function (e) {
me.player.openNext('{node1}');
}
this._marker_node1.onmouseover=function (e) {
me._marker_title2.style[domTransition]='none';
me._marker_title2.style.visibility=(Number(me._marker_title2.style.opacity)>0||!me._marker_title2.style.opacity)?'inherit':'hidden';
me._marker_title2.ggVisible=true;
}
this._marker_node1.onmouseout=function (e) {
me._marker_title2.style[domTransition]='none';
me._marker_title2.style.visibility='hidden';
me._marker_title2.ggVisible=false;
}
this._marker_node1.ggUpdateConditionNodeChange=function () {
me._marker_node1__normal.ggNodeChangeMain();
me._marker_node1__active.ggNodeChangeMain();
}
this._marker_node1.ggUpdatePosition=function (useTransition) {
}
this._marker_node1.ggNodeChange=function () {
me._marker_node1.ggUpdateConditionNodeChange();
}
this._marker_title2=document.createElement('div');
this._marker_title2__text=document.createElement('div');
this._marker_title2.className='ggskin ggskin_textdiv';
this._marker_title2.ggTextDiv=this._marker_title2__text;
this._marker_title2.ggId="marker_title";
this._marker_title2.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
this._marker_title2.ggVisible=false;
this._marker_title2.className='ggskin ggskin_text ';
this._marker_title2.ggType='text';
hs ='';
hs+='z-index: 100;';
hs+='height : 17px;';
hs+='left : -60px;';
hs+='position : absolute;';
hs+='top : 35px;';
hs+='visibility : hidden;';
hs+='width : 145px;';
hs+='pointer-events:auto;';
this._marker_title2.setAttribute('style',hs);
this._marker_title2.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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_title2__text.setAttribute('style',hs);
this._marker_title2__text.innerHTML="Stn06";
this._marker_title2.appendChild(this._marker_title2__text);
me._marker_title2.ggIsActive=function() {
if ((this.parentNode) && (this.parentNode.ggIsActive)) {
return this.parentNode.ggIsActive();
}
return false;
}
me._marker_title2.ggElementNodeId=function() {
if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
return this.parentNode.ggElementNodeId();
}
return me.player.getCurrentNode();
}
this._marker_title2.ggUpdatePosition=function (useTransition) {
this.style[domTransition]='none';
this.ggTextDiv.style.left=((149-this.ggTextDiv.offsetWidth)/2) + 'px';
}
this._marker_node1.appendChild(this._marker_title2);
this._sitemap.appendChild(this._marker_node1);
this._marker_node2=document.createElement('div');
this._marker_node2.ggMarkerNodeId='{node2}';
nodeMarker.push(this._marker_node2);
this._marker_node2.ggId="marker_node2";
this._marker_node2.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
this._marker_node2.ggVisible=true;
this._marker_node2.className='ggskin ggskin_mark ';
this._marker_node2.ggType='mark';
hs ='';
hs+='height : 5px;';
hs+='left : 90px;';
hs+='position : absolute;';
hs+='top : 92px;';
hs+='visibility : inherit;';
hs+='width : 5px;';
hs+='pointer-events:auto;';
this._marker_node2.setAttribute('style',hs);
this._marker_node2.style[domTransform + 'Origin']='50% 50%';
me._marker_node2.ggIsActive=function() {
return this.ggIsMarkerActive==true;
}
me._marker_node2.ggElementNodeId=function() {
var hs=String(this.ggMarkerNodeId);
if (hs.charAt(0)=='{') {
return hs.substr(1, hs.length - 2);
}
return '';
}
this._marker_node2.onclick=function (e) {
me.player.openNext('{node2}');
}
this._marker_node2.onmouseover=function (e) {
me._marker_title1.style[domTransition]='none';
me._marker_title1.style.visibility=(Number(me._marker_title1.style.opacity)>0||!me._marker_title1.style.opacity)?'inherit':'hidden';
me._marker_title1.ggVisible=true;
}
this._marker_node2.onmouseout=function (e) {
me._marker_title1.style[domTransition]='none';
me._marker_title1.style.visibility='hidden';
me._marker_title1.ggVisible=false;
}
this._marker_node2.ggUpdateConditionNodeChange=function () {
me._marker_node2__normal.ggNodeChangeMain();
me._marker_node2__active.ggNodeChangeMain();
}
this._marker_node2.ggUpdatePosition=function (useTransition) {
}
this._marker_node2.ggNodeChange=function () {
me._marker_node2.ggUpdateConditionNodeChange();
}
this._marker_title1=document.createElement('div');
this._marker_title1__text=document.createElement('div');
this._marker_title1.className='ggskin ggskin_textdiv';
this._marker_title1.ggTextDiv=this._marker_title1__text;
this._marker_title1.ggId="marker_title";
this._marker_title1.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
this._marker_title1.ggVisible=false;
this._marker_title1.className='ggskin ggskin_text ';
this._marker_title1.ggType='text';
hs ='';
hs+='z-index: 100;';
hs+='height : 17px;';
hs+='left : -60px;';
hs+='position : absolute;';
hs+='top : 35px;';
hs+='visibility : hidden;';
hs+='width : 145px;';
hs+='pointer-events:auto;';
this._marker_title1.setAttribute('style',hs);
this._marker_title1.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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_title1__text.setAttribute('style',hs);
this._marker_title1__text.innerHTML="Stn07";
this._marker_title1.appendChild(this._marker_title1__text);
me._marker_title1.ggIsActive=function() {
if ((this.parentNode) && (this.parentNode.ggIsActive)) {
return this.parentNode.ggIsActive();
}
return false;
}
me._marker_title1.ggElementNodeId=function() {
if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
return this.parentNode.ggElementNodeId();
}
return me.player.getCurrentNode();
}
this._marker_title1.ggUpdatePosition=function (useTransition) {
this.style[domTransition]='none';
this.ggTextDiv.style.left=((149-this.ggTextDiv.offsetWidth)/2) + 'px';
}
this._marker_node2.appendChild(this._marker_title1);
this._sitemap.appendChild(this._marker_node2);
this._marker_node3=document.createElement('div');
this._marker_node3.ggMarkerNodeId='{node3}';
nodeMarker.push(this._marker_node3);
this._marker_node3.ggId="marker_node3";
this._marker_node3.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
this._marker_node3.ggVisible=true;
this._marker_node3.className='ggskin ggskin_mark ';
this._marker_node3.ggType='mark';
hs ='';
hs+='height : 5px;';
hs+='left : 233px;';
hs+='position : absolute;';
hs+='top : 199px;';
hs+='visibility : inherit;';
hs+='width : 5px;';
hs+='pointer-events:auto;';
this._marker_node3.setAttribute('style',hs);
this._marker_node3.style[domTransform + 'Origin']='50% 50%';
me._marker_node3.ggIsActive=function() {
return this.ggIsMarkerActive==true;
}
me._marker_node3.ggElementNodeId=function() {
var hs=String(this.ggMarkerNodeId);
if (hs.charAt(0)=='{') {
return hs.substr(1, hs.length - 2);
}
return '';
}
this._marker_node3.onclick=function (e) {
me.player.openNext('{node3}');
}
this._marker_node3.onmouseover=function (e) {
me._marker_title0.style[domTransition]='none';
me._marker_title0.style.visibility=(Number(me._marker_title0.style.opacity)>0||!me._marker_title0.style.opacity)?'inherit':'hidden';
me._marker_title0.ggVisible=true;
}
this._marker_node3.onmouseout=function (e) {
me._marker_title0.style[domTransition]='none';
me._marker_title0.style.visibility='hidden';
me._marker_title0.ggVisible=false;
}
this._marker_node3.ggUpdateConditionNodeChange=function () {
me._marker_node3__normal.ggNodeChangeMain();
me._marker_node3__active.ggNodeChangeMain();
}
this._marker_node3.ggUpdatePosition=function (useTransition) {
}
this._marker_node3.ggNodeChange=function () {
me._marker_node3.ggUpdateConditionNodeChange();
}
this._marker_title0=document.createElement('div');
this._marker_title0__text=document.createElement('div');
this._marker_title0.className='ggskin ggskin_textdiv';
this._marker_title0.ggTextDiv=this._marker_title0__text;
this._marker_title0.ggId="marker_title";
this._marker_title0.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
this._marker_title0.ggVisible=false;
this._marker_title0.className='ggskin ggskin_text ';
this._marker_title0.ggType='text';
hs ='';
hs+='z-index: 100;';
hs+='height : 17px;';
hs+='left : -60px;';
hs+='position : absolute;';
hs+='top : 35px;';
hs+='visibility : hidden;';
hs+='width : 145px;';
hs+='pointer-events:auto;';
this._marker_title0.setAttribute('style',hs);
this._marker_title0.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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_title0__text.setAttribute('style',hs);
this._marker_title0__text.innerHTML="Stn09";
this._marker_title0.appendChild(this._marker_title0__text);
me._marker_title0.ggIsActive=function() {
if ((this.parentNode) && (this.parentNode.ggIsActive)) {
return this.parentNode.ggIsActive();
}
return false;
}
me._marker_title0.ggElementNodeId=function() {
if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
return this.parentNode.ggElementNodeId();
}
return me.player.getCurrentNode();
}
this._marker_title0.ggUpdatePosition=function (useTransition) {
this.style[domTransition]='none';
this.ggTextDiv.style.left=((149-this.ggTextDiv.offsetWidth)/2) + 'px';
}
this._marker_node3.appendChild(this._marker_title0);
this._sitemap.appendChild(this._marker_node3);
this._marker_node4=document.createElement('div');
this._marker_node4.ggMarkerNodeId='{node4}';
nodeMarker.push(this._marker_node4);
this._marker_node4.ggId="marker_node4";
this._marker_node4.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
this._marker_node4.ggVisible=true;
this._marker_node4.className='ggskin ggskin_mark ';
this._marker_node4.ggType='mark';
hs ='';
hs+='height : 5px;';
hs+='left : 232px;';
hs+='position : absolute;';
hs+='top : 91px;';
hs+='visibility : inherit;';
hs+='width : 5px;';
hs+='pointer-events:auto;';
this._marker_node4.setAttribute('style',hs);
this._marker_node4.style[domTransform + 'Origin']='50% 50%';
me._marker_node4.ggIsActive=function() {
return this.ggIsMarkerActive==true;
}
me._marker_node4.ggElementNodeId=function() {
var hs=String(this.ggMarkerNodeId);
if (hs.charAt(0)=='{') {
return hs.substr(1, hs.length - 2);
}
return '';
}
this._marker_node4.onclick=function (e) {
me.player.openNext('{node4}');
}
this._marker_node4.onmouseover=function (e) {
me._marker_title.style[domTransition]='none';
me._marker_title.style.visibility=(Number(me._marker_title.style.opacity)>0||!me._marker_title.style.opacity)?'inherit':'hidden';
me._marker_title.ggVisible=true;
}
this._marker_node4.onmouseout=function (e) {
me._marker_title.style[domTransition]='none';
me._marker_title.style.visibility='hidden';
me._marker_title.ggVisible=false;
}
this._marker_node4.ggUpdateConditionNodeChange=function () {
me._marker_node4__normal.ggNodeChangeMain();
me._marker_node4__active.ggNodeChangeMain();
}
this._marker_node4.ggUpdatePosition=function (useTransition) {
}
this._marker_node4.ggNodeChange=function () {
me._marker_node4.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+='z-index: 100;';
hs+='height : 17px;';
hs+='left : -60px;';
hs+='position : absolute;';
hs+='top : 35px;';
hs+='visibility : hidden;';
hs+='width : 145px;';
hs+='pointer-events:auto;';
this._marker_title.setAttribute('style',hs);
this._marker_title.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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__text.innerHTML="Stn10";
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 (useTransition) {
this.style[domTransition]='none';
this.ggTextDiv.style.left=((149-this.ggTextDiv.offsetWidth)/2) + 'px';
}
this._marker_node4.appendChild(this._marker_title);
this._sitemap.appendChild(this._marker_node4);
this.divSkin.appendChild(this._sitemap);
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._marker_node1__normal=new SkinElement_marker_normal_Class(this,this._marker_node1);
this._marker_node1__normal.style.visibility='inherit';
this._marker_node1__normal.style.left='0px';
this._marker_node1__normal.style.top='0px';
this._marker_node1.ggMarkerNormal=this._marker_node1__normal;
this._marker_node1__active=new SkinElement_marker_active_Class(this,this._marker_node1);
this._marker_node1__active.style.visibility='hidden';
this._marker_node1__active.style.left='0px';
this._marker_node1__active.style.top='0px';
this._marker_node1.ggMarkerActive=this._marker_node1__active;
if (this._marker_node1.firstChild) {
this._marker_node1.insertBefore(this._marker_node1__active,this._marker_node1.firstChild);
} else {
this._marker_node1.appendChild(this._marker_node1__active);
}
if (this._marker_node1.firstChild) {
this._marker_node1.insertBefore(this._marker_node1__normal,this._marker_node1.firstChild);
} else {
this._marker_node1.appendChild(this._marker_node1__normal);
}
this._marker_node2__normal=new SkinElement_marker_normal_Class(this,this._marker_node2);
this._marker_node2__normal.style.visibility='inherit';
this._marker_node2__normal.style.left='0px';
this._marker_node2__normal.style.top='0px';
this._marker_node2.ggMarkerNormal=this._marker_node2__normal;
this._marker_node2__active=new SkinElement_marker_active_Class(this,this._marker_node2);
this._marker_node2__active.style.visibility='hidden';
this._marker_node2__active.style.left='0px';
this._marker_node2__active.style.top='0px';
this._marker_node2.ggMarkerActive=this._marker_node2__active;
if (this._marker_node2.firstChild) {
this._marker_node2.insertBefore(this._marker_node2__active,this._marker_node2.firstChild);
} else {
this._marker_node2.appendChild(this._marker_node2__active);
}
if (this._marker_node2.firstChild) {
this._marker_node2.insertBefore(this._marker_node2__normal,this._marker_node2.firstChild);
} else {
this._marker_node2.appendChild(this._marker_node2__normal);
}
this._marker_node3__normal=new SkinElement_marker_normal_Class(this,this._marker_node3);
this._marker_node3__normal.style.visibility='inherit';
this._marker_node3__normal.style.left='0px';
this._marker_node3__normal.style.top='0px';
this._marker_node3.ggMarkerNormal=this._marker_node3__normal;
this._marker_node3__active=new SkinElement_marker_active_Class(this,this._marker_node3);
this._marker_node3__active.style.visibility='hidden';
this._marker_node3__active.style.left='0px';
this._marker_node3__active.style.top='0px';
this._marker_node3.ggMarkerActive=this._marker_node3__active;
if (this._marker_node3.firstChild) {
this._marker_node3.insertBefore(this._marker_node3__active,this._marker_node3.firstChild);
} else {
this._marker_node3.appendChild(this._marker_node3__active);
}
if (this._marker_node3.firstChild) {
this._marker_node3.insertBefore(this._marker_node3__normal,this._marker_node3.firstChild);
} else {
this._marker_node3.appendChild(this._marker_node3__normal);
}
this._marker_node4__normal=new SkinElement_marker_normal_Class(this,this._marker_node4);
this._marker_node4__normal.style.visibility='inherit';
this._marker_node4__normal.style.left='0px';
this._marker_node4__normal.style.top='0px';
this._marker_node4.ggMarkerNormal=this._marker_node4__normal;
this._marker_node4__active=new SkinElement_marker_active_Class(this,this._marker_node4);
this._marker_node4__active.style.visibility='hidden';
this._marker_node4__active.style.left='0px';
this._marker_node4__active.style.top='0px';
this._marker_node4.ggMarkerActive=this._marker_node4__active;
if (this._marker_node4.firstChild) {
this._marker_node4.insertBefore(this._marker_node4__active,this._marker_node4.firstChild);
} else {
this._marker_node4.appendChild(this._marker_node4__active);
}
if (this._marker_node4.firstChild) {
this._marker_node4.insertBefore(this._marker_node4__normal,this._marker_node4.firstChild);
} else {
this._marker_node4.appendChild(this._marker_node4__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=(Number(me._loading.style.opacity)>0||!me._loading.style.opacity)?'inherit':'hidden';
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();
me._marker_node1.ggNodeChange();
me._marker_node2.ggNodeChange();
me._marker_node3.ggNodeChange();
me._marker_node4.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_title3.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;';
hs+='pointer-events:auto;';
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 (e) {
me.player.openUrl(me.hotspot.url,me.hotspot.target);
me.skin.hotspotProxyClick(me.hotspot.id);
}
this.__div.onmouseover=function (e) {
me.player.setActiveHotspot(me.hotspot);
me._hstext.style[domTransition]='none';
me._hstext.style.visibility=(Number(me._hstext.style.opacity)>0||!me._hstext.style.opacity)?'inherit':'hidden';
me._hstext.ggVisible=true;
me.skin.hotspotProxyOver(me.hotspot.id);
}
this.__div.onmouseout=function (e) {
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (useTransition) {
}
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+='z-index: 100;';
hs+='height : 17px;';
hs+='left : -50px;';
hs+='position : absolute;';
hs+='top : 20px;';
hs+='visibility : hidden;';
hs+='width : 95px;';
hs+='pointer-events:auto;';
this._hstext.setAttribute('style',hs);
this._hstext.style[domTransform + 'Origin']='50% 50%';
hs ='position:absolute;';
hs+='cursor: default;';
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 (useTransition) {
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;';
hs+='pointer-events:auto;';
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 (useTransition) {
}
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;';
hs+='pointer-events:auto;';
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 (useTransition) {
}
this._marker_active.ggNodeChangeMain=function() {
}
return this._marker_active;
};
this.addSkin();
};