// Garden Gnome Software - Skin
// Pano2VR 6.1.14/18105
// Filename: 2020-Panorooms_v3.ggsk
// Generated 2022-07-29T03:22:08

function pano2vrSkin(player,base) {
	player.addVariable('HomeNode', 0, "");
	player.addVariable('UA_category', 0, "Residential");
	player.addVariable('slider', 1, 0);
	player.addVariable('tools', 1, 0);
	player.addVariable('guidedtour', 2, false);
	player.addVariable('VRinterface', 2, false);
	player.addVariable('opt_loader_mulires', 2, true);
	player.addVariable('vis_image_popup', 2, false);
	player.addVariable('help_popup', 2, false);
	player.addVariable('xray_view', 1, 0);
	player.addVariable('xray_button', 2, false);
	player.addVariable('Default_view_name', 0, "Xray View On");
	player.addVariable('Alt_view_name', 0, "Xray View Off");
	player.addVariable('UA_ID', 0, "UA-2318989-18");
	player.addVariable('popup_url', 0, "");
	player.addVariable('ht_ani', 2, true);
	player.addVariable('open_tag', 0, "");
	player.addVariable('close_nodes', 2, false);
	player.addVariable('category_follow', 2, true);
	player.addVariable('category_slider', 2, false);
	player.addVariable('initial_load', 1, 0);
	player.addVariable('node_counter', 1, -1);
	player.addVariable('nudge_viewer', 2, false);
	player.addVariable('extreme_nudge_viewer', 2, false);
	player.addVariable('vis_video_file', 2, false);
	player.addVariable('hide_all_hotspots', 2, false);
	player.addVariable('hide_thumbnail_button', 2, false);
	player.addVariable('opt_3d_preview', 2, false);
	player.addVariable('show_title', 2, false);
	player.addVariable('opt_thumbnail_menu_tooltip', 2, true);
	player.addVariable('vis_thumbnail_menu', 2, false);
	player.addVariable('gal_image_folder', 0, "");
	player.addVariable('gal_image_total', 1, 0);
	player.addVariable('gal_image_index', 1, 1);
	player.addVariable('vis_image_popup_gal', 2, false);
	player.addVariable('thumbnail_filter', 2, false);
	player.addVariable('map', 1, 0);
	player.addVariable('showmap', 2, false);
	player.addVariable('minimap', 2, false);
	player.addVariable('current_floor', 1, 2);
	player.addVariable('total_floors', 1, 1);
	var me=this;
	var skin=this;
	var flag=false;
	var hotspotTemplates={};
	var skinKeyPressed = 0;
	this.player=player;
	this.player.skinObj=this;
	this.divSkin=player.divSkin;
	this.ggUserdata=player.userdata;
	this.lastSize={ w: -1,h: -1 };
	var basePath="";
	// auto detect base path
	if (base=='?') {
		var scripts = document.getElementsByTagName('script');
		for(var i=0;i<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;
	var hs,el,els,elo,ela,elHorScrollFg,elHorScrollBg,elVertScrollFg,elVertScrollBg,elCornerBg;
	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';
			}
		}
	}
	
	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]);
				}
			}
		}
	}
	
	this.callNodeChange=function(startElement) {
		var stack=[];
		stack.push(startElement);
		while(stack.length>0) {
			var e=stack.pop();
			if (e.ggNodeChange) {
				e.ggNodeChange();
			}
			if (e.hasChildNodes()) {
				for(var i=0;i<e.childNodes.length;i++) {
					stack.push(e.childNodes[i]);
				}
			}
		}
	}
	player.addListener('changenode', function() { me.ggUserdata=player.userdata; me.callNodeChange(me.divSkin); });
	
	var 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();
		el=me._top_logo_timer=document.createElement('div');
		el.ggTimestamp=this.ggCurrentTime;
		el.ggLastIsActive=true;
		el.ggTimeout=9000;
		el.ggId="Top Logo Timer";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_timer ";
		el.ggType='timer';
		hs ='';
		hs+='height : 64px;';
		hs+='position : absolute;';
		hs+='right : 0px;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 180px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._top_logo_timer.ggIsActive=function() {
			return (me._top_logo_timer.ggTimestamp + me._top_logo_timer.ggTimeout) >= me.ggCurrentTime;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._top_logo_timer.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((me._top_logo_timer.ggIsActive() == false))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._top_logo_timer.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._top_logo_timer.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._top_logo_timer.style[domTransition]='opacity 1000ms ease 0ms';
				if (me._top_logo_timer.ggCurrentLogicStateAlpha == 0) {
					setTimeout(function() { if (me._top_logo_timer.style.opacity == 0.0) { me._top_logo_timer.style.visibility="hidden"; } }, 1005);
					me._top_logo_timer.style.opacity=0;
				}
				else {
					me._top_logo_timer.style.visibility=me._top_logo_timer.ggVisible?'inherit':'hidden';
					me._top_logo_timer.style.opacity=1;
				}
			}
		}
		me._top_logo_timer.ggCurrentLogicStateAlpha = -1;
		me._top_logo_timer.ggUpdateConditionTimer=function () {
			me._top_logo_timer.logicBlock_alpha();
		}
		me._top_logo_timer.ggUpdatePosition=function (useTransition) {
		}
		el=me._svg_1=document.createElement('div');
		els=me._svg_1__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDE4MC4wNCA2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBkYXRhLW5hbWU9IkxheWVyIDEiPgogPHBhdGggc3R5bGU9ImZpbGw6ICNlZTc5MjIiIGQ9Ik0xODAsNjRIMjFDOS4zOCw2NCwwLDU0LjM2LDAsNDIuNDZWMEgxODBaIi8+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogIzIzMWYyMCIgZD0iTTMzLjU0LDQ2LjNBMjEsMjEsMCwwLDEsMTIuNzEsMjguMTMsMjIuMzYsMjIuMzYsMCwwLDAsMTIuNTIsMzFhMjEsMjEsMCwxLDAsNDIsMCwyMi4zNiwyMi4zNiwwLDAsMC0uMTktMi44NUEyMSwyMSwwLDAsMSwzMy41NC'+
			'w0Ni4zWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjMjMxZjIwIiBkPSJNNDcuNzksMjYuNTZBMTcuNywxNy43LDAsMCwxLDMyLjUsNDQuMDlhMTcuMTYsMTcuMTYsMCwwLDAsMi40LjE3LDE3LjcsMTcuNywwLDAsMCwwLTM1LjM5QTE4Ljg0LDE4Ljg0LDAsMCwwLDMyLjUsOSwxNy43LDE3LjcsMCwwLDEsNDcuNzksMjYuNTZaIi8+CiAgPHBhdGggc3R5bGU9ImZpbGw6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'+
			'ZiIgZD0iTTE1Mi42NCw0MC43YTQuMyw0LjMsMCwwLDAsMi4wNy41NCwxLjkxLDEuOTEsMCwwLDAsMi4wOS0yYzAtMS41My0xLjE4LTIuMi0yLjYtMi4yaC0uMzlWMzVoLjI4YzEsMCwyLjM1LS40NSwyLjM1LTEuOGExLjUsMS41LDAsMCwwLTEuNjMtMS42LDMuMzgsMy4zOCwwLDAsMC0xLjc0LjU2TDE1Mi43LDMwYTUuODMsNS44MywwLDAsMSwyLjg2LS43MywzLjMxLDMuMzEsMCwwLDEsMy42NSwzLjM1LDMuNCwzLjQsMCwwLDEtMiwzLjEydjBhMy40OCwzLjQ4LDAsMCwxLDIuMzYsMy41MmMwLDIuMTEtMS42Miw0LjE4LTQuNjMsNC4xOGE1Ljg5LDUuODksMCwwLDEtMi43My0uNjJaIi8+Cjwvc3'+
			'ZnPgo=';
		me._svg_1__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="Svg 1";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 64px;';
		hs+='position : absolute;';
		hs+='right : 0px;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 180px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._svg_1.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._svg_1.onclick=function (e) {
			player.openUrl("http:\/\/panorooms.com","_new");
		}
		me._svg_1.ggUpdatePosition=function (useTransition) {
		}
		me._top_logo_timer.appendChild(me._svg_1);
		me.divSkin.appendChild(me._top_logo_timer);
		el=me._panoroomslogotimer=document.createElement('div');
		el.ggTimestamp=this.ggCurrentTime;
		el.ggLastIsActive=true;
		el.ggTimeout=9000;
		el.ggId="PanoroomsLogoTimer";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_timer ";
		el.ggType='timer';
		hs ='';
		hs+='bottom : 0px;';
		hs+='height : 40px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='right : 0px;';
		hs+='visibility : hidden;';
		hs+='width : 160px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._panoroomslogotimer.ggIsActive=function() {
			return (me._panoroomslogotimer.ggTimestamp + me._panoroomslogotimer.ggTimeout) >= me.ggCurrentTime;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._panoroomslogotimer.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._panoroomslogotimer.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._panoroomslogotimer.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._panoroomslogotimer.style[domTransition]='opacity 1000ms ease 0ms';
				if (me._panoroomslogotimer.ggCurrentLogicStateVisible == 0) {
					me._panoroomslogotimer.style.visibility="hidden";
					me._panoroomslogotimer.ggVisible=false;
				}
				else {
					me._panoroomslogotimer.style.visibility=(Number(me._panoroomslogotimer.style.opacity)>0||!me._panoroomslogotimer.style.opacity)?'inherit':'hidden';
					me._panoroomslogotimer.ggVisible=true;
				}
			}
		}
		me._panoroomslogotimer.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((me._panoroomslogotimer.ggIsActive() == false))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._panoroomslogotimer.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._panoroomslogotimer.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._panoroomslogotimer.style[domTransition]='opacity 1000ms ease 0ms';
				if (me._panoroomslogotimer.ggCurrentLogicStateAlpha == 0) {
					me._panoroomslogotimer.style.visibility=me._panoroomslogotimer.ggVisible?'inherit':'hidden';
					me._panoroomslogotimer.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._panoroomslogotimer.style.opacity == 0.0) { me._panoroomslogotimer.style.visibility="hidden"; } }, 1005);
					me._panoroomslogotimer.style.opacity=0;
				}
			}
		}
		me._panoroomslogotimer.ggCurrentLogicStateVisible = -1;
		me._panoroomslogotimer.ggCurrentLogicStateAlpha = -1;
		me._panoroomslogotimer.ggUpdateConditionTimer=function () {
			me._panoroomslogotimer.logicBlock_alpha();
		}
		me._panoroomslogotimer.ggUpdatePosition=function (useTransition) {
		}
		el=me._panoroomsfootertag0=document.createElement('div');
		els=me._panoroomsfootertag0__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDE1Mi45NSAyOC4wMyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBkYXRhLW5hbWU9IkxheWVyIDEiPgogPHBhdGggc3R5bGU9ImZpbGw6ICM0ZDRkNGYiIGQ9Ik0xMCwwSDE1M1YyOEgwVjEwQTEwLDEwLDAsMCwxLDEwLDBaIi8+CiA8cGF0aCBzdHlsZT0iZmlsbDogI2ZmZiIgZD0iTTMwLjEyLDcuNjFhMTIuNjksMTIuNjksMCwwLDEsMi42OC0uMjYsNSw1LDAsMCwxLDMuNTgsMSwzLjgxLDMuODEsMCwwLDEsMS4xNCwyLjksNC40MSw0LjQxLDAsMCwxLTEuMTIsMy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OC43My40MiwyLjk0LDIuOTQsMCwwLDAsMC0uNDIsMi45MSwyLjkxLDAsMCwwLDAtLjU5QTQuMzYsNC4zNiwwLDAsMSwxNS41OSwxNi44NFoiLz4KPC9zdmc+Cg==';
		me._panoroomsfootertag0__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="panorooms-footer-tag";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='bottom : 0px;';
		hs+='height : 28px;';
		hs+='position : absolute;';
		hs+='right : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 153px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._panoroomsfootertag0.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._panoroomsfootertag0.onclick=function (e) {
			player.openUrl("http:\/\/panorooms.com","_blank");
		}
		me._panoroomsfootertag0.ggUpdatePosition=function (useTransition) {
		}
		me._panoroomslogotimer.appendChild(me._panoroomsfootertag0);
		el=me._panoroomslink0=document.createElement('div');
		el.ggId="panorooms-link";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='border : 0px solid #000000;';
		hs+='bottom : 0px;';
		hs+='cursor : pointer;';
		hs+='height : 29px;';
		hs+='position : absolute;';
		hs+='right : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 155px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._panoroomslink0.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._panoroomslink0.onclick=function (e) {
			player.openUrl("http:\/\/panorooms.com","_blank");
		}
		me._panoroomslink0.ggUpdatePosition=function (useTransition) {
		}
		me._panoroomslogotimer.appendChild(me._panoroomslink0);
		me.divSkin.appendChild(me._panoroomslogotimer);
		el=me._panoroomslogotimermobile=document.createElement('div');
		el.ggTimestamp=this.ggCurrentTime;
		el.ggLastIsActive=true;
		el.ggTimeout=9000;
		el.ggId="PanoroomsLogoTimer-Mobile";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_timer ";
		el.ggType='timer';
		hs ='';
		hs+='bottom : -9px;';
		hs+='height : 40px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='right : -9px;';
		hs+='visibility : hidden;';
		hs+='width : 160px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._panoroomslogotimermobile.ggIsActive=function() {
			return (me._panoroomslogotimermobile.ggTimestamp + me._panoroomslogotimermobile.ggTimeout) >= me.ggCurrentTime;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._panoroomslogotimermobile.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height > 1))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._panoroomslogotimermobile.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._panoroomslogotimermobile.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._panoroomslogotimermobile.style[domTransition]='opacity 1000ms ease 0ms';
				if (me._panoroomslogotimermobile.ggCurrentLogicStateVisible == 0) {
					me._panoroomslogotimermobile.style.visibility=(Number(me._panoroomslogotimermobile.style.opacity)>0||!me._panoroomslogotimermobile.style.opacity)?'inherit':'hidden';
					me._panoroomslogotimermobile.ggVisible=true;
				}
				else {
					me._panoroomslogotimermobile.style.visibility="hidden";
					me._panoroomslogotimermobile.ggVisible=false;
				}
			}
		}
		me._panoroomslogotimermobile.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((me._panoroomslogotimermobile.ggIsActive() == false))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._panoroomslogotimermobile.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._panoroomslogotimermobile.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._panoroomslogotimermobile.style[domTransition]='opacity 1000ms ease 0ms';
				if (me._panoroomslogotimermobile.ggCurrentLogicStateAlpha == 0) {
					me._panoroomslogotimermobile.style.visibility=me._panoroomslogotimermobile.ggVisible?'inherit':'hidden';
					me._panoroomslogotimermobile.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._panoroomslogotimermobile.style.opacity == 0.0) { me._panoroomslogotimermobile.style.visibility="hidden"; } }, 1005);
					me._panoroomslogotimermobile.style.opacity=0;
				}
			}
		}
		me._panoroomslogotimermobile.ggCurrentLogicStateVisible = -1;
		me._panoroomslogotimermobile.ggCurrentLogicStateAlpha = -1;
		me._panoroomslogotimermobile.ggUpdateConditionTimer=function () {
			me._panoroomslogotimermobile.logicBlock_alpha();
		}
		me._panoroomslogotimermobile.ggUpdatePosition=function (useTransition) {
		}
		el=me._panoroomsfootertag=document.createElement('div');
		els=me._panoroomsfootertag__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0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y43MSw3LjcxLDAsMSwwLDAsMTUuNDEsOC45Myw4LjkzLDAsMCwwLDEtLjA3QTcuNyw3LjcsMCwwLDEsMTksMjQuMjZaIiBjbGFzcz0iY2xzLTIiLz4KIDxwYXRoIGQ9Ik0yNi4yLDI5LjVhNiw2LDAsMCwxLTUuOTItNS4xNiw3LDcsMCwwLDAtLjA1LjgxLDYsNiwwLDAsMCwxMiwwLDcsNywwLDAsMC0uMDYtLjgxQTYsNiwwLDAsMSwyNi4yLDI5LjVaIiBjbGFzcz0iY2xzLT'+
			'MiLz4KPC9zdmc+Cg==';
		me._panoroomsfootertag__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="panorooms-footer-tag";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='bottom : 8px;';
		hs+='height : 50px;';
		hs+='position : absolute;';
		hs+='right : 9px;';
		hs+='visibility : inherit;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._panoroomsfootertag.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._panoroomsfootertag.onclick=function (e) {
			player.openUrl("http:\/\/panorooms.com","_blank");
		}
		me._panoroomsfootertag.ggUpdatePosition=function (useTransition) {
		}
		me._panoroomslogotimermobile.appendChild(me._panoroomsfootertag);
		el=me._panoroomslink=document.createElement('div');
		el.ggId="panorooms-link";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+=cssPrefix + 'border-radius : 43px;';
		hs+='border-radius : 43px;';
		hs+='border : 0px solid #000000;';
		hs+='bottom : -59px;';
		hs+='cursor : pointer;';
		hs+='height : 115px;';
		hs+='position : absolute;';
		hs+='right : -58px;';
		hs+='visibility : inherit;';
		hs+='width : 115px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._panoroomslink.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._panoroomslink.onclick=function (e) {
			player.openUrl("http:\/\/panorooms.com","_blank");
		}
		me._panoroomslink.ggUpdatePosition=function (useTransition) {
		}
		me._panoroomslogotimermobile.appendChild(me._panoroomslink);
		me.divSkin.appendChild(me._panoroomslogotimermobile);
		el=me._sliderclose=document.createElement('div');
		els=me._sliderclose__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2VlNzkyMiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZTZlNmU2IiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5Ljcz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yMyw1LjIzTDMwLjczLDM2bDkuNDQsOS40NGEzLjcsMy43LDAsMCwwLDUuMjMtNS4yM0wzNiwzMC43M2w5LjQ0LTkuNDRBMy43LDMuNywwLDAsMCw0Mi43OCwxNVoiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._sliderclose__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._sliderclose__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2ZmZiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5LjczLDAsMCwxLDMwLjczLDFtMC0xQTMwLjczLDMwLjczLDAsMSwwLDYxLjQ2LDMwLjczLDMwLjc3LD'+
			'MwLjc3LDAsMCwwLDMwLjczLDBaIi8+CiA8L2c+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNi43NyIgY3g9IjMwLjczIiBjeT0iMzAuNzMiLz4KIDxnPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNNDIuNzgsNDYuMzVhMy41NSwzLjU1LDAsMCwxLTIuNTItMWwtOS41My05LjUzTDIxLjIsNDUuMzFhMy41NywzLjU3LDAsMCwxLTUuMDUtNS4wNWw5LjUzLTkuNTNMMTYuMTUsMjEuMmEzLjU3LDMuNTcsMCwwLDEsNS4wNS01LjA1bDkuNTMsOS41Myw5LjUzLTkuNTNhMy41NywzLjU3LDAsMSwxLDUuMDUsNS4wNWwtOS41Myw5LjUzLDkuNTMsOS41M2EzLjU3LDMuNTcs'+
			'MCwwLDEtMi41Myw2LjA5WiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZTZlNmU2IiBkPSJNNDIuNzgsMTUuMjNhMy40NSwzLjQ1LDAsMCwxLDIuNDQsNS44OEwzNS42LDMwLjczbDkuNjIsOS42MmEzLjQ0LDMuNDQsMCwxLDEtNC44Nyw0Ljg3TDMwLjczLDM1LjZsLTkuNjIsOS42MmEzLjQ0LDMuNDQsMCwwLDEtNC44Ny00Ljg3bDkuNjItOS42Mi05LjYyLTkuNjJhMy40NCwzLjQ0LDAsMSwxLDQuODctNC44N2w5LjYyLDkuNjIsOS42Mi05LjYyYTMuNDMsMy40MywwLDAsMSwyLjQzLTFtMC0uMjVhMy42NywzLjY3LDAsMCwwLTIuNjEsMS4wOEwzMC43MywyNS41bC05LjQ0LTkuNDRhMy43LDMuNy'+
			'wwLDAsMC01LjIzLDUuMjNsOS40NCw5LjQ0LTkuNDQsOS40NGEzLjcsMy43LDAsMCwwLDUuMjMsNS4yM0wzMC43MywzNmw5LjQ0LDkuNDRhMy43LDMuNywwLDAsMCw1LjIzLTUuMjNMMzYsMzAuNzNsOS40NC05LjQ0QTMuNywzLjcsMCwwLDAsNDIuNzgsMTVaIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._sliderclose__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Slider-Close";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='height : 50px;';
		hs+='left : 15px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : 15px;';
		hs+='visibility : hidden;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._sliderclose.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._sliderclose.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height > 1))
			)
			{
				newLogicStatePosition = 0;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height < 1))
			)
			{
				newLogicStatePosition = 1;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == false))
			)
			{
				newLogicStatePosition = 2;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._sliderclose.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._sliderclose.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._sliderclose.style[domTransition]='left 500ms ease 0ms, top 500ms ease 0ms, opacity 500ms ease 0ms';
				if (me._sliderclose.ggCurrentLogicStatePosition == 0) {
					me._sliderclose.style.left='345px';
					me._sliderclose.style.top='15px';
				}
				else if (me._sliderclose.ggCurrentLogicStatePosition == 1) {
					me._sliderclose.style.left='315px';
					me._sliderclose.style.top='15px';
				}
				else if (me._sliderclose.ggCurrentLogicStatePosition == 2) {
					me._sliderclose.style.left='315px';
					me._sliderclose.style.top='15px';
				}
				else {
					me._sliderclose.style.left='15px';
					me._sliderclose.style.top='15px';
				}
			}
		}
		me._sliderclose.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('slider') == 1))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._sliderclose.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._sliderclose.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._sliderclose.style[domTransition]='left 500ms ease 0ms, top 500ms ease 0ms, opacity 500ms ease 0ms';
				if (me._sliderclose.ggCurrentLogicStateAlpha == 0) {
					me._sliderclose.style.visibility=me._sliderclose.ggVisible?'inherit':'hidden';
					me._sliderclose.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._sliderclose.style.opacity == 0.0) { me._sliderclose.style.visibility="hidden"; } }, 505);
					me._sliderclose.style.opacity=0;
				}
			}
		}
		me._sliderclose.onclick=function (e) {
			player.setVariableValue('slider', player.getVariableValue('slider') + Number("1"));
			player.setVariableValue('slider', player.getVariableValue('slider') % Number("2"));
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Close-Thumbnail'
});
		}
		me._sliderclose.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._menutitleclose.style[domTransition]='none';
			} else {
				me._menutitleclose.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._menutitleclose.style.opacity='1';
			me._menutitleclose.style.visibility=me._menutitleclose.ggVisible?'inherit':'hidden';
			me._sliderclose__img.style.visibility='hidden';
			me._sliderclose__imgo.style.visibility='inherit';
		}
		me._sliderclose.onmouseout=function (e) {
			if (player.transitionsDisabled) {
				me._menutitleclose.style[domTransition]='none';
			} else {
				me._menutitleclose.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._menutitleclose.style.opacity='0';
			me._menutitleclose.style.visibility='hidden';
			me._sliderclose__img.style.visibility='inherit';
			me._sliderclose__imgo.style.visibility='hidden';
		}
		me._sliderclose.ggUpdatePosition=function (useTransition) {
		}
		el=me._menutitleclose=document.createElement('div');
		els=me._menutitleclose__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Menu-Title-Close";
		el.ggDy=-10;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : 120px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 7px 18px 7px 18px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Close Thumbnail Menu";
		el.appendChild(els);
		me._menutitleclose.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._menutitleclose.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._menutitleclose.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._menutitleclose.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._menutitleclose.style[domTransition]='';
				if (me._menutitleclose.ggCurrentLogicStateVisible == 0) {
					me._menutitleclose.style.visibility="hidden";
					me._menutitleclose.ggVisible=false;
				}
				else {
					me._menutitleclose.style.visibility=(Number(me._menutitleclose.style.opacity)>0||!me._menutitleclose.style.opacity)?'inherit':'hidden';
					me._menutitleclose.ggVisible=true;
				}
			}
		}
		me._menutitleclose.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._sliderclose.appendChild(me._menutitleclose);
		me.divSkin.appendChild(me._sliderclose);
		el=me._slideropen=document.createElement('div');
		els=me._slideropen__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2VlNzkyMiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZTZlNmU2IiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5LjczLDAsMCwxLDMwLjczLDFtMC0xQTMwLjczLDMwLjczLDAsMSwwLDYxLjQ2LDMwLjczLDMwLj'+
			'c3LDMwLjc3LDAsMCwwLDMwLjczLDBaIi8+CiA8L2c+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZmZmIiByPSIyNi43NyIgY3g9IjMwLjczIiBjeT0iMzAuNzMiLz4KIDxnPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZ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('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._slideropen__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2ZmZiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5LjczLDAsMCwxLDMwLjczLDFtMC0xQTMwLjczLDMwLjczLDAsMSwwLDYxLjQ2LDMwLjczLDMwLjc3LD'+
			'MwLjc3LDAsMCwwLDMwLjczLDBaIi8+CiA8L2c+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNi43NyIgY3g9IjMwLjczIiBjeT0iMzAuNzMiLz4KIDxnPgogIDxnPgogICA8cGF0aCBzdHlsZT0iZmlsbDogI2ZmZiIgZD0iTTE1Ljg5LDMzLjg1YTMuMTMsMy4xMywwLDAsMSwwLTYuMjVINDUuNTdhMy4xMywzLjEzLDAsMCwxLDAsNi4yNVoiLz4KICAgPHBhdGggc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIGQ9Ik00NS41NywyNy43M2EzLDMsMCwwLDEsMCw2SDE1Ljg5YTMsMywwLDAsMSwwLTZINDUuNTdtMC0uMjVIMTUuODlhMy4yNSwzLjI1LDAsMCwwLDAsNi41SDQ1LjU3YTMuMjUs'+
			'My4yNSwwLDAsMCwwLTYuNVoiLz4KICA8L2c+CiAgPGc+CiAgIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMTUuODksMjMuODFhMy4xMywzLjEzLDAsMCwxLDAtNi4yNUg0NS41N2EzLjEzLDMuMTMsMCwwLDEsMCw2LjI1WiIvPgogICA8cGF0aCBzdHlsZT0iZmlsbDogI2U2ZTZlNiIgZD0iTTQ1LjU3LDE3LjY4YTMsMywwLDAsMSwwLDZIMTUuODlhMywzLDAsMCwxLDAtNkg0NS41N20wLS4yNUgxNS44OWEzLjI1LDMuMjUsMCwwLDAsMCw2LjVINDUuNTdhMy4yNSwzLjI1LDAsMCwwLDAtNi41WiIvPgogIDwvZz4KICA8Zz4KICAgPHBhdGggc3R5bGU9ImZpbGw6ICNmZmYiIGQ9Ik0xNS44OS'+
			'w0My45YTMuMTMsMy4xMywwLDAsMSwwLTYuMjVINDUuNTdhMy4xMywzLjEzLDAsMCwxLDAsNi4yNVoiLz4KICAgPHBhdGggc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIGQ9Ik00NS41NywzNy43OGEzLDMsMCwwLDEsMywzaDBhMywzLDAsMCwxLTMsM0gxNS44OWEzLDMsMCwwLDEtMy0zaDBhMywzLDAsMCwxLDMtM0g0NS41N20wLS4yNUgxNS44OWEzLjI1LDMuMjUsMCwwLDAsMCw2LjVINDUuNTdhMy4yNSwzLjI1LDAsMCwwLDAtNi41WiIvPgogIDwvZz4KIDwvZz4KPC9zdmc+Cg==';
		me._slideropen__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Slider-Open";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 50px;';
		hs+='left : 15px;';
		hs+='position : absolute;';
		hs+='top : 15px;';
		hs+='visibility : inherit;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._slideropen.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._slideropen.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height > 1))
			)
			{
				newLogicStatePosition = 0;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height < 1))
			)
			{
				newLogicStatePosition = 1;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == false))
			)
			{
				newLogicStatePosition = 2;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._slideropen.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._slideropen.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._slideropen.style[domTransition]='left 500ms ease 0ms, top 500ms ease 0ms, opacity 500ms ease 0ms';
				if (me._slideropen.ggCurrentLogicStatePosition == 0) {
					me._slideropen.style.left='345px';
					me._slideropen.style.top='15px';
				}
				else if (me._slideropen.ggCurrentLogicStatePosition == 1) {
					me._slideropen.style.left='315px';
					me._slideropen.style.top='15px';
				}
				else if (me._slideropen.ggCurrentLogicStatePosition == 2) {
					me._slideropen.style.left='315px';
					me._slideropen.style.top='15px';
				}
				else {
					me._slideropen.style.left='15px';
					me._slideropen.style.top='15px';
				}
			}
		}
		me._slideropen.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_thumbnail_button') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._slideropen.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._slideropen.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._slideropen.style[domTransition]='left 500ms ease 0ms, top 500ms ease 0ms, opacity 500ms ease 0ms';
				if (me._slideropen.ggCurrentLogicStateVisible == 0) {
					me._slideropen.style.visibility="hidden";
					me._slideropen.ggVisible=false;
				}
				else {
					me._slideropen.style.visibility=(Number(me._slideropen.style.opacity)>0||!me._slideropen.style.opacity)?'inherit':'hidden';
					me._slideropen.ggVisible=true;
				}
			}
		}
		me._slideropen.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('slider') == 1))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._slideropen.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._slideropen.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._slideropen.style[domTransition]='left 500ms ease 0ms, top 500ms ease 0ms, opacity 500ms ease 0ms';
				if (me._slideropen.ggCurrentLogicStateAlpha == 0) {
					setTimeout(function() { if (me._slideropen.style.opacity == 0.0) { me._slideropen.style.visibility="hidden"; } }, 505);
					me._slideropen.style.opacity=0;
				}
				else {
					me._slideropen.style.visibility=me._slideropen.ggVisible?'inherit':'hidden';
					me._slideropen.style.opacity=1;
				}
			}
		}
		me._slideropen.onclick=function (e) {
			player.setVariableValue('slider', player.getVariableValue('slider') + Number("1"));
			player.setVariableValue('slider', player.getVariableValue('slider') % Number("2"));
			if (player.transitionsDisabled) {
				me._helpfadetext.style[domTransition]='none';
			} else {
				me._helpfadetext.style[domTransition]='all 0ms ease-out 0ms';
			}
			me._helpfadetext.style.opacity='0';
			me._helpfadetext.style.visibility='hidden';
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Open-Thumbnail'
});
		}
		me._slideropen.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._menutitleopen.style[domTransition]='none';
			} else {
				me._menutitleopen.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._menutitleopen.style.opacity='1';
			me._menutitleopen.style.visibility=me._menutitleopen.ggVisible?'inherit':'hidden';
			me._slideropen__img.style.visibility='hidden';
			me._slideropen__imgo.style.visibility='inherit';
		}
		me._slideropen.onmouseout=function (e) {
			if (player.transitionsDisabled) {
				me._menutitleopen.style[domTransition]='none';
			} else {
				me._menutitleopen.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._menutitleopen.style.opacity='0';
			me._menutitleopen.style.visibility='hidden';
			me._slideropen__img.style.visibility='inherit';
			me._slideropen__imgo.style.visibility='hidden';
		}
		me._slideropen.ggUpdatePosition=function (useTransition) {
		}
		el=me._menutitleopen=document.createElement('div');
		els=me._menutitleopen__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Menu-Title-Open";
		el.ggDy=-10;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : 120px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 7px 18px 7px 18px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Open Thumbnail Menu";
		el.appendChild(els);
		me._menutitleopen.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._menutitleopen.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._menutitleopen.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._menutitleopen.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._menutitleopen.style[domTransition]='';
				if (me._menutitleopen.ggCurrentLogicStateVisible == 0) {
					me._menutitleopen.style.visibility="hidden";
					me._menutitleopen.ggVisible=false;
				}
				else {
					me._menutitleopen.style.visibility=(Number(me._menutitleopen.style.opacity)>0||!me._menutitleopen.style.opacity)?'inherit':'hidden';
					me._menutitleopen.ggVisible=true;
				}
			}
		}
		me._menutitleopen.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._slideropen.appendChild(me._menutitleopen);
		me.divSkin.appendChild(me._slideropen);
		el=me._slider_panel=document.createElement('div');
		el.ggId="Slider Panel";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_container ";
		el.ggType='container';
		hs ='';
		hs+='height : 100%;';
		hs+='left : -301px;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 300px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._slider_panel.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._slider_panel.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height > 1))
			)
			{
				newLogicStatePosition = 0;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height < 1))
			)
			{
				newLogicStatePosition = 1;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == false))
			)
			{
				newLogicStatePosition = 2;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._slider_panel.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._slider_panel.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._slider_panel.style[domTransition]='left 500ms ease 0ms, top 500ms ease 0ms';
				if (me._slider_panel.ggCurrentLogicStatePosition == 0) {
					me._slider_panel.style.left='30px';
					me._slider_panel.style.top='0px';
				}
				else if (me._slider_panel.ggCurrentLogicStatePosition == 1) {
					me._slider_panel.style.left='0px';
					me._slider_panel.style.top='0px';
				}
				else if (me._slider_panel.ggCurrentLogicStatePosition == 2) {
					me._slider_panel.style.left='0px';
					me._slider_panel.style.top='0px';
				}
				else {
					me._slider_panel.style.left='-301px';
					me._slider_panel.style.top='0px';
				}
			}
		}
		me._slider_panel.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('category_slider') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._slider_panel.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._slider_panel.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._slider_panel.style[domTransition]='left 500ms ease 0ms, top 500ms ease 0ms';
				if (me._slider_panel.ggCurrentLogicStateVisible == 0) {
					me._slider_panel.style.visibility="hidden";
					me._slider_panel.ggVisible=false;
				}
				else {
					me._slider_panel.style.visibility=(Number(me._slider_panel.style.opacity)>0||!me._slider_panel.style.opacity)?'inherit':'hidden';
					me._slider_panel.ggVisible=true;
				}
			}
		}
		me._slider_panel.ggUpdatePosition=function (useTransition) {
		}
		el=me._slider_background=document.createElement('div');
		el.ggId="Slider Background";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='background : rgba(238,121,34,0.588235);';
		hs+='border : 0px solid #000000;';
		hs+='cursor : default;';
		hs+='height : 100%;';
		hs+='position : absolute;';
		hs+='right : 0px;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 330px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._slider_background.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._slider_background.ggUpdatePosition=function (useTransition) {
		}
		me._slider_panel.appendChild(me._slider_background);
		el=me._thumbnail_scroller=document.createElement('div');
		els=me._thumbnail_scroller__content=document.createElement('div');
		els.className='ggskin ggskin_subelement ggskin_scrollarea';
		el.ggContent=els;
		el.appendChild(els);
		el.ggHorScrollVisible = false;
		el.ggVertScrollVisible = false;
		el.ggContentLeftOffset = 0;
		el.ggContentTopOffset = 0;
		el.ggDragInertiaX = 0;
		el.ggDragInertiaY = 0;
		el.ggVPercentVisible = 1.0;
		el.ggHPercentVisible = 1.0;
		hs ='';
		hs+='height : 154px;';
		hs+='left : 0px;';
		hs+='overflow : visible;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='width : 287px;';
		hs+="";
		els.setAttribute('style',hs);
		me._thumbnail_scroller.ggScrollByX = function(diffX) {
			if(!me._thumbnail_scroller.ggHorScrollVisible || diffX == 0 || me._thumbnail_scroller.ggHPercentVisible >= 1.0) return;
			me._thumbnail_scroller.ggScrollPosX = (me._thumbnail_scroller__horScrollFg.offsetLeft + diffX);
			me._thumbnail_scroller.ggScrollPosX = Math.max(me._thumbnail_scroller.ggScrollPosX, 0);
			me._thumbnail_scroller.ggScrollPosX = Math.min(me._thumbnail_scroller.ggScrollPosX, me._thumbnail_scroller__horScrollBg.offsetWidth - me._thumbnail_scroller__horScrollFg.offsetWidth);
			me._thumbnail_scroller__horScrollFg.style.left = me._thumbnail_scroller.ggScrollPosX + 'px';
			let percentScrolled = me._thumbnail_scroller.ggScrollPosX / (me._thumbnail_scroller__horScrollBg.offsetWidth - me._thumbnail_scroller__horScrollFg.offsetWidth);
			me._thumbnail_scroller__content.style.left = -(Math.round((me._thumbnail_scroller.ggContentWidth * (1.0 - me._thumbnail_scroller.ggHPercentVisible)) * percentScrolled)) + me._thumbnail_scroller.ggContentLeftOffset + 'px';
			me._thumbnail_scroller.ggScrollPosXPercent = (me._thumbnail_scroller__horScrollFg.offsetLeft / me._thumbnail_scroller__horScrollBg.offsetWidth);
		}
		me._thumbnail_scroller.ggScrollByXSmooth = function(diffX) {
			if(!me._thumbnail_scroller.ggHorScrollVisible || diffX == 0 || me._thumbnail_scroller.ggHPercentVisible >= 1.0) return;
			var scrollPerInterval = diffX / 25;
			var scrollCurrX = 0;
			var id = setInterval(function() {
				scrollCurrX += scrollPerInterval;
				me._thumbnail_scroller.ggScrollPosX += scrollPerInterval;
				if (diffX > 0 && (scrollCurrX >= diffX || me._thumbnail_scroller.ggScrollPosX >= me._thumbnail_scroller__horScrollBg.offsetWidth - me._thumbnail_scroller__horScrollFg.offsetWidth)) {
					me._thumbnail_scroller.ggScrollPosX = Math.min(me._thumbnail_scroller.ggScrollPosX, me._thumbnail_scroller__horScrollBg.offsetWidth - me._thumbnail_scroller__horScrollFg.offsetWidth);
					clearInterval(id);
				}
				if (diffX < 0 && (scrollCurrX <= diffX || me._thumbnail_scroller.ggScrollPosX <= 0)) {
					me._thumbnail_scroller.ggScrollPosX = Math.max(me._thumbnail_scroller.ggScrollPosX, 0);
					clearInterval(id);
				}
			me._thumbnail_scroller__horScrollFg.style.left = me._thumbnail_scroller.ggScrollPosX + 'px';
			let percentScrolled = me._thumbnail_scroller.ggScrollPosX / (me._thumbnail_scroller__horScrollBg.offsetWidth - me._thumbnail_scroller__horScrollFg.offsetWidth);
			me._thumbnail_scroller__content.style.left = -(Math.round((me._thumbnail_scroller.ggContentWidth * (1.0 - me._thumbnail_scroller.ggHPercentVisible)) * percentScrolled)) + me._thumbnail_scroller.ggContentLeftOffset + 'px';
			me._thumbnail_scroller.ggScrollPosXPercent = (me._thumbnail_scroller__horScrollFg.offsetLeft / me._thumbnail_scroller__horScrollBg.offsetWidth);
			}, 10);
		}
		me._thumbnail_scroller.ggScrollByY = function(diffY) {
			if(!me._thumbnail_scroller.ggVertScrollVisible || diffY == 0 || me._thumbnail_scroller.ggVPercentVisible >= 1.0) return;
			me._thumbnail_scroller.ggScrollPosY = (me._thumbnail_scroller__vertScrollFg.offsetTop + diffY);
			me._thumbnail_scroller.ggScrollPosY = Math.max(me._thumbnail_scroller.ggScrollPosY, 0);
			me._thumbnail_scroller.ggScrollPosY = Math.min(me._thumbnail_scroller.ggScrollPosY, me._thumbnail_scroller__vertScrollBg.offsetHeight - me._thumbnail_scroller__vertScrollFg.offsetHeight);
			me._thumbnail_scroller__vertScrollFg.style.top = me._thumbnail_scroller.ggScrollPosY + 'px';
			let percentScrolled = me._thumbnail_scroller.ggScrollPosY / (me._thumbnail_scroller__vertScrollBg.offsetHeight - me._thumbnail_scroller__vertScrollFg.offsetHeight);
			me._thumbnail_scroller__content.style.top = -(Math.round((me._thumbnail_scroller.ggContentHeight * (1.0 - me._thumbnail_scroller.ggVPercentVisible)) * percentScrolled)) + me._thumbnail_scroller.ggContentTopOffset + 'px';
			me._thumbnail_scroller.ggScrollPosYPercent = (me._thumbnail_scroller__vertScrollFg.offsetTop / me._thumbnail_scroller__vertScrollBg.offsetHeight);
		}
		me._thumbnail_scroller.ggScrollByYSmooth = function(diffY) {
			if(!me._thumbnail_scroller.ggVertScrollVisible || diffY == 0 || me._thumbnail_scroller.ggVPercentVisible >= 1.0) return;
			var scrollPerInterval = diffY / 25;
			var scrollCurrY = 0;
			var id = setInterval(function() {
				scrollCurrY += scrollPerInterval;
				me._thumbnail_scroller.ggScrollPosY += scrollPerInterval;
				if (diffY > 0 && (scrollCurrY >= diffY || me._thumbnail_scroller.ggScrollPosY >= me._thumbnail_scroller__vertScrollBg.offsetHeight - me._thumbnail_scroller__vertScrollFg.offsetHeight)) {
					me._thumbnail_scroller.ggScrollPosY = Math.min(me._thumbnail_scroller.ggScrollPosY, me._thumbnail_scroller__vertScrollBg.offsetHeight - me._thumbnail_scroller__vertScrollFg.offsetHeight);
					clearInterval(id);
				}
				if (diffY < 0 && (scrollCurrY <= diffY || me._thumbnail_scroller.ggScrollPosY <= 0)) {
					me._thumbnail_scroller.ggScrollPosY = Math.max(me._thumbnail_scroller.ggScrollPosY, 0);
					clearInterval(id);
				}
			me._thumbnail_scroller__vertScrollFg.style.top = me._thumbnail_scroller.ggScrollPosY + 'px';
			let percentScrolled = me._thumbnail_scroller.ggScrollPosY / (me._thumbnail_scroller__vertScrollBg.offsetHeight - me._thumbnail_scroller__vertScrollFg.offsetHeight);
			me._thumbnail_scroller__content.style.top = -(Math.round((me._thumbnail_scroller.ggContentHeight * (1.0 - me._thumbnail_scroller.ggVPercentVisible)) * percentScrolled)) + me._thumbnail_scroller.ggContentTopOffset + 'px';
			me._thumbnail_scroller.ggScrollPosYPercent = (me._thumbnail_scroller__vertScrollFg.offsetTop / me._thumbnail_scroller__vertScrollBg.offsetHeight);
			}, 10);
		}
		me._thumbnail_scroller.ggScrollIntoView = function(posX, posY, width, height) {
			if (me._thumbnail_scroller.ggHorScrollVisible) {
				if (posX < 0) {
					var diffX = Math.floor(posX * me._thumbnail_scroller.ggHPercentVisible);
					me._thumbnail_scroller.ggScrollByXSmooth(diffX);
				} else if (posX + width > me._thumbnail_scroller.clientWidth - (me._thumbnail_scroller.ggVertScrollVisible ? 10 : 0)) {
					var diffX = Math.ceil(((posX + width) - (me._thumbnail_scroller.clientWidth - (me._thumbnail_scroller.ggVertScrollVisible ? 10 : 0))) * me._thumbnail_scroller.ggHPercentVisible);
					me._thumbnail_scroller.ggScrollByXSmooth(diffX);
				}
			}
			if (me._thumbnail_scroller.ggVertScrollVisible) {
				if (posY < 0) {
					var diffY = Math.floor(posY * me._thumbnail_scroller.ggVPercentVisible);
					me._thumbnail_scroller.ggScrollByYSmooth(diffY);
				} else if (posY + height > me._thumbnail_scroller.clientHeight - (me._thumbnail_scroller.ggHorScrollVisible ? 10 : 0)) {
					var diffY = Math.ceil(((posY + height) - (me._thumbnail_scroller.clientHeight - (me._thumbnail_scroller.ggHorScrollVisible ? 10 : 0))) * me._thumbnail_scroller.ggVPercentVisible);
					me._thumbnail_scroller.ggScrollByYSmooth(diffY);
				}
			}
		}
		els.ontouchstart = function(e) {
			e = e || window.event;
			var t = e.touches;
			me._thumbnail_scroller.ggDragLastX = t ? t[0].clientX : e.clientX;
			me._thumbnail_scroller.ggDragLastY = t ? t[0].clientY : e.clientY;
			me._thumbnail_scroller__content.ontouchend = function() {
				let inertiaInterval = setInterval(function() {
					me._thumbnail_scroller.ggDragInertiaX *= 0.65;
					me._thumbnail_scroller.ggDragInertiaY *= 0.65;
					me._thumbnail_scroller.ggScrollByX(me._thumbnail_scroller.ggDragInertiaX);
					me._thumbnail_scroller.ggScrollByY(me._thumbnail_scroller.ggDragInertiaY);
					if (Math.abs(me._thumbnail_scroller.ggDragInertiaX) < 1.0 && Math.abs(me._thumbnail_scroller.ggDragInertiaY) < 1.0) {
						clearInterval(inertiaInterval);
					}
					}, 50);
				me._thumbnail_scroller__content.ontouchend = null;
				me._thumbnail_scroller__content.ontouchmove = null;
				me._thumbnail_scroller__content.onpointerup = null;
				me._thumbnail_scroller__content.onpointermove = null;
			}
		if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
			me._thumbnail_scroller__content.onpointerup = me._thumbnail_scroller__content.ontouchend;
		}
			me._thumbnail_scroller__content.ontouchmove = function(e) {
				e = e || window.event;
				e.preventDefault();
				var t = e.touches;
				var diffX = ((t ? t[0].clientX : e.clientX) - me._thumbnail_scroller.ggDragLastX) * me._thumbnail_scroller.ggHPercentVisible;
				var diffY = ((t ? t[0].clientY : e.clientY) - me._thumbnail_scroller.ggDragLastY) * me._thumbnail_scroller.ggVPercentVisible;
				me._thumbnail_scroller.ggDragInertiaX = -diffX;
				me._thumbnail_scroller.ggDragInertiaY = -diffY;
				me._thumbnail_scroller.ggDragLastX = t ? t[0].clientX : e.clientX;
				me._thumbnail_scroller.ggDragLastY = t ? t[0].clientY : e.clientY;
				me._thumbnail_scroller.ggScrollByX(-diffX);
				me._thumbnail_scroller.ggScrollByY(-diffY);
			}
			if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
				me._thumbnail_scroller__content.onpointermove = me._thumbnail_scroller__content.ontouchmove;
			}
		}
		if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
			els.onpointerdown = els.ontouchstart;
		}
		elVertScrollBg = me._thumbnail_scroller__vertScrollBg = document.createElement('div');
		el.appendChild(elVertScrollBg);
		elVertScrollBg.setAttribute('style', 'position: absolute; right: 0px; top: 0px; visibility: hidden; width: 10px; height: 1024px; background-color: rgba(128,128,128,1); pointer-events: auto;');
		elVertScrollBg.className='ggskin ggskin_scrollarea_vscrollbg';
		elVertScrollFg = me._thumbnail_scroller__vertScrollFg = document.createElement('div');
		elVertScrollBg.appendChild(elVertScrollFg);
		elVertScrollFg.setAttribute('style', 'position: absolute; left: 0px; top: 0px; visibility: hidden; width: 10px; height: 1024px; background-color: rgba(192,192,192,1); pointer-events: auto;');
		elVertScrollFg.className='ggskin ggskin_scrollarea_vscrollfg';
		me._thumbnail_scroller.ggScrollPosY = 0;
		me._thumbnail_scroller.ggScrollPosYPercent = 0.0;
		elVertScrollFg.onmousedown = function(e) {
			if (player.getOS() == 1 && navigator.maxTouchPoints > 0) return;
			e = e || window.event;
			e.preventDefault();
			e.stopPropagation();
			me._thumbnail_scroller.ggDragLastY = e.clientY;
			document.onmouseup = function() {
				let inertiaInterval = setInterval(function() {
					me._thumbnail_scroller.ggDragInertiaY *= 0.65;
					me._thumbnail_scroller.ggScrollByY(me._thumbnail_scroller.ggDragInertiaY);
					if (Math.abs(me._thumbnail_scroller.ggDragInertiaY) < 1.0) {
						clearInterval(inertiaInterval);
					}
					}, 50);
				document.onmouseup = null;
				document.onmousemove = null;
			}
			document.onmousemove = function(e) {
				e = e || window.event;
				e.preventDefault();
				var diffY = e.clientY - me._thumbnail_scroller.ggDragLastY;
				me._thumbnail_scroller.ggDragInertiaY = diffY;
				me._thumbnail_scroller.ggDragLastY = e.clientY;
				me._thumbnail_scroller.ggScrollByY(diffY);
			}
		}
		elVertScrollFg.ontouchstart = function(e) {
			e = e || window.event;
			e.preventDefault();
			e.stopPropagation();
			var t = e.touches;
			me._thumbnail_scroller.ggDragLastY = t ? t[0].clientY : e.clientY;
			document.ontouchend = function() {
				let inertiaInterval = setInterval(function() {
					me._thumbnail_scroller.ggDragInertiaY *= 0.65;
					me._thumbnail_scroller.ggScrollByY(me._thumbnail_scroller.ggDragInertiaY);
					if (Math.abs(me._thumbnail_scroller.ggDragInertiaY) < 1.0) {
						clearInterval(inertiaInterval);
					}
					}, 50);
				document.ontouchend = null;
				document.ontouchmove = null;
				document.onpointerup = null;
				document.onpointermove = null;
			}
			if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
				document.onpointerup = document.ontouchend;
			}
			document.ontouchmove = function(e) {
				e = e || window.event;
				e.preventDefault();
				var t = e.touches;
				var diffY = (t ? t[0].clientY : e.clientY) - me._thumbnail_scroller.ggDragLastY;
				me._thumbnail_scroller.ggDragInertiaY = diffY;
				me._thumbnail_scroller.ggDragLastY = t ? t[0].clientY : e.clientY;
				me._thumbnail_scroller.ggScrollByY(diffY);
			}
			if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
				document.onpointermove = document.ontouchmove;
			}
		}
		if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
			elVertScrollFg.onpointerdown = elVertScrollFg.ontouchstart;
		}
		elVertScrollBg.onmousedown = function(e) {
			e = e || window.event;
			e.preventDefault();
			var diffY = me._thumbnail_scroller.ggScrollHeight;
			if (e.offsetY < me._thumbnail_scroller.ggScrollPosY) {
				diffY = diffY * -1;
			}
			me._thumbnail_scroller.ggScrollByYSmooth(diffY);
		}
		elVertScrollBg.ontouchstart = function(e) {
			e = e || window.event;
			e.preventDefault();
			e.stopPropagation();
			var t = e.touches;
			var rect = me._thumbnail_scroller__vertScrollBg.getBoundingClientRect();
			var diffY = me._thumbnail_scroller.ggScrollHeight;
			if ((t[0].clientY - rect.top) < me._thumbnail_scroller.ggScrollPosY) {
				diffY = diffY * -1;
			}
			me._thumbnail_scroller.ggScrollByYSmooth(diffY);
		}
		el.addEventListener('wheel', function(e) {
			e.preventDefault();
			var wheelDelta = Math.sign(e.deltaY);
			me._thumbnail_scroller.ggScrollByYSmooth(30 * me._thumbnail_scroller.ggVPercentVisible * wheelDelta);
		});
		elCornerBg = me._thumbnail_scroller__cornerBg = document.createElement('div');
		el.appendChild(elCornerBg);
		elCornerBg.setAttribute('style', 'position: absolute; right: 0px; bottom: 0px; visibility: hidden; width: 10px; height: 10px; background-color: rgba(255,255,255,1);');
		elCornerBg.className='ggskin ggskin_scrollarea_scrollcorner';
		el.ggId="Thumbnail Scroller";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_scrollarea ";
		el.ggType='scrollarea';
		hs ='';
		hs+='border : 0px solid #000000;';
		hs+='height : 100%;';
		hs+='left : 0px;';
		hs+='overflow : hidden;';
		hs+='position : absolute;';
		hs+='top : 50px;';
		hs+='visibility : inherit;';
		hs+='width : 100%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._thumbnail_scroller.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._thumbnail_scroller.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('thumbnail_filter') == false))
			)
			{
				newLogicStatePosition = 0;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._thumbnail_scroller.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._thumbnail_scroller.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._thumbnail_scroller.style[domTransition]='left 0s, top 0s, width 0s, height 0s';
				if (me._thumbnail_scroller.ggCurrentLogicStatePosition == 0) {
					me._thumbnail_scroller.style.left='0px';
					me._thumbnail_scroller.style.top='0px';
				}
				else {
					me._thumbnail_scroller.style.left='0px';
					me._thumbnail_scroller.style.top='50px';
				}
			}
		}
		me._thumbnail_scroller.logicBlock_size = function() {
			var newLogicStateSize;
			if (
				((player.getVariableValue('thumbnail_filter') == true))
			)
			{
				newLogicStateSize = 0;
			}
			else {
				newLogicStateSize = -1;
			}
			if (me._thumbnail_scroller.ggCurrentLogicStateSize != newLogicStateSize) {
				me._thumbnail_scroller.ggCurrentLogicStateSize = newLogicStateSize;
				me._thumbnail_scroller.style[domTransition]='left 0s, top 0s, width 0s, height 0s';
				if (me._thumbnail_scroller.ggCurrentLogicStateSize == 0) {
					me._thumbnail_scroller.style.width='100%';
					me._thumbnail_scroller.style.height='1024%';
					skin.updateSize(me._thumbnail_scroller);
				}
				else {
					me._thumbnail_scroller.style.width='100%';
					me._thumbnail_scroller.style.height='100%';
					skin.updateSize(me._thumbnail_scroller);
				}
			}
		}
		me._thumbnail_scroller.ggUpdatePosition=function (useTransition) {
			{
				var horScrollWasVisible = this.ggHorScrollVisible;
				var vertScrollWasVisible = this.ggVertScrollVisible;
				this.ggContent.style.left = '0px';
				this.ggContent.style.top = '0px';
				this.ggContentLeftOffset = 0;
				this.ggContentTopOffset = 0;
				this.ggContentWidth = 0;
				this.ggContentHeight = 0;
				var offsetWidthWithScale = this.getBoundingClientRect().width;
				var offsetHeightWithScale = this.getBoundingClientRect().height;
				var domRectContent = this.ggContent.getBoundingClientRect();
				var minX = 0;
				var minY = 0;
				var maxX = 0;
				var maxY = 0;
				var stack=[];
				stack.push(this.ggContent);
				while(stack.length>0) {
					var e=stack.pop();
					if (e!=this.ggContent && e.getBoundingClientRect && e.style['display']!='none') {
						var domRectChild = e.getBoundingClientRect();
						var diffX = domRectChild.left - domRectContent.left;
						minX = Math.min(minX, diffX);
						maxX = Math.max(maxX, diffX + domRectChild.width);
						var diffY = domRectChild.top - domRectContent.top;
						minY = Math.min(minY, diffY);
						maxY = Math.max(maxY, diffY + domRectChild.height);
					}
					if (e.hasChildNodes() && e.style['display']!='none') {
						for(var i=0;i<e.childNodes.length;i++) {
							stack.push(e.childNodes[i]);
						}
					}
				}
				if (minX < 0) this.ggContentLeftOffset = -minX;
				if (minY < 0) this.ggContentTopOffset = -minY;
				var contentWidth = maxX - minX;
				var contentHeight = maxY - minY;
			var scaleX = this.getBoundingClientRect().width / this.offsetWidth;
				this.ggContentWidth = contentWidth / scaleX;
			var scaleY = this.getBoundingClientRect().height / this.offsetHeight;
				this.ggContentHeight = contentHeight / scaleY;
				this.ggContent.style.left = this.ggContentLeftOffset + 'px';
				this.ggContent.style.top = this.ggContentTopOffset + 'px';
				this.ggContent.style.width = contentWidth + 'px';
				this.ggContent.style.height = contentHeight + 'px';
				this.ggContent.style.left = this.ggContentLeftOffset + 'px';
				this.ggContent.style.marginLeft = '0px';
				this.ggContent.style.top = -(Math.round(me._thumbnail_scroller.ggScrollPosY / me._thumbnail_scroller.ggVPercentVisible)) + this.ggContentTopOffset + 'px';
				this.ggContent.style.marginTop = '0px';
				me._thumbnail_scroller__vertScrollBg.style.visibility = 'inherit';
				me._thumbnail_scroller__vertScrollFg.style.visibility = 'inherit';
				me._thumbnail_scroller.ggVertScrollVisible = true;
				if(me._thumbnail_scroller.ggVertScrollVisible) {
					me._thumbnail_scroller.ggAvailableWidth = me._thumbnail_scroller.clientWidth - 10;
					if (me._thumbnail_scroller.ggHorScrollVisible) {
						me._thumbnail_scroller.ggAvailableHeight = me._thumbnail_scroller.clientHeight - 10;
						me._thumbnail_scroller.ggAvailableHeightWithScale = me._thumbnail_scroller.getBoundingClientRect().height - me._thumbnail_scroller__vertScrollBg.getBoundingClientRect().width;
						me._thumbnail_scroller__cornerBg.style.visibility = 'inherit';
					} else {
						me._thumbnail_scroller.ggAvailableHeight = me._thumbnail_scroller.clientHeight;
						me._thumbnail_scroller.ggAvailableHeightWithScale = me._thumbnail_scroller.getBoundingClientRect().height;
						me._thumbnail_scroller__cornerBg.style.visibility = 'hidden';
					}
					me._thumbnail_scroller__vertScrollBg.style.height = me._thumbnail_scroller.ggAvailableHeight + 'px';
					me._thumbnail_scroller.ggVPercentVisible = contentHeight != 0 ? me._thumbnail_scroller.ggAvailableHeightWithScale / contentHeight : 0.0;
					if (me._thumbnail_scroller.ggVPercentVisible > 1.0) me._thumbnail_scroller.ggVPercentVisible = 1.0;
					me._thumbnail_scroller.ggScrollHeight =  Math.round(me._thumbnail_scroller__vertScrollBg.offsetHeight * me._thumbnail_scroller.ggVPercentVisible);
					me._thumbnail_scroller__vertScrollFg.style.height = me._thumbnail_scroller.ggScrollHeight + 'px';
					me._thumbnail_scroller.ggScrollPosY = me._thumbnail_scroller.ggScrollPosYPercent * me._thumbnail_scroller.ggAvailableHeight;
					me._thumbnail_scroller.ggScrollPosY = Math.min(me._thumbnail_scroller.ggScrollPosY, me._thumbnail_scroller__vertScrollBg.offsetHeight - me._thumbnail_scroller__vertScrollFg.offsetHeight);
					me._thumbnail_scroller__vertScrollFg.style.top = me._thumbnail_scroller.ggScrollPosY + 'px';
					if (me._thumbnail_scroller.ggVPercentVisible < 1.0) {
						let percentScrolled = me._thumbnail_scroller.ggScrollPosY / (me._thumbnail_scroller__vertScrollBg.offsetHeight - me._thumbnail_scroller__vertScrollFg.offsetHeight);
						me._thumbnail_scroller__content.style.top = -(Math.round((me._thumbnail_scroller.ggContentHeight * (1.0 - me._thumbnail_scroller.ggVPercentVisible)) * percentScrolled)) + me._thumbnail_scroller.ggContentTopOffset + 'px';
					}
				} else {
					me._thumbnail_scroller.ggAvailableWidth = me._thumbnail_scroller.clientWidth;
					me._thumbnail_scroller.ggScrollPosY = 0;
					me._thumbnail_scroller.ggScrollPosYPercent = 0.0;
					me._thumbnail_scroller__content.style.top = this.ggContentTopOffset + 'px';
					me._thumbnail_scroller__cornerBg.style.visibility = 'hidden';
				}
				if(horScrollWasVisible != me._thumbnail_scroller.ggHorScrollVisible || vertScrollWasVisible != me._thumbnail_scroller.ggVertScrollVisible) {
					me.updateSize(me._thumbnail_scroller);
					me._thumbnail_scroller.ggUpdatePosition();
				}
			}
		}
		el=me._single_node_cloner=document.createElement('div');
		el.ggNumRepeat = 1;
		el.ggNumRows = 0;
		el.ggNumCols = 0;
		el.ggWidth = 286;
		el.ggHeight = 155;
		el.ggUpdating = false;
		el.ggFilter = [];
		el.ggInstances = [];
		me._single_node_cloner.callChildLogicBlocks_changenode = function(){
			if(me._single_node_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._single_node_cloner.ggInstances.length; i++) {
					if (me._single_node_cloner.ggInstances[i]._checkmark_tick && me._single_node_cloner.ggInstances[i]._checkmark_tick.logicBlock_alpha) {
						me._single_node_cloner.ggInstances[i]._checkmark_tick.logicBlock_alpha();
					}
					if (me._single_node_cloner.ggInstances[i]._node_title_bg && me._single_node_cloner.ggInstances[i]._node_title_bg.logicBlock_visible) {
						me._single_node_cloner.ggInstances[i]._node_title_bg.logicBlock_visible();
					}
					if (me._single_node_cloner.ggInstances[i]._node_desc_bg && me._single_node_cloner.ggInstances[i]._node_desc_bg.logicBlock_visible) {
						me._single_node_cloner.ggInstances[i]._node_desc_bg.logicBlock_visible();
					}
					if (me._single_node_cloner.ggInstances[i]._slider_node_title && me._single_node_cloner.ggInstances[i]._slider_node_title.logicBlock_visible) {
						me._single_node_cloner.ggInstances[i]._slider_node_title.logicBlock_visible();
					}
					if (me._single_node_cloner.ggInstances[i]._slider_node_desc && me._single_node_cloner.ggInstances[i]._slider_node_desc.logicBlock_visible) {
						me._single_node_cloner.ggInstances[i]._slider_node_desc.logicBlock_visible();
					}
				}
			}
		}
		me._single_node_cloner.callChildLogicBlocks_mouseover = function(){
			if(me._single_node_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._single_node_cloner.ggInstances.length; i++) {
					if (me._single_node_cloner.ggInstances[i]._checkmark_tick && me._single_node_cloner.ggInstances[i]._checkmark_tick.logicBlock_alpha) {
						me._single_node_cloner.ggInstances[i]._checkmark_tick.logicBlock_alpha();
					}
				}
			}
		}
		me._single_node_cloner.callChildLogicBlocks_active = function(){
			if(me._single_node_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._single_node_cloner.ggInstances.length; i++) {
					if (me._single_node_cloner.ggInstances[i]._checkmark_tick && me._single_node_cloner.ggInstances[i]._checkmark_tick.logicBlock_visible) {
						me._single_node_cloner.ggInstances[i]._checkmark_tick.logicBlock_visible();
					}
				}
			}
		}
		me._single_node_cloner.callChildLogicBlocks_changevisitednodes = function(){
			if(me._single_node_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._single_node_cloner.ggInstances.length; i++) {
					if (me._single_node_cloner.ggInstances[i]._checkmark_tick && me._single_node_cloner.ggInstances[i]._checkmark_tick.logicBlock_visible) {
						me._single_node_cloner.ggInstances[i]._checkmark_tick.logicBlock_visible();
					}
				}
			}
		}
		me._single_node_cloner.callChildLogicBlocks_activehotspotchanged = function(){
			if(me._single_node_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._single_node_cloner.ggInstances.length; i++) {
					if (me._single_node_cloner.ggInstances[i]._checkmark_tick && me._single_node_cloner.ggInstances[i]._checkmark_tick.logicBlock_alpha) {
						me._single_node_cloner.ggInstances[i]._checkmark_tick.logicBlock_alpha();
					}
					if (me._single_node_cloner.ggInstances[i]._node_title_bg && me._single_node_cloner.ggInstances[i]._node_title_bg.logicBlock_visible) {
						me._single_node_cloner.ggInstances[i]._node_title_bg.logicBlock_visible();
					}
					if (me._single_node_cloner.ggInstances[i]._node_desc_bg && me._single_node_cloner.ggInstances[i]._node_desc_bg.logicBlock_visible) {
						me._single_node_cloner.ggInstances[i]._node_desc_bg.logicBlock_visible();
					}
					if (me._single_node_cloner.ggInstances[i]._slider_node_title && me._single_node_cloner.ggInstances[i]._slider_node_title.logicBlock_visible) {
						me._single_node_cloner.ggInstances[i]._slider_node_title.logicBlock_visible();
					}
					if (me._single_node_cloner.ggInstances[i]._slider_node_desc && me._single_node_cloner.ggInstances[i]._slider_node_desc.logicBlock_visible) {
						me._single_node_cloner.ggInstances[i]._slider_node_desc.logicBlock_visible();
					}
				}
			}
		}
		el.ggUpdate = function(filter) {
			if(me._single_node_cloner.ggUpdating == true) return;
			me._single_node_cloner.ggUpdating = true;
			var el=me._single_node_cloner;
			var curNumCols = 0;
			curNumCols = me._single_node_cloner.ggNumRepeat;
			if (curNumCols < 1) curNumCols = 1;
			if (typeof filter=='object') {
				el.ggFilter = filter;
			} else {
				filter = el.ggFilter;
			};
			if (me.ggTag) filter.push(me.ggTag);
			filter=filter.sort();
			if ((el.ggNumCols == curNumCols) && (el.ggInstances.length > 0) && (filter.length === el.ggCurrentFilter.length) && (filter.every(function(value, index) { return value === el.ggCurrentFilter[index] }) )) {
				me._single_node_cloner.ggUpdating = false;
				return;
			} else {
				el.ggNumRows = 1;
				el.ggNumCols = curNumCols;
			}
			el.ggCurrentFilter = filter;
			el.ggInstances = [];
			if (el.hasChildNodes() == true) {
				while (el.firstChild) {
					el.removeChild(el.firstChild);
				}
			}
			var tourNodes = player.getNodeIds();
			var row = 0;
			var column = 0;
			var currentIndex = 0;
			for (var i=0; i < tourNodes.length; i++) {
				var nodeId = tourNodes[i];
				var passed = true;
				var nodeData = player.getNodeUserdata(nodeId);
				if (filter.length > 0) {
					for (var j=0; j < filter.length; j++) {
						if (nodeData['tags'].indexOf(filter[j]) == -1) passed = false;
					}
				}
				if (passed) {
				var parameter={};
				parameter.top=(row * me._single_node_cloner.ggHeight) + 'px';
				parameter.left=(column * me._single_node_cloner.ggWidth) + 'px';
				parameter.width=me._single_node_cloner.ggWidth + 'px';
				parameter.height=me._single_node_cloner.ggHeight + 'px';
				parameter.index=currentIndex;
				parameter.title=nodeData['title'];
				var inst = new SkinCloner_single_node_cloner_Class(nodeId, me, el, parameter);
				currentIndex++;
				el.ggInstances.push(inst);
				el.appendChild(inst.__div);
				inst.__div.ggObj=inst;
				skin.updateSize(inst.__div);
				column++;
				if (column >= el.ggNumCols) {
					column = 0;
					row++;
					el.ggNumRows++;
				}
				}
			}
			me._single_node_cloner.callChildLogicBlocks_changenode();
			me._single_node_cloner.callChildLogicBlocks_mouseover();
			me._single_node_cloner.callChildLogicBlocks_active();
			me._single_node_cloner.callChildLogicBlocks_changevisitednodes();
			me._single_node_cloner.callChildLogicBlocks_activehotspotchanged();
			me._single_node_cloner.ggUpdating = false;
			player.triggerEvent('clonerchanged');
			if (me._single_node_cloner.parentNode.classList.contains('ggskin_subelement') && me._single_node_cloner.parentNode.parentNode.classList.contains('ggskin_scrollarea')) me._single_node_cloner.parentNode.parentNode.ggUpdatePosition();
		}
		el.ggFilter = [];
		el.ggFilter[0] = "thumb";
		el.ggId="Single_Node_Cloner";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_cloner ";
		el.ggType='cloner';
		hs ='';
		hs+='height : 155px;';
		hs+='left : 2px;';
		hs+='overflow : visible;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 286px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._single_node_cloner.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._single_node_cloner.onmouseover=function (e) {
			me.elementMouseOver['single_node_cloner']=true;
			me._checkmark_tick.logicBlock_alpha();
		}
		me._single_node_cloner.onmouseout=function (e) {
			me.elementMouseOver['single_node_cloner']=false;
			me._checkmark_tick.logicBlock_alpha();
		}
		me._single_node_cloner.ontouchend=function (e) {
			me.elementMouseOver['single_node_cloner']=false;
			me._checkmark_tick.logicBlock_alpha();
		}
		me._single_node_cloner.ggUpdateConditionNodeChange=function () {
			var cnode=player.getCurrentNode();
			for(var i=0; i<me._single_node_cloner.childNodes.length; i++) {
				var child=me._single_node_cloner.childNodes[i];
				if (child.ggObj && child.ggObj.ggNodeId==cnode) {
			        var childOffX = child.offsetLeft;
			        var childOffY = child.offsetTop;
					var p = child.parentElement;
			        while (p != null && p!==this.divSkin) {
						if (p.ggType && p.ggType == 'scrollarea') {
							p.ggScrollIntoView(childOffX, childOffY, child.clientWidth, child.clientHeight);
						}
						childOffX += p.offsetLeft;
						childOffY += p.offsetTop;
						p = p.parentElement;
					}
				}
			}
		}
		me._single_node_cloner.ggUpdatePosition=function (useTransition) {
				me._single_node_cloner.ggUpdate();
		}
		me._single_node_cloner.ggNodeChange=function () {
			me._single_node_cloner.ggUpdateConditionNodeChange();
		}
		me._thumbnail_scroller__content.appendChild(me._single_node_cloner);
		me._slider_panel.appendChild(me._thumbnail_scroller);
		el=me._thumbnail_highlights=document.createElement('div');
		els=me._thumbnail_highlights__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="thumbnail_highlights";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='z-index: 100;';
		hs+='height : 30px;';
		hs+='left : 160px;';
		hs+='position : absolute;';
		hs+='top : 10px;';
		hs+='visibility : inherit;';
		hs+='width : 115px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: 115px;';
		hs+='height: 30px;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Highlights";
		el.appendChild(els);
		me._thumbnail_highlights.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._thumbnail_highlights.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('thumbnail_filter') == false))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._thumbnail_highlights.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._thumbnail_highlights.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._thumbnail_highlights.style[domTransition]='';
				if (me._thumbnail_highlights.ggCurrentLogicStateVisible == 0) {
					me._thumbnail_highlights.style.visibility="hidden";
					me._thumbnail_highlights.ggVisible=false;
				}
				else {
					me._thumbnail_highlights.style.visibility=(Number(me._thumbnail_highlights.style.opacity)>0||!me._thumbnail_highlights.style.opacity)?'inherit':'hidden';
					me._thumbnail_highlights.ggVisible=true;
				}
			}
		}
		me._thumbnail_highlights.onclick=function (e) {
			me._single_node_cloner.ggText="info";
			if (me._single_node_cloner.ggText=='') {
				me._single_node_cloner.ggUpdate([]);
			} else {
				me._single_node_cloner.ggUpdate(me._single_node_cloner.ggText.split(','));
			}
			skin.updateSize(skin.divSkin);
			var list=me.findElements("Slider Node Title",true);
			while(list.length>0) {
				var e=list.pop();
				e.ggText=player.hotspot.description;
				e.ggTextDiv.innerHTML=e.ggText;
				if (e.ggUpdateText) {
					e.ggUpdateText=function() {
						var hs=player.hotspot.description;
						if (hs!=this.ggText) {
							this.ggText=hs;
							this.ggTextDiv.innerHTML=hs;
							if (this.ggUpdatePosition) this.ggUpdatePosition();
						}
					}
				}
				if (e.ggUpdatePosition) {
					e.ggUpdatePosition();
				}
				e.ggTextDiv.scrollTop = 0;
			}
			var list=me.findElements("Slider Node Desc",true);
			while(list.length>0) {
				var e=list.pop();
				e.style[domTransition]='none';
				e.style.visibility=(Number(e.style.opacity)>0||!e.style.opacity)?'inherit':'hidden';
				e.ggVisible=true;
			}
			var list=me.findElements("Slider Node Title",true);
			while(list.length>0) {
				var e=list.pop();
				e.style[domTransition]='none';
				e.style.visibility='hidden';
				e.ggVisible=false;
			}
		}
		me._thumbnail_highlights.ggUpdatePosition=function (useTransition) {
		}
		me._slider_panel.appendChild(me._thumbnail_highlights);
		el=me._thumbnail_allrooms=document.createElement('div');
		els=me._thumbnail_allrooms__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="thumbnail_allrooms";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='z-index: 100;';
		hs+='height : 30px;';
		hs+='left : 25px;';
		hs+='position : absolute;';
		hs+='top : 10px;';
		hs+='visibility : inherit;';
		hs+='width : 115px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: 115px;';
		hs+='height: 30px;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="All Rooms";
		el.appendChild(els);
		me._thumbnail_allrooms.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._thumbnail_allrooms.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('thumbnail_filter') == false))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._thumbnail_allrooms.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._thumbnail_allrooms.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._thumbnail_allrooms.style[domTransition]='';
				if (me._thumbnail_allrooms.ggCurrentLogicStateVisible == 0) {
					me._thumbnail_allrooms.style.visibility="hidden";
					me._thumbnail_allrooms.ggVisible=false;
				}
				else {
					me._thumbnail_allrooms.style.visibility=(Number(me._thumbnail_allrooms.style.opacity)>0||!me._thumbnail_allrooms.style.opacity)?'inherit':'hidden';
					me._thumbnail_allrooms.ggVisible=true;
				}
			}
		}
		me._thumbnail_allrooms.onclick=function (e) {
			me._single_node_cloner.ggText="thumb";
			if (me._single_node_cloner.ggText=='') {
				me._single_node_cloner.ggUpdate([]);
			} else {
				me._single_node_cloner.ggUpdate(me._single_node_cloner.ggText.split(','));
			}
			skin.updateSize(skin.divSkin);
			var list=me.findElements("Slider Node Title",true);
			while(list.length>0) {
				var e=list.pop();
				e.style[domTransition]='none';
				e.style.visibility=(Number(e.style.opacity)>0||!e.style.opacity)?'inherit':'hidden';
				e.ggVisible=true;
			}
			var list=me.findElements("Slider Node Desc",true);
			while(list.length>0) {
				var e=list.pop();
				e.style[domTransition]='none';
				e.style.visibility='hidden';
				e.ggVisible=false;
			}
		}
		me._thumbnail_allrooms.ggUpdatePosition=function (useTransition) {
		}
		me._slider_panel.appendChild(me._thumbnail_allrooms);
		me.divSkin.appendChild(me._slider_panel);
		el=me._settings_panel=document.createElement('div');
		el.ggId="Settings Panel";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_container ";
		el.ggType='container';
		hs ='';
		hs+='bottom : 15px;';
		hs+='height : 300px;';
		hs+='left : 15px;';
		hs+='position : absolute;';
		hs+='visibility : inherit;';
		hs+='width : 50px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._settings_panel.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._settings_panel.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height > 1))
			)
			{
				newLogicStatePosition = 0;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height < 1))
			)
			{
				newLogicStatePosition = 1;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == false))
			)
			{
				newLogicStatePosition = 2;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._settings_panel.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._settings_panel.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._settings_panel.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms';
				if (me._settings_panel.ggCurrentLogicStatePosition == 0) {
					me._settings_panel.style.left='345px';
					me._settings_panel.style.bottom='15px';
				}
				else if (me._settings_panel.ggCurrentLogicStatePosition == 1) {
					me._settings_panel.style.left='315px';
					me._settings_panel.style.bottom='15px';
				}
				else if (me._settings_panel.ggCurrentLogicStatePosition == 2) {
					me._settings_panel.style.left='315px';
					me._settings_panel.style.bottom='15px';
				}
				else {
					me._settings_panel.style.left='15px';
					me._settings_panel.style.bottom='15px';
				}
			}
		}
		me._settings_panel.ggUpdatePosition=function (useTransition) {
		}
		el=me._settingsopen=document.createElement('div');
		els=me._settingsopen__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2VlNzkyMiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZTZlNmU2IiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5LjczLDAsMCwxLDMwLjczLDFtMC0xQTMwLjczLDMwLjczLDAsMSwwLDYxLjQ2LDMwLjczLDMwLj'+
			'c3LDMwLjc3LD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YzMi4xNWwtLjE3LS4wNi0yLjgxLTEtLjg4LTIuMThMMzUsMjYuMmwuMDctLjE2TDM1LDI1LjkybC0xLjE1LTEuMTYtMS4xNC0xLjE3LS4xMi0uMTItLjE2LjA3LTIuNzEsMS4yNy'+
			'0xLjQyLS42MS0uNzQtLjMxLTEtMi44Mi0uMDUtLjE3SDI2LjNsLTIuNDMsMGgtMVptMS43MSwxOC43NGE1Ljc3LDUuNzcsMCwxLDEsNC4wNi0xLjY5LDUuNjksNS42OSwwLDAsMS00LjA2LDEuNjlaIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._settingsopen__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._settingsopen__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2ZmZiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5LjczLDAsMCwxLDMwLjczLDFtMC0xQTMwLjczLDMwLjczLDAsMSwwLDYxLjQ2LDMwLjczLDMwLjc3LD'+
			'MwLjc3LDAsMCwwLDMwLjczLDBaIi8+CiA8L2c+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyN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zNSwyNi4ybC4wNy0uMTZMMzUsMjUuOTJsLTEuMTUtMS4xNi0xLjE0LTEuMTctLj'+
			'EyLS4xMi0uMTYuMDctMi43MSwxLjI3LTEuMzYtLjU4LS44LS4zNC0xLTIuODItLjA1LS4xN0gyNi4zbC0yLjQzLDBoLTFabTEuNzEsMTguNzRhNS43Nyw1Ljc3LDAsMSwxLDQuMDYtMS42OSw1LjY5LDUuNjksMCwwLDEtNC4wNiwxLjY5WiIvPgogPC9nPgo8L3N2Zz4K';
		me._settingsopen__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Settings-Open";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='bottom : 0px;';
		hs+='cursor : pointer;';
		hs+='height : 50px;';
		hs+='left : 0px;';
		hs+='position : absolute;';
		hs+='visibility : inherit;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._settingsopen.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingsopen.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('tools') == 1))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._settingsopen.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._settingsopen.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._settingsopen.style[domTransition]='opacity 750ms ease 0ms';
				if (me._settingsopen.ggCurrentLogicStateAlpha == 0) {
					setTimeout(function() { if (me._settingsopen.style.opacity == 0.0) { me._settingsopen.style.visibility="hidden"; } }, 755);
					me._settingsopen.style.opacity=0;
				}
				else {
					me._settingsopen.style.visibility=me._settingsopen.ggVisible?'inherit':'hidden';
					me._settingsopen.style.opacity=1;
				}
			}
		}
		me._settingsopen.onclick=function (e) {
			player.setVariableValue('tools', player.getVariableValue('tools') + Number("1"));
			player.setVariableValue('tools', player.getVariableValue('tools') % Number("2"));
			if (player.transitionsDisabled) {
				me._helpfadetext.style[domTransition]='none';
			} else {
				me._helpfadetext.style[domTransition]='all 500ms ease-out 0ms';
			}
			me._helpfadetext.style.opacity='0';
			me._helpfadetext.style.visibility='hidden';
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Open-Settings'
});
		}
		me._settingsopen.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._helpfadetext.style[domTransition]='none';
			} else {
				me._helpfadetext.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._helpfadetext.style.opacity='1';
			me._helpfadetext.style.visibility=me._helpfadetext.ggVisible?'inherit':'hidden';
			me._settingsopen__img.style.visibility='hidden';
			me._settingsopen__imgo.style.visibility='inherit';
		}
		me._settingsopen.onmouseout=function (e) {
			if (player.transitionsDisabled) {
				me._helpfadetext.style[domTransition]='none';
			} else {
				me._helpfadetext.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._helpfadetext.style.opacity='0';
			me._helpfadetext.style.visibility='hidden';
			me._settingsopen__img.style.visibility='inherit';
			me._settingsopen__imgo.style.visibility='hidden';
		}
		me._settingsopen.ggUpdatePosition=function (useTransition) {
		}
		me._settings_panel.appendChild(me._settingsopen);
		el=me._settingsclose=document.createElement('div');
		els=me._settingsclose__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2I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NmwtOS42Miw5LjYyYTMuNDQsMy40NCwwLDAsMS00Ljg3LTQuODdsOS42Mi05LjYyLTkuNjItOS42MmEzLjQ0LDMuNDQsMCwxLDEsNC44Ny00Ljg3bDkuNjIsOS42Miw5LjYyLTkuNjJhMy40MywzLjQzLDAsMCwxLDIuNDMtMW0wLS4yNWEzLjY3LDMuNjcsMCwwLDAtMi42MSwxLjA4TDMwLjczLDI1LjVsLTkuNDQtOS40NGEzLjcsMy'+
			'43LDAsMCwwLTUuMjMsNS4yM2w5LjQ0LDkuNDQtOS40NCw5LjQ0YTMuNywzLjcsMCwwLDAsNS4yMyw1LjIzTDMwLjczLDM2bDkuNDQsOS40NGEzLjcsMy43LDAsMCwwLDUuMjMtNS4yM0wzNiwzMC43M2w5LjQ0LTkuNDRBMy43LDMuNywwLDAsMCw0Mi43OCwxNVoiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._settingsclose__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._settingsclose__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2ZmZiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5LjczLDAsMCwxL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ywzNmw5LjQ0LDkuNDRhMy43LDMuNywwLDAsMCw1LjIzLTUuMjNMMzYsMzAuNzNsOS40NC05LjQ0QTMuNywzLjcsMCwwLDAsNDIuNzgsMTVaIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._settingsclose__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Settings-Close";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='bottom : 0px;';
		hs+='height : 50px;';
		hs+='left : 0px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._settingsclose.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingsclose.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('tools') == 1))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._settingsclose.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._settingsclose.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._settingsclose.style[domTransition]='opacity 750ms ease 0ms';
				if (me._settingsclose.ggCurrentLogicStateAlpha == 0) {
					me._settingsclose.style.visibility=me._settingsclose.ggVisible?'inherit':'hidden';
					me._settingsclose.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._settingsclose.style.opacity == 0.0) { me._settingsclose.style.visibility="hidden"; } }, 755);
					me._settingsclose.style.opacity=0;
				}
			}
		}
		me._settingsclose.onclick=function (e) {
			player.setVariableValue('tools', player.getVariableValue('tools') + Number("1"));
			player.setVariableValue('tools', player.getVariableValue('tools') % Number("2"));
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Close-Settings'
});
		}
		me._settingsclose.onmouseover=function (e) {
			me._settingsclose__img.style.visibility='hidden';
			me._settingsclose__imgo.style.visibility='inherit';
		}
		me._settingsclose.onmouseout=function (e) {
			me._settingsclose__img.style.visibility='inherit';
			me._settingsclose__imgo.style.visibility='hidden';
		}
		me._settingsclose.ggUpdatePosition=function (useTransition) {
		}
		me._settings_panel.appendChild(me._settingsclose);
		el=me._settingshome=document.createElement('div');
		els=me._settingshome__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2VlNzkyMiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZTZlNmU2IiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5LjczLDAsMCwxLDMwLjczLDFtMC0xQTMwLjczLDMwLjczLDAsMSwwLDYxLjQ2LDMwLjczLDMwLj'+
			'c3LDMwLjc3LDAsMCwwLDMwLjczLDBaIi8+CiA8L2c+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZmZmIiByPSIyNi43NyIgY3g9IjMwLjczIiBjeT0iMzAuNzMiLz4KIDxnPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZWU3OTIyO3N0cm9rZTogI2U2ZTZlNjtzdHJva2UtbWl0ZXJsaW1pdDogMTA7c3Ryb2tlLXdpZHRoOiAwLjI1cHgiIGQ9Ik0zMC44MiwxOC4zNywxOS4yNiwyOS45aDBhLjA2LjA2LDAsMCwwLDAsLjA1VjQ0czAsMCwwLDBoOC4zMVYzMy4yNGEuMDYuMDYsMCwwLDEsLjA1LS4wNkgzNGEuMDYuMDYsMCwwLDEsLjA1LjA2VjQ0aDguMzFzLjA1LDAsLjA1LDBWMzAuMzRhLjA2LjA2LDAs'+
			'MCwwLS4wNS0uMDZoLjA1Wm0wLDAiLz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2VlNzkyMjtzdHJva2U6ICNlNmU2ZTY7c3Ryb2tlLW1pdGVybGltaXQ6IDEwO3N0cm9rZS13aWR0aDogMC4yNXB4IiBkPSJNMzAuOCwxMy40NWExLjYyLDEuNjIsMCwwLDAtMS4wOS40NkwxNS4zLDI4LjExYTEuNDksMS40OSwwLDEsMCwyLjA5LDIuMTFMMzAuODIsMTcsNDQuMDYsMzAuNDJhMS40OCwxLjQ4LDAsMSwwLDIuMTEtMi4wOEwzMiwxMy45M2ExLjYsMS42LDAsMCwwLTEuMTMtLjQ4Wm0wLDAiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._settingshome__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._settingshome__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMS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S40OCwxLjQ4LDAsMSwwLDIuMTEtMi4wOEwzMiwxMy45M2ExLjYsMS42LDAsMCwwLTEuMTMtLjQ4Wm0wLDAiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._settingshome__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Settings-Home";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='bottom : 55px;';
		hs+='height : 50px;';
		hs+='left : 0px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._settingshome.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingshome.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('tools') == 0))
			)
			{
				newLogicStatePosition = 0;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._settingshome.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._settingshome.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._settingshome.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 200ms ease 0ms';
				if (me._settingshome.ggCurrentLogicStatePosition == 0) {
					me._settingshome.style.left='0px';
					me._settingshome.style.bottom='0px';
				}
				else {
					me._settingshome.style.left='0px';
					me._settingshome.style.bottom='55px';
				}
			}
		}
		me._settingshome.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('tools') == 1))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._settingshome.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._settingshome.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._settingshome.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 200ms ease 0ms';
				if (me._settingshome.ggCurrentLogicStateAlpha == 0) {
					me._settingshome.style.visibility=me._settingshome.ggVisible?'inherit':'hidden';
					me._settingshome.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._settingshome.style.opacity == 0.0) { me._settingshome.style.visibility="hidden"; } }, 205);
					me._settingshome.style.opacity=0;
				}
			}
		}
		me._settingshome.onclick=function (e) {
			player.openNext("{"+player.getVariableValue('HomeNode')+"}","");
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Go-Home'
});
		}
		me._settingshome.onmouseover=function (e) {
			me._settingshome__img.style.visibility='hidden';
			me._settingshome__imgo.style.visibility='inherit';
		}
		me._settingshome.onmouseout=function (e) {
			me._settingshome__img.style.visibility='inherit';
			me._settingshome__imgo.style.visibility='hidden';
		}
		me._settingshome.ggUpdatePosition=function (useTransition) {
		}
		el=me._settingshometip=document.createElement('div');
		els=me._settingshometip__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Settings-Home-Tip";
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text pt";
		el.ggType='text';
		hs ='';
		hs+='height : 22px;';
		hs+='left : 55px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 93px;';
		hs+='pointer-events:auto;';
		hs+='text-shadow: 1px 1px 2px #000000;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='border: 0px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: left;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Return Home";
		el.appendChild(els);
		me._settingshometip.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingshometip.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._settingshome.appendChild(me._settingshometip);
		me._settings_panel.appendChild(me._settingshome);
		el=me._settingshelp=document.createElement('div');
		els=me._settingshelp__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2VlNzkyMiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZTZlNmU2IiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5LjczLDAsMCwxLDMwLjczLDFtMC0xQTMwLjczLDMwLjczLDAsMSwwLDYxLjQ2LDMwLjczLDMwLj'+
			'c3LDMwLjc3LDAsMCwwLDMwLjczLDBaIi8+CiA8L2c+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZmZmIiByPSIyNi43NyIgY3g9IjMwLjczIiBjeT0iMzAuNzMiLz4KIDxwYXRoIHN0eWxlPSJmaWxsOiAjZWU3OTIyO3N0cm9rZTogI2U2ZTZlNjtzdHJva2UtbWl0ZXJsaW1pdDogMTA7c3Ryb2tlLXdpZHRoOiAwLjI1cHgiIGQ9Ik0yNi4xNiwzNi44MWwtLjA1LTEuMzNhMTEuMjcsMTEuMjcsMCwwLDEsMy04YzEuNjQtMS45NCwzLTMuNTcsMy01LjMxcy0xLjE3LTMtMy43Mi0zLjA2YTkuNjQsOS42NCwwLDAsMC01LjA2LDEuNTNsLTEuNzQtNS41N0ExNy41OCwxNy41OCwwLDAsMSwzMC4wOSwxM2M2'+
			'Ljc0LDAsOS44MSwzLjczLDkuODEsOCwwLDMuODgtMi40LDYuNDMtNC4zNCw4LjU3QTguODEsOC44MSwwLDAsMCwzMywzNS44OXYuOTJabS0xLjMzLDdhNC41Nyw0LjU3LDAsMSwxLDQuNTUsNC42NEE0LjQyLDQuNDIsMCwwLDEsMjQuODMsNDMuODZaIi8+Cjwvc3ZnPgo=';
		me._settingshelp__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._settingshelp__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGR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px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Settings-Help";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='bottom : 110px;';
		hs+='height : 50px;';
		hs+='left : 0px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._settingshelp.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingshelp.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('tools') == 0))
			)
			{
				newLogicStatePosition = 0;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._settingshelp.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._settingshelp.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._settingshelp.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 300ms ease 0ms';
				if (me._settingshelp.ggCurrentLogicStatePosition == 0) {
					me._settingshelp.style.left='0px';
					me._settingshelp.style.bottom='0px';
				}
				else {
					me._settingshelp.style.left='0px';
					me._settingshelp.style.bottom='110px';
				}
			}
		}
		me._settingshelp.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('tools') == 1))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._settingshelp.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._settingshelp.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._settingshelp.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 300ms ease 0ms';
				if (me._settingshelp.ggCurrentLogicStateAlpha == 0) {
					me._settingshelp.style.visibility=me._settingshelp.ggVisible?'inherit':'hidden';
					me._settingshelp.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._settingshelp.style.opacity == 0.0) { me._settingshelp.style.visibility="hidden"; } }, 305);
					me._settingshelp.style.opacity=0;
				}
			}
		}
		me._settingshelp.onclick=function (e) {
			player.setVariableValue('help_popup', true);
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Open-Help'
});
		}
		me._settingshelp.onmouseover=function (e) {
			me._settingshelp__img.style.visibility='hidden';
			me._settingshelp__imgo.style.visibility='inherit';
		}
		me._settingshelp.onmouseout=function (e) {
			me._settingshelp__img.style.visibility='inherit';
			me._settingshelp__imgo.style.visibility='hidden';
		}
		me._settingshelp.ggUpdatePosition=function (useTransition) {
		}
		el=me._settingshelptip=document.createElement('div');
		els=me._settingshelptip__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Settings-Help-Tip";
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text pt";
		el.ggType='text';
		hs ='';
		hs+='height : 22px;';
		hs+='left : 55px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 93px;';
		hs+='pointer-events:auto;';
		hs+='text-shadow: 1px 1px 2px #000000;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='border: 0px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: left;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Open Help Screen";
		el.appendChild(els);
		me._settingshelptip.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingshelptip.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._settingshelp.appendChild(me._settingshelptip);
		me._settings_panel.appendChild(me._settingshelp);
		el=me._settingsguided=document.createElement('div');
		els=me._settingsguided__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2VlNzkyMiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZTZlNmU2IiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5LjczLDAsMCwxLDMwLjczLDFtMC0xQTMwLjczLDMwLjczLDAsMSwwLDYxLjQ2LDMwLjczLDMwLj'+
			'c3LDMwLjc3LDAsMCwwLDMwLjczLDBaIi8+CiA8L2c+CiA8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MCw0Ni43NywyOC43OVoiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._settingsguided__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._settingsguided__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2ZmZiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5LjczLDAsMCwxLDMwLjczLDFtMC0xQTMwLjczLDMwLjczLDAsMSwwLDYxLjQ2LDMwLjczLDMwLjc3LD'+
			'MwLjc3LDAsMCwwLDMwLjczLDBaIi8+CiA8L2c+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNi43NyIgY3g9IjMwLjczIiBjeT0iMzAuNzMiLz4KIDxnPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmO3N0cm9rZTogI2U2ZTZlNjtzdHJva2UtbWl0ZXJsaW1pdDogMTA7c3Ryb2tlLXdpZHRoOiAwLjI1cHgiIGQ9Ik0zNi4xNywzMC4xMmwtNy4yNi01LjIxYS43Ni43NiwwLDAsMC0xLjIuNjFWMzUuOTRhLjc2Ljc2LDAsMCwwLDEuMi42MWw3LjI2LTUuMjFBLjc2Ljc2LDAsMCwwLDM2LjE3LDMwLjEyWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmO3N0cm9rZTogI2U2ZTZl'+
			'NjtzdHJva2UtbWl0ZXJsaW1pdDogMTA7c3Ryb2tlLXdpZHRoOiAwLjI1cHgiIGQ9Ik0zMC43MywxNi4wN2ExNC41MywxNC41MywwLDAsMSw0LjY3Ljc4TDMyLjYzLDIwbDEyLDIuNDZMNDAuNzUsMTAuODFsLTMsMy4zOUExNy42OSwxNy42OSwwLDAsMCwxMywzMC40NWExLjY2LDEuNjYsMCwwLDAsMy4zMiwwQTE0LjQsMTQuNCwwLDAsMSwzMC43MywxNi4wN1oiLz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2ZmZjtzdHJva2U6ICNlNmU2ZTY7c3Ryb2tlLW1pdGVybGltaXQ6IDEwO3N0cm9rZS13aWR0aDogMC4yNXB4IiBkPSJNNDYuNzcsMjguNzlhMS42NiwxLjY2LDAsMCwwLTEuNjYsMS42NkExNC'+
			'40LDE0LjQsMCwwLDEsMzAuNzMsNDQuODNhMTQuMTIsMTQuMTIsMCwwLDEtMy44NC0uNTJMMjkuNDgsNDEsMTcuMzUsMzkuMywyMiw1MC42NWwyLjc3LTMuNTVBMTcuNywxNy43LDAsMCwwLDQ4LjQzLDMwLjQ1LDEuNjYsMS42NiwwLDAsMCw0Ni43NywyOC43OVoiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._settingsguided__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Settings-Guided";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='bottom : 165px;';
		hs+='height : 50px;';
		hs+='left : 0px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._settingsguided.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingsguided.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('tools') == 0))
			)
			{
				newLogicStatePosition = 0;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._settingsguided.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._settingsguided.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._settingsguided.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 500ms ease 0ms';
				if (me._settingsguided.ggCurrentLogicStatePosition == 0) {
					me._settingsguided.style.left='0px';
					me._settingsguided.style.bottom='0px';
				}
				else {
					me._settingsguided.style.left='0px';
					me._settingsguided.style.bottom='165px';
				}
			}
		}
		me._settingsguided.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('guidedtour') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._settingsguided.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._settingsguided.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._settingsguided.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 500ms ease 0ms';
				if (me._settingsguided.ggCurrentLogicStateVisible == 0) {
					me._settingsguided.style.visibility=(Number(me._settingsguided.style.opacity)>0||!me._settingsguided.style.opacity)?'inherit':'hidden';
					me._settingsguided.ggVisible=true;
				}
				else {
					me._settingsguided.style.visibility="hidden";
					me._settingsguided.ggVisible=false;
				}
			}
		}
		me._settingsguided.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('tools') == 1))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._settingsguided.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._settingsguided.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._settingsguided.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 500ms ease 0ms';
				if (me._settingsguided.ggCurrentLogicStateAlpha == 0) {
					me._settingsguided.style.visibility=me._settingsguided.ggVisible?'inherit':'hidden';
					me._settingsguided.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._settingsguided.style.opacity == 0.0) { me._settingsguided.style.visibility="hidden"; } }, 505);
					me._settingsguided.style.opacity=0;
				}
			}
		}
		me._settingsguided.onclick=function (e) {
			player.openNext("{node"+player.getVariableValue('HomeNode')+"}","");
			player.toggleAutorotate();
		}
		me._settingsguided.onmouseover=function (e) {
			me._settingsguided__img.style.visibility='hidden';
			me._settingsguided__imgo.style.visibility='inherit';
		}
		me._settingsguided.onmouseout=function (e) {
			me._settingsguided__img.style.visibility='inherit';
			me._settingsguided__imgo.style.visibility='hidden';
		}
		me._settingsguided.ggUpdatePosition=function (useTransition) {
		}
		el=me._settingsguidedtip=document.createElement('div');
		els=me._settingsguidedtip__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Settings-Guided-Tip";
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text pt";
		el.ggType='text';
		hs ='';
		hs+='height : 22px;';
		hs+='left : 55px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 93px;';
		hs+='pointer-events:auto;';
		hs+='text-shadow: 1px 1px 2px #000000;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='border: 0px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: left;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Start Guided Tour";
		el.appendChild(els);
		me._settingsguidedtip.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingsguidedtip.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._settingsguided.appendChild(me._settingsguidedtip);
		me._settings_panel.appendChild(me._settingsguided);
		el=me._settingsgyro=document.createElement('div');
		els=me._settingsgyro__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2VlNzkyMiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZTZlNmU2IiBkPSJNM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3LjEyLDEzLDMwLjczLDEzYzIuMSwwLDQsMi42OSw1LjE3LDYuODciLz4KICA8cGF0aCBzdHlsZT0iZmlsbDogbm9uZTtzdHJva2U6ICNlZTc5MjI7c3Ryb2tlLWxpbmVjYXA6IHJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OiAxMDtzdHJva2Utd2lkdGg6IDJweCIgZD0iTTQwLjYyLDI1LjNjNC43NCwxLjE3LDcuODYsMy4xNyw3Ljg2LDUuNDMsMCwzLjYxLTcuOTUsNi41NC0xNy43NSw2LjU0UzEzLDM0LjM0LDEzLDMwLjczYzAtMi44Miw0LjgzLTUuMjIsMTEuNjEtNi4xNCIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiBub25lO3N0cm9rZTogI2VlNzkyMjtzdHJva2UtbGluZWNhcDogcm91'+
			'bmQ7c3Ryb2tlLW1pdGVybGltaXQ6IDEwIiBkPSJNMzYsMjkuOGE0LjIsNC4yLDAsMSwxLTQuMi00LjIiLz4KICA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyO3N0cm9rZTogI2U2ZTZlNjtzdHJva2UtbWl0ZXJsaW1pdDogMTA7c3Ryb2tlLXdpZHRoOiAwLjI1cHgiIHI9IjEuNTgiIGN4PSIzMS43NSIgY3k9IjI5LjgiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._settingsgyro__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._settingsgyro__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4K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FwOiByb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDogMTA7c3Ryb2tlLXdpZHRoOiAycHgiIGQ9Ik0zNi44NywzNi40NUMzNiw0My4yMSwzMy41NSw0OCwzMC43Myw0OGMtMy42MSwwLTYuNTQtNy45NS02LjU0LTE3Ljc1czIuOT'+
			'MtMTcuNzUsNi41NC0xNy43NWMyLjEsMCw0LDIuNjksNS4xNyw2Ljg3Ii8+CiAgPHBhdGggc3R5bGU9ImZpbGw6IG5vbmU7c3Ryb2tlOiAjZmZmO3N0cm9rZS1saW5lY2FwOiByb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDogMTA7c3Ryb2tlLXdpZHRoOiAycHgiIGQ9Ik00MC42MiwyNC44NUM0NS4zNiwyNiw0OC40OCwyOCw0OC40OCwzMC4yOWMwLDMuNjEtNy45NSw2LjU0LTE3Ljc1LDYuNTRTMTMsMzMuOSwxMywzMC4yOWMwLTIuODIsNC44My01LjIyLDExLjYxLTYuMTQiLz4KICA8cGF0aCBzdHlsZT0iZmlsbDogbm9uZTtzdHJva2U6ICNmZmY7c3Ryb2tlLWxpbmVjYXA6IHJvdW5kO3N0cm9rZS1t'+
			'aXRlcmxpbWl0OiAxMCIgZD0iTTM2LDI5LjM2YTQuMiw0LjIsMCwxLDEtNC4yLTQuMiIvPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNmZmY7c3Ryb2tlOiAjZTZlNmU2O3N0cm9rZS1taXRlcmxpbWl0OiAxMDtzdHJva2Utd2lkdGg6IDAuMjVweCIgcj0iMS41OCIgY3g9IjMxLjc1IiBjeT0iMjkuMzYiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._settingsgyro__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Settings-Gyro";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='bottom : 220px;';
		hs+='height : 50px;';
		hs+='left : 0px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._settingsgyro.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingsgyro.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('tools') == 0))
			)
			{
				newLogicStatePosition = 0;
			}
			else if (
				((player.getVariableValue('guidedtour') == false))
			)
			{
				newLogicStatePosition = 1;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._settingsgyro.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._settingsgyro.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._settingsgyro.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 400ms ease 0ms';
				if (me._settingsgyro.ggCurrentLogicStatePosition == 0) {
					me._settingsgyro.style.left='0px';
					me._settingsgyro.style.bottom='0px';
				}
				else if (me._settingsgyro.ggCurrentLogicStatePosition == 1) {
					me._settingsgyro.style.left='0px';
					me._settingsgyro.style.bottom='165px';
				}
				else {
					me._settingsgyro.style.left='0px';
					me._settingsgyro.style.bottom='220px';
				}
			}
		}
		me._settingsgyro.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getGyroAvailable() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._settingsgyro.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._settingsgyro.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._settingsgyro.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 400ms ease 0ms';
				if (me._settingsgyro.ggCurrentLogicStateVisible == 0) {
					me._settingsgyro.style.visibility=(Number(me._settingsgyro.style.opacity)>0||!me._settingsgyro.style.opacity)?'inherit':'hidden';
					me._settingsgyro.ggVisible=true;
				}
				else {
					me._settingsgyro.style.visibility="hidden";
					me._settingsgyro.ggVisible=false;
				}
			}
		}
		me._settingsgyro.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('tools') == 1))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._settingsgyro.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._settingsgyro.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._settingsgyro.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 400ms ease 0ms';
				if (me._settingsgyro.ggCurrentLogicStateAlpha == 0) {
					me._settingsgyro.style.visibility=me._settingsgyro.ggVisible?'inherit':'hidden';
					me._settingsgyro.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._settingsgyro.style.opacity == 0.0) { me._settingsgyro.style.visibility="hidden"; } }, 405);
					me._settingsgyro.style.opacity=0;
				}
			}
		}
		me._settingsgyro.onclick=function (e) {
			player.setUseGyro(!(player.getUseGyro()));
		}
		me._settingsgyro.onmouseover=function (e) {
			me._settingsgyro__img.style.visibility='hidden';
			me._settingsgyro__imgo.style.visibility='inherit';
		}
		me._settingsgyro.onmouseout=function (e) {
			me._settingsgyro__img.style.visibility='inherit';
			me._settingsgyro__imgo.style.visibility='hidden';
		}
		me._settingsgyro.ggUpdatePosition=function (useTransition) {
		}
		el=me._settingsgyrotip=document.createElement('div');
		els=me._settingsgyrotip__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Settings-Gyro-Tip";
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text pt";
		el.ggType='text';
		hs ='';
		hs+='height : 22px;';
		hs+='left : 55px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 93px;';
		hs+='pointer-events:auto;';
		hs+='text-shadow: 1px 1px 2px #000000;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='border: 0px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: left;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Turn Gyroscope On\/Off";
		el.appendChild(els);
		me._settingsgyrotip.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingsgyrotip.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._settingsgyro.appendChild(me._settingsgyrotip);
		me._settings_panel.appendChild(me._settingsgyro);
		el=me._settingsvr=document.createElement('div');
		els=me._settingsvr__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bW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wLDAsMSwuNDgtLjQ4aDMuNjFhOS4wOSw5LjA5LDAsMCwxLDEuNDcuMSwzLjMyLDMuMzIsMCwwLD'+
			'EsMS4xNi40NCwyLjc0LDIuNzQsMCwwLDEsLjg3Ljg5QTIuNjYsMi42NiwwLDAsMSw0MCwzMmEzLjEzLDMuMTMsMCwwLDEtLjUzLDEuODksMy41NSwzLjU1LDAsMCwxLS45NS45LjQ4LjQ4LDAsMCwwLS4xMS42OWwyLjQ2LDMuMTFBLjQ4LjQ4LDAsMCwxLDQwLjU0LDM5LjM2Wk00NCwzMS45MmExLjU4LDEuNTgsMCwxLDEsMS41OC0xLjU4QTEuNTgsMS41OCwwLDAsMSw0NCwzMS45MloiLz4KICA8L2c+CiAgPHBhdGggc3R5bGU9ImZpbGw6IG5vbmU7c3Ryb2tlOiAjZWU3OTIyO3N0cm9rZS1taXRlcmxpbWl0OiAxMDtzdHJva2Utd2lkdGg6IDJweCIgZD0iTTQ3Ljc0LDMwLjQ0UzQ3LjE3LDI0Ljcs'+
			'NDEuNDMsMTlhMi4xNCwyLjE0LDAsMCwwLTEuNDgtLjZoLTIuMWEyLjA4LDIuMDgsMCwwLDAtMS45MywxLjMzbC0uMi41M0EyLDIsMCwwLDEsMzMuOCwyMS42SDI3LjY2YTIsMiwwLDAsMS0xLjkyLTEuMzJsLS4yLS41M2EyLjA3LDIuMDcsMCwwLDAtMS45My0xLjMzaC0yLjFBMi4xNCwyLjE0LDAsMCwwLDIwLDE5Yy01Ljc0LDUuNjgtNi4zMSwxMS40Mi02LjMxLDExLjQyIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._settingsvr__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._settingsvr__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2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EgzMi42MWEuNDkuNDksMCwwLDEtLjQ4LS40OHYtOS4yYS40OC40OCwwLDAsMSwuNDgtLjQ4aDMuNjFhOS4wOSw5LjA5LDAsMCwxLDEuNDcuMSwzLjMyLDMuMzIsMCwwLDEsMS4xNi40NC'+
			'wyLjc0LDIuNzQsMCwwLDEsLjg3Ljg5QTIuNjYsMi42NiwwLDAsMSw0MCwzMmEzLjEzLDMuMTMsMCwwLDEtLjUzLDEuODksMy41NSwzLjU1LDAsMCwxLS45NS45LjQ4LjQ4LDAsMCwwLS4xMS42OWwyLjQ2LDMuMTFBLjQ4LjQ4LDAsMCwxLDQwLjU0LDM5LjM2Wk00NCwzMS45MmExLjU4LDEuNTgsMCwxLDEsMS41OC0xLjU4QTEuNTgsMS41OCwwLDAsMSw0NCwzMS45MloiLz4KICA8L2c+CiAgPHBhdGggc3R5bGU9ImZpbGw6IG5vbmU7c3Ryb2tlOiAjZmZmO3N0cm9rZS1taXRlcmxpbWl0OiAxMDtzdHJva2Utd2lkdGg6IDJweCIgZD0iTTQ3Ljc0LDMwLjQ0UzQ3LjE3LDI0LjcsNDEuNDMsMTlhMi4x'+
			'NCwyLjE0LDAsMCwwLTEuNDgtLjZoLTIuMWEyLjA4LDIuMDgsMCwwLDAtMS45MywxLjMzbC0uMi41M0EyLDIsMCwwLDEsMzMuOCwyMS42SDI3LjY2YTIsMiwwLDAsMS0xLjkyLTEuMzJsLS4yLS41M2EyLjA3LDIuMDcsMCwwLDAtMS45My0xLjMzaC0yLjFBMi4xNCwyLjE0LDAsMCwwLDIwLDE5Yy01Ljc0LDUuNjgtNi4zMSwxMS40Mi02LjMxLDExLjQyIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._settingsvr__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Settings-VR";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='bottom : 275px;';
		hs+='height : 50px;';
		hs+='left : 0px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._settingsvr.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingsvr.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('tools') == 0))
			)
			{
				newLogicStatePosition = 0;
			}
			else if (
				((player.getVariableValue('guidedtour') == false))
			)
			{
				newLogicStatePosition = 1;
			}
			else if (
				((player.getVariableValue('guidedtour') == false)) && 
				((player.getGyroAvailable() == false))
			)
			{
				newLogicStatePosition = 2;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._settingsvr.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._settingsvr.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._settingsvr.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 600ms ease 0ms';
				if (me._settingsvr.ggCurrentLogicStatePosition == 0) {
					me._settingsvr.style.left='0px';
					me._settingsvr.style.bottom='0px';
				}
				else if (me._settingsvr.ggCurrentLogicStatePosition == 1) {
					me._settingsvr.style.left='0px';
					me._settingsvr.style.bottom='220px';
				}
				else if (me._settingsvr.ggCurrentLogicStatePosition == 2) {
					me._settingsvr.style.left='0px';
					me._settingsvr.style.bottom='165px';
				}
				else {
					me._settingsvr.style.left='0px';
					me._settingsvr.style.bottom='275px';
				}
			}
		}
		me._settingsvr.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('VRinterface') == true)) && 
				((player.hasVR() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._settingsvr.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._settingsvr.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._settingsvr.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 600ms ease 0ms';
				if (me._settingsvr.ggCurrentLogicStateVisible == 0) {
					me._settingsvr.style.visibility=(Number(me._settingsvr.style.opacity)>0||!me._settingsvr.style.opacity)?'inherit':'hidden';
					me._settingsvr.ggVisible=true;
				}
				else {
					me._settingsvr.style.visibility="hidden";
					me._settingsvr.ggVisible=false;
				}
			}
		}
		me._settingsvr.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('tools') == 1))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._settingsvr.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._settingsvr.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._settingsvr.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 600ms ease 0ms';
				if (me._settingsvr.ggCurrentLogicStateAlpha == 0) {
					me._settingsvr.style.visibility=me._settingsvr.ggVisible?'inherit':'hidden';
					me._settingsvr.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._settingsvr.style.opacity == 0.0) { me._settingsvr.style.visibility="hidden"; } }, 605);
					me._settingsvr.style.opacity=0;
				}
			}
		}
		me._settingsvr.onclick=function (e) {
			player.enterVR();
		}
		me._settingsvr.onmouseover=function (e) {
			me._settingsvr__img.style.visibility='hidden';
			me._settingsvr__imgo.style.visibility='inherit';
		}
		me._settingsvr.onmouseout=function (e) {
			me._settingsvr__img.style.visibility='inherit';
			me._settingsvr__imgo.style.visibility='hidden';
		}
		me._settingsvr.ggUpdatePosition=function (useTransition) {
		}
		el=me._settingsvrtip=document.createElement('div');
		els=me._settingsvrtip__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Settings-VR-Tip";
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text pt";
		el.ggType='text';
		hs ='';
		hs+='height : 22px;';
		hs+='left : 55px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 93px;';
		hs+='pointer-events:auto;';
		hs+='text-shadow: 1px 1px 2px #000000;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='border: 0px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: left;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Start VR Interface";
		el.appendChild(els);
		me._settingsvrtip.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingsvrtip.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._settingsvr.appendChild(me._settingsvrtip);
		me._settings_panel.appendChild(me._settingsvr);
		el=me._settingsxray=document.createElement('div');
		els=me._settingsxray__img=document.create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ny0uNDhoLS4xVjIzaDBjMC0uMSwwLS4yMSwwLS4zMmE0LjM5LDQuMzksMCwwLDAtNy45NC0yLjU4aDBsMCwwLS4wOS4xMy02LjgyLDkuODZjLS4wOS4xMi0uMTguMjQtLjI2LjM3aDBhNy43OCw3Ljc4LDAsMCwwLS42OSwxLjMxQTguMSw4LjEsMCwwLDAsMTEuOTEsMzVhOC4yMiw4LjIyLDAsMCwwLDE2LjQ0LjI3aDB2LS4xYTEsMSwwLDAsMCwwLS4xNy44Ni44NiwwLDAsMCwwLS4xNlYzMS41NWguMWEuNDcuNDcsMCwwLDAsLjQ3LS40N3YtLjY2cS44OC4wNi'+
			'wxLjguMDZ0MS44LS4wNnYuNjZhLjQ3LjQ3LDAsMCwwLC40Ny40N2guMTF2My4yNGMwLC4wNSwwLC4xMSwwLC4xNnMwLC4xMSwwLC4xN3YuMWgwQTguMjIsOC4yMiwwLDAsMCw0OS41NSwzNSw4LjEsOC4xLDAsMCwwLDQ4LjkyLDMxLjc5Wk0yMC4xMyw0MC42OEE1LjczLDUuNzMsMCwxLDEsMjUuODYsMzUsNS43Myw1LjczLDAsMCwxLDIwLjEzLDQwLjY4Wm0yMS4yLDBBNS43Myw1LjczLDAsMSwxLDQ3LjA2LDM1LDUuNzIsNS43MiwwLDAsMSw0MS4zMyw0MC42OFoiIGNsYXNzPSJhIi8+Cjwvc3ZnPgo=';
		me._settingsxray__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._settingsxray__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNjEuNDYgNjEuNDYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8ZGVmcz4KICA8c3R5bGU+CiAgICAgI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wxLDAsMCwwLDAtLjE3Ljg2Ljg2LDAsMCwwLDAtLjE2VjMxLjU1aC4xYS40Ny40NywwLDAsMCwuNDctLjQ3di0uNjZxLjg4LjA2LDEuOC4wNnQxLjgtLjA2di42NmEuNDcuNDcsMCwwLDAsLjQ3LjQ3aC4xMX'+
			'YzLjI0YzAsLjA1LDAsLjExLDAsLjE2czAsLjExLDAsLjE3di4xaDBBOC4yMiw4LjIyLDAsMCwwLDQ5LjU1LDM1LDguMSw4LjEsMCwwLDAsNDguOTIsMzEuNzlaTTIwLjEzLDQwLjY4QTUuNzMsNS43MywwLDEsMSwyNS44NiwzNSw1LjczLDUuNzMsMCwwLDEsMjAuMTMsNDAuNjhabTIxLjIsMEE1LjczLDUuNzMsMCwxLDEsNDcuMDYsMzUsNS43Miw1LjcyLDAsMCwxLDQxLjMzLDQwLjY4WiIgY2xhc3M9ImEiLz4KPC9zdmc+Cg==';
		me._settingsxray__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Settings-Xray";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='bottom : 330px;';
		hs+='height : 50px;';
		hs+='left : 0px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._settingsxray.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingsxray.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('tools') == 0))
			)
			{
				newLogicStatePosition = 0;
			}
			else if (
				((player.getVariableValue('guidedtour') == false)) && 
				((player.getVariableValue('VRinterface') == false)) && 
				((player.getGyroAvailable() == false))
			)
			{
				newLogicStatePosition = 1;
			}
			else if (
				((player.getVariableValue('guidedtour') == true)) && 
				((player.getVariableValue('VRinterface') == false)) && 
				((player.getGyroAvailable() == false))
			)
			{
				newLogicStatePosition = 2;
			}
			else if (
				((player.getVariableValue('guidedtour') == true)) && 
				((player.getVariableValue('VRinterface') == true)) && 
				((player.getGyroAvailable() == false)) && 
				((player.getIsMobile() == false))
			)
			{
				newLogicStatePosition = 3;
			}
			else if (
				((player.getVariableValue('guidedtour') == false)) && 
				((player.getVariableValue('VRinterface') == false)) && 
				((player.getGyroAvailable() == true)) && 
				((player.getIsMobile() == true))
			)
			{
				newLogicStatePosition = 4;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._settingsxray.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._settingsxray.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._settingsxray.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 600ms ease 0ms';
				if (me._settingsxray.ggCurrentLogicStatePosition == 0) {
					me._settingsxray.style.left='0px';
					me._settingsxray.style.bottom='0px';
				}
				else if (me._settingsxray.ggCurrentLogicStatePosition == 1) {
					me._settingsxray.style.left='0px';
					me._settingsxray.style.bottom='165px';
				}
				else if (me._settingsxray.ggCurrentLogicStatePosition == 2) {
					me._settingsxray.style.left='0px';
					me._settingsxray.style.bottom='220px';
				}
				else if (me._settingsxray.ggCurrentLogicStatePosition == 3) {
					me._settingsxray.style.left='0px';
					me._settingsxray.style.bottom='220px';
				}
				else if (me._settingsxray.ggCurrentLogicStatePosition == 4) {
					me._settingsxray.style.left='0px';
					me._settingsxray.style.bottom='220px';
				}
				else {
					me._settingsxray.style.left='0px';
					me._settingsxray.style.bottom='330px';
				}
			}
		}
		me._settingsxray.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('xray_button') == true)) && 
				((me.ggUserdata.comment != ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._settingsxray.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._settingsxray.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._settingsxray.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 600ms ease 0ms';
				if (me._settingsxray.ggCurrentLogicStateVisible == 0) {
					me._settingsxray.style.visibility=(Number(me._settingsxray.style.opacity)>0||!me._settingsxray.style.opacity)?'inherit':'hidden';
					me._settingsxray.ggVisible=true;
				}
				else {
					me._settingsxray.style.visibility="hidden";
					me._settingsxray.ggVisible=false;
				}
			}
		}
		me._settingsxray.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('tools') == 1))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._settingsxray.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._settingsxray.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._settingsxray.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms, opacity 600ms ease 0ms';
				if (me._settingsxray.ggCurrentLogicStateAlpha == 0) {
					me._settingsxray.style.visibility=me._settingsxray.ggVisible?'inherit':'hidden';
					me._settingsxray.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._settingsxray.style.opacity == 0.0) { me._settingsxray.style.visibility="hidden"; } }, 605);
					me._settingsxray.style.opacity=0;
				}
			}
		}
		me._settingsxray.onclick=function (e) {
			if (
				(
					((player.getVariableValue('xray_view') == 0))
				)
			) {
				player.setTransition({type:"wiperightleft", before:0, after:0});
			}
			if (
				(
					((player.getVariableValue('xray_view') == 1))
				)
			) {
				player.setTransition({type:"wipeleftright", before:0, after:0});
			}
			player.openNext(me.ggUserdata.comment,"$(fwd)");
			player.setTransition({type:"crossdissolve", before:0, after:0});
			player.setVariableValue('xray_view', player.getVariableValue('xray_view') + Number("1"));
			player.setVariableValue('xray_view', player.getVariableValue('xray_view') % Number("2"));
		}
		me._settingsxray.onmouseover=function (e) {
			me._settingsxray__img.style.visibility='hidden';
			me._settingsxray__imgo.style.visibility='inherit';
		}
		me._settingsxray.onmouseout=function (e) {
			me._settingsxray__img.style.visibility='inherit';
			me._settingsxray__imgo.style.visibility='hidden';
		}
		me._settingsxray.ggUpdatePosition=function (useTransition) {
		}
		el=me._settingsxraytipon=document.createElement('div');
		els=me._settingsxraytipon__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Settings-Xray-Tip-On";
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text pt";
		el.ggType='text';
		hs ='';
		hs+='height : 22px;';
		hs+='left : 55px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 93px;';
		hs+='pointer-events:auto;';
		hs+='text-shadow: 1px 1px 2px #000000;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='border: 0px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: left;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		me._settingsxraytipon.ggUpdateText=function() {
			var hs=player.getVariableValue('Default_view_name');
			if (hs!=this.ggText) {
				this.ggText=hs;
				this.ggTextDiv.innerHTML=hs;
				if (this.ggUpdatePosition) this.ggUpdatePosition();
			}
		}
		me._settingsxraytipon.ggUpdateText();
		player.addListener('timer', function() {
			me._settingsxraytipon.ggUpdateText();
		});
		el.appendChild(els);
		me._settingsxraytipon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingsxraytipon.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('xray_view') == 1))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._settingsxraytipon.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._settingsxraytipon.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._settingsxraytipon.style[domTransition]='';
				if (me._settingsxraytipon.ggCurrentLogicStateVisible == 0) {
					me._settingsxraytipon.style.visibility="hidden";
					me._settingsxraytipon.ggVisible=false;
				}
				else {
					me._settingsxraytipon.style.visibility=(Number(me._settingsxraytipon.style.opacity)>0||!me._settingsxraytipon.style.opacity)?'inherit':'hidden';
					me._settingsxraytipon.ggVisible=true;
				}
			}
		}
		me._settingsxraytipon.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._settingsxray.appendChild(me._settingsxraytipon);
		el=me._settingsxraytipoff=document.createElement('div');
		els=me._settingsxraytipoff__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Settings-Xray-Tip-Off";
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text pt";
		el.ggType='text';
		hs ='';
		hs+='height : 22px;';
		hs+='left : 55px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 93px;';
		hs+='pointer-events:auto;';
		hs+='text-shadow: 1px 1px 2px #000000;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='border: 0px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: left;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		me._settingsxraytipoff.ggUpdateText=function() {
			var hs=player.getVariableValue('Alt_view_name');
			if (hs!=this.ggText) {
				this.ggText=hs;
				this.ggTextDiv.innerHTML=hs;
				if (this.ggUpdatePosition) this.ggUpdatePosition();
			}
		}
		me._settingsxraytipoff.ggUpdateText();
		player.addListener('timer', function() {
			me._settingsxraytipoff.ggUpdateText();
		});
		el.appendChild(els);
		me._settingsxraytipoff.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._settingsxraytipoff.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('xray_view') == 1))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._settingsxraytipoff.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._settingsxraytipoff.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._settingsxraytipoff.style[domTransition]='';
				if (me._settingsxraytipoff.ggCurrentLogicStateVisible == 0) {
					me._settingsxraytipoff.style.visibility=(Number(me._settingsxraytipoff.style.opacity)>0||!me._settingsxraytipoff.style.opacity)?'inherit':'hidden';
					me._settingsxraytipoff.ggVisible=true;
				}
				else {
					me._settingsxraytipoff.style.visibility="hidden";
					me._settingsxraytipoff.ggVisible=false;
				}
			}
		}
		me._settingsxraytipoff.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._settingsxray.appendChild(me._settingsxraytipoff);
		me._settings_panel.appendChild(me._settingsxray);
		el=me._helpfadetext=document.createElement('div');
		els=me._helpfadetext__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Help-fade-text";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 20px;';
		hs+='left : 60px;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: left;';
		hs+='white-space: nowrap;';
		hs+='padding: 7px 18px 7px 18px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Help & Settings";
		el.appendChild(els);
		me._helpfadetext.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._helpfadetext.ggUpdatePosition=function (useTransition) {
		}
		me._settings_panel.appendChild(me._helpfadetext);
		me.divSkin.appendChild(me._settings_panel);
		el=me._thumbnailslidercategory=document.createElement('div');
		el.ggId="Thumbnail-Slider-Category";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='background : rgba(235,109,31,0.501961);';
		hs+='border : 0px solid #000000;';
		hs+='cursor : default;';
		hs+='height : 100%;';
		hs+='left : -301px;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._thumbnailslidercategory.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._thumbnailslidercategory.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height > 1))
			)
			{
				newLogicStatePosition = 0;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height < 1))
			)
			{
				newLogicStatePosition = 1;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == false))
			)
			{
				newLogicStatePosition = 2;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._thumbnailslidercategory.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._thumbnailslidercategory.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._thumbnailslidercategory.style[domTransition]='left 500ms ease 0ms, top 500ms ease 0ms';
				if (me._thumbnailslidercategory.ggCurrentLogicStatePosition == 0) {
					me._thumbnailslidercategory.style.left='30px';
					me._thumbnailslidercategory.style.top='0px';
				}
				else if (me._thumbnailslidercategory.ggCurrentLogicStatePosition == 1) {
					me._thumbnailslidercategory.style.left='0px';
					me._thumbnailslidercategory.style.top='0px';
				}
				else if (me._thumbnailslidercategory.ggCurrentLogicStatePosition == 2) {
					me._thumbnailslidercategory.style.left='0px';
					me._thumbnailslidercategory.style.top='0px';
				}
				else {
					me._thumbnailslidercategory.style.left='-301px';
					me._thumbnailslidercategory.style.top='0px';
				}
			}
		}
		me._thumbnailslidercategory.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('category_slider') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._thumbnailslidercategory.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._thumbnailslidercategory.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._thumbnailslidercategory.style[domTransition]='left 500ms ease 0ms, top 500ms ease 0ms';
				if (me._thumbnailslidercategory.ggCurrentLogicStateVisible == 0) {
					me._thumbnailslidercategory.style.visibility=(Number(me._thumbnailslidercategory.style.opacity)>0||!me._thumbnailslidercategory.style.opacity)?'inherit':'hidden';
					me._thumbnailslidercategory.ggVisible=true;
				}
				else {
					me._thumbnailslidercategory.style.visibility="hidden";
					me._thumbnailslidercategory.ggVisible=false;
				}
			}
		}
		me._thumbnailslidercategory.ggUpdatePosition=function (useTransition) {
		}
		el=me._category_scroller=document.createElement('div');
		els=me._category_scroller__content=document.createElement('div');
		els.className='ggskin ggskin_subelement ggskin_scrollarea';
		el.ggContent=els;
		el.appendChild(els);
		el.ggHorScrollVisible = false;
		el.ggVertScrollVisible = false;
		el.ggContentLeftOffset = 0;
		el.ggContentTopOffset = 0;
		el.ggDragInertiaX = 0;
		el.ggDragInertiaY = 0;
		el.ggVPercentVisible = 1.0;
		el.ggHPercentVisible = 1.0;
		hs ='';
		hs+='height : 184px;';
		hs+='left : 0px;';
		hs+='overflow : visible;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='width : 281px;';
		hs+="";
		els.setAttribute('style',hs);
		me._category_scroller.ggScrollByX = function(diffX) {
			if(!me._category_scroller.ggHorScrollVisible || diffX == 0 || me._category_scroller.ggHPercentVisible >= 1.0) return;
			me._category_scroller.ggScrollPosX = (me._category_scroller__horScrollFg.offsetLeft + diffX);
			me._category_scroller.ggScrollPosX = Math.max(me._category_scroller.ggScrollPosX, 0);
			me._category_scroller.ggScrollPosX = Math.min(me._category_scroller.ggScrollPosX, me._category_scroller__horScrollBg.offsetWidth - me._category_scroller__horScrollFg.offsetWidth);
			me._category_scroller__horScrollFg.style.left = me._category_scroller.ggScrollPosX + 'px';
			let percentScrolled = me._category_scroller.ggScrollPosX / (me._category_scroller__horScrollBg.offsetWidth - me._category_scroller__horScrollFg.offsetWidth);
			me._category_scroller__content.style.left = -(Math.round((me._category_scroller.ggContentWidth * (1.0 - me._category_scroller.ggHPercentVisible)) * percentScrolled)) + me._category_scroller.ggContentLeftOffset + 'px';
			me._category_scroller.ggScrollPosXPercent = (me._category_scroller__horScrollFg.offsetLeft / me._category_scroller__horScrollBg.offsetWidth);
		}
		me._category_scroller.ggScrollByXSmooth = function(diffX) {
			if(!me._category_scroller.ggHorScrollVisible || diffX == 0 || me._category_scroller.ggHPercentVisible >= 1.0) return;
			var scrollPerInterval = diffX / 25;
			var scrollCurrX = 0;
			var id = setInterval(function() {
				scrollCurrX += scrollPerInterval;
				me._category_scroller.ggScrollPosX += scrollPerInterval;
				if (diffX > 0 && (scrollCurrX >= diffX || me._category_scroller.ggScrollPosX >= me._category_scroller__horScrollBg.offsetWidth - me._category_scroller__horScrollFg.offsetWidth)) {
					me._category_scroller.ggScrollPosX = Math.min(me._category_scroller.ggScrollPosX, me._category_scroller__horScrollBg.offsetWidth - me._category_scroller__horScrollFg.offsetWidth);
					clearInterval(id);
				}
				if (diffX < 0 && (scrollCurrX <= diffX || me._category_scroller.ggScrollPosX <= 0)) {
					me._category_scroller.ggScrollPosX = Math.max(me._category_scroller.ggScrollPosX, 0);
					clearInterval(id);
				}
			me._category_scroller__horScrollFg.style.left = me._category_scroller.ggScrollPosX + 'px';
			let percentScrolled = me._category_scroller.ggScrollPosX / (me._category_scroller__horScrollBg.offsetWidth - me._category_scroller__horScrollFg.offsetWidth);
			me._category_scroller__content.style.left = -(Math.round((me._category_scroller.ggContentWidth * (1.0 - me._category_scroller.ggHPercentVisible)) * percentScrolled)) + me._category_scroller.ggContentLeftOffset + 'px';
			me._category_scroller.ggScrollPosXPercent = (me._category_scroller__horScrollFg.offsetLeft / me._category_scroller__horScrollBg.offsetWidth);
			}, 10);
		}
		me._category_scroller.ggScrollByY = function(diffY) {
			if(!me._category_scroller.ggVertScrollVisible || diffY == 0 || me._category_scroller.ggVPercentVisible >= 1.0) return;
			me._category_scroller.ggScrollPosY = (me._category_scroller__vertScrollFg.offsetTop + diffY);
			me._category_scroller.ggScrollPosY = Math.max(me._category_scroller.ggScrollPosY, 0);
			me._category_scroller.ggScrollPosY = Math.min(me._category_scroller.ggScrollPosY, me._category_scroller__vertScrollBg.offsetHeight - me._category_scroller__vertScrollFg.offsetHeight);
			me._category_scroller__vertScrollFg.style.top = me._category_scroller.ggScrollPosY + 'px';
			let percentScrolled = me._category_scroller.ggScrollPosY / (me._category_scroller__vertScrollBg.offsetHeight - me._category_scroller__vertScrollFg.offsetHeight);
			me._category_scroller__content.style.top = -(Math.round((me._category_scroller.ggContentHeight * (1.0 - me._category_scroller.ggVPercentVisible)) * percentScrolled)) + me._category_scroller.ggContentTopOffset + 'px';
			me._category_scroller.ggScrollPosYPercent = (me._category_scroller__vertScrollFg.offsetTop / me._category_scroller__vertScrollBg.offsetHeight);
		}
		me._category_scroller.ggScrollByYSmooth = function(diffY) {
			if(!me._category_scroller.ggVertScrollVisible || diffY == 0 || me._category_scroller.ggVPercentVisible >= 1.0) return;
			var scrollPerInterval = diffY / 25;
			var scrollCurrY = 0;
			var id = setInterval(function() {
				scrollCurrY += scrollPerInterval;
				me._category_scroller.ggScrollPosY += scrollPerInterval;
				if (diffY > 0 && (scrollCurrY >= diffY || me._category_scroller.ggScrollPosY >= me._category_scroller__vertScrollBg.offsetHeight - me._category_scroller__vertScrollFg.offsetHeight)) {
					me._category_scroller.ggScrollPosY = Math.min(me._category_scroller.ggScrollPosY, me._category_scroller__vertScrollBg.offsetHeight - me._category_scroller__vertScrollFg.offsetHeight);
					clearInterval(id);
				}
				if (diffY < 0 && (scrollCurrY <= diffY || me._category_scroller.ggScrollPosY <= 0)) {
					me._category_scroller.ggScrollPosY = Math.max(me._category_scroller.ggScrollPosY, 0);
					clearInterval(id);
				}
			me._category_scroller__vertScrollFg.style.top = me._category_scroller.ggScrollPosY + 'px';
			let percentScrolled = me._category_scroller.ggScrollPosY / (me._category_scroller__vertScrollBg.offsetHeight - me._category_scroller__vertScrollFg.offsetHeight);
			me._category_scroller__content.style.top = -(Math.round((me._category_scroller.ggContentHeight * (1.0 - me._category_scroller.ggVPercentVisible)) * percentScrolled)) + me._category_scroller.ggContentTopOffset + 'px';
			me._category_scroller.ggScrollPosYPercent = (me._category_scroller__vertScrollFg.offsetTop / me._category_scroller__vertScrollBg.offsetHeight);
			}, 10);
		}
		me._category_scroller.ggScrollIntoView = function(posX, posY, width, height) {
			if (me._category_scroller.ggHorScrollVisible) {
				if (posX < 0) {
					var diffX = Math.floor(posX * me._category_scroller.ggHPercentVisible);
					me._category_scroller.ggScrollByXSmooth(diffX);
				} else if (posX + width > me._category_scroller.clientWidth - (me._category_scroller.ggVertScrollVisible ? 10 : 0)) {
					var diffX = Math.ceil(((posX + width) - (me._category_scroller.clientWidth - (me._category_scroller.ggVertScrollVisible ? 10 : 0))) * me._category_scroller.ggHPercentVisible);
					me._category_scroller.ggScrollByXSmooth(diffX);
				}
			}
			if (me._category_scroller.ggVertScrollVisible) {
				if (posY < 0) {
					var diffY = Math.floor(posY * me._category_scroller.ggVPercentVisible);
					me._category_scroller.ggScrollByYSmooth(diffY);
				} else if (posY + height > me._category_scroller.clientHeight - (me._category_scroller.ggHorScrollVisible ? 10 : 0)) {
					var diffY = Math.ceil(((posY + height) - (me._category_scroller.clientHeight - (me._category_scroller.ggHorScrollVisible ? 10 : 0))) * me._category_scroller.ggVPercentVisible);
					me._category_scroller.ggScrollByYSmooth(diffY);
				}
			}
		}
		els.ontouchstart = function(e) {
			e = e || window.event;
			var t = e.touches;
			me._category_scroller.ggDragLastX = t ? t[0].clientX : e.clientX;
			me._category_scroller.ggDragLastY = t ? t[0].clientY : e.clientY;
			me._category_scroller__content.ontouchend = function() {
				let inertiaInterval = setInterval(function() {
					me._category_scroller.ggDragInertiaX *= 0.65;
					me._category_scroller.ggDragInertiaY *= 0.65;
					me._category_scroller.ggScrollByX(me._category_scroller.ggDragInertiaX);
					me._category_scroller.ggScrollByY(me._category_scroller.ggDragInertiaY);
					if (Math.abs(me._category_scroller.ggDragInertiaX) < 1.0 && Math.abs(me._category_scroller.ggDragInertiaY) < 1.0) {
						clearInterval(inertiaInterval);
					}
					}, 50);
				me._category_scroller__content.ontouchend = null;
				me._category_scroller__content.ontouchmove = null;
				me._category_scroller__content.onpointerup = null;
				me._category_scroller__content.onpointermove = null;
			}
		if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
			me._category_scroller__content.onpointerup = me._category_scroller__content.ontouchend;
		}
			me._category_scroller__content.ontouchmove = function(e) {
				e = e || window.event;
				e.preventDefault();
				var t = e.touches;
				var diffX = ((t ? t[0].clientX : e.clientX) - me._category_scroller.ggDragLastX) * me._category_scroller.ggHPercentVisible;
				var diffY = ((t ? t[0].clientY : e.clientY) - me._category_scroller.ggDragLastY) * me._category_scroller.ggVPercentVisible;
				me._category_scroller.ggDragInertiaX = -diffX;
				me._category_scroller.ggDragInertiaY = -diffY;
				me._category_scroller.ggDragLastX = t ? t[0].clientX : e.clientX;
				me._category_scroller.ggDragLastY = t ? t[0].clientY : e.clientY;
				me._category_scroller.ggScrollByX(-diffX);
				me._category_scroller.ggScrollByY(-diffY);
			}
			if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
				me._category_scroller__content.onpointermove = me._category_scroller__content.ontouchmove;
			}
		}
		if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
			els.onpointerdown = els.ontouchstart;
		}
		elVertScrollBg = me._category_scroller__vertScrollBg = document.createElement('div');
		el.appendChild(elVertScrollBg);
		elVertScrollBg.setAttribute('style', 'position: absolute; right: 0px; top: 0px; visibility: hidden; width: 10px; height: 1024px; background-color: rgba(128,128,128,1); pointer-events: auto;');
		elVertScrollBg.className='ggskin ggskin_scrollarea_vscrollbg';
		elVertScrollFg = me._category_scroller__vertScrollFg = document.createElement('div');
		elVertScrollBg.appendChild(elVertScrollFg);
		elVertScrollFg.setAttribute('style', 'position: absolute; left: 0px; top: 0px; visibility: hidden; width: 10px; height: 1024px; background-color: rgba(192,192,192,1); pointer-events: auto;');
		elVertScrollFg.className='ggskin ggskin_scrollarea_vscrollfg';
		me._category_scroller.ggScrollPosY = 0;
		me._category_scroller.ggScrollPosYPercent = 0.0;
		elVertScrollFg.onmousedown = function(e) {
			if (player.getOS() == 1 && navigator.maxTouchPoints > 0) return;
			e = e || window.event;
			e.preventDefault();
			e.stopPropagation();
			me._category_scroller.ggDragLastY = e.clientY;
			document.onmouseup = function() {
				let inertiaInterval = setInterval(function() {
					me._category_scroller.ggDragInertiaY *= 0.65;
					me._category_scroller.ggScrollByY(me._category_scroller.ggDragInertiaY);
					if (Math.abs(me._category_scroller.ggDragInertiaY) < 1.0) {
						clearInterval(inertiaInterval);
					}
					}, 50);
				document.onmouseup = null;
				document.onmousemove = null;
			}
			document.onmousemove = function(e) {
				e = e || window.event;
				e.preventDefault();
				var diffY = e.clientY - me._category_scroller.ggDragLastY;
				me._category_scroller.ggDragInertiaY = diffY;
				me._category_scroller.ggDragLastY = e.clientY;
				me._category_scroller.ggScrollByY(diffY);
			}
		}
		elVertScrollFg.ontouchstart = function(e) {
			e = e || window.event;
			e.preventDefault();
			e.stopPropagation();
			var t = e.touches;
			me._category_scroller.ggDragLastY = t ? t[0].clientY : e.clientY;
			document.ontouchend = function() {
				let inertiaInterval = setInterval(function() {
					me._category_scroller.ggDragInertiaY *= 0.65;
					me._category_scroller.ggScrollByY(me._category_scroller.ggDragInertiaY);
					if (Math.abs(me._category_scroller.ggDragInertiaY) < 1.0) {
						clearInterval(inertiaInterval);
					}
					}, 50);
				document.ontouchend = null;
				document.ontouchmove = null;
				document.onpointerup = null;
				document.onpointermove = null;
			}
			if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
				document.onpointerup = document.ontouchend;
			}
			document.ontouchmove = function(e) {
				e = e || window.event;
				e.preventDefault();
				var t = e.touches;
				var diffY = (t ? t[0].clientY : e.clientY) - me._category_scroller.ggDragLastY;
				me._category_scroller.ggDragInertiaY = diffY;
				me._category_scroller.ggDragLastY = t ? t[0].clientY : e.clientY;
				me._category_scroller.ggScrollByY(diffY);
			}
			if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
				document.onpointermove = document.ontouchmove;
			}
		}
		if (player.getOS() == 1 && navigator.maxTouchPoints > 0) {
			elVertScrollFg.onpointerdown = elVertScrollFg.ontouchstart;
		}
		elVertScrollBg.onmousedown = function(e) {
			e = e || window.event;
			e.preventDefault();
			var diffY = me._category_scroller.ggScrollHeight;
			if (e.offsetY < me._category_scroller.ggScrollPosY) {
				diffY = diffY * -1;
			}
			me._category_scroller.ggScrollByYSmooth(diffY);
		}
		elVertScrollBg.ontouchstart = function(e) {
			e = e || window.event;
			e.preventDefault();
			e.stopPropagation();
			var t = e.touches;
			var rect = me._category_scroller__vertScrollBg.getBoundingClientRect();
			var diffY = me._category_scroller.ggScrollHeight;
			if ((t[0].clientY - rect.top) < me._category_scroller.ggScrollPosY) {
				diffY = diffY * -1;
			}
			me._category_scroller.ggScrollByYSmooth(diffY);
		}
		el.addEventListener('wheel', function(e) {
			e.preventDefault();
			var wheelDelta = Math.sign(e.deltaY);
			me._category_scroller.ggScrollByYSmooth(30 * me._category_scroller.ggVPercentVisible * wheelDelta);
		});
		elCornerBg = me._category_scroller__cornerBg = document.createElement('div');
		el.appendChild(elCornerBg);
		elCornerBg.setAttribute('style', 'position: absolute; right: 0px; bottom: 0px; visibility: hidden; width: 10px; height: 10px; background-color: rgba(255,255,255,1);');
		elCornerBg.className='ggskin ggskin_scrollarea_scrollcorner';
		el.ggId="category_scroller";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_scrollarea ";
		el.ggType='scrollarea';
		hs ='';
		hs+='border : 0px solid #000000;';
		hs+='height : 100%;';
		hs+='left : 0px;';
		hs+='overflow : hidden;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._category_scroller.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._category_scroller.ggUpdatePosition=function (useTransition) {
			{
				var horScrollWasVisible = this.ggHorScrollVisible;
				var vertScrollWasVisible = this.ggVertScrollVisible;
				this.ggContent.style.left = '0px';
				this.ggContent.style.top = '0px';
				this.ggContentLeftOffset = 0;
				this.ggContentTopOffset = 0;
				this.ggContentWidth = 0;
				this.ggContentHeight = 0;
				var offsetWidthWithScale = this.getBoundingClientRect().width;
				var offsetHeightWithScale = this.getBoundingClientRect().height;
				var domRectContent = this.ggContent.getBoundingClientRect();
				var minX = 0;
				var minY = 0;
				var maxX = 0;
				var maxY = 0;
				var stack=[];
				stack.push(this.ggContent);
				while(stack.length>0) {
					var e=stack.pop();
					if (e!=this.ggContent && e.getBoundingClientRect && e.style['display']!='none') {
						var domRectChild = e.getBoundingClientRect();
						var diffX = domRectChild.left - domRectContent.left;
						minX = Math.min(minX, diffX);
						maxX = Math.max(maxX, diffX + domRectChild.width);
						var diffY = domRectChild.top - domRectContent.top;
						minY = Math.min(minY, diffY);
						maxY = Math.max(maxY, diffY + domRectChild.height);
					}
					if (e.hasChildNodes() && e.style['display']!='none') {
						for(var i=0;i<e.childNodes.length;i++) {
							stack.push(e.childNodes[i]);
						}
					}
				}
				if (minX < 0) this.ggContentLeftOffset = -minX;
				if (minY < 0) this.ggContentTopOffset = -minY;
				var contentWidth = maxX - minX;
				var contentHeight = maxY - minY;
			var scaleX = this.getBoundingClientRect().width / this.offsetWidth;
				this.ggContentWidth = contentWidth / scaleX;
			var scaleY = this.getBoundingClientRect().height / this.offsetHeight;
				this.ggContentHeight = contentHeight / scaleY;
				this.ggContent.style.left = this.ggContentLeftOffset + 'px';
				this.ggContent.style.top = this.ggContentTopOffset + 'px';
				this.ggContent.style.width = contentWidth + 'px';
				this.ggContent.style.height = contentHeight + 'px';
				this.ggContent.style.left = this.ggContentLeftOffset + 'px';
				this.ggContent.style.marginLeft = '0px';
				this.ggContent.style.top = -(Math.round(me._category_scroller.ggScrollPosY / me._category_scroller.ggVPercentVisible)) + this.ggContentTopOffset + 'px';
				this.ggContent.style.marginTop = '0px';
				if ((me._category_scroller.ggHorScrollVisible && contentHeight > this.clientHeight - 10) || (!me._category_scroller.ggHorScrollVisible && contentHeight > this.clientHeight)) {
					me._category_scroller__vertScrollBg.style.visibility = 'inherit';
					me._category_scroller__vertScrollFg.style.visibility = 'inherit';
					me._category_scroller.ggVertScrollVisible = true;
				} else {
					me._category_scroller__vertScrollBg.style.visibility = 'hidden';
					me._category_scroller__vertScrollFg.style.visibility = 'hidden';
					me._category_scroller.ggVertScrollVisible = false;
				}
				if(me._category_scroller.ggVertScrollVisible) {
					me._category_scroller.ggAvailableWidth = me._category_scroller.clientWidth - 10;
					if (me._category_scroller.ggHorScrollVisible) {
						me._category_scroller.ggAvailableHeight = me._category_scroller.clientHeight - 10;
						me._category_scroller.ggAvailableHeightWithScale = me._category_scroller.getBoundingClientRect().height - me._category_scroller__vertScrollBg.getBoundingClientRect().width;
						me._category_scroller__cornerBg.style.visibility = 'inherit';
					} else {
						me._category_scroller.ggAvailableHeight = me._category_scroller.clientHeight;
						me._category_scroller.ggAvailableHeightWithScale = me._category_scroller.getBoundingClientRect().height;
						me._category_scroller__cornerBg.style.visibility = 'hidden';
					}
					me._category_scroller__vertScrollBg.style.height = me._category_scroller.ggAvailableHeight + 'px';
					me._category_scroller.ggVPercentVisible = contentHeight != 0 ? me._category_scroller.ggAvailableHeightWithScale / contentHeight : 0.0;
					if (me._category_scroller.ggVPercentVisible > 1.0) me._category_scroller.ggVPercentVisible = 1.0;
					me._category_scroller.ggScrollHeight =  Math.round(me._category_scroller__vertScrollBg.offsetHeight * me._category_scroller.ggVPercentVisible);
					me._category_scroller__vertScrollFg.style.height = me._category_scroller.ggScrollHeight + 'px';
					me._category_scroller.ggScrollPosY = me._category_scroller.ggScrollPosYPercent * me._category_scroller.ggAvailableHeight;
					me._category_scroller.ggScrollPosY = Math.min(me._category_scroller.ggScrollPosY, me._category_scroller__vertScrollBg.offsetHeight - me._category_scroller__vertScrollFg.offsetHeight);
					me._category_scroller__vertScrollFg.style.top = me._category_scroller.ggScrollPosY + 'px';
					if (me._category_scroller.ggVPercentVisible < 1.0) {
						let percentScrolled = me._category_scroller.ggScrollPosY / (me._category_scroller__vertScrollBg.offsetHeight - me._category_scroller__vertScrollFg.offsetHeight);
						me._category_scroller__content.style.top = -(Math.round((me._category_scroller.ggContentHeight * (1.0 - me._category_scroller.ggVPercentVisible)) * percentScrolled)) + me._category_scroller.ggContentTopOffset + 'px';
					}
				} else {
					me._category_scroller.ggAvailableWidth = me._category_scroller.clientWidth;
					me._category_scroller.ggScrollPosY = 0;
					me._category_scroller.ggScrollPosYPercent = 0.0;
					me._category_scroller__content.style.top = this.ggContentTopOffset + 'px';
					me._category_scroller__cornerBg.style.visibility = 'hidden';
				}
				if(horScrollWasVisible != me._category_scroller.ggHorScrollVisible || vertScrollWasVisible != me._category_scroller.ggVertScrollVisible) {
					me.updateSize(me._category_scroller);
					me._category_scroller.ggUpdatePosition();
				}
			}
		}
		el=me._category_cloner=document.createElement('div');
		el.ggNumRepeat = 1;
		el.ggNumRows = 0;
		el.ggNumCols = 0;
		el.ggWidth = 270;
		el.ggHeight = 128;
		el.ggUpdating = false;
		el.ggFilter = [];
		el.ggInstances = [];
		me._category_cloner.callChildLogicBlocks_changenode = function(){
			if(me._category_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._category_cloner.ggInstances.length; i++) {
					if (me._category_cloner.ggInstances[i]._category && me._category_cloner.ggInstances[i]._category.logicBlock_backgroundcolor) {
						me._category_cloner.ggInstances[i]._category.logicBlock_backgroundcolor();
					}
					me._category_cloner.ggInstances[i]._node_cloner.callChildLogicBlocks_changenode();
					me._category_cloner.ggInstances[i]._node_cloner.callChildLogicBlocks_changenode();
				}
			}
		}
		me._category_cloner.callChildLogicBlocks_mouseover = function(){
			if(me._category_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._category_cloner.ggInstances.length; i++) {
					if (me._category_cloner.ggInstances[i]._category && me._category_cloner.ggInstances[i]._category.logicBlock_backgroundcolor) {
						me._category_cloner.ggInstances[i]._category.logicBlock_backgroundcolor();
					}
				}
			}
		}
		me._category_cloner.callChildLogicBlocks_mouseover = function(){
			if(me._category_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._category_cloner.ggInstances.length; i++) {
					me._category_cloner.ggInstances[i]._node_cloner.callChildLogicBlocks_mouseover();
					me._category_cloner.ggInstances[i]._node_cloner.callChildLogicBlocks_mouseover();
				}
			}
		}
		me._category_cloner.callChildLogicBlocks_active = function(){
			if(me._category_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._category_cloner.ggInstances.length; i++) {
					me._category_cloner.ggInstances[i]._node_cloner.callChildLogicBlocks_active();
					me._category_cloner.ggInstances[i]._node_cloner.callChildLogicBlocks_active();
				}
			}
		}
		me._category_cloner.callChildLogicBlocks_changevisitednodes = function(){
			if(me._category_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._category_cloner.ggInstances.length; i++) {
					me._category_cloner.ggInstances[i]._node_cloner.callChildLogicBlocks_changevisitednodes();
					me._category_cloner.ggInstances[i]._node_cloner.callChildLogicBlocks_changevisitednodes();
				}
			}
		}
		me._category_cloner.callChildLogicBlocks_activehotspotchanged = function(){
			if(me._category_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._category_cloner.ggInstances.length; i++) {
					me._category_cloner.ggInstances[i]._node_cloner.callChildLogicBlocks_activehotspotchanged();
					me._category_cloner.ggInstances[i]._node_cloner.callChildLogicBlocks_activehotspotchanged();
				}
			}
		}
		me._category_cloner.callChildLogicBlocks_varchanged_open_tag = function(){
			if(me._category_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._category_cloner.ggInstances.length; i++) {
					if (me._category_cloner.ggInstances[i]._category && me._category_cloner.ggInstances[i]._category.logicBlock_backgroundcolor) {
						me._category_cloner.ggInstances[i]._category.logicBlock_backgroundcolor();
					}
				}
			}
		}
		el.ggAutoPosition = function(init) {
			var currYPos = 0;
			var numElements = me._category_cloner.ggInstances.length;
			var currElement = 0;
			for (var i=0; i<me._category_cloner.ggNumRows; i++) {
				var rowMaxHeight = 0;
				for (var j=0; j<me._category_cloner.ggNumCols; j++) {
					if (numElements > currElement) {
						me._category_cloner.childNodes[currElement].style['top'] = currYPos + 'px';
						me._category_cloner.childNodes[currElement].style['height'] ='0px';
						rowMaxHeight = Math.max(rowMaxHeight, me._category_cloner.childNodes[currElement].scrollHeight);
						me._category_cloner.childNodes[currElement].style['height'] = rowMaxHeight + 'px';
					}
					currElement++;
				}
				currYPos += rowMaxHeight;
			}
		}
		el.ggUpdate = function(filter) {
			if(me._category_cloner.ggUpdating == true) return;
			me._category_cloner.ggUpdating = true;
			var el=me._category_cloner;
			var curNumCols = 0;
			curNumCols = me._category_cloner.ggNumRepeat;
			if (curNumCols < 1) curNumCols = 1;
			if (typeof filter=='object') {
				el.ggFilter = filter;
			} else {
				filter = el.ggFilter;
			};
			if (me.ggTag) filter.push(me.ggTag);
			filter=filter.sort();
			if ((el.ggNumCols == curNumCols) && (el.ggInstances.length > 0) && (filter.length === el.ggCurrentFilter.length) && (filter.every(function(value, index) { return value === el.ggCurrentFilter[index] }) )) {
				me._category_cloner.ggUpdating = false;
				return;
			} else {
				el.ggNumRows = 1;
				el.ggNumCols = curNumCols;
			}
			el.ggCurrentFilter = filter;
			el.ggInstances = [];
			if (el.hasChildNodes() == true) {
				while (el.firstChild) {
					el.removeChild(el.firstChild);
				}
			}
			var tourNodes = player.getNodeIds();
			var row = 0;
			var column = 0;
			var currentIndex = 0;
			var firstNode;
			for (var i=0; i < el.ggTagTable.length; i++) {
				var cItem = el.ggTagTable[i];
				firstNode = '';
				cItem.nodecount = 0;
				for (var j=0; j < tourNodes.length; j++) {
					var nodeData = player.getNodeUserdata(tourNodes[j]);
					if ((nodeData['tags'].indexOf(cItem.tag) != -1) || (cItem.tag=='')) {
						var passed = true;
						if (filter.length > 0) {
							for (var k=0; k < filter.length; k++) {
								if (nodeData['tags'].indexOf(filter[k]) == -1) passed = false;
							}
						}
						if (passed) {
							cItem.nodecount++;
							if (firstNode == '') firstNode = tourNodes[j];
						}
					}
				}
				cItem.firstnode=firstNode;
				if (cItem.nodecount == 0) continue;
				var nodeId = {};
				nodeId['tag'] = cItem.tag;
				nodeId['title'] = cItem.title;
				nodeId['nodecount'] = cItem.nodecount;
				nodeId['firstnode'] = cItem.firstnode;
				var parameter={};
				parameter.top=(row * me._category_cloner.ggHeight) + 'px';
				parameter.left=(column * me._category_cloner.ggWidth) + 'px';
				parameter.width=me._category_cloner.ggWidth + 'px';
				parameter.height=me._category_cloner.ggHeight + 'px';
				parameter.index=currentIndex;
				var inst = new SkinCloner_category_cloner_Class(nodeId, me, el, parameter);
				currentIndex++;
				inst.__div.style['height'] = '0px';
				el.ggInstances.push(inst);
				el.appendChild(inst.__div);
				inst.__div.ggObj=inst;
				skin.updateSize(inst.__div);
				column++;
				if (column >= el.ggNumCols) {
					column = 0;
					row++;
					el.ggNumRows++;
				}
			}
			me._category_cloner.callChildLogicBlocks_changenode();
			me._category_cloner.callChildLogicBlocks_mouseover();
			me._category_cloner.callChildLogicBlocks_mouseover();
			me._category_cloner.callChildLogicBlocks_active();
			me._category_cloner.callChildLogicBlocks_changevisitednodes();
			me._category_cloner.callChildLogicBlocks_activehotspotchanged();
			me._category_cloner.callChildLogicBlocks_varchanged_open_tag();
			me._category_cloner.ggAutoPosition(true);
			me._category_cloner.ggUpdating = false;
			player.triggerEvent('clonerchanged');
			if (me._category_cloner.parentNode.classList.contains('ggskin_subelement') && me._category_cloner.parentNode.parentNode.classList.contains('ggskin_scrollarea')) me._category_cloner.parentNode.parentNode.ggUpdatePosition();
		}
		el.ggFilter = [];
		el.ggTagTable = [
			];
		el.ggId="category_cloner";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_cloner ";
		el.ggType='cloner';
		hs ='';
		hs+='height : 128px;';
		hs+='left : 10px;';
		hs+='overflow : visible;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 270px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._category_cloner.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._category_cloner.ggUpdatePosition=function (useTransition) {
				me._category_cloner.ggUpdate();
		}
		me._category_scroller__content.appendChild(me._category_cloner);
		me._thumbnailslidercategory.appendChild(me._category_scroller);
		me.divSkin.appendChild(me._thumbnailslidercategory);
		el=me._screentint_image=document.createElement('div');
		el.ggId="screentint_image";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='background : rgba(0,0,0,0.392157);';
		hs+='border : 0px solid #000000;';
		hs+='cursor : default;';
		hs+='height : 100%;';
		hs+='left : 0%;';
		hs+='position : absolute;';
		hs+='top : 0%;';
		hs+='visibility : hidden;';
		hs+='width : 100%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._screentint_image.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._screentint_image.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('vis_image_popup') == true)) || 
				((player.getVariableValue('vis_image_popup_gal') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._screentint_image.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._screentint_image.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._screentint_image.style[domTransition]='';
				if (me._screentint_image.ggCurrentLogicStateVisible == 0) {
					me._screentint_image.style.visibility=(Number(me._screentint_image.style.opacity)>0||!me._screentint_image.style.opacity)?'inherit':'hidden';
					me._screentint_image.ggVisible=true;
				}
				else {
					me._screentint_image.style.visibility="hidden";
					me._screentint_image.ggVisible=false;
				}
			}
		}
		me._screentint_image.onclick=function (e) {
			player.setVariableValue('vis_image_popup', false);
			player.setVariableValue('vis_image_popup_gal', false);
		}
		me._screentint_image.ggUpdatePosition=function (useTransition) {
		}
		me.divSkin.appendChild(me._screentint_image);
		el=me._image_popup=document.createElement('div');
		el.ggId="image_popup";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_container ";
		el.ggType='container';
		hs ='';
		hs+='height : 80%;';
		hs+='left : 10%;';
		hs+='position : absolute;';
		hs+='top : 10%;';
		hs+='visibility : hidden;';
		hs+='width : 80%;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._image_popup.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._image_popup.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('vis_image_popup') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._image_popup.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._image_popup.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._image_popup.style[domTransition]='';
				if (me._image_popup.ggCurrentLogicStateVisible == 0) {
					me._image_popup.style.visibility=(Number(me._image_popup.style.opacity)>0||!me._image_popup.style.opacity)?'inherit':'hidden';
					me._image_popup.ggVisible=true;
				}
				else {
					me._image_popup.style.visibility="hidden";
					me._image_popup.ggVisible=false;
				}
			}
		}
		me._image_popup.ggUpdatePosition=function (useTransition) {
		}
		el=me._loading_image0=document.createElement('div');
		els=me._loading_image0__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzIgMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0id2hpdGUiIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCI+CiA8Y2lyY2xlIHI9IjAiIGN4PSIxNiIgY3k9IjMiPgogIDxhbmltYXRlIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBjYWxjTW9kZT0ic3BsaW5lIiBhdHRyaWJ1dGVOYW1lPSJyIiBiZWdpbj0iMCIgZHVyPSIxcyIgdmFsdWVzPSIwOzM7MDswIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4y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0icm90YXRlKDMxNSAxNiAxNikiPgogIDxhbmltYXRlIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBjYWxjTW9kZT0ic3BsaW5lIiBhdHRyaWJ1dGVOYW1lPSJyIiBiZWdpbj0iMC44NzVzIiBkdXI9IjFzIiB2YWx1ZXM9IjA7MzswOzAiIGtleVNwbGluZXM9IjAuMiAwLjIgMC40IDAuODswLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44'+
			'Ii8+CiA8L2NpcmNsZT4KIDxjaXJjbGUgcj0iMCIgY3g9IjE2IiBjeT0iMyIgdHJhbnNmb3JtPSJyb3RhdGUoMTgwIDE2IDE2KSI+CiAgPGFuaW1hdGUgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGNhbGNNb2RlPSJzcGxpbmUiIGF0dHJpYnV0ZU5hbWU9InIiIGJlZ2luPSIwLjVzIiBkdXI9IjFzIiB2YWx1ZXM9IjA7MzswOzAiIGtleVNwbGluZXM9IjAuMiAwLjIgMC40IDAuODswLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44Ii8+CiA8L2NpcmNsZT4KPC9zdmc+Cg==';
		me._loading_image0__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="loading_image";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='height : 40px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 40px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._loading_image0.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._loading_image0.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._image_popup.appendChild(me._loading_image0);
		el=me._popup_image=document.createElement('div');
		els=me._popup_image__img=document.createElement('img');
		els.className='ggskin ggskin_external';
		els.setAttribute('style','position: absolute;-webkit-user-drag:none;pointer-events:none;;');
		els.onload=function() {me._popup_image.ggUpdatePosition();}
		el.ggText=basePath + "";
		els.setAttribute('src', el.ggText);
		els['ondragstart']=function() { return false; };
		hs ='';
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="popup_image";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_external ";
		el.ggType='external';
		hs ='';
		hs+='border : 0px solid #000000;';
		hs+='cursor : default;';
		hs+='height : 100%;';
		hs+='left : 0%;';
		hs+='position : absolute;';
		hs+='top : 0%;';
		hs+='visibility : hidden;';
		hs+='width : 100%;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._popup_image.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._popup_image.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('vis_image_popup') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._popup_image.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._popup_image.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._popup_image.style[domTransition]='';
				if (me._popup_image.ggCurrentLogicStateVisible == 0) {
					me._popup_image.style.visibility=(Number(me._popup_image.style.opacity)>0||!me._popup_image.style.opacity)?'inherit':'hidden';
					me._popup_image.ggSubElement.src=me._popup_image.ggText;
					me._popup_image.ggVisible=true;
				}
				else {
					me._popup_image.style.visibility="hidden";
					me._popup_image__img.src = '';
					me._popup_image.ggVisible=false;
				}
			}
		}
		me._popup_image.ggUpdatePosition=function (useTransition) {
			var parentWidth = me._popup_image.clientWidth;
			var parentHeight = me._popup_image.clientHeight;
			var img = me._popup_image__img;
			var aspectRatioDiv = me._popup_image.clientWidth / me._popup_image.clientHeight;
			var aspectRatioImg = img.naturalWidth / img.naturalHeight;
			if (img.naturalWidth < parentWidth) parentWidth = img.naturalWidth;
			if (img.naturalHeight < parentHeight) parentHeight = img.naturalHeight;
			var currentWidth,currentHeight;
			if (aspectRatioDiv > aspectRatioImg) {
				currentHeight = parentHeight;
				currentWidth = parentHeight * aspectRatioImg;
				img.style.width='';
				img.style.height=parentHeight + 'px';
			} else {
				currentWidth = parentWidth;
				currentHeight = parentWidth / aspectRatioImg;
				img.style.width=parentWidth + 'px';
				img.style.height='';
			};
			img.style.left='50%';
			img.style.marginLeft='-' + currentWidth/2 + 'px';
			img.style.top='50%';
			img.style.marginTop='-' + currentHeight/2 + 'px';
		}
		me._image_popup.appendChild(me._popup_image);
		me.divSkin.appendChild(me._image_popup);
		el=me._image_popup_close=document.createElement('div');
		els=me._image_popup_close__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0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LTAuNC0xLjFjMC0wLjUsMC4xLTAuOSwwLjUtMS4zbDEwLjktMTAuOWMwLjktMC45LDEuNy0wLjksMi40LTAuMWwxNS44LDE1LjhsMTUuNy0xNS43JiN4ZDsmI3hhOyYjeDk7JiN4OTtjMC45LTAuOSwxLjctMC45LDIuNC0wLjFsMTEuMSwxMS4xYzAuOCwwLjgsMC44LDEuNS0wLjEsMi40bC0xNS43LDE1LjdMLTE0NS44LDQxMi43eiIgZmlsbD0iI2'+
			'VlNzkyMiIvPgogPC9nPgogPGcgaWQ9IkxheWVyXzIiPgogIDxwYXRoIGQ9Ik0tMTYxLjYsMzk2LjlsMTUuOCwxNS44YzAuOCwwLjgsMC44LDEuNS0wLjEsMi40bC0xMC45LDEwLjljLTAuNCwwLjQtMC44LDAuNS0xLjMsMC41JiN4ZDsmI3hhOyYjeDk7JiN4OTtjLTAuNSwwLTAuOS0wLjEtMS4xLTAuNGwtMTUuOC0xNS44bC0xNS43LDE1LjdjLTAuNCwwLjQtMC44LDAuNS0xLjMsMC41cy0wLjktMC4xLTEuMS0wLjRsLTExLjEtMTEuMWMtMC4zLTAuMy0wLjQtMC42LTAuNC0xLjEmI3hkOyYjeGE7JiN4OTsmI3g5O2MwLTAuNSwwLjEtMC45LDAuNS0xLjNsMTUuNy0xNS43bC0xNS44LTE1LjhjLTAu'+
			'My0wLjMtMC40LTAuNi0wLjQtMS4xYzAtMC41LDAuMS0wLjksMC41LTEuM2wxMC45LTEwLjljMC45LTAuOSwxLjctMC45LDIuNC0wLjEmI3hkOyYjeGE7JiN4OTsmI3g5O2wxNS44LDE1LjhsMTUuNy0xNS43YzAuOS0wLjksMS43LTAuOSwyLjQtMC4xbDExLjEsMTEuMWMwLjgsMC44LDAuOCwxLjUtMC4xLDIuNEwtMTYxLjYsMzk2Ljl6IiBmaWxsPSIjRkZGRkZGIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._image_popup_close__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._image_popup_close__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB5PSIwcHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIGlkPSJMYXllcl8xIiB2aWV3Qm94PSItMjQwIDMzMiAxMzAgMTMwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgYmFzZVByb2ZpbGU9InRpbnkiIHg9IjBweCI+CiA8ZyBpZD0iTG'+
			'F5ZXJfMV8xXyI+CiAgPHBhdGggZmlsbC1vcGFjaXR5PSIxIiBkPSJNLTEzMC45LDM1Mi45Yy0yNC40LTI0LjQtNjMuOC0yNC40LTg4LjIsMGMtMjQuNCwyNC40LTI0LjQsNjMuOCwwLDg4LjJjMjQuNCwyNC40LDYzLjgsMjQuNCw4OC4yLDAmI3hkOyYjeGE7JiN4OTsmI3g5O1MtMTA2LjUsMzc3LjMtMTMwLjksMzUyLjl6IE0tMTQyLjUsNDE0LjVjMC44LDAuOCwwLjgsMS43LTAuMSwyLjdsLTEyLjIsMTIuMmMtMC40LDAuNC0wLjgsMC42LTEuNCwwLjZjLTAuNiwwLTEtMC4xLTEuMy0wLjQmI3hkOyYjeGE7JiN4OTsmI3g5O2wtMTcuNS0xNy41bC0xNy40LDE3LjRjLTAuNCwwLjQtMC44LDAuNi0x'+
			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DIuNy0wLjFsMTIuMywxMi4zYzAuOCwwLjgsMC44LDEuNy0wLjEsMi43TC0xNjAuMSwzOTYuOXoiIGZpbGw9IiNGRkZGRkYiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._image_popup_close__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="image_popup_close";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 50px;';
		hs+='left : 15px;';
		hs+='position : absolute;';
		hs+='top : 15px;';
		hs+='visibility : hidden;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._image_popup_close.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._image_popup_close.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('vis_image_popup') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._image_popup_close.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._image_popup_close.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._image_popup_close.style[domTransition]='';
				if (me._image_popup_close.ggCurrentLogicStateVisible == 0) {
					me._image_popup_close.style.visibility=(Number(me._image_popup_close.style.opacity)>0||!me._image_popup_close.style.opacity)?'inherit':'hidden';
					me._image_popup_close.ggVisible=true;
				}
				else {
					me._image_popup_close.style.visibility="hidden";
					me._image_popup_close.ggVisible=false;
				}
			}
		}
		me._image_popup_close.onclick=function (e) {
			player.setVariableValue('vis_image_popup', false);
		}
		me._image_popup_close.onmouseover=function (e) {
			me._image_popup_close__img.style.visibility='hidden';
			me._image_popup_close__imgo.style.visibility='inherit';
		}
		me._image_popup_close.onmouseout=function (e) {
			me._image_popup_close__img.style.visibility='inherit';
			me._image_popup_close__imgo.style.visibility='hidden';
		}
		me._image_popup_close.ggUpdatePosition=function (useTransition) {
		}
		me.divSkin.appendChild(me._image_popup_close);
		el=me._desktophelpimage=document.createElement('div');
		els=me._desktophelpimage__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		me._desktophelpimage__img.setAttribute('src',basePath + 'images/desktophelpimage.svg');
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="Desktop-Help-Image";
		el.ggDx=-15;
		el.ggDy=-15;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='height : 631px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 631px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._desktophelpimage.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._desktophelpimage.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('help_popup') == true)) && 
				((player.getIsMobile() == false))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._desktophelpimage.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._desktophelpimage.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._desktophelpimage.style[domTransition]='opacity 500ms ease 0ms';
				if (me._desktophelpimage.ggCurrentLogicStateVisible == 0) {
					me._desktophelpimage.style.visibility=(Number(me._desktophelpimage.style.opacity)>0||!me._desktophelpimage.style.opacity)?'inherit':'hidden';
					me._desktophelpimage.ggVisible=true;
				}
				else {
					me._desktophelpimage.style.visibility="hidden";
					me._desktophelpimage.ggVisible=false;
				}
			}
		}
		me._desktophelpimage.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('help_popup') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._desktophelpimage.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._desktophelpimage.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._desktophelpimage.style[domTransition]='opacity 500ms ease 0ms';
				if (me._desktophelpimage.ggCurrentLogicStateAlpha == 0) {
					me._desktophelpimage.style.visibility=me._desktophelpimage.ggVisible?'inherit':'hidden';
					me._desktophelpimage.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._desktophelpimage.style.opacity == 0.0) { me._desktophelpimage.style.visibility="hidden"; } }, 505);
					me._desktophelpimage.style.opacity=0;
				}
			}
		}
		me._desktophelpimage.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		el=me._helpclosebutton=document.createElement('div');
		el.ggId="help-close-button";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='border : 0px solid #000000;';
		hs+='cursor : pointer;';
		hs+='height : 60px;';
		hs+='position : absolute;';
		hs+='right : 0px;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 60px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._helpclosebutton.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._helpclosebutton.onclick=function (e) {
			player.setVariableValue('help_popup', false);
		}
		me._helpclosebutton.ggUpdatePosition=function (useTransition) {
		}
		me._desktophelpimage.appendChild(me._helpclosebutton);
		me.divSkin.appendChild(me._desktophelpimage);
		el=me._screentint_helpmobile=document.createElement('div');
		el.ggId="screentint_help-mobile";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='background : rgba(0,0,0,0.392157);';
		hs+='border : 0px solid #000000;';
		hs+='cursor : default;';
		hs+='height : 100%;';
		hs+='left : 0%;';
		hs+='position : absolute;';
		hs+='top : 0%;';
		hs+='visibility : hidden;';
		hs+='width : 100%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._screentint_helpmobile.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._screentint_helpmobile.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('help_popup') == true)) && 
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._screentint_helpmobile.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._screentint_helpmobile.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._screentint_helpmobile.style[domTransition]='';
				if (me._screentint_helpmobile.ggCurrentLogicStateVisible == 0) {
					me._screentint_helpmobile.style.visibility=(Number(me._screentint_helpmobile.style.opacity)>0||!me._screentint_helpmobile.style.opacity)?'inherit':'hidden';
					me._screentint_helpmobile.ggVisible=true;
				}
				else {
					me._screentint_helpmobile.style.visibility="hidden";
					me._screentint_helpmobile.ggVisible=false;
				}
			}
		}
		me._screentint_helpmobile.onclick=function (e) {
			player.setVariableValue('help_popup', false);
		}
		me._screentint_helpmobile.ggUpdatePosition=function (useTransition) {
		}
		me.divSkin.appendChild(me._screentint_helpmobile);
		el=me._mobilehelpimage=document.createElement('div');
		els=me._mobilehelpimage__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		me._mobilehelpimage__img.setAttribute('src',basePath + 'images/mobilehelpimage.svg');
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="Mobile-Help-Image";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='height : 90%;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 90%;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._mobilehelpimage.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._mobilehelpimage.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true)) && 
				((player.getVariableValue('help_popup') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._mobilehelpimage.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._mobilehelpimage.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._mobilehelpimage.style[domTransition]='';
				if (me._mobilehelpimage.ggCurrentLogicStateVisible == 0) {
					me._mobilehelpimage.style.visibility=(Number(me._mobilehelpimage.style.opacity)>0||!me._mobilehelpimage.style.opacity)?'inherit':'hidden';
					me._mobilehelpimage.ggVisible=true;
				}
				else {
					me._mobilehelpimage.style.visibility="hidden";
					me._mobilehelpimage.ggVisible=false;
				}
			}
		}
		me._mobilehelpimage.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me.divSkin.appendChild(me._mobilehelpimage);
		el=me._hidehotspots=document.createElement('div');
		el.ggId="Hide-Hotspots";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='background : #ffffff;';
		hs+='border : 0px solid #000000;';
		hs+='bottom : 50px;';
		hs+='cursor : default;';
		hs+='height : 10px;';
		hs+='position : absolute;';
		hs+='right : 50px;';
		hs+='visibility : hidden;';
		hs+='width : 10px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hidehotspots.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._hidehotspots.onclick=function (e) {
			me._slideropen.style[domTransition]='none';
			me._slideropen.style.visibility='hidden';
			me._slideropen.ggVisible=false;
			me._settings_panel.style[domTransition]='none';
			me._settings_panel.style.visibility='hidden';
			me._settings_panel.ggVisible=false;
			player.setVariableValue('hide_all_hotspots', true);
		}
		me._hidehotspots.ggUpdatePosition=function (useTransition) {
		}
		me.divSkin.appendChild(me._hidehotspots);
		el=me._init_ga=document.createElement('div');
		els=me._init_ga__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="init_ga";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text ";
		el.ggType='text';
		hs ='';
		hs+='height : 21px;';
		hs+='left : 0px;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='visibility : hidden;';
		hs+='width : 307px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='pointer-events: none;';
		hs+='background: #000000;';
		hs+='border: 1px solid #ffffff;';
		hs+='border-radius: 5px;';
		hs+=cssPrefix + 'border-radius: 5px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: left;';
		hs+='white-space: nowrap;';
		hs+='padding: 5px 6px 5px 6px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Please set your Google tracking ID";
var ua_id=player.getVariableValue('UA_ID');
if (!window.dataLayer) {
  window.dataLayer = [];
  let script = document.createElement('script');
  script.async=1;
  script.src = 'https://www.googletagmanager.com/gtag/js?id='+ua_id;
  document.head.appendChild(script);
}
function gtag() { window.dataLayer.push(arguments);}
window.gtag=gtag;
gtag('js', new Date());
gtag('config', ua_id);
		el.appendChild(els);
		me._init_ga.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._init_ga.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('UA_ID') == ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else if (
				((player.getVariableValue('UA_category') == ""))
			)
			{
				newLogicStateVisible = 1;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._init_ga.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._init_ga.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._init_ga.style[domTransition]='';
				if (me._init_ga.ggCurrentLogicStateVisible == 0) {
					me._init_ga.style.visibility=(Number(me._init_ga.style.opacity)>0||!me._init_ga.style.opacity)?'inherit':'hidden';
					me._init_ga.ggVisible=true;
				}
				else if (me._init_ga.ggCurrentLogicStateVisible == 1) {
					me._init_ga.style.visibility="hidden";
					me._init_ga.ggVisible=false;
				}
				else {
					me._init_ga.style.visibility="hidden";
					me._init_ga.ggVisible=false;
				}
			}
		}
		me._init_ga.ggUpdatePosition=function (useTransition) {
		}
		me.divSkin.appendChild(me._init_ga);
		el=me._animationtimer=document.createElement('div');
		el.ggTimestamp=this.ggCurrentTime;
		el.ggLastIsActive=true;
		el.ggTimeout=500;
		el.ggId="Animation-Timer";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_timer ";
		el.ggType='timer';
		hs ='';
		hs+='height : 20px;';
		hs+='left : 707px;';
		hs+='position : absolute;';
		hs+='top : 66px;';
		hs+='visibility : inherit;';
		hs+='width : 100px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._animationtimer.ggIsActive=function() {
			return (me._animationtimer.ggTimestamp==0 ? false : (Math.floor((me.ggCurrentTime - me._animationtimer.ggTimestamp) / me._animationtimer.ggTimeout) % 2 == 0));
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._animationtimer.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me._animationtimer.ggIsActive() == false))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._animationtimer.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._animationtimer.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._animationtimer.style[domTransition]='';
				if (me._animationtimer.ggCurrentLogicStateVisible == 0) {
					me._animationtimer.style.visibility="hidden";
					me._animationtimer.ggVisible=false;
				}
				else {
					me._animationtimer.style.visibility=(Number(me._animationtimer.style.opacity)>0||!me._animationtimer.style.opacity)?'inherit':'hidden';
					me._animationtimer.ggVisible=true;
				}
			}
		}
		me._animationtimer.ggActivate=function () {
			player.setVariableValue('ht_ani', true);
		}
		me._animationtimer.ggDeactivate=function () {
			player.setVariableValue('ht_ani', false);
		}
		me._animationtimer.ggCurrentLogicStateVisible = -1;
		me._animationtimer.ggUpdateConditionTimer=function () {
			me._animationtimer.logicBlock_visible();
		}
		me._animationtimer.ggUpdatePosition=function (useTransition) {
		}
		me.divSkin.appendChild(me._animationtimer);
		el=me._precheck=document.createElement('div');
		els=me._precheck__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Pre-Check";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text ";
		el.ggType='text';
		hs ='';
		hs+='bottom : 50px;';
		hs+='height : 10px;';
		hs+='position : absolute;';
		hs+='right : 50px;';
		hs+='visibility : inherit;';
		hs+='width : 10px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='right: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 10px;';
		hs+='height: 10px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="";
		el.appendChild(els);
		me._precheck.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._precheck.ggUpdatePosition=function (useTransition) {
		}
		me._precheck.ggNodeChange=function () {
			player.setVariableValue('nudge_viewer', false);
			player.setVariableValue('extreme_nudge_viewer', false);
			if (
				(
					((player.getVariableValue('node_counter') > 5))
				)
			) {
				me._helpfadetext.style[domTransition]='none';
				me._helpfadetext.style.opacity='0';
				me._helpfadetext.style.visibility='hidden';
			}
			if (
				(
					((player.getVariableValue('node_counter') == 0))
				)
			) {
				gtag('event', 'Node Counter', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': '1 Nodes'
});
			}
			if (
				(
					((player.getVariableValue('node_counter') == 2))
				)
			) {
				gtag('event', 'Node Counter', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': '3 Nodes'
});
			}
			if (
				(
					((player.getVariableValue('node_counter') == 4))
				)
			) {
				gtag('event', 'Node Counter', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': '5 Nodes'
});
			}
			if (
				(
					((player.getVariableValue('node_counter') == 9))
				)
			) {
				gtag('event', 'Node Counter', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': '10 Nodes'
});
			}
			if (
				(
					((player.getVariableValue('node_counter') == 14))
				)
			) {
				gtag('event', 'Node Counter', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': '15 Nodes'
});
			}
			if (
				(
					((player.getVariableValue('node_counter') == 19))
				)
			) {
				gtag('event', 'Node Counter', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': '20 Nodes'
});
			}
			if (
				(
					((player.getVariableValue('node_counter') == 24))
				)
			) {
				gtag('event', 'Node Counter', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': '25 Nodes'
});
			}
			player.setVariableValue('node_counter', player.getVariableValue('node_counter') + Number("1"));
		}
		me.divSkin.appendChild(me._precheck);
		el=me._nudgetimer=document.createElement('div');
		el.ggTimestamp=0;
		el.ggLastIsActive=false;
		el.ggTimeout=5000;
		el.ggId="nudge-timer";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_timer ";
		el.ggType='timer';
		hs ='';
		hs+='height : 65px;';
		hs+='left : 310px;';
		hs+='position : absolute;';
		hs+='top : 565px;';
		hs+='visibility : inherit;';
		hs+='width : 71px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._nudgetimer.ggIsActive=function() {
			return (me._nudgetimer.ggTimestamp + me._nudgetimer.ggTimeout) >= me.ggCurrentTime;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._nudgetimer.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me._nudgetimer.ggIsActive() == false))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._nudgetimer.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._nudgetimer.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._nudgetimer.style[domTransition]='';
				if (me._nudgetimer.ggCurrentLogicStateVisible == 0) {
					me._nudgetimer.style.visibility="hidden";
					me._nudgetimer.ggVisible=false;
				}
				else {
					me._nudgetimer.style.visibility=(Number(me._nudgetimer.style.opacity)>0||!me._nudgetimer.style.opacity)?'inherit':'hidden';
					me._nudgetimer.ggVisible=true;
				}
			}
		}
		me._nudgetimer.ggDeactivate=function () {
			if (
				(
					((player.getVariableValue('node_counter') <= 5))
				)
			) {
				player.setVariableValue('nudge_viewer', true);
			}
		}
		me._nudgetimer.ggCurrentLogicStateVisible = -1;
		me._nudgetimer.ggUpdateConditionTimer=function () {
			me._nudgetimer.logicBlock_visible();
		}
		me._nudgetimer.ggUpdatePosition=function (useTransition) {
		}
		me.divSkin.appendChild(me._nudgetimer);
		el=me._extremenudge=document.createElement('div');
		el.ggTimestamp=0;
		el.ggLastIsActive=false;
		el.ggTimeout=10000;
		el.ggId="Extreme-Nudge";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_timer ";
		el.ggType='timer';
		hs ='';
		hs+='height : 21px;';
		hs+='left : 465px;';
		hs+='position : absolute;';
		hs+='top : 39px;';
		hs+='visibility : inherit;';
		hs+='width : 59px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._extremenudge.ggIsActive=function() {
			return (me._extremenudge.ggTimestamp + me._extremenudge.ggTimeout) >= me.ggCurrentTime;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._extremenudge.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me._extremenudge.ggIsActive() == false))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._extremenudge.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._extremenudge.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._extremenudge.style[domTransition]='';
				if (me._extremenudge.ggCurrentLogicStateVisible == 0) {
					me._extremenudge.style.visibility="hidden";
					me._extremenudge.ggVisible=false;
				}
				else {
					me._extremenudge.style.visibility=(Number(me._extremenudge.style.opacity)>0||!me._extremenudge.style.opacity)?'inherit':'hidden';
					me._extremenudge.ggVisible=true;
				}
			}
		}
		me._extremenudge.ggDeactivate=function () {
			if (
				(
					((player.getVariableValue('node_counter') <= 5))
				)
			) {
				player.setVariableValue('extreme_nudge_viewer', true);
			}
		}
		me._extremenudge.ggCurrentLogicStateVisible = -1;
		me._extremenudge.ggUpdateConditionTimer=function () {
			me._extremenudge.logicBlock_visible();
		}
		me._extremenudge.ggUpdatePosition=function (useTransition) {
		}
		me.divSkin.appendChild(me._extremenudge);
		el=me._video_screentint_file=document.createElement('div');
		el.ggId="video_screentint_file";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='background : rgba(0,0,0,0.392157);';
		hs+='border : 0px solid #000000;';
		hs+='cursor : pointer;';
		hs+='height : 100%;';
		hs+='left : 0%;';
		hs+='position : absolute;';
		hs+='top : 0%;';
		hs+='visibility : hidden;';
		hs+='width : 100%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._video_screentint_file.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._video_screentint_file.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('vis_video_file') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._video_screentint_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._video_screentint_file.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._video_screentint_file.style[domTransition]='';
				if (me._video_screentint_file.ggCurrentLogicStateVisible == 0) {
					me._video_screentint_file.style.visibility=(Number(me._video_screentint_file.style.opacity)>0||!me._video_screentint_file.style.opacity)?'inherit':'hidden';
					me._video_screentint_file.ggVisible=true;
				}
				else {
					me._video_screentint_file.style.visibility="hidden";
					me._video_screentint_file.ggVisible=false;
				}
			}
		}
		me._video_screentint_file.onclick=function (e) {
			player.setVariableValue('vis_video_file', false);
		}
		me._video_screentint_file.ggUpdatePosition=function (useTransition) {
		}
		me.divSkin.appendChild(me._video_screentint_file);
		el=me._video_popup_file=document.createElement('div');
		el.ggId="video_popup_file";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_container ";
		el.ggType='container';
		hs ='';
		hs+='height : 80%;';
		hs+='left : 10%;';
		hs+='position : absolute;';
		hs+='top : 10%;';
		hs+='visibility : hidden;';
		hs+='width : 80%;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._video_popup_file.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._video_popup_file.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('vis_video_file') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._video_popup_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._video_popup_file.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._video_popup_file.style[domTransition]='';
				if (me._video_popup_file.ggCurrentLogicStateVisible == 0) {
					me._video_popup_file.style.visibility=(Number(me._video_popup_file.style.opacity)>0||!me._video_popup_file.style.opacity)?'inherit':'hidden';
					me._video_popup_file.ggVisible=true;
				}
				else {
					me._video_popup_file.style.visibility="hidden";
					me._video_popup_file.ggVisible=false;
				}
			}
		}
		me._video_popup_file.ggUpdatePosition=function (useTransition) {
		}
		el=me._loading_video_file=document.createElement('div');
		els=me._loading_video_file__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzIgMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0id2hpdGUiIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCI+CiA8Y2lyY2xlIHI9IjAiIGN4PSIxNiIgY3k9IjMiPgogIDxhbmltYXRlIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBjYWxjTW9kZT0ic3BsaW5lIiBhdHRyaWJ1dGVOYW1lPSJyIiBiZWdpbj0iMCIgZHVyPSIxcyIgdmFsdWVzPSIwOzM7MDswIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuOCIvPgogPC9jaXJjbGU+CiA8Y2lyY2xlIHI9IjAiIGN4PSIxNiIgY3k9Ij'+
			'MiIHRyYW5zZm9ybT0icm90YXRlKDQ1IDE2IDE2KSI+CiAgPGFuaW1hdGUgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGNhbGNNb2RlPSJzcGxpbmUiIGF0dHJpYnV0ZU5hbWU9InIiIGJlZ2luPSIwLjEyNXMiIGR1cj0iMXMiIHZhbHVlcz0iMDszOzA7MCIga2V5U3BsaW5lcz0iMC4yIDAuMiAwLjQg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JtPSJyb3RhdGUoMTgwIDE2IDE2KSI+CiAgPGFuaW1hdGUgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGNhbGNNb2RlPSJzcGxpbmUiIGF0dHJpYnV0ZU5hbWU9InIiIGJlZ2luPSIwLjVzIiBkdXI9IjFzIiB2YWx1ZXM9IjA7MzswOzAiIGtleVNwbGluZXM9IjAuMiAwLjIgMC40IDAuODswLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44Ii8+CiA8L2NpcmNsZT4KPC9zdmc+Cg==';
		me._loading_video_file__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="loading_video_file";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='height : 40px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 40px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._loading_video_file.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._loading_video_file.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._video_popup_file.appendChild(me._loading_video_file);
		el=me._popup_video_file=document.createElement('div');
		me._popup_video_file.seekbars = [];
		me._popup_video_file.seekbars.push('seekbar_file');
		me._popup_video_file.ggInitMedia = function(media) {
			var notifySeekbars = function() {
				for (var i = 0; i < me._popup_video_file.seekbars.length; i++) {
					var seekbar = me.findElements(me._popup_video_file.seekbars[i]);
					if (seekbar.length > 0) seekbar[0].connectToMediaEl();
				}
			}
			while (me._popup_video_file.hasChildNodes()) {
				me._popup_video_file.removeChild(me._popup_video_file.lastChild);
			}
			if (me._popup_video_file__vid) {
				me._popup_video_file__vid.pause();
			}
			if(media == '') {
				notifySeekbars();
			if (me._popup_video_file.ggVideoNotLoaded ==false && me._popup_video_file.ggDeactivate) { me._popup_video_file.ggDeactivate(); }
				me._popup_video_file.ggVideoNotLoaded = true;
			var mediaObj = player.getMediaObject('popup_video_file');
			if (mediaObj) {
				mediaObj.autoplay = false;
			}
				return;
			}
			me._popup_video_file.ggVideoNotLoaded = false;
			me._popup_video_file__vid=document.createElement('video');
			me._popup_video_file__vid.className='ggskin ggskin_video';
			me._popup_video_file__vid.setAttribute('width', '100%');
			me._popup_video_file__vid.setAttribute('height', '100%');
			me._popup_video_file__vid.setAttribute('controlsList', 'nodownload');
			me._popup_video_file__vid.setAttribute('oncontextmenu', 'return false;');
			me._popup_video_file__vid.setAttribute('autoplay', '');
			me._popup_video_file__source=document.createElement('source');
			me._popup_video_file__source.setAttribute('src', media);
			me._popup_video_file__vid.setAttribute('playsinline', 'playsinline');
			me._popup_video_file__vid.setAttribute('style', ';');
			me._popup_video_file__vid.style.outline = 'none';
			me._popup_video_file__vid.appendChild(me._popup_video_file__source);
			me._popup_video_file.appendChild(me._popup_video_file__vid);
			var videoEl = player.registerVideoElement('popup_video_file', me._popup_video_file__vid);
			videoEl.autoplay = true;
			player.changeVolume('popup_video_file', 0.0);
			notifySeekbars();
			if (me._popup_video_file.ggMediaEnded) {
				me._popup_video_file__vid.addEventListener('ended', me._popup_video_file.ggMediaEnded);
			}
			me._popup_video_file.ggVideoSource = media;
		}
		el.ggId="popup_video_file";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_video ";
		el.ggType='video';
		hs ='';
		hs+='height : 100%;';
		hs+='left : 0%;';
		hs+='position : absolute;';
		hs+='top : 0%;';
		hs+='visibility : hidden;';
		hs+='width : 100%;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._popup_video_file.ggIsActive=function() {
			if (me._popup_video_file__vid != null) {
				return (me._popup_video_file__vid.paused == false && me._popup_video_file__vid.ended == false);
			} else {
				return false;
			}
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._popup_video_file.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('vis_video_file') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._popup_video_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._popup_video_file.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._popup_video_file.style[domTransition]='';
				if (me._popup_video_file.ggCurrentLogicStateVisible == 0) {
					me._popup_video_file.style.visibility=(Number(me._popup_video_file.style.opacity)>0||!me._popup_video_file.style.opacity)?'inherit':'hidden';
					if (me._popup_video_file.ggVideoNotLoaded) {
						me._popup_video_file.ggInitMedia(me._popup_video_file.ggVideoSource);
					}
					me._popup_video_file.ggVisible=true;
				}
				else {
					me._popup_video_file.style.visibility="hidden";
					me._popup_video_file.ggInitMedia('');
					me._popup_video_file.ggVisible=false;
				}
			}
		}
		me._popup_video_file.ggMediaEnded=function () {
			player.setVariableValue('vis_video_file', false);
		}
		me._popup_video_file.ggUpdatePosition=function (useTransition) {
		}
		me._video_popup_file.appendChild(me._popup_video_file);
		me.divSkin.appendChild(me._video_popup_file);
		el=me._video_popup_controls_file=document.createElement('div');
		el.ggId="video_popup_controls_file";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_container ";
		el.ggType='container';
		hs ='';
		hs+='bottom : 6px;';
		hs+='height : 25px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 284px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._video_popup_controls_file.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._video_popup_controls_file.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('vis_video_file') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._video_popup_controls_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._video_popup_controls_file.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._video_popup_controls_file.style[domTransition]='';
				if (me._video_popup_controls_file.ggCurrentLogicStateVisible == 0) {
					me._video_popup_controls_file.style.visibility=(Number(me._video_popup_controls_file.style.opacity)>0||!me._video_popup_controls_file.style.opacity)?'inherit':'hidden';
					me._video_popup_controls_file.ggVisible=true;
				}
				else {
					me._video_popup_controls_file.style.visibility="hidden";
					me._video_popup_controls_file.ggVisible=false;
				}
			}
		}
		me._video_popup_controls_file.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		el=me._seekbar_file=document.createElement('div');
		me._seekbar_file__playhead=document.createElement('div');
		me._seekbar_file.mediaEl = null;
		me._seekbar_file.fromBufferSource = false;
		el.ggId="seekbar_file";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_seekbar ";
		el.ggType='seekbar';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 14px;';
		hs+='left : 0px;';
		hs+='position : absolute;';
		hs+='top : 6px;';
		hs+='visibility : inherit;';
		hs+='width : 249px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._seekbar_file.connectToMediaEl = function() {
			var disableSeekbar = function() {
				me._seekbar_file__playhead.style.visibility = 'hidden';
				me._seekbar_file.style.background = '#ffffff';
				me._seekbar_file.ggConnected = false;
			}
			if (me._seekbar_file.mediaEl != null) {
				if (me._seekbar_file.fromBufferSource) {
					player.removeEventListener('bufferSoundTimeupdate', me._seekbar_file.updatePlayback);
					if (me._seekbar_file.ggActivate) {
						player.removeEventListener('bufferSoundPlay', me._seekbar_file.bufferSoundActivate);
					}
					if (me._seekbar_file.ggDeactivate) {
						player.removeEventListener('bufferSoundPause', me._seekbar_file.bufferSoundDeactivate);
						player.removeEventListener('bufferSoundStop', me._seekbar_file.bufferSoundDeactivate);
						player.removeEventListener('bufferSoundEnded', me._seekbar_file.bufferSoundDeactivate);
					}
					if (me._seekbar_file.ggMediaEnded) {
						player.removeEventListener('bufferSoundEnded', me._seekbar_file.bufferSoundMediaEnded);
					}
				} else {
					me._seekbar_file.mediaEl.removeEventListener('progress', me._seekbar_file.updatePlayback);
					me._seekbar_file.mediaEl.removeEventListener('canplay', me._seekbar_file.updatePlayback);
					me._seekbar_file.mediaEl.removeEventListener('timeupdate', me._seekbar_file.updatePlayback);
					if (me._seekbar_file.ggActivate) {
						me._seekbar_file.mediaEl.removeEventListener('play', me._seekbar_file.ggActivate);
					}
					if (me._seekbar_file.ggDeactivate) {
						me._seekbar_file.mediaEl.removeEventListener('ended', me._seekbar_file.ggDeactivate);
						me._seekbar_file.mediaEl.removeEventListener('pause', me._seekbar_file.ggDeactivate);
					}
					if (me._seekbar_file.ggMediaEnded) {
						me._seekbar_file.mediaEl.removeEventListener('ended', me._seekbar_file.ggMediaEnded);
					}
				}
			}
			me._seekbar_file.mediaEl = player.getMediaObject('popup_video_file');
			if (me._seekbar_file.mediaEl) {
				me._seekbar_file.fromBufferSource = false;
			} else {
				me._seekbar_file.mediaEl = player.getMediaBufferSourceObject('popup_video_file');
				me._seekbar_file.fromBufferSource = true;
			}
			if (me._seekbar_file.mediaEl != null) {
				me._seekbar_file__playhead.style.visibility = 'inherit';
				me._seekbar_file__playhead.style.left = '1px';
				if (me._seekbar_file.fromBufferSource) {
					player.addListener('bufferSoundTimeupdate', me._seekbar_file.updatePlayback);
					if (me._seekbar_file.ggActivate) {
						me._seekbar_file.bufferSoundActivate = function(args) { if (args['id'] == me._seekbar_file.mediaEl.id) me._seekbar_file.ggActivate(); };
						player.addListener('bufferSoundPlay', me._seekbar_file.bufferSoundActivate);
					}
					if (me._seekbar_file.ggDeactivate) {
						me._seekbar_file.bufferSoundDeactivate = function(args) { if (args['id'] == me._seekbar_file.mediaEl.id) me._seekbar_file.ggDeactivate(); };
						player.addListener('bufferSoundPause', me._seekbar_file.bufferSoundDeactivate);
						player.addListener('bufferSoundStop', me._seekbar_file.bufferSoundDeactivate);
						player.addListener('bufferSoundEnded', me._seekbar_file.bufferSoundDeactivate);
					}
					if (me._seekbar_file.ggMediaEnded) {
						me._seekbar_file.bufferSoundMediaEnded = function(args) { if (args['id'] == me._seekbar_file.mediaEl.id) me._seekbar_file.ggMediaEnded(); };
						player.addListener('bufferSoundEnded', me._seekbar_file.bufferSoundMediaEnded);
					}
				} else {
					me._seekbar_file.mediaEl.addEventListener('progress', me._seekbar_file.updatePlayback);
					me._seekbar_file.mediaEl.addEventListener('canplay', me._seekbar_file.updatePlayback);
					me._seekbar_file.mediaEl.addEventListener('timeupdate', me._seekbar_file.updatePlayback);
					if (me._seekbar_file.ggActivate) {
						me._seekbar_file.mediaEl.addEventListener('play', me._seekbar_file.ggActivate);
					}
					if (me._seekbar_file.ggDeactivate) {
						me._seekbar_file.mediaEl.addEventListener('ended', me._seekbar_file.ggDeactivate);
						me._seekbar_file.mediaEl.addEventListener('pause', me._seekbar_file.ggDeactivate);
					}
					if (me._seekbar_file.ggMediaEnded) {
						me._seekbar_file.mediaEl.addEventListener('ended', me._seekbar_file.ggMediaEnded);
					}
				}
				me._seekbar_file.ggConnected = true;
			} else {
				disableSeekbar();
			}
			var videoEl = me.findElements('popup_video_file');
			if (videoEl.length > 0 && !videoEl[0].hasChildNodes()) {
				disableSeekbar();
			}
		}
		me._seekbar_file.updatePlayback = function(args) {
			if (!me._seekbar_file.ggConnected) return;
			if (me._seekbar_file.mediaEl != null) {
				if (me._seekbar_file.mediaEl.readyState || (me._seekbar_file.fromBufferSource && args && args['id'] == me._seekbar_file.mediaEl.id)) {
					if (me._seekbar_file.fromBufferSource) {
						var percent = me._seekbar_file.mediaEl.bufferSoundCurrentTime() / me._seekbar_file.mediaEl.bufferSoundDuration();
					} else {
						var percent = me._seekbar_file.mediaEl.currentTime / me._seekbar_file.mediaEl.duration;
					}
					percent = Math.min(percent, 1.0);
					var playheadpos = Math.round((me._seekbar_file.clientWidth - 2 * 8 + 1) * percent);
					playheadpos += 1;
					me._seekbar_file__playhead.style.left = playheadpos.toString() + 'px';
					var offsetPercent = Math.round(100.0 * (8 / me._seekbar_file.clientWidth));
					var currPos = offsetPercent + Math.round(percent * (100 - 2 * offsetPercent));
					var gradientString ='linear-gradient(90deg, rgba(235,109,31,1) 0%, rgba(235,109,31,1) ' + currPos + '%';
					if (me._seekbar_file.fromBufferSource) {
						gradientString += ', rgba(235,169,76,1) ' + currPos +'%, rgba(235,169,76,1) 100%';
					} else {
						for (var i = 0; i < me._seekbar_file.mediaEl.buffered.length; i++) {
							var rangeStart = Math.round((me._seekbar_file.mediaEl.buffered.start(i) / me._seekbar_file.mediaEl.duration) * 100.0);
							var rangeEnd = Math.ceil((me._seekbar_file.mediaEl.buffered.end(i) / me._seekbar_file.mediaEl.duration) * 100.0);
							if (rangeEnd > currPos) {
								if (rangeStart < currPos) {
									gradientString += ', rgba(235,169,76,1) ' + currPos + '%';
								} else {
									gradientString += ', #ffffff ' + currPos + '%, #ffffff ' + rangeStart + '%';
									gradientString += ', rgba(235,169,76,1) ' + rangeStart + '%';
								}
									gradientString += ', rgba(235,169,76,1) ' + rangeEnd + '%';
								currPos = rangeEnd;
							}
						}
						if (currPos < 100) {
							gradientString += ', rgba(255,255,255,1) ' + currPos + '%';
						}
					}
					gradientString += ')';
					me._seekbar_file.style.background = gradientString;
				}
			}
		}
		me._seekbar_file.appendChild(me._seekbar_file__playhead);
		hs+='background: #ffffff;';
		hs+='border: 1px solid #eb6d1f;';
		hs+='border-radius: 8px;';
		hs+=cssPrefix + 'border-radius: 8px;';
		var hs_playhead = 'height: 14px;';
		hs_playhead += 'width: 14px;';
		hs_playhead += 'border: 0px;';
		hs_playhead += 'position: absolute;';
		hs_playhead += 'left: 1px;';
		hs_playhead += 'top: 0px;';
		hs_playhead += 'border-radius: 7;';
		hs_playhead += cssPrefix + 'border-radius: 7px;';
		hs_playhead += 'background-color: rgba(255,255,255,1);';
		hs_playhead += 'pointer-events: none;';
		me._seekbar_file.setAttribute('style', hs);
		me._seekbar_file__playhead.setAttribute('style', hs_playhead);
		me._seekbar_file.ggIsActive=function() {
			if (me._seekbar_file.mediaEl != null) {
				return (me._seekbar_file.mediaEl.paused == false && me._seekbar_file.mediaEl.ended == false);
			} else {
				return false;
			}
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._seekbar_file.onmousedown=function (e) {
			if (e.buttons == 1 || (e.buttons == null && e.which == 1) || e.type == 'touchend' || e.type == 'mouseup') {
				if (me._seekbar_file.mediaEl != null) {
					var eventXPos;
					if(e.type == 'touchend') eventXPos = e.layerX; else eventXPos = e.offsetX;
					if (me._seekbar_file.fromBufferSource) {
						var seekpos = (eventXPos / me._seekbar_file.clientWidth) * me._seekbar_file.mediaEl.bufferSoundDuration();
						if (e.type == 'mousemove' || e.type == 'mousedown') {
							me._seekbar_file.mediaEl.bufferSoundSetDragTime(seekpos);
						} else {
							me._seekbar_file.mediaEl.bufferSoundSetTime(seekpos);
						}
					} else {
						var seekpos = (eventXPos / me._seekbar_file.clientWidth) * me._seekbar_file.mediaEl.duration;
						if (!isNaN(seekpos)) me._seekbar_file.mediaEl.currentTime = seekpos;
					}
				}
			}
		}
		me._seekbar_file.onmouseup=function (e) {
			if (e.buttons == 1 || (e.buttons == null && e.which == 1) || e.type == 'touchend' || e.type == 'mouseup') {
				if (me._seekbar_file.mediaEl != null) {
					var eventXPos;
					if(e.type == 'touchend') eventXPos = e.layerX; else eventXPos = e.offsetX;
					if (me._seekbar_file.fromBufferSource) {
						var seekpos = (eventXPos / me._seekbar_file.clientWidth) * me._seekbar_file.mediaEl.bufferSoundDuration();
						if (e.type == 'mousemove' || e.type == 'mousedown') {
							me._seekbar_file.mediaEl.bufferSoundSetDragTime(seekpos);
						} else {
							me._seekbar_file.mediaEl.bufferSoundSetTime(seekpos);
						}
					} else {
						var seekpos = (eventXPos / me._seekbar_file.clientWidth) * me._seekbar_file.mediaEl.duration;
						if (!isNaN(seekpos)) me._seekbar_file.mediaEl.currentTime = seekpos;
					}
				}
			}
		}
		me._seekbar_file.onmousemove=function (e) {
			if (e.buttons == 1 || (e.buttons == null && e.which == 1) || e.type == 'touchend' || e.type == 'mouseup') {
				if (me._seekbar_file.mediaEl != null) {
					var eventXPos;
					if(e.type == 'touchend') eventXPos = e.layerX; else eventXPos = e.offsetX;
					if (me._seekbar_file.fromBufferSource) {
						var seekpos = (eventXPos / me._seekbar_file.clientWidth) * me._seekbar_file.mediaEl.bufferSoundDuration();
						if (e.type == 'mousemove' || e.type == 'mousedown') {
							me._seekbar_file.mediaEl.bufferSoundSetDragTime(seekpos);
						} else {
							me._seekbar_file.mediaEl.bufferSoundSetTime(seekpos);
						}
					} else {
						var seekpos = (eventXPos / me._seekbar_file.clientWidth) * me._seekbar_file.mediaEl.duration;
						if (!isNaN(seekpos)) me._seekbar_file.mediaEl.currentTime = seekpos;
					}
				}
			}
		}
		me._seekbar_file.ontouchend=function (e) {
			if (e.buttons == 1 || (e.buttons == null && e.which == 1) || e.type == 'touchend' || e.type == 'mouseup') {
				if (me._seekbar_file.mediaEl != null) {
					var eventXPos;
					if(e.type == 'touchend') eventXPos = e.layerX; else eventXPos = e.offsetX;
					if (me._seekbar_file.fromBufferSource) {
						var seekpos = (eventXPos / me._seekbar_file.clientWidth) * me._seekbar_file.mediaEl.bufferSoundDuration();
						if (e.type == 'mousemove' || e.type == 'mousedown') {
							me._seekbar_file.mediaEl.bufferSoundSetDragTime(seekpos);
						} else {
							me._seekbar_file.mediaEl.bufferSoundSetTime(seekpos);
						}
					} else {
						var seekpos = (eventXPos / me._seekbar_file.clientWidth) * me._seekbar_file.mediaEl.duration;
						if (!isNaN(seekpos)) me._seekbar_file.mediaEl.currentTime = seekpos;
					}
				}
			}
		}
		me._seekbar_file.ggActivate=function () {
			me._ht_video_pause_file.style[domTransition]='none';
			me._ht_video_pause_file.style.visibility=(Number(me._ht_video_pause_file.style.opacity)>0||!me._ht_video_pause_file.style.opacity)?'inherit':'hidden';
			me._ht_video_pause_file.ggVisible=true;
			me._ht_video_play_file.style[domTransition]='none';
			me._ht_video_play_file.style.visibility='hidden';
			me._ht_video_play_file.ggVisible=false;
		}
		me._seekbar_file.ggDeactivate=function () {
			me._ht_video_play_file.style[domTransition]='none';
			me._ht_video_play_file.style.visibility=(Number(me._ht_video_play_file.style.opacity)>0||!me._ht_video_play_file.style.opacity)?'inherit':'hidden';
			me._ht_video_play_file.ggVisible=true;
			me._ht_video_pause_file.style[domTransition]='none';
			me._ht_video_pause_file.style.visibility='hidden';
			me._ht_video_pause_file.ggVisible=false;
		}
		me._seekbar_file.ggUpdatePosition=function (useTransition) {
			me._seekbar_file.updatePlayback();
		}
		me._seekbar_file.ggNodeChange=function () {
			me._seekbar_file.connectToMediaEl();
		}
		me._video_popup_controls_file.appendChild(me._seekbar_file);
		el=me._ht_video_play_file=document.createElement('div');
		els=me._ht_video_play_file__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgJy0vL1czQy8vRFREIFNWRyAxLjEgQmFzaWMvL0VOJyAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEtYmFzaWMuZHRkJz4KPCEtLSBHYXJkZW4gR25vbWUgU29mdHdhcmUgLSBTa2luIEJ1dHRvbnMgLS0+CjxzdmcgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHk9IjBweCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgaWQ9IkxheWVyXzEiIHZpZXdCb3g9IjAgMCAzMiAzMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3'+
			'ZnIiB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgd2lkdGg9IjMycHgiIGJhc2VQcm9maWxlPSJiYXNpYyIgaGVpZ2h0PSIzMnB4Ij4KIDxnIG9wYWNpdHk9IjAuNCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1vcGFjaXR5PSIxIiBzdHJva2U9IiNlYjZkMWYiPgogIDxwYXRoIGQ9Ik0xMS45MzIsMjIuNzk3Yy0wLjM3LTAuMjEzLTAuNTk4LTAuNjA4LTAuNTk4LTEuMDM1bDAsMFYxMC4yMzljMC0wLjQyOCwwLjIyOC0wLjgyMiwwLjU5OC0xLjAzNmwwLDAmI3hkOyYjeGE7JiN4OTsmI3g5OyYj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wxNkwzLjUsMTZjMC02LjkwNCw1LjU5Ni0xMi40OTksMTIuNS0xMi41bDAsMGM2LjkwNCwwLDEyLjQ5OSw1LjU5NiwxMi41LDEyLjVsMCwwJiN4ZDsmI3hhOyYjeDk7JiN4OTsmI3g5O2MtMC4wMDEsNi45MDMtNS41OTYsMTIuNDk4LTEyLjUsMTIuNWwwLDBDOS4wOTYsMjguNDk4LDMuNTAxLDIyLjkwMywzLjUsMTZMMy41LDE2eiBNNS44OTMsMTZjMC'+
			'wyLjc5NSwxLjEyOSw1LjMxMywyLjk2MSw3LjE0NiYjeGQ7JiN4YTsmI3g5OyYjeDk7JiN4OTtsMCwwYzEuODMzLDEuODMxLDQuMzUyLDIuOTYsNy4xNDcsMi45NmwwLDBjMi43OTQsMCw1LjMxNC0xLjEyOSw3LjE0Ni0yLjk2bDAsMGMxLjgzMi0xLjgzMywyLjk2LTQuMzUyLDIuOTYxLTcuMTQ2bDAsMCYjeGQ7JiN4YTsmI3g5OyYjeDk7JiN4OTtjLTAuMDAxLTIuNzk1LTEuMTI5LTUuMzEzLTIuOTYxLTcuMTQ3bDAsMEMyMS4zMTQsNy4wMjIsMTguNzk1LDUuODk0LDE2LDUuODkzbDAsMGMtMi43OTUsMC01LjMxNCwxLjEyOS03LjE0NywyLjk2bDAsMCYjeGQ7JiN4YTsmI3g5OyYjeDk7JiN4OTtD'+
			'Ny4wMjIsMTAuNjg3LDUuODkzLDEzLjIwNSw1Ljg5MywxNkw1Ljg5MywxNkw1Ljg5MywxNnoiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._ht_video_play_file__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._ht_video_play_file__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS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TIuNSwxMi41bDAsMC'+
			'YjeGQ7JiN4YTsmI3g5OyYjeDk7JiN4OTtjLTAuMDAxLDYuOTAzLTUuNTk2LDEyLjQ5OC0xMi41LDEyLjVsMCwwQzkuMDk2LDI4LjQ5OCwzLjUwMSwyMi45MDMsMy41LDE2TDMuNSwxNnogTTUuODkzLDE2YzAsMi43OTUsMS4xMjksNS4zMTMsMi45NjEsNy4xNDYmI3hkOyYjeGE7JiN4OTsmI3g5OyYjeDk7bDAsMGMxLjgzMywxLjgzMSw0LjM1MiwyLjk2LDcuMTQ3LDIuOTZsMCwwYzIuNzk0LDAsNS4zMTQtMS4xMjksNy4xNDYtMi45NmwwLDBjMS44MzItMS44MzMsMi45Ni00LjM1MiwyLjk2MS03LjE0NmwwLDAmI3hkOyYjeGE7JiN4OTsmI3g5OyYjeDk7Yy0wLjAwMS0yLjc5NS0xLjEyOS01LjMx'+
			'My0yLjk2MS03LjE0N2wwLDBDMjEuMzE0LDcuMDIyLDE4Ljc5NSw1Ljg5NCwxNiw1Ljg5M2wwLDBjLTIuNzk1LDAtNS4zMTQsMS4xMjktNy4xNDcsMi45NmwwLDAmI3hkOyYjeGE7JiN4OTsmI3g5OyYjeDk7QzcuMDIyLDEwLjY4Nyw1Ljg5MywxMy4yMDUsNS44OTMsMTZMNS44OTMsMTZMNS44OTMsMTZ6Ii8+CiA8L2c+Cjwvc3ZnPgo=';
		me._ht_video_play_file__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="ht_video_play_file";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 25px;';
		hs+='left : 259px;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='visibility : hidden;';
		hs+='width : 25px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_video_play_file.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._ht_video_play_file.onclick=function (e) {
			if (me._popup_video_file.ggApiPlayer) {
				if (me._popup_video_file.ggApiPlayerType == 'youtube') {
					let youtubeMediaFunction = function() {
						me._popup_video_file.ggApiPlayer.playVideo();
					};
					if (me._popup_video_file.ggApiPlayerReady) {
						youtubeMediaFunction();
					} else {
						let youtubeApiInterval = setInterval(function() {
							if (me._popup_video_file.ggApiPlayerReady) {
								clearInterval(youtubeApiInterval);
								youtubeMediaFunction();
							}
						}, 100);
					}
				} else if (me._popup_video_file.ggApiPlayerType == 'vimeo') {
					me._popup_video_file.ggApiPlayer.play();
				}
			} else {
				player.playSound("popup_video_file","1");
			}
			me._ht_video_play_file.style[domTransition]='none';
			me._ht_video_play_file.style.visibility='hidden';
			me._ht_video_play_file.ggVisible=false;
			me._ht_video_pause_file.style[domTransition]='none';
			me._ht_video_pause_file.style.visibility=(Number(me._ht_video_pause_file.style.opacity)>0||!me._ht_video_pause_file.style.opacity)?'inherit':'hidden';
			me._ht_video_pause_file.ggVisible=true;
		}
		me._ht_video_play_file.onmouseover=function (e) {
			me._ht_video_play_file__img.style.visibility='hidden';
			me._ht_video_play_file__imgo.style.visibility='inherit';
		}
		me._ht_video_play_file.onmouseout=function (e) {
			me._ht_video_play_file__img.style.visibility='inherit';
			me._ht_video_play_file__imgo.style.visibility='hidden';
		}
		me._ht_video_play_file.ggUpdatePosition=function (useTransition) {
		}
		me._video_popup_controls_file.appendChild(me._ht_video_play_file);
		el=me._ht_video_pause_file=document.createElement('div');
		els=me._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A8Zz4KICAgPHBhdGggZD0iTTEyLjQzMywyMC40OTh2LTguOTk1YzAtMC42NjEsMC41MzYtMS4xOTYsMS4xOTYtMS4xOTZsMCwwYzAuNjYxLDAsMS4xOT'+
			'YsMC41MzUsMS4xOTYsMS4xOTZsMCwwdjguOTk1JiN4ZDsmI3hhOyYjeDk7JiN4OTsmI3g5OyYjeDk7YzAsMC42Ni0wLjUzNiwxLjE5NS0xLjE5NiwxLjE5NWwwLDBDMTIuOTY5LDIxLjY5MywxMi40MzMsMjEuMTU4LDEyLjQzMywyMC40OThMMTIuNDMzLDIwLjQ5OHoiLz4KICAgPHBhdGggZD0iTTE3LjE3NSwyMC40OTh2LTguOTk1YzAtMC42NjEsMC41MzUtMS4xOTYsMS4xOTYtMS4xOTZsMCwwYzAuNjYsMCwxLjE5NiwwLjUzNSwxLjE5NiwxLjE5NmwwLDB2OC45OTUmI3hkOyYjeGE7JiN4OTsmI3g5OyYjeDk7JiN4OTtjMCwwLjY2LTAuNTM2LDEuMTk1LTEuMTk2LDEuMTk1bDAsMEMxNy43MSwy'+
			'MS42OTMsMTcuMTc1LDIxLjE1OCwxNy4xNzUsMjAuNDk4TDE3LjE3NSwyMC40OTh6Ii8+CiAgPC9nPgogPC9nPgo8L3N2Zz4K';
		me._ht_video_pause_file__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._ht_video_pause_file__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgJy0vL1czQy8vRFREIFNWRyAxLjEgQmFzaWMvL0VOJyAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3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TEuMTk2LDEuMTk2LTEuMTk2bDAsMGMwLjY2MSwwLDEuMTk2LDAuNTM1LDEuMTk2LDEuMTk2bDAsMHY4Ljk5NSYjeGQ7JiN4YTsmI3g5OyYjeDk7JiN4OTsmI3g5O2MwLDAuNjYtMC41MzYsMS4xOTUtMS4xOTYsMS4xOTVsMCwwQzEyLjk2OSwyMS42OTMsMTIuNDMzLDIxLjE1OCwxMi40MzMsMjAuNDk4TDEyLjQzMywyMC40OTh6Ii8+CiAgIDxwYXRoIGQ9Ik0xNy4xNzUsMjAuNDk4di04Ljk5NWMwLTAuNjYxLDAuNTM1LTEuMTk2LDEuMTk2LTEuMTk2'+
			'bDAsMGMwLjY2LDAsMS4xOTYsMC41MzUsMS4xOTYsMS4xOTZsMCwwdjguOTk1JiN4ZDsmI3hhOyYjeDk7JiN4OTsmI3g5OyYjeDk7YzAsMC42Ni0wLjUzNiwxLjE5NS0xLjE5NiwxLjE5NWwwLDBDMTcuNzEsMjEuNjkzLDE3LjE3NSwyMS4xNTgsMTcuMTc1LDIwLjQ5OEwxNy4xNzUsMjAuNDk4eiIvPgogIDwvZz4KIDwvZz4KPC9zdmc+Cg==';
		me._ht_video_pause_file__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="ht_video_pause_file";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 25px;';
		hs+='left : 259px;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 25px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_video_pause_file.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._ht_video_pause_file.onclick=function (e) {
			if (me._popup_video_file.ggApiPlayer) {
				if (me._popup_video_file.ggApiPlayerType == 'youtube') {
					let youtubeMediaFunction = function() {
						me._popup_video_file.ggApiPlayer.pauseVideo();
					};
					if (me._popup_video_file.ggApiPlayerReady) {
						youtubeMediaFunction();
					} else {
						let youtubeApiInterval = setInterval(function() {
							if (me._popup_video_file.ggApiPlayerReady) {
								clearInterval(youtubeApiInterval);
								youtubeMediaFunction();
							}
						}, 100);
					}
				} else if (me._popup_video_file.ggApiPlayerType == 'vimeo') {
					me._popup_video_file.ggApiPlayer.pause();
				}
			} else {
				player.pauseSound("popup_video_file");
			}
			me._ht_video_pause_file.style[domTransition]='none';
			me._ht_video_pause_file.style.visibility='hidden';
			me._ht_video_pause_file.ggVisible=false;
			me._ht_video_play_file.style[domTransition]='none';
			me._ht_video_play_file.style.visibility=(Number(me._ht_video_play_file.style.opacity)>0||!me._ht_video_play_file.style.opacity)?'inherit':'hidden';
			me._ht_video_play_file.ggVisible=true;
		}
		me._ht_video_pause_file.onmouseover=function (e) {
			me._ht_video_pause_file__img.style.visibility='hidden';
			me._ht_video_pause_file__imgo.style.visibility='inherit';
		}
		me._ht_video_pause_file.onmouseout=function (e) {
			me._ht_video_pause_file__img.style.visibility='inherit';
			me._ht_video_pause_file__imgo.style.visibility='hidden';
		}
		me._ht_video_pause_file.ggUpdatePosition=function (useTransition) {
		}
		me._video_popup_controls_file.appendChild(me._ht_video_pause_file);
		me.divSkin.appendChild(me._video_popup_controls_file);
		el=me._video_popup_close_file=document.createElement('div');
		els=me._video_popup_close_file__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyB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NTkxLDAuMDAxLDUuMTcsMC45ODQsNy4xNDcsMi'+
			'45NTkmI3hkOyYjeGE7JiN4OTsmI3g5O2MxLjk3NiwxLjk3NywyLjk1Nyw0LjU1NiwyLjk2LDcuMTQ3Yy0wLjAwMSwyLjU5MS0wLjk4NSw1LjE2OS0yLjk2LDcuMTQ4QzIxLjE2OSwyNS4xMjIsMTguNTkxLDI2LjEwNiwxNiwyNi4xMDZ6IiBmaWxsPSIjRkZGRkZGIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._video_popup_close_file__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._video_popup_close_file__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgJy0vL1czQy8vRFREIFNWRyAxLjEvL0VOJyAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE1LjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB5PSIwcHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIGlkPSJMYXllcl8xIiB2aWV3Qm94PSIwIDAgMz'+
			'IgMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzIgMzIiIHZlcnNpb249IjEuMSIg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',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="video_popup_close_file";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 32px;';
		hs+='position : absolute;';
		hs+='right : 5px;';
		hs+='top : 5px;';
		hs+='visibility : hidden;';
		hs+='width : 32px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._video_popup_close_file.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._video_popup_close_file.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('vis_video_file') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._video_popup_close_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._video_popup_close_file.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._video_popup_close_file.style[domTransition]='';
				if (me._video_popup_close_file.ggCurrentLogicStateVisible == 0) {
					me._video_popup_close_file.style.visibility=(Number(me._video_popup_close_file.style.opacity)>0||!me._video_popup_close_file.style.opacity)?'inherit':'hidden';
					me._video_popup_close_file.ggVisible=true;
				}
				else {
					me._video_popup_close_file.style.visibility="hidden";
					me._video_popup_close_file.ggVisible=false;
				}
			}
		}
		me._video_popup_close_file.onclick=function (e) {
			player.setVariableValue('vis_video_file', false);
		}
		me._video_popup_close_file.onmouseover=function (e) {
			me._video_popup_close_file__img.style.visibility='hidden';
			me._video_popup_close_file__imgo.style.visibility='inherit';
		}
		me._video_popup_close_file.onmouseout=function (e) {
			me._video_popup_close_file__img.style.visibility='inherit';
			me._video_popup_close_file__imgo.style.visibility='hidden';
		}
		me._video_popup_close_file.ggUpdatePosition=function (useTransition) {
		}
		me.divSkin.appendChild(me._video_popup_close_file);
		el=me._loading_multires=document.createElement('div');
		els=me._loading_multires__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnIHN0YW5kYWxvbmU9J25vJz8+CjxzdmcgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHZpZXdCb3g9IjAgMCAxMjggMzUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmVyc2lvbj0iMS4wIiB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBoZWlnaHQ9IjdweCIgd2lkdGg9IjI2cHgiPgogPGc+CiAgPGNpcmNsZSBmaWxsLW9wYWNpdHk9IjEiIHI9IjE3LjUiIGN4PSIxNy41IiBjeT0iMTcuNSIgZmlsbD0iI2VlNzkyMiIvPg'+
			'ogIDxhbmltYXRlIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiBiZWdpbj0iMHMiIGtleVRpbWVzPSIwOzAuMTY3OzAuNTswLjY2ODsxIiBkdXI9IjYwMG1zIiB2YWx1ZXM9IjAuMzsxOzE7MC4zOzAuMyIvPgogPC9nPgogPGc+CiAgPGNpcmNsZSBmaWxsLW9wYWNpdHk9IjEiIHI9IjE3LjUiIGN4PSIxMTAuNSIgY3k9IjE3LjUiIGZpbGw9IiNlZTc5MjIiLz4KICA8YW5pbWF0ZSByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgYmVnaW49IjBzIiBrZXlUaW1lcz0iMDswLjMzNDswLjU7MC44MzU7MSIgZHVyPSI2MDBt'+
			'cyIgdmFsdWVzPSIwLjM7MC4zOzE7MTswLjMiLz4KIDwvZz4KIDxnPgogIDxjaXJjbGUgZmlsbC1vcGFjaXR5PSIxIiByPSIxNy41IiBjeD0iNjQiIGN5PSIxNy41IiBmaWxsPSIjZWU3OTIyIi8+CiAgPGFuaW1hdGUgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIGJlZ2luPSIwcyIga2V5VGltZXM9IjA7MC4xNjc7MC4zMzQ7MC42Njg7MC44MzU7MSIgZHVyPSI2MDBtcyIgdmFsdWVzPSIwLjM7MC4zOzE7MTswLjM7MC4zIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._loading_multires__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="loading_multires";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='height : 7px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : 15px;';
		hs+='visibility : hidden;';
		hs+='width : 25px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._loading_multires.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._loading_multires.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsTileLoading() == true)) && 
				((player.getVariableValue('opt_loader_mulires') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._loading_multires.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._loading_multires.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._loading_multires.style[domTransition]='';
				if (me._loading_multires.ggCurrentLogicStateVisible == 0) {
					me._loading_multires.style.visibility=(Number(me._loading_multires.style.opacity)>0||!me._loading_multires.style.opacity)?'inherit':'hidden';
					me._loading_multires.ggVisible=true;
				}
				else {
					me._loading_multires.style.visibility="hidden";
					me._loading_multires.ggVisible=false;
				}
			}
		}
		me._loading_multires.onclick=function (e) {
			me._dev_menu.ggVisible = !me._dev_menu.ggVisible;
			var flag=me._dev_menu.ggVisible;
			me._dev_menu.style[domTransition]='none';
			me._dev_menu.style.visibility=((flag)&&(Number(me._dev_menu.style.opacity)>0||!me._dev_menu.style.opacity))?'inherit':'hidden';
		}
		me._loading_multires.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		me.divSkin.appendChild(me._loading_multires);
		el=me._dinodetail=document.createElement('div');
		els=me._dinodetail__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Dino-Detail";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text details-header";
		el.ggType='text';
		hs ='';
		hs+='height : 75px;';
		hs+='left : -10000px;';
		hs+='opacity : 0.95;';
		hs+='position : absolute;';
		hs+='top : 25px;';
		hs+='visibility : hidden;';
		hs+='width : 250px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 25px;';
		hs+=cssPrefix + 'border-radius: 25px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='font-size: 34px;';
		hs+='font-weight: inherit;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 11px 22px 11px 22px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		me._dinodetail.ggUpdateText=function() {
			var hs=me.ggUserdata.title;
			if (hs!=this.ggText) {
				this.ggText=hs;
				this.ggTextDiv.innerHTML=hs;
				if (this.ggUpdatePosition) this.ggUpdatePosition();
			}
		}
		me._dinodetail.ggUpdateText();
		player.addListener('changenode', function() {
			me._dinodetail.ggUpdateText();
		});
		el.appendChild(els);
		me._dinodetail.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._dinodetail.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('show_title') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else if (
				((me.ggUserdata.title == ""))
			)
			{
				newLogicStateVisible = 1;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._dinodetail.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._dinodetail.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._dinodetail.style[domTransition]='';
				if (me._dinodetail.ggCurrentLogicStateVisible == 0) {
					me._dinodetail.style.visibility=(Number(me._dinodetail.style.opacity)>0||!me._dinodetail.style.opacity)?'inherit':'hidden';
					me._dinodetail.ggVisible=true;
				}
				else if (me._dinodetail.ggCurrentLogicStateVisible == 1) {
					me._dinodetail.style.visibility="hidden";
					me._dinodetail.ggVisible=false;
				}
				else {
					me._dinodetail.style.visibility="hidden";
					me._dinodetail.ggVisible=false;
				}
			}
		}
		me._dinodetail.onclick=function (e) {
			player.openNext("{"+player.getLastVisitedNode()+"}","$(fwd)");
		}
		me._dinodetail.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((248-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me.divSkin.appendChild(me._dinodetail);
		el=me._animationstop=document.createElement('div');
		els=me._animationstop__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Animation-Stop";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text details-header";
		el.ggType='text';
		hs ='';
		hs+='bottom : 50px;';
		hs+='height : 75px;';
		hs+='left : -10000px;';
		hs+='opacity : 0.95;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 250px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 25px;';
		hs+=cssPrefix + 'border-radius: 25px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='font-size: 34px;';
		hs+='font-weight: inherit;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 11px 22px 11px 22px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Stop Video";
		el.appendChild(els);
		me._animationstop.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._animationstop.onclick=function (e) {
			player.stopAutorotate();
			var list=me.findElements("ht_animation_play_button",true);
			while(list.length>0) {
				var e=list.pop();
				e.style[domTransition]='none';
				e.style.visibility=(Number(e.style.opacity)>0||!e.style.opacity)?'inherit':'hidden';
				e.ggVisible=true;
			}
			me._animationstop.style[domTransition]='none';
			me._animationstop.style.visibility='hidden';
			me._animationstop.ggVisible=false;
			me._showhotspots.onclick.call(me._showhotspots);
		}
		me._animationstop.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((248-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me.divSkin.appendChild(me._animationstop);
		el=me._showhotspots=document.createElement('div');
		el.ggId="Show-Hotspots";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='background : #ffffff;';
		hs+='border : 0px solid #000000;';
		hs+='bottom : 50px;';
		hs+='cursor : default;';
		hs+='height : 10px;';
		hs+='position : absolute;';
		hs+='right : 50px;';
		hs+='visibility : hidden;';
		hs+='width : 10px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._showhotspots.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._showhotspots.onclick=function (e) {
			me._slideropen.style[domTransition]='none';
			me._slideropen.style.visibility=(Number(me._slideropen.style.opacity)>0||!me._slideropen.style.opacity)?'inherit':'hidden';
			me._slideropen.ggVisible=true;
			me._settings_panel.style[domTransition]='none';
			me._settings_panel.style.visibility=(Number(me._settings_panel.style.opacity)>0||!me._settings_panel.style.opacity)?'inherit':'hidden';
			me._settings_panel.ggVisible=true;
			player.setVariableValue('hide_all_hotspots', false);
		}
		me._showhotspots.ggUpdatePosition=function (useTransition) {
		}
		me.divSkin.appendChild(me._showhotspots);
		el=me._next_bedroom=document.createElement('div');
		els=me._next_bedroom__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Next Bedroom";
		el.ggDx=90;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text details-header";
		el.ggType='text';
		hs ='';
		hs+='bottom : 50px;';
		hs+='cursor : pointer;';
		hs+='height : 50px;';
		hs+='left : -10000px;';
		hs+='opacity : 0.95;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 150px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 25px;';
		hs+=cssPrefix + 'border-radius: 25px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='font-size: 20px;';
		hs+='font-weight: inherit;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 11px 22px 11px 22px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Next Bedroom";
		el.appendChild(els);
		me._next_bedroom.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._next_bedroom.logicBlock_backgroundcolor = function() {
			var newLogicStateBackgroundColor;
			if (
				((me.elementMouseOver['next_bedroom'] == true))
			)
			{
				newLogicStateBackgroundColor = 0;
			}
			else {
				newLogicStateBackgroundColor = -1;
			}
			if (me._next_bedroom.ggCurrentLogicStateBackgroundColor != newLogicStateBackgroundColor) {
				me._next_bedroom.ggCurrentLogicStateBackgroundColor = newLogicStateBackgroundColor;
				me._next_bedroom__text.style[domTransition]='background-color 0s';
				if (me._next_bedroom.ggCurrentLogicStateBackgroundColor == 0) {
					me._next_bedroom__text.style.backgroundColor="rgba(235,109,31,1)";
				}
				else {
					me._next_bedroom__text.style.backgroundColor="rgba(83,83,83,0.784314)";
				}
			}
		}
		me._next_bedroom.onclick=function (e) {
			player.openNext("{"+player.getNextNode()+"}","");
		}
		me._next_bedroom.onmouseover=function (e) {
			me.elementMouseOver['next_bedroom']=true;
			me._next_bedroom.logicBlock_backgroundcolor();
		}
		me._next_bedroom.onmouseout=function (e) {
			if (e && e.toElement) {
				var current = e.toElement;
				while (current = current.parentNode) {
				if (current == me._next_bedroom__text)
					return;
				}
			}
			me.elementMouseOver['next_bedroom']=false;
			me._next_bedroom.logicBlock_backgroundcolor();
		}
		me._next_bedroom.ontouchend=function (e) {
			me.elementMouseOver['next_bedroom']=false;
			me._next_bedroom.logicBlock_backgroundcolor();
		}
		me._next_bedroom.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((148-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._next_bedroom.ggNodeChange=function () {
			if (
				(
					((player.getCurrentNode() != "node4")) && 
					((me.ggUserdata.tags.indexOf("bedroom") != -1))
				)
			) {
				me._next_bedroom.style[domTransition]='none';
				me._next_bedroom.style.visibility=(Number(me._next_bedroom.style.opacity)>0||!me._next_bedroom.style.opacity)?'inherit':'hidden';
				me._next_bedroom.ggVisible=true;
			}
			if (
				(
					((player.getCurrentNode() == "node4"))
				)
			||
				(
					((me.ggUserdata.tags.indexOf("bedroom") == -1))
				)
			) {
				me._next_bedroom.style[domTransition]='none';
				me._next_bedroom.style.visibility='hidden';
				me._next_bedroom.ggVisible=false;
			}
		}
		me.divSkin.appendChild(me._next_bedroom);
		el=me._prev_bedroom=document.createElement('div');
		els=me._prev_bedroom__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Prev Bedroom";
		el.ggDx=-90;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text details-header";
		el.ggType='text';
		hs ='';
		hs+='bottom : 50px;';
		hs+='cursor : pointer;';
		hs+='height : 50px;';
		hs+='left : -10000px;';
		hs+='opacity : 0.95;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 150px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 25px;';
		hs+=cssPrefix + 'border-radius: 25px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='font-size: 20px;';
		hs+='font-weight: inherit;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 11px 22px 11px 22px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Previous Bedroom";
		el.appendChild(els);
		me._prev_bedroom.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._prev_bedroom.logicBlock_backgroundcolor = function() {
			var newLogicStateBackgroundColor;
			if (
				((me.elementMouseOver['prev_bedroom'] == true))
			)
			{
				newLogicStateBackgroundColor = 0;
			}
			else {
				newLogicStateBackgroundColor = -1;
			}
			if (me._prev_bedroom.ggCurrentLogicStateBackgroundColor != newLogicStateBackgroundColor) {
				me._prev_bedroom.ggCurrentLogicStateBackgroundColor = newLogicStateBackgroundColor;
				me._prev_bedroom__text.style[domTransition]='background-color 0s';
				if (me._prev_bedroom.ggCurrentLogicStateBackgroundColor == 0) {
					me._prev_bedroom__text.style.backgroundColor="rgba(235,109,31,1)";
				}
				else {
					me._prev_bedroom__text.style.backgroundColor="rgba(83,83,83,0.784314)";
				}
			}
		}
		me._prev_bedroom.onclick=function (e) {
			player.openNext("{"+player.getPrevNode()+"}","");
		}
		me._prev_bedroom.onmouseover=function (e) {
			me.elementMouseOver['prev_bedroom']=true;
			me._prev_bedroom.logicBlock_backgroundcolor();
		}
		me._prev_bedroom.onmouseout=function (e) {
			if (e && e.toElement) {
				var current = e.toElement;
				while (current = current.parentNode) {
				if (current == me._prev_bedroom__text)
					return;
				}
			}
			me.elementMouseOver['prev_bedroom']=false;
			me._prev_bedroom.logicBlock_backgroundcolor();
		}
		me._prev_bedroom.ontouchend=function (e) {
			me.elementMouseOver['prev_bedroom']=false;
			me._prev_bedroom.logicBlock_backgroundcolor();
		}
		me._prev_bedroom.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((148-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._prev_bedroom.ggNodeChange=function () {
			if (
				(
					((player.getCurrentNode() != "node1")) && 
					((me.ggUserdata.tags.indexOf("bedroom") != -1))
				)
			) {
				me._prev_bedroom.style[domTransition]='none';
				me._prev_bedroom.style.visibility=(Number(me._prev_bedroom.style.opacity)>0||!me._prev_bedroom.style.opacity)?'inherit':'hidden';
				me._prev_bedroom.ggVisible=true;
			}
			if (
				(
					((player.getCurrentNode() == "node1"))
				)
			||
				(
					((me.ggUserdata.tags.indexOf("bedroom") == -1))
				)
			) {
				me._prev_bedroom.style[domTransition]='none';
				me._prev_bedroom.style.visibility='hidden';
				me._prev_bedroom.ggVisible=false;
			}
		}
		me.divSkin.appendChild(me._prev_bedroom);
		el=me._image_popup_gal=document.createElement('div');
		el.ggId="image_popup_gal";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_container ";
		el.ggType='container';
		hs ='';
		hs+='height : 100%;';
		hs+='left : 0%;';
		hs+='position : absolute;';
		hs+='top : 0%;';
		hs+='visibility : hidden;';
		hs+='width : 100%;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._image_popup_gal.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._image_popup_gal.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('vis_image_popup_gal') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._image_popup_gal.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._image_popup_gal.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._image_popup_gal.style[domTransition]='';
				if (me._image_popup_gal.ggCurrentLogicStateVisible == 0) {
					me._image_popup_gal.style.visibility=(Number(me._image_popup_gal.style.opacity)>0||!me._image_popup_gal.style.opacity)?'inherit':'hidden';
					me._image_popup_gal.ggVisible=true;
				}
				else {
					me._image_popup_gal.style.visibility="hidden";
					me._image_popup_gal.ggVisible=false;
				}
			}
		}
		me._image_popup_gal.ggUpdatePosition=function (useTransition) {
		}
		el=me._loading_image=document.createElement('div');
		els=me._loading_image__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzIgMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0id2hpdGUiIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCI+CiA8Y2lyY2xlIHI9IjAiIGN4PSIxNiIgY3k9IjMiPgog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yPSIxcyIgdmFsdWVzPSIwOzM7MDswIiBrZXlTcGxpbmVzPSIwLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44OzAuMiAwLjIgMC40IDAuOCIvPgogPC9jaXJjbGU+CiA8Y2lyY2xlIHI9IjAiIGN4PSIxNiIgY3k9IjMiIHRyYW5zZm9ybT0icm90YXRlKDMxNSAxNiAxNikiPgogIDxhbmltYXRlIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBjYWxjTW9kZT0ic3BsaW5lIiBhdHRyaWJ1dGVOYW1lPSJyIiBiZWdpbj0iMC44NzVzIiBkdXI9IjFzIiB2YWx1ZXM9IjA7MzswOzAiIGtleVNwbGluZXM9IjAuMiAwLjIgMC40IDAuODswLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44'+
			'Ii8+CiA8L2NpcmNsZT4KIDxjaXJjbGUgcj0iMCIgY3g9IjE2IiBjeT0iMyIgdHJhbnNmb3JtPSJyb3RhdGUoMTgwIDE2IDE2KSI+CiAgPGFuaW1hdGUgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGNhbGNNb2RlPSJzcGxpbmUiIGF0dHJpYnV0ZU5hbWU9InIiIGJlZ2luPSIwLjVzIiBkdXI9IjFzIiB2YWx1ZXM9IjA7MzswOzAiIGtleVNwbGluZXM9IjAuMiAwLjIgMC40IDAuODswLjIgMC4yIDAuNCAwLjg7MC4yIDAuMiAwLjQgMC44Ii8+CiA8L2NpcmNsZT4KPC9zdmc+Cg==';
		me._loading_image__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="loading_image";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='height : 40px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 40px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._loading_image.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._loading_image.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._image_popup_gal.appendChild(me._loading_image);
		el=me._popup_image_gal=document.createElement('div');
		els=me._popup_image_gal__img=document.createElement('img');
		els.className='ggskin ggskin_external';
		els.setAttribute('style','position: absolute;-webkit-user-drag:none;pointer-events:none;;');
		els.onload=function() {me._popup_image_gal.ggUpdatePosition();}
		el.ggText=basePath + "";
		els.setAttribute('src', el.ggText);
		els['ondragstart']=function() { return false; };
		hs ='';
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="popup_image_gal";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_external ";
		el.ggType='external';
		hs ='';
		hs+='border : 0px solid #000000;';
		hs+='cursor : default;';
		hs+='height : 90%;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 90%;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._popup_image_gal.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._popup_image_gal.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('vis_image_popup_gal') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._popup_image_gal.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._popup_image_gal.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._popup_image_gal.style[domTransition]='';
				if (me._popup_image_gal.ggCurrentLogicStateVisible == 0) {
					me._popup_image_gal.style.visibility=(Number(me._popup_image_gal.style.opacity)>0||!me._popup_image_gal.style.opacity)?'inherit':'hidden';
					me._popup_image_gal.ggSubElement.src=me._popup_image_gal.ggText;
					me._popup_image_gal.ggVisible=true;
				}
				else {
					me._popup_image_gal.style.visibility="hidden";
					me._popup_image_gal__img.src = '';
					me._popup_image_gal.ggVisible=false;
				}
			}
		}
		me._popup_image_gal.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=((this.ggDy * ph)/100.0 + ph/2 - h/2) + 'px';
			}
			var parentWidth = me._popup_image_gal.clientWidth;
			var parentHeight = me._popup_image_gal.clientHeight;
			var img = me._popup_image_gal__img;
			var aspectRatioDiv = me._popup_image_gal.clientWidth / me._popup_image_gal.clientHeight;
			var aspectRatioImg = img.naturalWidth / img.naturalHeight;
			if (img.naturalWidth < parentWidth) parentWidth = img.naturalWidth;
			if (img.naturalHeight < parentHeight) parentHeight = img.naturalHeight;
			var currentWidth,currentHeight;
			if (aspectRatioDiv > aspectRatioImg) {
				currentHeight = parentHeight;
				currentWidth = parentHeight * aspectRatioImg;
				img.style.width='';
				img.style.height=parentHeight + 'px';
			} else {
				currentWidth = parentWidth;
				currentHeight = parentWidth / aspectRatioImg;
				img.style.width=parentWidth + 'px';
				img.style.height='';
			};
			img.style.left='50%';
			img.style.marginLeft='-' + currentWidth/2 + 'px';
			img.style.top='50%';
			img.style.marginTop='-' + currentHeight/2 + 'px';
		}
		me._image_popup_gal.appendChild(me._popup_image_gal);
		el=me._galnext=document.createElement('div');
		els=me._galnext__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnIHN0YW5kYWxvbmU9J25vJz8+CjwhRE9DVFlQRSBzdmcgUFVCTElDICctLy9XM0MvL0RURCBTVkcgMS4xLy9FTicgJ2h0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCc+CjxzdmcgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MjsiIHZpZXdCb3g9IjAgMCAxMDAgMTc1IiB4bWxucz'+
			'0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnNlcmlmPSJodHRwOi8vd3d3LnNlcmlmLmNvbS8iIHZlcnNpb249IjEuMSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+CiA8ZyB0cmFuc2Zvcm09Im1hdHJpeCgwLjg2NDI1NiwwLDAsMC44NjUwMDksLTIzNi42NTcsLTEwNC4zOTcpIj4KICA8cGF0aCBzdHlsZT0iZmlsbDpyZ2IoMjM1LDEwOSwzMSk7IiBkPSJNMjczLjgyOCwxNjguNDExTDI3My44MjgsMTIwLjY5TDM4OS41MzQsMjIxLjg0NUwyNzMuODI4LDMyM0wyNzMuODI4LDI3NS4yNzhMMzM0Ljk0NywyMjEuODQ1TDI3My44MjgsMTY4LjQxMVoiLz4KICA8cGF0aCBzdHls'+
			'ZT0iZmlsbDp3aGl0ZTsiIGQ9Ik0yNzMuODI4LDE2OC40MTFMMjczLjgyOCwxMjAuNjlMMzg5LjUzNCwyMjEuODQ1TDI3My44MjgsMzIzTDI3My44MjgsMjc1LjI3OEwzMzQuOTQ3LDIyMS44NDVMMjczLjgyOCwxNjguNDExWk0yNzkuNjEzLDE2NS43ODlMMjc5LjYxMywxMzMuNDI4QzI3OS42MTMsMTMzLjQyOCAzODAuNzQ4LDIyMS44NDUgMzgwLjc0OCwyMjEuODQ1QzM4MC43NDgsMjIxLjg0NSAyNzkuNjEzLDMxMC4yNjEgMjc5LjYxMywzMTAuMjYxQzI3OS42MTMsMzEwLjI2MSAyNzkuNjEzLDI3Ny45MDEgMjc5LjYxMywyNzcuOTAxQzI3OS42MTMsMjc3LjkwMSAzNDMuNzMzLDIyMS44NDUgMz'+
			'QzLjczMywyMjEuODQ1TDI3OS42MTMsMTY1Ljc4OVoiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._galnext__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="Gal-Next";
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 175px;';
		hs+='position : absolute;';
		hs+='right : 50px;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._galnext.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._galnext.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('gal_image_total') > 1))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._galnext.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._galnext.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._galnext.style[domTransition]='';
				if (me._galnext.ggCurrentLogicStateVisible == 0) {
					me._galnext.style.visibility=(Number(me._galnext.style.opacity)>0||!me._galnext.style.opacity)?'inherit':'hidden';
					me._galnext.ggVisible=true;
				}
				else {
					me._galnext.style.visibility="hidden";
					me._galnext.ggVisible=false;
				}
			}
		}
		me._galnext.onclick=function (e) {
			player.setVariableValue('gal_image_total', player.getVariableValue('gal_image_total') - Number("1"));
			player.setVariableValue('gal_image_index', player.getVariableValue('gal_image_index') + Number("1"));
			me._popup_image_gal.ggText=basePath + "assets\/"+player.getVariableValue('gal_image_folder')+"\/"+player.getVariableValue('gal_image_index')+".jpg";
			me._popup_image_gal.ggSubElement.style.width = '0px';
			me._popup_image_gal.ggSubElement.style.height = '0px';
			me._popup_image_gal.ggSubElement.src='';
			me._popup_image_gal.ggSubElement.src=me._popup_image_gal.ggText;
		}
		me._galnext.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._image_popup_gal.appendChild(me._galnext);
		el=me._galprev=document.createElement('div');
		els=me._galprev__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnIHN0YW5kYWxvbmU9J25vJz8+CjwhRE9DVFlQRSBzdmcgUFVCTElDICctLy9XM0MvL0RURCBTVkcgMS4xLy9FTicgJ2h0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCc+CjxzdmcgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MjsiIHZpZXdCb3g9IjAgMCAxMDAgMTc1IiB4bWxucz'+
			'0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnNlcmlmPSJodHRwOi8vd3d3LnNlcmlmLmNvbS8iIHZlcnNpb249IjEuMSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+CiA8ZyB0cmFuc2Zvcm09Im1hdHJpeCgwLjg2NDI1NiwwLDAsMC44NjUwMDksLTIzNi42NTcsLTEwNC4zOTcpIj4KICA8cGF0aCBzdHlsZT0iZmlsbDpyZ2IoMjM1LDEwOSwzMSk7IiBkPSJNMjczLjgyOCwxNjguNDExTDI3My44MjgsMTIwLjY5TDM4OS41MzQsMjIxLjg0NUwyNzMuODI4LDMyM0wyNzMuODI4LDI3NS4yNzhMMzM0Ljk0NywyMjEuODQ1TDI3My44MjgsMTY4LjQxMVoiLz4KICA8cGF0aCBzdHls'+
			'ZT0iZmlsbDp3aGl0ZTsiIGQ9Ik0yNzMuODI4LDE2OC40MTFMMjczLjgyOCwxMjAuNjlMMzg5LjUzNCwyMjEuODQ1TDI3My44MjgsMzIzTDI3My44MjgsMjc1LjI3OEwzMzQuOTQ3LDIyMS44NDVMMjczLjgyOCwxNjguNDExWk0yNzkuNjEzLDE2NS43ODlMMjc5LjYxMywxMzMuNDI4QzI3OS42MTMsMTMzLjQyOCAzODAuNzQ4LDIyMS44NDUgMzgwLjc0OCwyMjEuODQ1QzM4MC43NDgsMjIxLjg0NSAyNzkuNjEzLDMxMC4yNjEgMjc5LjYxMywzMTAuMjYxQzI3OS42MTMsMzEwLjI2MSAyNzkuNjEzLDI3Ny45MDEgMjc5LjYxMywyNzcuOTAxQzI3OS42MTMsMjc3LjkwMSAzNDMuNzMzLDIyMS44NDUgMz'+
			'QzLjczMywyMjEuODQ1TDI3OS42MTMsMTY1Ljc4OVoiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._galprev__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="Gal-Prev";
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:180,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 175px;';
		hs+='left : 50px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		el.style[domTransform]=parameterToTransform(el.ggParameter);
		me._galprev.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._galprev.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('gal_image_index') > 1))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._galprev.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._galprev.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._galprev.style[domTransition]='';
				if (me._galprev.ggCurrentLogicStateVisible == 0) {
					me._galprev.style.visibility=(Number(me._galprev.style.opacity)>0||!me._galprev.style.opacity)?'inherit':'hidden';
					me._galprev.ggVisible=true;
				}
				else {
					me._galprev.style.visibility="hidden";
					me._galprev.ggVisible=false;
				}
			}
		}
		me._galprev.onclick=function (e) {
			player.setVariableValue('gal_image_index', player.getVariableValue('gal_image_index') - Number("1"));
			player.setVariableValue('gal_image_total', player.getVariableValue('gal_image_total') + Number("1"));
			me._popup_image_gal.ggText=basePath + "assets\/"+player.getVariableValue('gal_image_folder')+"\/"+player.getVariableValue('gal_image_index')+".jpg";
			me._popup_image_gal.ggSubElement.style.width = '0px';
			me._popup_image_gal.ggSubElement.style.height = '0px';
			me._popup_image_gal.ggSubElement.src='';
			me._popup_image_gal.ggSubElement.src=me._popup_image_gal.ggText;
		}
		me._galprev.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._image_popup_gal.appendChild(me._galprev);
		me.divSkin.appendChild(me._image_popup_gal);
		el=me._map_toggle=document.createElement('div');
		els=me._map_toggle__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTG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i0yLjQxLDUuMzctNy41OCw1LjM3LTkuOWE1LjM3LDUuMzcsMCwwLDAtMTAuNzQsMEMxNC4zNiwyMi4zNCwxNy45MSwyNy41MSwxOS43MywyOS45MlptMC0xMi43N0EyLjg3LDIuODcsMCwxLDEsMTYuODYsMjAsMi44NiwyLjg2LDAsMCwxLDE5LjczLDE3LjE1WiIvPgogPC9nPgo8L3N2Zz4K';
		me._map_toggle__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._map_toggle__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDYxLjQ2IDYxLjQ2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Zz4KICA8cGF0aCBzdHlsZT0iZmlsbDogI2ZmZiIgZD0iTTMwLjczLDYxQTMwLjIzLDMwLjIzLDAsMSwxLDYxLDMwLjczLDMwLjI2LDMwLjI2LDAsMCwxLDMwLjczLDYxWiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiNlYjZkMWY7IGZpbGwtb3BhY2l0eToxIiBkPSJNMzAuNzMsMUEyOS43MywyOS43MywwLDEsMSwxLDMwLjczLDI5LjczLDI5LjczLDAsMCwxLDMwLjczLDFtMC0xQTMwLjczLDMwLjczLDAsMSwwLDYxLj'+
			'Q2LDMwLjczLDMwLjc3LDMwLjc3LDAsMCwwLDMwLjczLDBaIi8+CiA8L2c+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiNlYjZkMWY7IGZpbGwtb3BhY2l0eToxIiByPSIyNi43NyIgY3g9IjMwLjczIiBjeT0iMzAuNzMiLz4KIDxnPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMzYuMywyMi4wNmwtMTAtNS4zMS0uNzkuNDJBNi4zNiw2LjM2LDAsMCwxLDI2LjE5LDIwYTcuMTcsNy4xNywwLDAsMS0uNywyLjY1djE3bC04LjM1LDQuNDRWMjguMThjLS41My0uNzctMS4xLTEuNjUtMS42My0yLjU0VjQ2LjgxbDEwLjgtNS43NSwxMCw1LjMxLDEwLjgtNS43NFYxNi4zMVptOS4xNiwxNy41OS04'+
			'LjM1LDQuNDRWMjMuNDdMNDUuNDYsMTlabS0xMC0xNi4xOFY0NC4wOWwtOC4zNS00LjQ0VjE5WiIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMTkuNzMsMjkuOTJjMS44Mi0yLjQxLDUuMzctNy41OCw1LjM3LTkuOWE1LjM3LDUuMzcsMCwwLDAtMTAuNzQsMEMxNC4zNiwyMi4zNCwxNy45MSwyNy41MSwxOS43MywyOS45MlptMC0xMi43N0EyLjg3LDIuODcsMCwxLDEsMTYuODYsMjAsMi44NiwyLjg2LDAsMCwxLDE5LjczLDE3LjE1WiIvPgogPC9nPgo8L3N2Zz4K';
		me._map_toggle__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Map_Toggle";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='bottom : 15px;';
		hs+='height : 50px;';
		hs+='left : 70px;';
		hs+='position : absolute;';
		hs+='visibility : inherit;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._map_toggle.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._map_toggle.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height > 1))
			)
			{
				newLogicStatePosition = 0;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == true)) && 
				((player.getViewerSize().width / player.getViewerSize().height < 1))
			)
			{
				newLogicStatePosition = 1;
			}
			else if (
				((player.getVariableValue('slider') == 1)) && 
				((player.getIsMobile() == false))
			)
			{
				newLogicStatePosition = 2;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._map_toggle.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._map_toggle.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._map_toggle.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms';
				if (me._map_toggle.ggCurrentLogicStatePosition == 0) {
					me._map_toggle.style.left='345px';
					me._map_toggle.style.bottom='15px';
				}
				else if (me._map_toggle.ggCurrentLogicStatePosition == 1) {
					me._map_toggle.style.left='315px';
					me._map_toggle.style.bottom='15px';
				}
				else if (me._map_toggle.ggCurrentLogicStatePosition == 2) {
					me._map_toggle.style.left='315px';
					me._map_toggle.style.bottom='15px';
				}
				else {
					me._map_toggle.style.left='70px';
					me._map_toggle.style.bottom='15px';
				}
			}
		}
		me._map_toggle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('showmap') == false))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._map_toggle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._map_toggle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._map_toggle.style[domTransition]='left 500ms ease 0ms, bottom 500ms ease 0ms';
				if (me._map_toggle.ggCurrentLogicStateVisible == 0) {
					me._map_toggle.style.visibility="hidden";
					me._map_toggle.ggVisible=false;
				}
				else {
					me._map_toggle.style.visibility=(Number(me._map_toggle.style.opacity)>0||!me._map_toggle.style.opacity)?'inherit':'hidden';
					me._map_toggle.ggVisible=true;
				}
			}
		}
		me._map_toggle.onclick=function (e) {
			player.setVariableValue('map', player.getVariableValue('map') + Number("1"));
			player.setVariableValue('map', player.getVariableValue('map') % Number("2"));
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Toggle Map'
});
		}
		me._map_toggle.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._maptitleopen.style[domTransition]='none';
			} else {
				me._maptitleopen.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._maptitleopen.style.opacity='1';
			me._maptitleopen.style.visibility=me._maptitleopen.ggVisible?'inherit':'hidden';
			me._map_toggle__img.style.visibility='hidden';
			me._map_toggle__imgo.style.visibility='inherit';
		}
		me._map_toggle.onmouseout=function (e) {
			if (player.transitionsDisabled) {
				me._maptitleopen.style[domTransition]='none';
			} else {
				me._maptitleopen.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._maptitleopen.style.opacity='0';
			me._maptitleopen.style.visibility='hidden';
			me._map_toggle__img.style.visibility='inherit';
			me._map_toggle__imgo.style.visibility='hidden';
		}
		me._map_toggle.ggUpdatePosition=function (useTransition) {
		}
		el=me._maptitleopen=document.createElement('div');
		els=me._maptitleopen__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Map-Title-Open";
		el.ggDy=-10;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : 65px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: left;';
		hs+='white-space: nowrap;';
		hs+='padding: 7px 18px 7px 18px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Show\/Hide Map";
		el.appendChild(els);
		me._maptitleopen.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._maptitleopen.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._maptitleopen.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._maptitleopen.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._maptitleopen.style[domTransition]='';
				if (me._maptitleopen.ggCurrentLogicStateVisible == 0) {
					me._maptitleopen.style.visibility="hidden";
					me._maptitleopen.ggVisible=false;
				}
				else {
					me._maptitleopen.style.visibility=(Number(me._maptitleopen.style.opacity)>0||!me._maptitleopen.style.opacity)?'inherit':'hidden';
					me._maptitleopen.ggVisible=true;
				}
			}
		}
		me._maptitleopen.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._map_toggle.appendChild(me._maptitleopen);
		me.divSkin.appendChild(me._map_toggle);
		el=me._minimapbar=document.createElement('div');
		el.ggId="Mini-Map-Bar";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='background : #ffffff;';
		hs+='border : 0px solid #000000;';
		hs+='bottom : 30px;';
		hs+='cursor : default;';
		hs+='height : 35px;';
		hs+='position : absolute;';
		hs+='right : 30px;';
		hs+='visibility : hidden;';
		hs+='width : 30%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._minimapbar.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._minimapbar.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('map') == 1)) && 
				((player.getVariableValue('minimap') == "1"))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._minimapbar.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._minimapbar.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._minimapbar.style[domTransition]='';
				if (me._minimapbar.ggCurrentLogicStateVisible == 0) {
					me._minimapbar.style.visibility=(Number(me._minimapbar.style.opacity)>0||!me._minimapbar.style.opacity)?'inherit':'hidden';
					me._minimapbar.ggVisible=true;
				}
				else {
					me._minimapbar.style.visibility="hidden";
					me._minimapbar.ggVisible=false;
				}
			}
		}
		me._minimapbar.ggUpdatePosition=function (useTransition) {
		}
		el=me._currentfloor=document.createElement('div');
		els=me._currentfloor__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Current-Floor";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='visibility : inherit;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		me._currentfloor.ggUpdateText=function() {
			var hs="Floor: "+player.getVariableValue('current_floor');
			if (hs!=this.ggText) {
				this.ggText=hs;
				this.ggTextDiv.innerHTML=hs;
				if (this.ggUpdatePosition) this.ggUpdatePosition();
			}
		}
		me._currentfloor.ggUpdateText();
		player.addListener('timer', function() {
			me._currentfloor.ggUpdateText();
		});
		el.appendChild(els);
		me._currentfloor.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._currentfloor.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px';
			}
		}
		me._minimapbar.appendChild(me._currentfloor);
		el=me._floor2down=document.createElement('div');
		els=me._floor2down__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Floor-2-Down";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='left : 20px;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Down";
		el.appendChild(els);
		me._floor2down.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._floor2down.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 2))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._floor2down.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._floor2down.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._floor2down.style[domTransition]='';
				if (me._floor2down.ggCurrentLogicStateVisible == 0) {
					me._floor2down.style.visibility=(Number(me._floor2down.style.opacity)>0||!me._floor2down.style.opacity)?'inherit':'hidden';
					me._floor2down.ggVisible=true;
				}
				else {
					me._floor2down.style.visibility="hidden";
					me._floor2down.ggVisible=false;
				}
			}
		}
		me._floor2down.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') - Number("1"));
			me._minimap.ggChangeMap('FloorPlan01');
		}
		me._floor2down.ggUpdatePosition=function (useTransition) {
		}
		me._minimapbar.appendChild(me._floor2down);
		el=me._floor3down=document.createElement('div');
		els=me._floor3down__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Floor-3-Down";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='left : 20px;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Down";
		el.appendChild(els);
		me._floor3down.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._floor3down.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 3))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._floor3down.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._floor3down.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._floor3down.style[domTransition]='';
				if (me._floor3down.ggCurrentLogicStateVisible == 0) {
					me._floor3down.style.visibility=(Number(me._floor3down.style.opacity)>0||!me._floor3down.style.opacity)?'inherit':'hidden';
					me._floor3down.ggVisible=true;
				}
				else {
					me._floor3down.style.visibility="hidden";
					me._floor3down.ggVisible=false;
				}
			}
		}
		me._floor3down.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') - Number("1"));
			me._minimap.ggChangeMap('FloorPlan02');
		}
		me._floor3down.ggUpdatePosition=function (useTransition) {
		}
		me._minimapbar.appendChild(me._floor3down);
		el=me._floor4down=document.createElement('div');
		els=me._floor4down__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Floor-4-Down";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='left : 20px;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Down";
		el.appendChild(els);
		me._floor4down.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._floor4down.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 4))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._floor4down.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._floor4down.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._floor4down.style[domTransition]='';
				if (me._floor4down.ggCurrentLogicStateVisible == 0) {
					me._floor4down.style.visibility=(Number(me._floor4down.style.opacity)>0||!me._floor4down.style.opacity)?'inherit':'hidden';
					me._floor4down.ggVisible=true;
				}
				else {
					me._floor4down.style.visibility="hidden";
					me._floor4down.ggVisible=false;
				}
			}
		}
		me._floor4down.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') - Number("1"));
			me._minimap.ggChangeMap('FloorPlan03');
		}
		me._floor4down.ggUpdatePosition=function (useTransition) {
		}
		me._minimapbar.appendChild(me._floor4down);
		el=me._floor5down=document.createElement('div');
		els=me._floor5down__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Floor-5-Down";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='left : 20px;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Down";
		el.appendChild(els);
		me._floor5down.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._floor5down.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 5))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._floor5down.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._floor5down.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._floor5down.style[domTransition]='';
				if (me._floor5down.ggCurrentLogicStateVisible == 0) {
					me._floor5down.style.visibility=(Number(me._floor5down.style.opacity)>0||!me._floor5down.style.opacity)?'inherit':'hidden';
					me._floor5down.ggVisible=true;
				}
				else {
					me._floor5down.style.visibility="hidden";
					me._floor5down.ggVisible=false;
				}
			}
		}
		me._floor5down.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') - Number("1"));
			me._minimap.ggChangeMap('FloorPlan04');
		}
		me._floor5down.ggUpdatePosition=function (useTransition) {
		}
		me._minimapbar.appendChild(me._floor5down);
		el=me._floor1up=document.createElement('div');
		els=me._floor1up__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Floor-1-Up";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='position : absolute;';
		hs+='right : 20px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='right: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Up";
		el.appendChild(els);
		me._floor1up.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._floor1up.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 1)) && 
				((player.getVariableValue('total_floors') > 1))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._floor1up.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._floor1up.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._floor1up.style[domTransition]='';
				if (me._floor1up.ggCurrentLogicStateVisible == 0) {
					me._floor1up.style.visibility=(Number(me._floor1up.style.opacity)>0||!me._floor1up.style.opacity)?'inherit':'hidden';
					me._floor1up.ggVisible=true;
				}
				else {
					me._floor1up.style.visibility="hidden";
					me._floor1up.ggVisible=false;
				}
			}
		}
		me._floor1up.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') + Number("1"));
			me._minimap.ggChangeMap('FloorPlan02');
		}
		me._floor1up.ggUpdatePosition=function (useTransition) {
		}
		me._minimapbar.appendChild(me._floor1up);
		el=me._floor2up=document.createElement('div');
		els=me._floor2up__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Floor-2-Up";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='position : absolute;';
		hs+='right : 20px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='right: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Up";
		el.appendChild(els);
		me._floor2up.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._floor2up.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 2)) && 
				((player.getVariableValue('total_floors') > 2))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._floor2up.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._floor2up.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._floor2up.style[domTransition]='';
				if (me._floor2up.ggCurrentLogicStateVisible == 0) {
					me._floor2up.style.visibility=(Number(me._floor2up.style.opacity)>0||!me._floor2up.style.opacity)?'inherit':'hidden';
					me._floor2up.ggVisible=true;
				}
				else {
					me._floor2up.style.visibility="hidden";
					me._floor2up.ggVisible=false;
				}
			}
		}
		me._floor2up.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') + Number("1"));
			me._minimap.ggChangeMap('FloorPlan03');
		}
		me._floor2up.ggUpdatePosition=function (useTransition) {
		}
		me._minimapbar.appendChild(me._floor2up);
		el=me._floor3up=document.createElement('div');
		els=me._floor3up__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Floor-3-Up";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='position : absolute;';
		hs+='right : 20px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='right: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Up";
		el.appendChild(els);
		me._floor3up.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._floor3up.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 3)) && 
				((player.getVariableValue('total_floors') > 3))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._floor3up.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._floor3up.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._floor3up.style[domTransition]='';
				if (me._floor3up.ggCurrentLogicStateVisible == 0) {
					me._floor3up.style.visibility=(Number(me._floor3up.style.opacity)>0||!me._floor3up.style.opacity)?'inherit':'hidden';
					me._floor3up.ggVisible=true;
				}
				else {
					me._floor3up.style.visibility="hidden";
					me._floor3up.ggVisible=false;
				}
			}
		}
		me._floor3up.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') + Number("1"));
			me._minimap.ggChangeMap('FloorPlan04');
		}
		me._floor3up.ggUpdatePosition=function (useTransition) {
		}
		me._minimapbar.appendChild(me._floor3up);
		el=me._floor4up=document.createElement('div');
		els=me._floor4up__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Floor-4-Up";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='position : absolute;';
		hs+='right : 20px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='right: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Up";
		el.appendChild(els);
		me._floor4up.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._floor4up.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 4)) && 
				((player.getVariableValue('total_floors') > 4))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._floor4up.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._floor4up.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._floor4up.style[domTransition]='';
				if (me._floor4up.ggCurrentLogicStateVisible == 0) {
					me._floor4up.style.visibility=(Number(me._floor4up.style.opacity)>0||!me._floor4up.style.opacity)?'inherit':'hidden';
					me._floor4up.ggVisible=true;
				}
				else {
					me._floor4up.style.visibility="hidden";
					me._floor4up.ggVisible=false;
				}
			}
		}
		me._floor4up.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') + Number("1"));
			me._minimap.ggChangeMap('FloorPlan05');
		}
		me._floor4up.ggUpdatePosition=function (useTransition) {
		}
		me._minimapbar.appendChild(me._floor4up);
		me.divSkin.appendChild(me._minimapbar);
		el=me._minimap=document.createElement('div');
		el.ggFilter = '';
		el.ggFilteredIds = [];
		el.ggMapNotLoaded = true;
		el.ggId="Mini-Map";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_map ";
		el.ggType='map';
		hs ='';
		hs+='background : #ffffff;';
		hs+='border : 0px solid #000000;';
		hs+='bottom : 60px;';
		hs+='cursor : default;';
		hs+='height : 30%;';
		hs+='overflow : hidden;';
		hs+='position : absolute;';
		hs+='right : 30px;';
		hs+='visibility : hidden;';
		hs+='width : 30%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._minimap.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._minimap.logicBlock_size = function() {
			var newLogicStateSize;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateSize = 0;
			}
			else {
				newLogicStateSize = -1;
			}
			if (me._minimap.ggCurrentLogicStateSize != newLogicStateSize) {
				me._minimap.ggCurrentLogicStateSize = newLogicStateSize;
				me._minimap.style[domTransition]='width 0s, height 0s, opacity 250ms ease 0ms';
				if (me._minimap.ggCurrentLogicStateSize == 0) {
					me._minimap.style.width='70%';
					me._minimap.style.height='30%';
					skin.updateSize(me._minimap);
				}
				else {
					me._minimap.style.width='30%';
					me._minimap.style.height='30%';
					skin.updateSize(me._minimap);
				}
			}
		}
		me._minimap.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('map') == 1)) && 
				((player.getVariableValue('minimap') == "1"))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._minimap.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._minimap.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._minimap.style[domTransition]='width 0s, height 0s, opacity 250ms ease 0ms';
				if (me._minimap.ggCurrentLogicStateVisible == 0) {
					me._minimap.style.visibility=(Number(me._minimap.style.opacity)>0||!me._minimap.style.opacity)?'inherit':'hidden';
					if (me._minimap.ggMapNotLoaded) {
						me._minimap.ggInitMap(false);
						me._minimap.ggInitMapMarkers(true);
					}
					me._minimap.ggVisible=true;
				}
				else {
					me._minimap.style.visibility="hidden";
					me._minimap.ggVisible=false;
				}
			}
		}
		me._minimap.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('map') == 0))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._minimap.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._minimap.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._minimap.style[domTransition]='width 0s, height 0s, opacity 250ms ease 0ms';
				if (me._minimap.ggCurrentLogicStateAlpha == 0) {
					setTimeout(function() { if (me._minimap.style.opacity == 0.0) { me._minimap.style.visibility="hidden"; } }, 255);
					me._minimap.style.opacity=0;
				}
				else {
					me._minimap.style.visibility=me._minimap.ggVisible?'inherit':'hidden';
					if (me._minimap.ggMapNotLoaded) {
						me._minimap.ggInitMap(false);
						me._minimap.ggInitMapMarkers(true);
					}
					me._minimap.style.opacity=1;
				}
			}
		}
		me._minimap.ggCurrentLogicStateSize = -1;
		me._minimap.ggCurrentLogicStateVisible = -1;
		me._minimap.ggCurrentLogicStateAlpha = -1;
		me._minimap.ggUpdateConditionTimer=function () {
			me._minimap.ggRadar.update();
		}
		me._minimap.ggUpdatePosition=function (useTransition) {
		}
		me._minimap.ggNodeChange=function () {
			if (me._minimap.ggLastActivMarker) {
				if (me._minimap.ggLastActivMarker._div.ggDeactivate) me._minimap.ggLastActivMarker._div.ggDeactivate();
			}
			var id=player.getCurrentNode();
			if (me.ggMarkerArray) {
			var marker=me._minimap.ggMarkerArray[id];
			if (marker) {
				if (marker._div.ggActivate) marker._div.ggActivate();
			}
			me._minimap.ggLastActivMarker=marker;
			}
			if (!me._minimap.ggMapNotLoaded) {
				me._minimap.ggCenterNode();
			}
			if (player.getMapType(me._minimap.ggMapId) == 'file') {
				var coords = player.getNodeMapCoords(id, me._minimap.ggMapId);
				if (coords.length < 2) {
					var mapId = player.getMapContainingNode(id);
					if (mapId != '') {
							me._minimap.ggChangeMap(mapId);
					}
				}
			}
			me._minimap.ggLastNodeId = id;
		}
		el=me._maximizeicon=document.createElement('div');
		els=me._maximizeicon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTWFpbiIgdmlld0JveD0iMCAwIDUyNSA1MjUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8ZGVmcz4KICA8c3R5bGU+LmNscy0xe2ZpbGw6IzM2MzYzNjt9PC9zdHlsZT4KIDwvZGVmcz4KIDxnIGlkPSJMYXlvdXQiPgogIDxnIGlkPSJFbGVtZW50Ij4KICAgPHBhdGggZD0iTTUwMi41LDUwMi41VjI0Ny43N0gyNDcuNzhWNTAyLjVaTTI4OC44Niw0NjEuNDJWMjg4Ljg1SDQ2MS40MlY0NjEuNDJaIiBjbGFzcz0iY2xzLTEiLz4KICAgPHBvbHlnb24gcG9pbnRzPSIyMi41IDQyNi40OCAxOTkuMTYgNDI2LjQ4IDE5OS4xNiAzNjQuODYgODQuMTIgMzY0Ljg2ID'+
			'g0LjEyIDg0LjEyIDM2NC44NyA4NC4xMiAzNjQuODcgMjA1LjE3IDQyNi40OSAyMDUuMTcgNDI2LjQ5IDIyLjUgMjIuNSAyMi41IDIyLjUgNDI2LjQ4IiBjbGFzcz0iY2xzLTEiLz4KICAgPHBvbHlnb24gcG9pbnRzPSIyMjQuMyAxOTQuOTUgMTg0LjExIDE1NC43NiAyMjQuNSAxMTQuMzggMTE0LjY4IDExNC4zOCAxMTQuNjggMjI0LjE5IDE1NS4wNyAxODMuODEgMTk1LjI2IDIyMy45OSAyMjQuMyAxOTQuOTUiIGNsYXNzPSJjbHMtMSIvPgogIDwvZz4KIDwvZz4KPC9zdmc+Cg==';
		me._maximizeicon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="Maximize-Icon";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='z-index: 401;';
		hs+='cursor : pointer;';
		hs+='height : 45px;';
		hs+='left : 5px;';
		hs+='position : absolute;';
		hs+='top : 5px;';
		hs+='visibility : inherit;';
		hs+='width : 45px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._maximizeicon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._maximizeicon.onclick=function (e) {
			player.setVariableValue('minimap', false);
		}
		me._maximizeicon.ggUpdatePosition=function (useTransition) {
		}
		me._minimap.appendChild(me._maximizeicon);
		el=me._minimapclose=document.createElement('div');
		els=me._minimapclose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SIjRkZGRkZGIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._minimapclose__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._minimapclose__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB5PSIwcHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHZpZXdCb3g9Ii0yNDAgMzMyIDEzMCAxMzAiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgYmFzZVByb2ZpbGU9InRpbnkiIHg9IjBweCI+CiA8ZyBpZD0iTG'+
			'F5ZXJfMV8xXyI+CiAgPHBhdGggZmlsbC1vcGFjaXR5PSIxIiBkPSJNLTEzMC45LDM1Mi45Yy0yNC40LTI0LjQtNjMuOC0yNC40LTg4LjIsMGMtMjQuNCwyNC40LTI0LjQsNjMuOCwwLDg4LjJjMjQuNCwyNC40LDYzLjgsMjQuNCw4OC4yLDAmI3hkOyYjeGE7JiN4OTsmI3g5O1MtMTA2LjUsMzc3LjMtMTMwLjksMzUyLjl6IE0tMTQyLjUsNDE0LjVjMC44LDAuOCwwLjgsMS43LTAuMSwyLjdsLTEyLjIsMTIuMmMtMC40LDAuNC0wLjgsMC42LTEuNCwwLjZjLTAuNiwwLTEtMC4xLTEuMy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MxLTEsMS44LTEsMi43LTAuMWwxNy41LDE3LjUmI3hkOyYjeGE7JiN4OTsmI3g5O2wxNy40LTE3LjRjMS0xLDEuOC0xLDIuNy0wLjFsMTIuMywxMi4zYzAuOCwwLjgsMC44LDEuNy0wLjEsMi43TC0xNjAuMSwzOTYuOXoiIGZpbGw9IiNGRkZGRkYiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._minimapclose__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Mini-Map-Close";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='z-index: 401;';
		hs+='cursor : pointer;';
		hs+='height : 50px;';
		hs+='position : absolute;';
		hs+='right : 0px;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._minimapclose.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._minimapclose.onclick=function (e) {
			player.setVariableValue('map', Number("0"));
		}
		me._minimapclose.onmouseover=function (e) {
			me._minimapclose__img.style.visibility='hidden';
			me._minimapclose__imgo.style.visibility='inherit';
		}
		me._minimapclose.onmouseout=function (e) {
			me._minimapclose__img.style.visibility='inherit';
			me._minimapclose__imgo.style.visibility='hidden';
		}
		me._minimapclose.ggUpdatePosition=function (useTransition) {
		}
		me._minimap.appendChild(me._minimapclose);
		me.divSkin.appendChild(me._minimap);
		el=me._fullsizemap=document.createElement('div');
		el.ggFilter = '';
		el.ggFilteredIds = [];
		el.ggMapNotLoaded = true;
		el.ggId="Full-Size-Map";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_map ";
		el.ggType='map';
		hs ='';
		hs+='background : #ffffff;';
		hs+='border : 0px solid #000000;';
		hs+='cursor : default;';
		hs+='height : 85%;';
		hs+='left : -10000px;';
		hs+='overflow : hidden;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 85%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._fullsizemap.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._fullsizemap.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('map') == 1)) && 
				((player.getVariableValue('minimap') == "0"))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._fullsizemap.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._fullsizemap.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._fullsizemap.style[domTransition]='';
				if (me._fullsizemap.ggCurrentLogicStateVisible == 0) {
					me._fullsizemap.style.visibility=(Number(me._fullsizemap.style.opacity)>0||!me._fullsizemap.style.opacity)?'inherit':'hidden';
					if (me._fullsizemap.ggMapNotLoaded) {
						me._fullsizemap.ggInitMap(false);
						me._fullsizemap.ggInitMapMarkers(true);
					}
					me._fullsizemap.ggVisible=true;
				}
				else {
					me._fullsizemap.style.visibility="hidden";
					me._fullsizemap.ggVisible=false;
				}
			}
		}
		me._fullsizemap.ggCurrentLogicStateVisible = -1;
		me._fullsizemap.ggUpdateConditionResize=function () {
			if (me._fullsizemap.ggMapNotLoaded == false) {
				me._fullsizemap.ggMap.invalidateSize(false);
			}
		}
		me._fullsizemap.ggUpdateConditionTimer=function () {
			me._fullsizemap.ggRadar.update();
		}
		me._fullsizemap.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			me._fullsizemap.ggUpdateConditionResize();
		}
		me._fullsizemap.ggNodeChange=function () {
			if (me._fullsizemap.ggLastActivMarker) {
				if (me._fullsizemap.ggLastActivMarker._div.ggDeactivate) me._fullsizemap.ggLastActivMarker._div.ggDeactivate();
			}
			var id=player.getCurrentNode();
			if (me.ggMarkerArray) {
			var marker=me._fullsizemap.ggMarkerArray[id];
			if (marker) {
				if (marker._div.ggActivate) marker._div.ggActivate();
			}
			me._fullsizemap.ggLastActivMarker=marker;
			}
			if (player.getMapType(me._fullsizemap.ggMapId) == 'file') {
				var coords = player.getNodeMapCoords(id, me._fullsizemap.ggMapId);
				if (coords.length < 2) {
					var mapId = player.getMapContainingNode(id);
					if (mapId != '') {
							me._fullsizemap.ggChangeMap(mapId);
					}
				}
			}
			me._fullsizemap.ggLastNodeId = id;
		}
		el=me._minimizeicon=document.createElement('div');
		els=me._minimizeicon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTWFpbiIgdmlld0JveD0iMCAwIDUyNSA1MjUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8ZGVmcz4KICA8c3R5bGU+LmNscy0xe2ZpbGw6IzM2MzYzNjt9PC9zdHlsZT4KIDwvZGVmcz4KIDxnIGlkPSJFbGVtZW50Ij4KICA8cGF0aCBkPSJNNTAyLjUsNTAyLjVWMjQ3Ljc3SDI0Ny43OFY1MDIuNVpNMjg4Ljg2LDQ2MS40MlYyODguODVINDYxLjQyVjQ2MS40MloiIGNsYXNzPSJjbHMtMSIvPgogIDxwb2x5Z29uIHBvaW50cz0iMjIuNSA0MjYuNDggMTk5LjE2IDQyNi40OCAxOTkuMTYgMzY0Ljg2IDg0LjEyIDM2NC44NiA4NC4xMiA4NC4xMiAzNjQuODcgOD'+
			'QuMTIgMzY0Ljg3IDIwNS4xNyA0MjYuNDkgMjA1LjE3IDQyNi40OSAyMi41IDIyLjUgMjIuNSAyMi41IDQyNi40OCIgY2xhc3M9ImNscy0xIi8+CiAgPHBvbHlnb24gcG9pbnRzPSIxMTQuODkgMTQzLjYyIDE1NS4wNyAxODMuODEgMTE0LjY4IDIyNC4xOSAyMjQuNSAyMjQuMTkgMjI0LjUgMTE0LjM4IDE4NC4xMSAxNTQuNzYgMTQzLjkzIDExNC41OCAxMTQuODkgMTQzLjYyIiBjbGFzcz0iY2xzLTEiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._minimizeicon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="Minimize-Icon";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='z-index: 401;';
		hs+='bottom : 0px;';
		hs+='cursor : pointer;';
		hs+='height : 60px;';
		hs+='position : absolute;';
		hs+='right : 0px;';
		hs+='visibility : hidden;';
		hs+='width : 60px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._minimizeicon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._minimizeicon.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('minimap') == "0"))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._minimizeicon.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._minimizeicon.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._minimizeicon.style[domTransition]='';
				if (me._minimizeicon.ggCurrentLogicStateVisible == 0) {
					me._minimizeicon.style.visibility=(Number(me._minimizeicon.style.opacity)>0||!me._minimizeicon.style.opacity)?'inherit':'hidden';
					me._minimizeicon.ggVisible=true;
				}
				else {
					me._minimizeicon.style.visibility="hidden";
					me._minimizeicon.ggVisible=false;
				}
			}
		}
		me._minimizeicon.onclick=function (e) {
			player.setVariableValue('minimap', true);
		}
		me._minimizeicon.ggUpdatePosition=function (useTransition) {
		}
		me._fullsizemap.appendChild(me._minimizeicon);
		el=me._fullmapclose=document.createElement('div');
		els=me._fullmapclose__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB5PSIwcHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHZpZXdCb3g9Ii0yNDAgMzMyIDEzMCAxMzAiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgYmFzZVByb2ZpbGU9InRpbnkiIHg9IjBweC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LDEwLjljLTAuNCwwLjQtMC44LDAuNS0xLjMsMC41JiN4ZDsmI3hhOyYjeDk7JiN4OTtjLTAuNSwwLTAuOS0wLjEtMS4xLTAuNGwtMTUuOC0xNS44bC0xNS43LDE1LjdjLTAuNCwwLjQtMC44LDAuNS0xLjMsMC41cy0wLjktMC4xLTEuMS0wLjRsLTExLjEtMTEuMWMtMC4zLTAuMy0wLjQtMC42LTAuNC0xLjEmI3hkOyYjeGE7JiN4OTsmI3g5O2MwLTAuNSwwLjEtMC45LDAuNS0xLjNsMTUuNy0xNS43bC0xNS44LTE1LjhjLTAu'+
			'My0wLjMtMC40LTAuNi0wLjQtMS4xYzAtMC41LDAuMS0wLjksMC41LTEuM2wxMC45LTEwLjljMC45LTAuOSwxLjctMC45LDIuNC0wLjEmI3hkOyYjeGE7JiN4OTsmI3g5O2wxNS44LDE1LjhsMTUuNy0xNS43YzAuOS0wLjksMS43LTAuOSwyLjQtMC4xbDExLjEsMTEuMWMwLjgsMC44LDAuOCwxLjUtMC4xLDIuNEwtMTYxLjYsMzk2Ljl6IiBmaWxsPSIjRkZGRkZGIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._fullmapclose__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._fullmapclose__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5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N2wtMTcuNCwxNy40TC0xNDIuNSw0MTQuNXoiIGZpbGw9IiNlYjZkMWYiLz4KIDwvZz'+
			'4KIDxnIGlkPSJMYXllcl8yIj4KICA8cGF0aCBkPSJNLTE2MC4xLDM5Ni45bDE3LjUsMTcuNWMwLjgsMC44LDAuOCwxLjctMC4xLDIuN2wtMTIuMiwxMi4yYy0wLjQsMC40LTAuOCwwLjYtMS40LDAuNiYjeGQ7JiN4YTsmI3g5OyYjeDk7Yy0wLjYsMC0xLTAuMS0xLjMtMC40bC0xNy41LTE3LjVsLTE3LjQsMTcuNGMtMC40LDAuNC0wLjgsMC42LTEuNCwwLjZjLTAuNiwwLTEtMC4xLTEuMy0wLjRsLTEyLjMtMTIuM2MtMC4zLTAuMy0wLjQtMC43LTAuNC0xLjMmI3hkOyYjeGE7JiN4OTsmI3g5O2MwLTAuNiwwLjEtMSwwLjYtMS40bDE3LjQtMTcuNGwtMTcuNS0xNy41Yy0wLjMtMC4zLTAuNC0wLjct'+
			'MC40LTEuM2MwLTAuNiwwLjEtMSwwLjYtMS40bDEyLjItMTIuMmMxLTEsMS44LTEsMi43LTAuMWwxNy41LDE3LjUmI3hkOyYjeGE7JiN4OTsmI3g5O2wxNy40LTE3LjRjMS0xLDEuOC0xLDIuNy0wLjFsMTIuMywxMi4zYzAuOCwwLjgsMC44LDEuNy0wLjEsMi43TC0xNjAuMSwzOTYuOXoiIGZpbGw9IiNGRkZGRkYiLz4KIDwvZz4KPC9zdmc+Cg==';
		me._fullmapclose__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		el.ggId="Full-Map-Close";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='z-index: 401;';
		hs+='cursor : pointer;';
		hs+='height : 50px;';
		hs+='position : absolute;';
		hs+='right : 0px;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._fullmapclose.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._fullmapclose.onclick=function (e) {
			player.setVariableValue('map', Number("0"));
		}
		me._fullmapclose.onmouseover=function (e) {
			me._fullmapclose__img.style.visibility='hidden';
			me._fullmapclose__imgo.style.visibility='inherit';
		}
		me._fullmapclose.onmouseout=function (e) {
			me._fullmapclose__img.style.visibility='inherit';
			me._fullmapclose__imgo.style.visibility='hidden';
		}
		me._fullmapclose.ggUpdatePosition=function (useTransition) {
		}
		me._fullsizemap.appendChild(me._fullmapclose);
		me.divSkin.appendChild(me._fullsizemap);
		el=me._fullmapbar=document.createElement('div');
		el.ggId="Full-Map-Bar";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='background : #ffffff;';
		hs+='border : 0px solid #000000;';
		hs+='bottom : 25px;';
		hs+='cursor : default;';
		hs+='height : 50px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 85%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._fullmapbar.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._fullmapbar.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('map') == 1)) && 
				((player.getVariableValue('minimap') == "0"))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._fullmapbar.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._fullmapbar.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._fullmapbar.style[domTransition]='';
				if (me._fullmapbar.ggCurrentLogicStateVisible == 0) {
					me._fullmapbar.style.visibility=(Number(me._fullmapbar.style.opacity)>0||!me._fullmapbar.style.opacity)?'inherit':'hidden';
					me._fullmapbar.ggVisible=true;
				}
				else {
					me._fullmapbar.style.visibility="hidden";
					me._fullmapbar.ggVisible=false;
				}
			}
		}
		me._fullmapbar.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		el=me._full_currentfloor=document.createElement('div');
		els=me._full_currentfloor__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Full Current-Floor";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='visibility : inherit;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		me._full_currentfloor.ggUpdateText=function() {
			var hs="Floor: "+player.getVariableValue('current_floor');
			if (hs!=this.ggText) {
				this.ggText=hs;
				this.ggTextDiv.innerHTML=hs;
				if (this.ggUpdatePosition) this.ggUpdatePosition();
			}
		}
		me._full_currentfloor.ggUpdateText();
		player.addListener('timer', function() {
			me._full_currentfloor.ggUpdateText();
		});
		el.appendChild(els);
		me._full_currentfloor.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._full_currentfloor.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=((this.ggDx * pw)/100.0 + pw/2 - w/2) + 'px';
			}
		}
		me._fullmapbar.appendChild(me._full_currentfloor);
		el=me._full_floor2down=document.createElement('div');
		els=me._full_floor2down__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Full Floor-2-Down";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='left : 20px;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Down";
		el.appendChild(els);
		me._full_floor2down.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._full_floor2down.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 2))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._full_floor2down.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._full_floor2down.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._full_floor2down.style[domTransition]='';
				if (me._full_floor2down.ggCurrentLogicStateVisible == 0) {
					me._full_floor2down.style.visibility=(Number(me._full_floor2down.style.opacity)>0||!me._full_floor2down.style.opacity)?'inherit':'hidden';
					me._full_floor2down.ggVisible=true;
				}
				else {
					me._full_floor2down.style.visibility="hidden";
					me._full_floor2down.ggVisible=false;
				}
			}
		}
		me._full_floor2down.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') - Number("1"));
			me._fullsizemap.ggChangeMap('FloorPlan01');
		}
		me._full_floor2down.ggUpdatePosition=function (useTransition) {
		}
		me._fullmapbar.appendChild(me._full_floor2down);
		el=me._full_floor3down=document.createElement('div');
		els=me._full_floor3down__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Full Floor-3-Down";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='left : 20px;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Down";
		el.appendChild(els);
		me._full_floor3down.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._full_floor3down.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 3))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._full_floor3down.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._full_floor3down.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._full_floor3down.style[domTransition]='';
				if (me._full_floor3down.ggCurrentLogicStateVisible == 0) {
					me._full_floor3down.style.visibility=(Number(me._full_floor3down.style.opacity)>0||!me._full_floor3down.style.opacity)?'inherit':'hidden';
					me._full_floor3down.ggVisible=true;
				}
				else {
					me._full_floor3down.style.visibility="hidden";
					me._full_floor3down.ggVisible=false;
				}
			}
		}
		me._full_floor3down.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') - Number("1"));
			me._fullsizemap.ggChangeMap('FloorPlan02');
		}
		me._full_floor3down.ggUpdatePosition=function (useTransition) {
		}
		me._fullmapbar.appendChild(me._full_floor3down);
		el=me._full_floor4down=document.createElement('div');
		els=me._full_floor4down__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Full Floor-4-Down";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='left : 20px;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Down";
		el.appendChild(els);
		me._full_floor4down.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._full_floor4down.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 4))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._full_floor4down.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._full_floor4down.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._full_floor4down.style[domTransition]='';
				if (me._full_floor4down.ggCurrentLogicStateVisible == 0) {
					me._full_floor4down.style.visibility=(Number(me._full_floor4down.style.opacity)>0||!me._full_floor4down.style.opacity)?'inherit':'hidden';
					me._full_floor4down.ggVisible=true;
				}
				else {
					me._full_floor4down.style.visibility="hidden";
					me._full_floor4down.ggVisible=false;
				}
			}
		}
		me._full_floor4down.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') - Number("1"));
			me._fullsizemap.ggChangeMap('FloorPlan03');
		}
		me._full_floor4down.ggUpdatePosition=function (useTransition) {
		}
		me._fullmapbar.appendChild(me._full_floor4down);
		el=me._full_floor5down=document.createElement('div');
		els=me._full_floor5down__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Full Floor-5-Down";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='left : 20px;';
		hs+='position : absolute;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Down";
		el.appendChild(els);
		me._full_floor5down.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._full_floor5down.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 5))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._full_floor5down.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._full_floor5down.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._full_floor5down.style[domTransition]='';
				if (me._full_floor5down.ggCurrentLogicStateVisible == 0) {
					me._full_floor5down.style.visibility=(Number(me._full_floor5down.style.opacity)>0||!me._full_floor5down.style.opacity)?'inherit':'hidden';
					me._full_floor5down.ggVisible=true;
				}
				else {
					me._full_floor5down.style.visibility="hidden";
					me._full_floor5down.ggVisible=false;
				}
			}
		}
		me._full_floor5down.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') - Number("1"));
			me._fullsizemap.ggChangeMap('FloorPlan04');
		}
		me._full_floor5down.ggUpdatePosition=function (useTransition) {
		}
		me._fullmapbar.appendChild(me._full_floor5down);
		el=me._full_floor1up=document.createElement('div');
		els=me._full_floor1up__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Full Floor-1-Up";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='position : absolute;';
		hs+='right : 20px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='right: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Up";
		el.appendChild(els);
		me._full_floor1up.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._full_floor1up.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 1)) && 
				((player.getVariableValue('total_floors') > 1))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._full_floor1up.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._full_floor1up.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._full_floor1up.style[domTransition]='';
				if (me._full_floor1up.ggCurrentLogicStateVisible == 0) {
					me._full_floor1up.style.visibility=(Number(me._full_floor1up.style.opacity)>0||!me._full_floor1up.style.opacity)?'inherit':'hidden';
					me._full_floor1up.ggVisible=true;
				}
				else {
					me._full_floor1up.style.visibility="hidden";
					me._full_floor1up.ggVisible=false;
				}
			}
		}
		me._full_floor1up.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') + Number("1"));
			me._fullsizemap.ggChangeMap('FloorPlan02');
		}
		me._full_floor1up.ggUpdatePosition=function (useTransition) {
		}
		me._fullmapbar.appendChild(me._full_floor1up);
		el=me._full_floor2up=document.createElement('div');
		els=me._full_floor2up__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Full Floor-2-Up";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='position : absolute;';
		hs+='right : 20px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='right: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Up";
		el.appendChild(els);
		me._full_floor2up.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._full_floor2up.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 2)) && 
				((player.getVariableValue('total_floors') > 2))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._full_floor2up.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._full_floor2up.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._full_floor2up.style[domTransition]='';
				if (me._full_floor2up.ggCurrentLogicStateVisible == 0) {
					me._full_floor2up.style.visibility=(Number(me._full_floor2up.style.opacity)>0||!me._full_floor2up.style.opacity)?'inherit':'hidden';
					me._full_floor2up.ggVisible=true;
				}
				else {
					me._full_floor2up.style.visibility="hidden";
					me._full_floor2up.ggVisible=false;
				}
			}
		}
		me._full_floor2up.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') + Number("1"));
			me._fullsizemap.ggChangeMap('FloorPlan03');
		}
		me._full_floor2up.ggUpdatePosition=function (useTransition) {
		}
		me._fullmapbar.appendChild(me._full_floor2up);
		el=me._full_floor3up=document.createElement('div');
		els=me._full_floor3up__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Full Floor-3-Up";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='position : absolute;';
		hs+='right : 20px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='right: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Up";
		el.appendChild(els);
		me._full_floor3up.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._full_floor3up.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 3)) && 
				((player.getVariableValue('total_floors') > 3))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._full_floor3up.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._full_floor3up.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._full_floor3up.style[domTransition]='';
				if (me._full_floor3up.ggCurrentLogicStateVisible == 0) {
					me._full_floor3up.style.visibility=(Number(me._full_floor3up.style.opacity)>0||!me._full_floor3up.style.opacity)?'inherit':'hidden';
					me._full_floor3up.ggVisible=true;
				}
				else {
					me._full_floor3up.style.visibility="hidden";
					me._full_floor3up.ggVisible=false;
				}
			}
		}
		me._full_floor3up.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') + Number("1"));
			me._fullsizemap.ggChangeMap('FloorPlan04');
		}
		me._full_floor3up.ggUpdatePosition=function (useTransition) {
		}
		me._fullmapbar.appendChild(me._full_floor3up);
		el=me._full_floor4up=document.createElement('div');
		els=me._full_floor4up__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Full Floor-4-Up";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 5px;';
		hs+='height : 23px;';
		hs+='position : absolute;';
		hs+='right : 20px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='right: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 100px;';
		hs+='height: 23px;';
		hs+='border: 0px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="Floor Up";
		el.appendChild(els);
		me._full_floor4up.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._full_floor4up.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('current_floor') == 4)) && 
				((player.getVariableValue('total_floors') > 4))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._full_floor4up.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._full_floor4up.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._full_floor4up.style[domTransition]='';
				if (me._full_floor4up.ggCurrentLogicStateVisible == 0) {
					me._full_floor4up.style.visibility=(Number(me._full_floor4up.style.opacity)>0||!me._full_floor4up.style.opacity)?'inherit':'hidden';
					me._full_floor4up.ggVisible=true;
				}
				else {
					me._full_floor4up.style.visibility="hidden";
					me._full_floor4up.ggVisible=false;
				}
			}
		}
		me._full_floor4up.onclick=function (e) {
			player.setVariableValue('current_floor', player.getVariableValue('current_floor') + Number("1"));
			me._fullsizemap.ggChangeMap('FloorPlan05');
		}
		me._full_floor4up.ggUpdatePosition=function (useTransition) {
		}
		me._fullmapbar.appendChild(me._full_floor4up);
		me.divSkin.appendChild(me._fullmapbar);
		el=me._dev_menu=document.createElement('div');
		els=me._dev_menu__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Dev Menu";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 300px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: 300px;';
		hs+='height: 300px;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: pre-wrap;';
		hs+='padding: 17px 18px 17px 18px;';
		hs+='overflow: hidden;';
		hs+='overflow-y: auto;';
		els.setAttribute('style',hs);
		me._dev_menu.ggUpdateText=function() {
			var hs="Node Counter: "+player.getVariableValue('node_counter')+"<br\/>Node: "+player.getCurrentNode()+"<br\/>Map: "+player.getVariableValue('map')+"<br\/>Minimap: "+player.getVariableValue('minimap')+"<br\/>Showmap: "+player.getVariableValue('showmap')+"<br\/>Currnet Floor: "+player.getVariableValue('current_floor');
			if (hs!=this.ggText) {
				this.ggText=hs;
				this.ggTextDiv.innerHTML=hs;
				if (this.ggUpdatePosition) this.ggUpdatePosition();
			}
		}
		me._dev_menu.ggUpdateText();
		player.addListener('timer', function() {
			me._dev_menu.ggUpdateText();
		});
		el.appendChild(els);
		me._dev_menu.ggIsActive=function() {
			return false;
		}
		el.ggElementNodeId=function() {
			return player.getCurrentNode();
		}
		me._dev_menu.onclick=function (e) {
			me._dev_menu.style[domTransition]='none';
			me._dev_menu.style.visibility='hidden';
			me._dev_menu.ggVisible=false;
		}
		me._dev_menu.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me.divSkin.appendChild(me._dev_menu);
		gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Tour Start'
});
		me._popup_video_file.ggVideoSource = 'media/';
		me._popup_video_file.ggVideoNotLoaded = true;
		me._minimap.ggMarkerInstances=[];
		me._minimap.ggMapId = 'googlesatellite';
		me._minimap.ggLastNodeId=null;
		me._minimap.ggMarkerArray=[];
		me._minimap.ggGoogleMarkerArray=[];
		me._minimap.ggLastZoom = -1;
		me._minimap.ggRadar={ lastFov : -1, lastPan : -1, lastZoom : -1,activeNodeLatLng : null, poly : null }
		me._minimap.ggRadar.update=function() {
			if ((typeof google !== 'object') || (typeof google.maps !== 'object')) return;
			var radar=me._minimap.ggRadar;
			var map=me._minimap.ggMap;
			if (!map) return;
			var d2r = Math.PI/180 ;
			var r2d = 180/Math.PI ;
			var fov = player.getFov();
			var pan = player.getPanNorth();
			var zoom = map.getZoom();
			var gps;
			if (player.getMapType(me._minimap.ggMapId) == 'web') {
				gps=player.getNodeLatLng();
			} else {
				gps=player.getNodeMapCoords(null, me._minimap.ggMapId);
				pan -= me._minimap.ggFloorplanNorth;
			}
			var filterpassed = true;
			var currentId = player.getCurrentNode();
			if (me._minimap.ggFilteredIds.length > 0 && me._minimap.ggFilteredIds.indexOf(currentId) == -1) filterpassed = false;
			if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0)) && filterpassed) {
				if (zoom<6) zoom = 6; // avoid large radar beams on world map
				if ((radar.poly) && (fov==radar.lastFov) && (pan==radar.lastPan) && (zoom==radar.lastZoom) && (gps[0]==radar.activeNodeLatLng.lat()) && (gps[1]==radar.activeNodeLatLng.lng())) return; 
				radar.lastPan=pan;radar.lastFov=fov;radar.lastZoom=zoom;
				radar.activeNodeLatLng = new google.maps.LatLng(gps[0], gps[1]);
				var tileDeg = 360.0 / Math.pow(2, zoom);
				var rLng = tileDeg * 0.292969;
				var rLat = rLng * Math.cos(radar.activeNodeLatLng.lat() * d2r);
				var radar_path = [];
				radar_path.push(radar.activeNodeLatLng);
				var segments=5;
				for (i=-segments; i<=segments; i++) {
					var angle = (fov / (2*segments)) * i;
					var x = -rLng * Math.sin((pan+angle)*d2r) + radar.activeNodeLatLng.lng();
					var y =  rLat * Math.cos((pan+angle)*d2r) + radar.activeNodeLatLng.lat();
					radar_path.push(new google.maps.LatLng(y, x));
				}
				if (radar.poly) {
					radar.poly.setMap(null);
					radar.poly = null;
				}
				radar.poly = new google.maps.Polygon({
					paths: radar_path,
					strokeColor: '#eb6d1f',
					strokeOpacity: 0.8,
					strokeWeight: 1,
					fillColor: '#eb6d1f',
					fillOpacity: 0.35
				});
				radar.poly.setMap(map);
			} else {
				if (radar) {
					activeNodeLatLng = new google.maps.LatLng(0,0);
					if (radar.poly) {
						radar.poly.setMap(null);
						radar.poly = null;
					}
				}
			}
		}
		me._minimap.ggTileAvailable=function(x, y, z) {
			var mapDetails = player.getMapDetails(me._minimap.ggMapId);
			if (z < 7 || z > 7 + (mapDetails['zoomlevels'] - 1)) return false;
			var mapAR = mapDetails['width'] / mapDetails['height'];
			if (mapDetails['width'] >= mapDetails['height']) {
			var tilesInX = Math.pow(2, z - 7);
			var tilesInY = Math.ceil(tilesInX / mapAR);
			} else {
				var tilesInY = Math.pow(2, z - 7);
				var tilesInX = Math.ceil(tilesInY * mapAR);
			}
			var tilesXStart = Math.pow(2, z - 1);
			var tilesYStart = tilesXStart;
			var tilesXEnd = tilesXStart + tilesInX - 1;
			var tilesYEnd = tilesYStart + tilesInY - 1;
			if (x < tilesXStart || x > tilesXEnd || y < tilesYStart || y > tilesYEnd) return false;
			return true;
		}
		me._minimap.ggInitMap=function(keepZoom) {
			me._minimap.ggMapNotLoaded = false;
			var mapType = player.getMapType(me._minimap.ggMapId);
			var mapDetails = player.getMapDetails(me._minimap.ggMapId);
			if (mapType == 'file') {
				me._minimap.style.backgroundColor = mapDetails['bgcolor'];
				me._minimap.ggFloorplanNorth = mapDetails['floorplannorth'];
			} else {
				me._minimap.style.backgroundColor = '#fff';
			}
			var gps;
			if (player.getMapType(me._minimap.ggMapId) == 'web') {
				gps=player.getNodeLatLng();
			} else {
				gps=player.getNodeMapCoords(null, me._minimap.ggMapId);
			}
			if ((typeof google !== 'object') || (typeof google.maps !== 'object')) return;
			if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0))) {
				activeNodeLatLng = new google.maps.LatLng(gps[0], gps[1]);
			} else {
				activeNodeLatLng = new google.maps.LatLng(0,0);
			}
			if (mapType == 'web') {
				var mapTypeId;
				if (me._minimap.ggMapId == 'googleroadmap') {
					mapTypeId = google.maps.MapTypeId.ROADMAP;
				} else if (me._minimap.ggMapId == 'googlehybrid') {
					mapTypeId = google.maps.MapTypeId.HYBRID;
				} else if (me._minimap.ggMapId == 'googlesatellite') {
					mapTypeId = google.maps.MapTypeId.SATELLITE;
				} else if (me._minimap.ggMapId == 'googleterrain') {
					mapTypeId = google.maps.MapTypeId.TERRAIN;
				} else {
					mapTypeId = mapDetails['mapprovider'];
				}
				if (me._minimap.ggLastZoom == -1) me._minimap.ggLastZoom = 14;
				var initZoom = keepZoom ? me._minimap.ggLastZoom : 14;
				var mapOptions = {
					zoom: initZoom,
					center: activeNodeLatLng,
					mapTypeId: mapTypeId,
					disableDefaultUI: true,
					fullscreenControl: false,
					mapTypeControl: false,
					streetViewControl: false
				};
				me._minimap.ggMap = new google.maps.Map(me._minimap, mapOptions);
				if (mapTypeId == 'googlecustomstyle') {
					var styledMapType = new google.maps.StyledMapType(JSON.parse(mapDetails['googlecustomstylecode']), {name: 'Styled Map'});
					me._minimap.ggMap.mapTypes.set('styled_map', styledMapType);
					me._minimap.ggMap.setMapTypeId('styled_map');
				}
				if (mapTypeId == 'openstreetmap') {
					me._minimap.ggMap.mapTypes.set('openstreetmap', new google.maps.ImageMapType({
						getTileUrl: function(coord, zoom) {
							if (mapDetails['mapstyle'] == 'streets') {
								return 'https://tile.openstreetmap.org/' + zoom + '/' + coord.x + '/' + coord.y + '.png';
							} else if (mapDetails['mapstyle'] == 'outdoors') {
								return 'https://a.tile.opentopomap.org/' + zoom + '/' + coord.x + '/' + coord.y + '.png';
							}
						},
						tileSize: new google.maps.Size(256, 256),
						name: mapDetails['title'],
						maxZoom: mapDetails['mapstyle'] == 'outdoors' ? 17 : 18
					}));
				}
				if (mapTypeId == 'mapbox') {
					me._minimap.ggMap.mapTypes.set('mapbox', new google.maps.ImageMapType({
						getTileUrl: function(coord, zoom) {
							if (mapDetails['styleurl'] == '') {
								if (mapDetails['mapstyle'] == 'satellite') {
									return 'https://api.mapbox.com/v4/mapbox.' + mapDetails['mapstyle'] + '/' + zoom + '/' + coord.x + '/' + coord.y + '@2x.png?access_token=' + mapDetails['mapkey'];
								} else {
									return 'https://api.mapbox.com/styles/v1/mapbox/' + mapDetails['mapstyle'] + '-v11/tiles/256/' + zoom + '/' + coord.x + '/' + coord.y + '@2x?access_token=' + mapDetails['mapkey'];
								}
							} else {
								var styleurlstring = mapDetails['styleurl'];
								styleurlstring = styleurlstring.slice(styleurlstring.indexOf('styles/') + 7);
								return 'https://api.mapbox.com/styles/v1/' + styleurlstring + '/tiles/256/' + zoom + '/' + coord.x + '/' + coord.y + '@2x?access_token=' + mapDetails['mapkey'];
							}
						},
						tileSize: new google.maps.Size(256, 256),
						name: mapDetails['title'],
						maxZoom: 18
					}));
				}
				if (mapTypeId == 'custom') {
					me._minimap.ggMap.mapTypes.set('custom', new google.maps.ImageMapType({
						getTileUrl: function(coord, zoom) {
							var urlString = mapDetails['mapurltemplate'];
							urlString = urlString.replace('{s}', 'a');
							urlString = urlString.replace('{z}', zoom);
							urlString = urlString.replace('{x}', coord.x);
							urlString = urlString.replace('{y}', coord.y);
							return urlString;
						},
						tileSize: new google.maps.Size(256, 256),
						name: mapDetails['title'],
						maxZoom: mapDetails['mapmaxzoom']
					}));
				}
				me._minimap.ggNodeChange();
				google.maps.event.addListener(me._minimap.ggMap, 'idle', function(){
					me.updateSize(me._minimap);
				});
			} else if (mapType == 'file') {
				if (me._minimap.ggLastZoom == -1) me._minimap.ggLastZoom = 7;
				var initZoom = keepZoom ? me._minimap.ggLastZoom : 7;
				var mapOptions = {
				  backgroundColor: mapDetails['bgcolor'],
					zoom: initZoom,
					minZoom: 7,
					maxZoom: 7 + (mapDetails['zoomlevels'] - 1) + 0,
					center: activeNodeLatLng,
					disableDefaultUI: true,
					fullscreenControl: false,
					mapTypeControl: false,
					streetViewControl: false
				};
				me._minimap.ggMap = new google.maps.Map(me._minimap, mapOptions);
				var customMapType = new google.maps.ImageMapType({
					getTileUrl: function(coord, zoom) {
						if (me._minimap.ggTileAvailable(coord.x, coord.y, zoom)) {
							return basePath + 'images/maptiles/' + me._minimap.ggMapId + '/' + zoom + '/' + coord.x + '_' + coord.y + '.' + mapDetails['tileformat'];
						} else {
							return null;
						}
					},
					tileSize: new google.maps.Size(256, 256),
					minZoom: 7,
					maxZoom: 7 + mapDetails['zoomlevels'],
					name: mapDetails['title'],
				});
				me._minimap.ggMap.mapTypes.set(me._minimap.ggMapId, customMapType);
				me._minimap.ggMap.setMapTypeId(me._minimap.ggMapId);
				me._minimap.ggCalculateFloorplanDimInDeg(mapDetails);
				google.maps.event.addListener(me._minimap.ggMap, 'center_changed', function() {
					me._minimap.ggCheckBounds(mapDetails);
				});
				google.maps.event.addListener(me._minimap.ggMap, 'zoom_changed', function() {
					me._minimap.ggCheckBounds(mapDetails);
				});
			}
		}
		me._minimap.ggClearMap=function() {
		me._minimap.ggMap = null;
		me._minimap.ggClearMapMarkers();
		me._minimap.ggMapNotLoaded = true;
		}
		me._minimap.ggClearMapMarkers=function() {
			me._minimap.ggLastActivMarker = null;
			var id,marker;
			var markers=me._minimap.ggMarkerArray;
			for (id in markers) {
				if (markers.hasOwnProperty(id)) {
					marker=markers[id];
					if (marker._div.parentNode) {
						marker._div.parentNode.removeChild(marker._div);
					}
					marker.setMap(null);
				}
			}
			me._minimap.ggMarkerArray=[];
			me._minimap.ggMarkerInstances=[];
			me._minimap.ggLastActivMarker = null;
		}
		me._minimap.ggCenterNode=function() {
			if (!me._minimap.ggMap) return;
			var gps;
			if (player.getMapType(me._minimap.ggMapId) == 'web') {
				gps=player.getNodeLatLng();
			} else {
				gps=player.getNodeMapCoords(null, me._minimap.ggMapId);
			}
			if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0))) {
				var markerLocation = new google.maps.LatLng(gps[0], gps[1]);
				me._minimap.ggMap.panTo(markerLocation);
			}
		}
		me._minimap.ggFitBounds=function(force) {
			if (me._minimap.ggMapNotLoaded) return;
			if (!me._minimap.ggMarkerBounds.isEmpty()) {
				if (me._minimap.ggMarkerInstances.length > 1 || Object.getOwnPropertyNames(me._minimap.ggGoogleMarkerArray).length > 1) {
					me._minimap.ggMap.fitBounds(me._minimap.ggMarkerBounds, 30);
				} else {
					me._minimap.ggMap.setCenter(me._minimap.ggMarkerBounds.getCenter());
					if (player.getMapType(me._minimap.ggMapId) == 'web') {
						me._minimap.ggMap.setZoom(18);
					} else {
						me._minimap.ggMap.setZoom(7);
					}
				}
			}
		}
		me._minimap.ggInitMapMarkers=function(updateMapBounds) {
			function SkinMarkerOverlay(pos, div, map) {
				this._pos = pos;
				this._div = div;
				this._map = map;
				this.setMap(map);
			}
			SkinMarkerOverlay.prototype = new google.maps.OverlayView();
			SkinMarkerOverlay.prototype.onAdd = function() {
				this.getPanes().overlayMouseTarget.appendChild(this._div);
				skin.updateSize(this._div);
			}
			SkinMarkerOverlay.prototype.draw = function() {
				var overlayProjection = this.getProjection();
				var point = this.getProjection().fromLatLngToDivPixel(this._pos);
				if (point) {
					this._div.style.left =(point.x - 15) + 'px';
					this._div.style.top =(point.y - 15) + 'px';
				}
			};
			SkinMarkerOverlay.prototype.onRemove = function() {
				this._div = null;
			};
			SkinMarkerOverlay.prototype.getPosition = function() {
				return this._pos;
			};
			me._minimap.ggClearMapMarkers();
			var ids=player.getNodeIds();
			me._minimap.ggFilteredIds = [];
			if (me._minimap.ggFilter != '') {
				var filter = me._minimap.ggFilter.split(',');
				for (i=0; i < ids.length; i++) {
					var nodeId = ids[i];
					var nodeData = player.getNodeUserdata(nodeId);
					for (var j=0; j < filter.length; j++) {
						if (nodeData['tags'].indexOf(filter[j].trim()) != -1) me._minimap.ggFilteredIds.push(nodeId);
					}
				}
				if (me._minimap.ggFilteredIds.length > 0) ids = me._minimap.ggFilteredIds;
			}
			var marker;
			var markerLocation;
			me._minimap.ggMarkerBounds = new google.maps.LatLngBounds();
			var currentId = player.getCurrentNode();
			for(var i=0;i<ids.length;i++) {
				var id=ids[i];
				var gps;
				if (player.getMapType(me._minimap.ggMapId) == 'web') {
					gps=player.getNodeLatLng(id);
				} else {
					gps=player.getNodeMapCoords(id, me._minimap.ggMapId);
				}
				if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0))) {
					markerLocation = new google.maps.LatLng(gps[0], gps[1]);
					var markerParent = new Object();
					markerParent.ggElementNodeId=function() { return id };
					var div=new SkinElement_panoroomsminimapdot_Class(me, markerParent);
					marker=new SkinMarkerOverlay(markerLocation,div._panoroomsminimapdot ,me._minimap.ggMap);

					me._minimap.ggMarkerArray[id]=marker;
					me._minimap.ggMarkerInstances.push(div);
					me._minimap.ggMarkerBounds.extend(markerLocation);
				}
			}
			if (ids.length > 1 && !me._minimap.ggMarkerBounds.isEmpty() && updateMapBounds) {
				me._minimap.ggFitBounds(false);
			}
			skin.updateSize(me._minimap);
			this.ggLastActivMarker = null;
			if (this.ggUpdateConditionNodeChange) this.ggUpdateConditionNodeChange();
			this.ggRadar.lastFov = -1;
		}
		me._minimap.ggChangeMap=function(mapId) {
			var newMapType = player.getMapType(mapId)
			if (newMapType == 'file') {
				return;
			}
			me._minimap.ggMapId = mapId;
			if (!me._minimap.ggMapNotLoaded) {
				if (me._minimap.ggMap) {
					me._minimap.ggLastZoom = me._minimap.ggMap.getZoom();
				}
				me._minimap.ggClearMap();
				me._minimap.ggInitMap(true);
				me._minimap.ggInitMapMarkers(false);
			}
		}
		me._minimap.ggCalculateFloorplanDimInDeg=function(mapDetails) {
			var mapAR = mapDetails['width'] / mapDetails['height'];
			var tileInDeg = 360.0 / Math.pow(2, 7);
			if (mapDetails['width'] >= mapDetails['height']) {
				var tmpWidth = mapDetails['width'];
				while (tmpWidth > 256) {
					tmpWidth /= 2;
				}
				me._minimap.mapWidthInDeg = tileInDeg * (tmpWidth / 256);
				me._minimap.mapHeightInDeg = me._minimap.mapWidthInDeg / mapAR;
			} else {
				var tmpHeight = mapDetails['height'];
				while (tmpHeight > 256) {
					tmpHeight /= 2;
				}
				me._minimap.mapHeightInDeg = tileInDeg * (tmpHeight / 256);
				me._minimap.mapWidthInDeg = me._minimap.mapHeightInDeg * mapAR;
			}
		}
		me._minimap.ggInCheckBounds=false;
		me._minimap.ggCheckBounds=function(mapDetails) {
			if (me._minimap.ggInCheckBounds) return;
			me._minimap.ggInCheckBounds = true;
			var mapCenter = me._minimap.ggMap.getCenter();
			var currentZoom = me._minimap.ggMap.getZoom();
			var pixelInDeg = 360.0 / (Math.pow(2, currentZoom) * 256)
			var xOffset = (me._minimap.clientWidth / 2.0) * pixelInDeg;
			var yOffset = (me._minimap.clientHeight / 2.0) * pixelInDeg;
			var x = mapCenter.lng();
			var y = mapCenter.lat();
			var xTemp = x;
			var yTemp = y;
			if (me._minimap.mapWidthInDeg < me._minimap.clientWidth * pixelInDeg) {
				var xMargin = (me._minimap.clientWidth * pixelInDeg - me._minimap.mapWidthInDeg) / 2;
				if (x < me._minimap.mapWidthInDeg / 2 - xMargin) x = me._minimap.mapWidthInDeg / 2 - xMargin;
				if (x > me._minimap.mapWidthInDeg / 2 + xMargin) x = me._minimap.mapWidthInDeg / 2 + xMargin;
			} else {
				if (x > me._minimap.mapWidthInDeg - xOffset) x = me._minimap.mapWidthInDeg - xOffset;
				if (x < xOffset) x = xOffset;
			}
			if (me._minimap.mapHeightInDeg < me._minimap.clientHeight * pixelInDeg) {
				var yMargin = (me._minimap.clientHeight * pixelInDeg - me._minimap.mapHeightInDeg) / 2;
				if (y < -me._minimap.mapHeightInDeg / 2 - yMargin) y = -me._minimap.mapHeightInDeg / 2 - yMargin;
				if (y > -me._minimap.mapHeightInDeg / 2 + yMargin) y = -me._minimap.mapHeightInDeg / 2 + yMargin;
			} else {
				if (y < -me._minimap.mapHeightInDeg + yOffset) y = -me._minimap.mapHeightInDeg + yOffset;
				if (y > -yOffset) y = -yOffset;
			}
			if (x != xTemp || y != yTemp) {
				me._minimap.ggMap.setCenter(new google.maps.LatLng(y, x));
			}
			me._minimap.ggInCheckBounds = false;
		}
		me._fullsizemap.ggMarkerInstances=[];
		me._fullsizemap.ggMapId = 'FloorPlan01';
		me._fullsizemap.ggLastNodeId=null;
		me._fullsizemap.ggMarkerArray=[];
		me._fullsizemap.ggGoogleMarkerArray=[];
		me._fullsizemap.ggLastZoom = -1;
		me._fullsizemap.ggRadar={ lastFov : -1, lastPan : -1, lastZoom : -1,activeNodeLatLng : null, poly : null }
		me._fullsizemap.ggRadar.update=function() {
			var radar=me._fullsizemap.ggRadar;
			var map=me._fullsizemap.ggMap;
			if (!map) return;
			var d2r = Math.PI/180 ;
			var r2d = 180/Math.PI ;
			var fov = player.getFov();
			var pan = player.getPanNorth();
			var zoom = map.getZoom();
			var gps;
			if (player.getMapType(me._fullsizemap.ggMapId) == 'web') {
				gps=player.getNodeLatLng();
			} else {
				gps=player.getNodeMapCoords(null, me._fullsizemap.ggMapId);
				pan -= me._fullsizemap.ggFloorplanNorth;
			}
			var filterpassed = true;
			var currentId = player.getCurrentNode();
			if (me._fullsizemap.ggFilteredIds.length > 0 && me._fullsizemap.ggFilteredIds.indexOf(currentId) == -1) filterpassed = false;
			if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0)) && filterpassed) {
				if (zoom<6) zoom = 6; // avoid large radar beams on world map
				if ((radar.poly) && (fov==radar.lastFov) && (pan==radar.lastPan) && (zoom==radar.lastZoom) && (gps[0]==radar.activeNodeLatLng.lat) && (gps[1]==radar.activeNodeLatLng.lng)) return; 
				radar.lastPan=pan;radar.lastFov=fov;radar.lastZoom=zoom;
				radar.activeNodeLatLng = L.latLng(gps[0], gps[1]);
				var tileDeg = 360.0 / Math.pow(2, zoom);
				var rLng = tileDeg * 0.292969;
				var rLat = rLng * Math.cos(radar.activeNodeLatLng.lat * d2r);
				var radar_path = [];
				radar_path.push(radar.activeNodeLatLng);
				var segments=5;
				for (i=-segments; i<=segments; i++) {
					var angle = (fov / (2*segments)) * i;
					var x = -rLng * Math.sin((pan+angle)*d2r) + radar.activeNodeLatLng.lng;
					var y =  rLat * Math.cos((pan+angle)*d2r) + radar.activeNodeLatLng.lat;
					radar_path.push(L.latLng(y, x));
				}
				if (radar.poly) {
					radar.poly.removeFrom(map);
					radar.poly = null;
				}
				radar.poly = L.polygon(radar_path, {
					color: '#eb6d1f',
					opacity: 0.8,
					weight: 1,
					fill: true,
					fillColor: '#eb6d1f',
					fillOpacity: 0.35
				}).addTo(map);
			} else {
				if (radar) {
					activeNodeLatLng = L.latLng(0,0);
					if (radar.poly) {
						radar.poly.removeFrom(map);
						radar.poly = null;
					}
				}
			}
		}
		me._fullsizemap.ggTileAvailable=function(x, y, z) {
			var mapDetails = player.getMapDetails(me._fullsizemap.ggMapId);
			if (z < 7 || z > 7 + (mapDetails['zoomlevels'] - 1)) return false;
			var mapAR = mapDetails['width'] / mapDetails['height'];
			if (mapDetails['width'] >= mapDetails['height']) {
			var tilesInX = Math.pow(2, z - 7);
			var tilesInY = Math.ceil(tilesInX / mapAR);
			} else {
				var tilesInY = Math.pow(2, z - 7);
				var tilesInX = Math.ceil(tilesInY * mapAR);
			}
			var tilesXStart = Math.pow(2, z - 1);
			var tilesYStart = tilesXStart;
			var tilesXEnd = tilesXStart + tilesInX - 1;
			var tilesYEnd = tilesYStart + tilesInY - 1;
			if (x < tilesXStart || x > tilesXEnd || y < tilesYStart || y > tilesYEnd) return false;
			return true;
		}
		me._fullsizemap.ggInitMap=function(keepZoom) {
			me._fullsizemap.ggMapNotLoaded = false;
			var mapType = player.getMapType(me._fullsizemap.ggMapId);
			var mapDetails = player.getMapDetails(me._fullsizemap.ggMapId);
			if (mapType == 'file') {
				me._fullsizemap.style.backgroundColor = mapDetails['bgcolor'];
				me._fullsizemap.ggFloorplanNorth = mapDetails['floorplannorth'];
			} else {
				me._fullsizemap.style.backgroundColor = '#fff';
			}
			var gps;
			if (player.getMapType(me._fullsizemap.ggMapId) == 'web') {
				gps=player.getNodeLatLng();
			} else {
				gps=player.getNodeMapCoords(null, me._fullsizemap.ggMapId);
			}
			if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0))) {
				activeNodeLatLng = L.latLng(gps[0], gps[1]);
			} else {
				activeNodeLatLng = L.latLng(0,0);
			}
			if (mapType == 'web') {
				if (me._fullsizemap.ggLastZoom == -1) me._fullsizemap.ggLastZoom = 14;
				var initZoom = keepZoom ? me._fullsizemap.ggLastZoom : 14;
				var maxZoom = ((mapDetails['mapprovider'] == 'openstreetmap') && (mapDetails['mapstyle'] == 'outdoors')) ? 17 : 18;
				if (mapDetails['mapprovider'] == 'custom') maxZoom = mapDetails['mapmaxzoom'];
				var mapOptions = {
					zoom: initZoom,
					zoomControl: false,
					attributionControl: false,
					maxZoom: maxZoom
				};
				me._fullsizemap.ggMap = L.map(me._fullsizemap, mapOptions).setView(activeNodeLatLng, initZoom);
				if (mapDetails['mapprovider'] == 'openstreetmap') {
					if (mapDetails['mapstyle'] == 'streets') {
						L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',{}).addTo(me._fullsizemap.ggMap);
					} else if (mapDetails['mapstyle'] == 'outdoors') {
						L.tileLayer('https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png',{}).addTo(me._fullsizemap.ggMap);
					}
				} else if (mapDetails['mapprovider'] == 'mapbox') {
					if (mapDetails['styleurl'] == '') {
						if (mapDetails['mapstyle'] == 'satellite') {
							L.tileLayer('https://api.mapbox.com/v4/mapbox.' + mapDetails['mapstyle'] +  '/{z}/{x}/{y}@2x.png?access_token=' + mapDetails['mapkey'],{}).addTo(me._fullsizemap.ggMap);
						} else {
							L.tileLayer('https://api.mapbox.com/styles/v1/mapbox/' + mapDetails['mapstyle'] +  '-v11/tiles/{z}/{x}/{y}@2x?access_token=' + mapDetails['mapkey'],{ tileSize: 512, zoomOffset: -1 }).addTo(me._fullsizemap.ggMap);
						}
					} else {
						var styleurlstring = mapDetails['styleurl'];
						styleurlstring = styleurlstring.slice(styleurlstring.indexOf('styles/') + 7);
						L.tileLayer('https://api.mapbox.com/styles/v1/' + styleurlstring + '/tiles/256/{z}/{x}/{y}@2x?access_token=' + mapDetails['mapkey'],{}).addTo(me._fullsizemap.ggMap);
					}
				} else if (mapDetails['mapprovider'] == 'custom') {
					L.tileLayer(mapDetails['mapurltemplate'],{ maxZoom: mapDetails['mapmaxzoom']}).addTo(me._fullsizemap.ggMap);
				}
			} else if (mapType == 'file') {
				me._fullsizemap.ggCalculateFloorplanDimInDeg(mapDetails);
				var mapCenter = activeNodeLatLng;
				if (mapCenter.lat == 0.0 && mapCenter.lng == 0.0) {
					mapCenter.lat = -me._fullsizemap.mapHeightInDeg / 2;
					mapCenter.lng = me._fullsizemap.mapWidthInDeg / 2;
				}
				if (me._fullsizemap.ggLastZoom == -1) me._fullsizemap.ggLastZoom = 7;
				var initZoom = keepZoom ? me._fullsizemap.ggLastZoom : 7;
				var mapOptions = {
					zoom: initZoom,
					minZoom: 7,
					maxZoom: 7 + (mapDetails['zoomlevels'] - 1) + 0,
					center: mapCenter,
					zoomControl: false,
					attributionControl: false
				};
				me._fullsizemap.ggMap = L.map(me._fullsizemap, mapOptions).setView(activeNodeLatLng, initZoom);
				var MapLayer = L.TileLayer.extend({
					getTileUrl: function(coords){
						if (me._fullsizemap.ggTileAvailable(coords.x, coords.y, coords.z)) {
							return basePath + 'images/maptiles/' + me._fullsizemap.ggMapId + '/' + coords.z + '/' + coords.x + '_' + coords.y + '.' + mapDetails['tileformat'];
						} else {
							return '';
						}
					}
				});
				var mapLayer = new MapLayer();
				mapLayer.addTo(me._fullsizemap.ggMap);
				me._fullsizemap.ggMap.on('move zoom', function() {
					me._fullsizemap.ggCheckBounds(mapDetails);
				});
				me._fullsizemap.ggCheckBounds(mapDetails);
			}
		}
		me._fullsizemap.ggClearMap=function() {
		if (me._fullsizemap.ggMap) me._fullsizemap.ggMap.remove();
		me._fullsizemap.ggMap = null;
		me._fullsizemap.ggClearMapMarkers();
		me._fullsizemap.ggMapNotLoaded = true;
		}
		me._fullsizemap.ggClearMapMarkers=function() {
			me._fullsizemap.ggLastActivMarker = null;
			var id,marker;
			var markers=me._fullsizemap.ggMarkerArray;
			for (id in markers) {
				if (markers.hasOwnProperty(id)) {
					marker=markers[id];
					marker.removeFrom(me._fullsizemap.ggMap);
				}
			}
			me._fullsizemap.ggMarkerArray=[];
			me._fullsizemap.ggMarkerInstances=[];
			me._fullsizemap.ggLastActivMarker = null;
		}
		me._fullsizemap.ggCenterNode=function() {
			if (!me._fullsizemap.ggMap) return;
			var gps;
			if (player.getMapType(me._fullsizemap.ggMapId) == 'web') {
				gps=player.getNodeLatLng();
			} else {
				gps=player.getNodeMapCoords(null, me._fullsizemap.ggMapId);
			}
			if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0))) {
				var markerLocation = L.latLng(gps[0], gps[1]);
				me._fullsizemap.ggMap.panTo(markerLocation, {animate: false});
			}
		}
		me._fullsizemap.ggFitBounds=function(force) {
			if (me._fullsizemap.ggMapNotLoaded) return;
			if (me._fullsizemap.ggMarkerBounds.isValid()) {
				if (me._fullsizemap.ggMarkerInstances.length > 1 || Object.getOwnPropertyNames(me._fullsizemap.ggGoogleMarkerArray).length > 1) {
					me._fullsizemap.ggMap.zoomOut(1, {animate: false});
					me._fullsizemap.ggMap.fitBounds(me._fullsizemap.ggMarkerBounds, {padding: [30, 30], animate: false});
				} else {
					me._fullsizemap.ggMap.setView(me._fullsizemap.ggMarkerBounds.getCenter(), me._fullsizemap.ggMap.getZoom());
					if (player.getMapType(me._fullsizemap.ggMapId) == 'web') {
						me._fullsizemap.ggMap.setZoom(18);
					} else {
						me._fullsizemap.ggMap.setZoom(7);
					}
				}
			}
		}
		me._fullsizemap.ggInitMapMarkers=function(updateMapBounds) {
			L.SkinMarkerLayer = L.Layer.extend({
				initialize: function(div, pos) {
					this._div = div;
					this._pos = pos;
				},
				onAdd: function(map) {
					this.options.pane = 'markerPane';
					var pane = map.getPane(this.options.pane);
					pane.appendChild(this._div);
					this._div.style.left = -15 + 'px';
					this._div.style.top = -15 + 'px';
					this._update();
					map.on('zoomstart', this._zoomStart, this);
					map.on('zoomend', this._zoomEnd, this);
					map.on('zoomend viewreset', this._update, this);
				},
				onRemove : function(map) {
					L.DomUtil.remove(this._div);
					map.off('zoomend viewreset', this._update, this);
				},
				_zoomStart: function() {
						this._div.style.visibility = 'hidden';
				},
				_zoomEnd: function() {
						this._div.style.visibility = 'inherit';
				},
				_update : function() {
					var point = this._map.latLngToLayerPoint(this._pos);
					L.DomUtil.setPosition(this._div, point);
				}
			});
			me._fullsizemap.ggClearMapMarkers();
			var ids=player.getNodeIds();
			me._fullsizemap.ggFilteredIds = [];
			if (me._fullsizemap.ggFilter != '') {
				var filter = me._fullsizemap.ggFilter.split(',');
				for (i=0; i < ids.length; i++) {
					var nodeId = ids[i];
					var nodeData = player.getNodeUserdata(nodeId);
					for (var j=0; j < filter.length; j++) {
						if (nodeData['tags'].indexOf(filter[j].trim()) != -1) me._fullsizemap.ggFilteredIds.push(nodeId);
					}
				}
				if (me._fullsizemap.ggFilteredIds.length > 0) ids = me._fullsizemap.ggFilteredIds;
			}
			var marker;
			var markerLocation;
			me._fullsizemap.ggMarkerBounds = L.latLngBounds();
			var currentId = player.getCurrentNode();
			for(var i=0;i<ids.length;i++) {
				var id=ids[i];
				var gps;
				if (player.getMapType(me._fullsizemap.ggMapId) == 'web') {
					gps=player.getNodeLatLng(id);
				} else {
					gps=player.getNodeMapCoords(id, me._fullsizemap.ggMapId);
				}
				if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0))) {
					markerLocation = L.latLng(gps[0], gps[1]);
					var markerParent = new Object();
					markerParent.ggElementNodeId=function() { return id };
					var div=new SkinElement_panoroomsmapdot_Class(me, markerParent);
					marker=new L.SkinMarkerLayer(div._panoroomsmapdot,markerLocation);
					marker.addTo(me._fullsizemap.ggMap);
					me._fullsizemap.ggMarkerArray[id]=marker;
					me._fullsizemap.ggMarkerInstances.push(div);
					me._fullsizemap.ggMarkerBounds.extend(markerLocation);
				}
			}
			if (ids.length > 1 && me._fullsizemap.ggMarkerBounds.isValid() && updateMapBounds) {
				me._fullsizemap.ggFitBounds(false);
			}
			skin.updateSize(me._fullsizemap);
			this.ggLastActivMarker = null;
			if (this.ggUpdateConditionNodeChange) this.ggUpdateConditionNodeChange();
			this.ggRadar.lastFov = -1;
		}
		me._fullsizemap.ggChangeMap=function(mapId) {
			var newMapType = player.getMapType(mapId)
			if (newMapType == 'web') {
				return;
			}
			me._fullsizemap.ggMapId = mapId;
			if (!me._fullsizemap.ggMapNotLoaded) {
				if (me._fullsizemap.ggMap) {
					me._fullsizemap.ggLastZoom = me._fullsizemap.ggMap.getZoom();
				}
				me._fullsizemap.ggClearMap();
				me._fullsizemap.ggInitMap(true);
				me._fullsizemap.ggInitMapMarkers(false);
				var mapDetails = player.getMapDetails(me._fullsizemap.ggMapId);
				me._fullsizemap.ggCalculateFloorplanDimInDeg(mapDetails);
				me._fullsizemap.ggCheckBounds(mapDetails);
			}
		}
		me._fullsizemap.ggCalculateFloorplanDimInDeg=function(mapDetails) {
			var mapAR = mapDetails['width'] / mapDetails['height'];
			var tileInDeg = 360.0 / Math.pow(2, 7);
			if (mapDetails['width'] >= mapDetails['height']) {
				var tmpWidth = mapDetails['width'];
				while (tmpWidth > 256) {
					tmpWidth /= 2;
				}
				me._fullsizemap.mapWidthInDeg = tileInDeg * (tmpWidth / 256);
				me._fullsizemap.mapHeightInDeg = me._fullsizemap.mapWidthInDeg / mapAR;
			} else {
				var tmpHeight = mapDetails['height'];
				while (tmpHeight > 256) {
					tmpHeight /= 2;
				}
				me._fullsizemap.mapHeightInDeg = tileInDeg * (tmpHeight / 256);
				me._fullsizemap.mapWidthInDeg = me._fullsizemap.mapHeightInDeg * mapAR;
			}
		}
		me._fullsizemap.ggInCheckBounds=false;
		me._fullsizemap.ggCheckBounds=function(mapDetails) {
			if (me._fullsizemap.ggInCheckBounds) return;
			me._fullsizemap.ggInCheckBounds = true;
			var mapCenter = me._fullsizemap.ggMap.getCenter();
			var currentZoom = me._fullsizemap.ggMap.getZoom();
			var pixelInDeg = 360.0 / (Math.pow(2, currentZoom) * 256)
			var xOffset = (me._fullsizemap.clientWidth / 2.0) * pixelInDeg;
			var yOffset = (me._fullsizemap.clientHeight / 2.0) * pixelInDeg;
			var x = mapCenter.lng;
			var y = mapCenter.lat;
			var xTemp = x;
			var yTemp = y;
			if (me._fullsizemap.mapWidthInDeg < me._fullsizemap.clientWidth * pixelInDeg) {
				var xMargin = (me._fullsizemap.clientWidth * pixelInDeg - me._fullsizemap.mapWidthInDeg) / 2;
				if (x < me._fullsizemap.mapWidthInDeg / 2 - xMargin) x = me._fullsizemap.mapWidthInDeg / 2 - xMargin;
				if (x > me._fullsizemap.mapWidthInDeg / 2 + xMargin) x = me._fullsizemap.mapWidthInDeg / 2 + xMargin;
			} else {
				if (x > me._fullsizemap.mapWidthInDeg - xOffset) x = me._fullsizemap.mapWidthInDeg - xOffset;
				if (x < xOffset) x = xOffset;
			}
			if (me._fullsizemap.mapHeightInDeg < me._fullsizemap.clientHeight * pixelInDeg) {
				var yMargin = (me._fullsizemap.clientHeight * pixelInDeg - me._fullsizemap.mapHeightInDeg) / 2;
				if (y < -me._fullsizemap.mapHeightInDeg / 2 - yMargin) y = -me._fullsizemap.mapHeightInDeg / 2 - yMargin;
				if (y > -me._fullsizemap.mapHeightInDeg / 2 + yMargin) y = -me._fullsizemap.mapHeightInDeg / 2 + yMargin;
			} else {
				if (y < -me._fullsizemap.mapHeightInDeg + yOffset) y = -me._fullsizemap.mapHeightInDeg + yOffset;
				if (y > -yOffset) y = -yOffset;
			}
			if (x != xTemp || y != yTemp) {
				var newCenter = L.latLng(y, x);
				me._fullsizemap.ggMap.setView(newCenter, me._fullsizemap.ggMap.getZoom(), {animate: false});
			}
			me._fullsizemap.ggInCheckBounds = false;
		}
		player.addListener('sizechanged', function() {
			me.updateSize(me.divSkin);
		});
		player.addListener('configloaded', function() {
			me._single_node_cloner.ggUpdate();
			me._category_cloner.ggUpdate();
			if (me._minimap.ggMapNotLoaded == false) {
				me._minimap.ggClearMap();
				me._minimap.ggInitMap(false);
				me._minimap.ggInitMapMarkers(true);
			}
			if (me._fullsizemap.ggMapNotLoaded == false) {
				me._fullsizemap.ggClearMap();
				me._fullsizemap.ggInitMap(false);
				me._fullsizemap.ggInitMapMarkers(true);
			}
		});
		player.addListener('imagesready', function() {
			me._thumbnail_scroller.ggUpdatePosition();
			me._category_scroller.ggUpdatePosition();
			if (
				(
					((me.ggUserdata.tags.indexOf("thumb") != -1)) || 
					((player.getVariableValue('category_slider') == true))
				)
			) {
				player.setVariableValue('hide_thumbnail_button', false);
			}
			if (
				(
					((player.getVariableValue('node_counter') == 0))
				)
			) {
				gtag('event', 'Node Counter', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': '0 Nodes'
});
			}
			if (
				(
					((player.getVariableValue('initial_load') == 0))
				)
			) {
				player.setVariableValue('HomeNode', me.ggUserdata.nodeid);
			}
			if (
				(
					((me.ggUserdata.tags.indexOf("no_cat") != -1)) && 
					((player.getVariableValue('initial_load') == 0))
				)
			) {
				player.setVariableValue('category_slider', false);
			}
			if (
				(
					((me.ggUserdata.tags.indexOf("no_cat") != -1)) && 
					((player.getVariableValue('initial_load') == 0))
				)
			) {
				me._single_node_cloner.ggText=me.ggUserdata.customnodeid;
				if (me._single_node_cloner.ggText=='') {
					me._single_node_cloner.ggUpdate([]);
				} else {
					me._single_node_cloner.ggUpdate(me._single_node_cloner.ggText.split(','));
				}
				skin.updateSize(skin.divSkin);
			}
			player.setVariableValue('initial_load', Number("1"));
			if (
				(
					((player.getCurrentNode() == "node37")) && 
					((player.getVariableValue('node_counter') <= 1))
				)
			||
				(
					((player.getCurrentNode() == "node42")) && 
					((player.getVariableValue('node_counter') <= 1))
				)
			) {
				player.setVariableValue('hide_all_hotspots', true);
			}
		});
	};
	this.hotspotProxyClick=function(id, url) {
	}
	this.hotspotProxyDoubleClick=function(id, url) {
	}
	me.hotspotProxyOver=function(id, url) {
	}
	me.hotspotProxyOut=function(id, url) {
	}
	me.callChildLogicBlocksHotspot_ht_node_arrow_sizechanged = function(){
		if(hotspotTemplates['ht_node_arrow']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_arrow'].length; i++) {
				if (hotspotTemplates['ht_node_arrow'][i]._hs_tt && hotspotTemplates['ht_node_arrow'][i]._hs_tt.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._hs_tt.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_arrow_changenode = function(){
		if(hotspotTemplates['ht_node_arrow']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_arrow'].length; i++) {
				if (hotspotTemplates['ht_node_arrow'][i]._chevron_white_lower && hotspotTemplates['ht_node_arrow'][i]._chevron_white_lower.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._chevron_white_lower.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._chevron_black && hotspotTemplates['ht_node_arrow'][i]._chevron_black.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._chevron_black.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._chevron_white && hotspotTemplates['ht_node_arrow'][i]._chevron_white.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._chevron_white.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._hs_preview_image && hotspotTemplates['ht_node_arrow'][i]._hs_preview_image.logicBlock_alpha) {
					hotspotTemplates['ht_node_arrow'][i]._hs_preview_image.logicBlock_alpha();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d && hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._ht_node_customimage && hotspotTemplates['ht_node_arrow'][i]._ht_node_customimage.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._ht_node_customimage.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._hs_tt && hotspotTemplates['ht_node_arrow'][i]._hs_tt.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._hs_tt.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_arrow_configloaded = function(){
		if(hotspotTemplates['ht_node_arrow']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_arrow'].length; i++) {
				if (hotspotTemplates['ht_node_arrow'][i]._hs_preview_image && hotspotTemplates['ht_node_arrow'][i]._hs_preview_image.logicBlock_alpha) {
					hotspotTemplates['ht_node_arrow'][i]._hs_preview_image.logicBlock_alpha();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d && hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_arrow_mouseover = function(){
		if(hotspotTemplates['ht_node_arrow']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_arrow'].length; i++) {
				if (hotspotTemplates['ht_node_arrow'][i]._chevron_white_lower && hotspotTemplates['ht_node_arrow'][i]._chevron_white_lower.logicBlock_alpha) {
					hotspotTemplates['ht_node_arrow'][i]._chevron_white_lower.logicBlock_alpha();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._chevron_black && hotspotTemplates['ht_node_arrow'][i]._chevron_black.logicBlock_alpha) {
					hotspotTemplates['ht_node_arrow'][i]._chevron_black.logicBlock_alpha();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._chevron_white && hotspotTemplates['ht_node_arrow'][i]._chevron_white.logicBlock_alpha) {
					hotspotTemplates['ht_node_arrow'][i]._chevron_white.logicBlock_alpha();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._hs_preview_image && hotspotTemplates['ht_node_arrow'][i]._hs_preview_image.logicBlock_alpha) {
					hotspotTemplates['ht_node_arrow'][i]._hs_preview_image.logicBlock_alpha();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d && hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_arrow_active = function(){
		if(hotspotTemplates['ht_node_arrow']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_arrow'].length; i++) {
				if (hotspotTemplates['ht_node_arrow'][i]._hs_visited && hotspotTemplates['ht_node_arrow'][i]._hs_visited.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._hs_visited.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_arrow_changevisitednodes = function(){
		if(hotspotTemplates['ht_node_arrow']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_arrow'].length; i++) {
				if (hotspotTemplates['ht_node_arrow'][i]._hs_visited && hotspotTemplates['ht_node_arrow'][i]._hs_visited.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._hs_visited.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_arrow_activehotspotchanged = function(){
		if(hotspotTemplates['ht_node_arrow']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_arrow'].length; i++) {
				if (hotspotTemplates['ht_node_arrow'][i]._chevron_white_lower && hotspotTemplates['ht_node_arrow'][i]._chevron_white_lower.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._chevron_white_lower.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._chevron_black && hotspotTemplates['ht_node_arrow'][i]._chevron_black.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._chevron_black.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._chevron_white && hotspotTemplates['ht_node_arrow'][i]._chevron_white.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._chevron_white.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d && hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._ht_node_customimage && hotspotTemplates['ht_node_arrow'][i]._ht_node_customimage.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._ht_node_customimage.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._hs_tt && hotspotTemplates['ht_node_arrow'][i]._hs_tt.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._hs_tt.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_arrow_varchanged_opt_3d_preview = function(){
		if(hotspotTemplates['ht_node_arrow']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_arrow'].length; i++) {
				if (hotspotTemplates['ht_node_arrow'][i]._hs_preview_image && hotspotTemplates['ht_node_arrow'][i]._hs_preview_image.logicBlock_alpha) {
					hotspotTemplates['ht_node_arrow'][i]._hs_preview_image.logicBlock_alpha();
				}
				if (hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d && hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d.logicBlock_visible) {
					hotspotTemplates['ht_node_arrow'][i]._tt_ht_3d.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_changenode = function(){
		if(hotspotTemplates['ht_node']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
				if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible) {
					hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node'][i]._hotspoticon && hotspotTemplates['ht_node'][i]._hotspoticon.logicBlock_scaling) {
					hotspotTemplates['ht_node'][i]._hotspoticon.logicBlock_scaling();
				}
				if (hotspotTemplates['ht_node'][i]._hotspottitle && hotspotTemplates['ht_node'][i]._hotspottitle.logicBlock_alpha) {
					hotspotTemplates['ht_node'][i]._hotspottitle.logicBlock_alpha();
				}
				if (hotspotTemplates['ht_node'][i]._hotspottitle && hotspotTemplates['ht_node'][i]._hotspottitle.logicBlock_visible) {
					hotspotTemplates['ht_node'][i]._hotspottitle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_configloaded = function(){
		if(hotspotTemplates['ht_node']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
				if (hotspotTemplates['ht_node'][i]._hotspottitle && hotspotTemplates['ht_node'][i]._hotspottitle.logicBlock_visible) {
					hotspotTemplates['ht_node'][i]._hotspottitle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_activehotspotchanged = function(){
		if(hotspotTemplates['ht_node']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
				if (hotspotTemplates['ht_node'][i]._hotspottitle && hotspotTemplates['ht_node'][i]._hotspottitle.logicBlock_visible) {
					hotspotTemplates['ht_node'][i]._hotspottitle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_node']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
				if (hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible) {
					hotspotTemplates['ht_node'][i]._ht_node.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_node']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
				if (hotspotTemplates['ht_node'][i]._hotspoticon && hotspotTemplates['ht_node'][i]._hotspoticon.logicBlock_scaling) {
					hotspotTemplates['ht_node'][i]._hotspoticon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_node']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
				if (hotspotTemplates['ht_node'][i]._hotspoticon && hotspotTemplates['ht_node'][i]._hotspoticon.logicBlock_scaling) {
					hotspotTemplates['ht_node'][i]._hotspoticon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_varchanged_nudge_viewer = function(){
		if(hotspotTemplates['ht_node']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
				if (hotspotTemplates['ht_node'][i]._hotspottitle && hotspotTemplates['ht_node'][i]._hotspottitle.logicBlock_alpha) {
					hotspotTemplates['ht_node'][i]._hotspottitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_north_changenode = function(){
		if(hotspotTemplates['ht_node_North']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_North'].length; i++) {
				if (hotspotTemplates['ht_node_North'][i]._ht_node_north.logicBlock_visible) {
					hotspotTemplates['ht_node_North'][i]._ht_node_north.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_North'][i]._hotspotnicon && hotspotTemplates['ht_node_North'][i]._hotspotnicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_North'][i]._hotspotnicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_north_configloaded = function(){
		if(hotspotTemplates['ht_node_North']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_North'].length; i++) {
				if (hotspotTemplates['ht_node_North'][i]._hotspotntitle && hotspotTemplates['ht_node_North'][i]._hotspotntitle.logicBlock_visible) {
					hotspotTemplates['ht_node_North'][i]._hotspotntitle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_north_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_node_North']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_North'].length; i++) {
				if (hotspotTemplates['ht_node_North'][i]._ht_node_north.logicBlock_visible) {
					hotspotTemplates['ht_node_North'][i]._ht_node_north.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_north_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_node_North']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_North'].length; i++) {
				if (hotspotTemplates['ht_node_North'][i]._hotspotnicon && hotspotTemplates['ht_node_North'][i]._hotspotnicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_North'][i]._hotspotnicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_north_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_North']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_North'].length; i++) {
				if (hotspotTemplates['ht_node_North'][i]._hotspotnicon && hotspotTemplates['ht_node_North'][i]._hotspotnicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_North'][i]._hotspotnicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_ne_changenode = function(){
		if(hotspotTemplates['ht_node_NE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NE'].length; i++) {
				if (hotspotTemplates['ht_node_NE'][i]._ht_node_ne.logicBlock_visible) {
					hotspotTemplates['ht_node_NE'][i]._ht_node_ne.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_NE'][i]._hotspotneicon && hotspotTemplates['ht_node_NE'][i]._hotspotneicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_NE'][i]._hotspotneicon.logicBlock_scaling();
				}
				if (hotspotTemplates['ht_node_NE'][i]._hotspotnetitle && hotspotTemplates['ht_node_NE'][i]._hotspotnetitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_NE'][i]._hotspotnetitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_ne_configloaded = function(){
		if(hotspotTemplates['ht_node_NE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NE'].length; i++) {
				if (hotspotTemplates['ht_node_NE'][i]._hotspotnetitle && hotspotTemplates['ht_node_NE'][i]._hotspotnetitle.logicBlock_visible) {
					hotspotTemplates['ht_node_NE'][i]._hotspotnetitle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_node_NE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NE'].length; i++) {
				if (hotspotTemplates['ht_node_NE'][i]._ht_node_ne.logicBlock_visible) {
					hotspotTemplates['ht_node_NE'][i]._ht_node_ne.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_node_NE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NE'].length; i++) {
				if (hotspotTemplates['ht_node_NE'][i]._hotspotneicon && hotspotTemplates['ht_node_NE'][i]._hotspotneicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_NE'][i]._hotspotneicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_NE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NE'].length; i++) {
				if (hotspotTemplates['ht_node_NE'][i]._hotspotneicon && hotspotTemplates['ht_node_NE'][i]._hotspotneicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_NE'][i]._hotspotneicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_NE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NE'].length; i++) {
				if (hotspotTemplates['ht_node_NE'][i]._hotspotnetitle && hotspotTemplates['ht_node_NE'][i]._hotspotnetitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_NE'][i]._hotspotnetitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_e_changenode = function(){
		if(hotspotTemplates['ht_node_E']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_E'].length; i++) {
				if (hotspotTemplates['ht_node_E'][i]._ht_node_e.logicBlock_visible) {
					hotspotTemplates['ht_node_E'][i]._ht_node_e.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_E'][i]._hotspoteicon && hotspotTemplates['ht_node_E'][i]._hotspoteicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_E'][i]._hotspoteicon.logicBlock_scaling();
				}
				if (hotspotTemplates['ht_node_E'][i]._hotspotetitle && hotspotTemplates['ht_node_E'][i]._hotspotetitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_E'][i]._hotspotetitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_e_configloaded = function(){
		if(hotspotTemplates['ht_node_E']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_E'].length; i++) {
				if (hotspotTemplates['ht_node_E'][i]._hotspotetitle && hotspotTemplates['ht_node_E'][i]._hotspotetitle.logicBlock_visible) {
					hotspotTemplates['ht_node_E'][i]._hotspotetitle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_e_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_node_E']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_E'].length; i++) {
				if (hotspotTemplates['ht_node_E'][i]._ht_node_e.logicBlock_visible) {
					hotspotTemplates['ht_node_E'][i]._ht_node_e.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_e_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_node_E']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_E'].length; i++) {
				if (hotspotTemplates['ht_node_E'][i]._hotspoteicon && hotspotTemplates['ht_node_E'][i]._hotspoteicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_E'][i]._hotspoteicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_e_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_E']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_E'].length; i++) {
				if (hotspotTemplates['ht_node_E'][i]._hotspoteicon && hotspotTemplates['ht_node_E'][i]._hotspoteicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_E'][i]._hotspoteicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_e_varchanged_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_E']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_E'].length; i++) {
				if (hotspotTemplates['ht_node_E'][i]._hotspotetitle && hotspotTemplates['ht_node_E'][i]._hotspotetitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_E'][i]._hotspotetitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_se_changenode = function(){
		if(hotspotTemplates['ht_node_SE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SE'].length; i++) {
				if (hotspotTemplates['ht_node_SE'][i]._ht_node_se.logicBlock_visible) {
					hotspotTemplates['ht_node_SE'][i]._ht_node_se.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_SE'][i]._hotspotseicon && hotspotTemplates['ht_node_SE'][i]._hotspotseicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_SE'][i]._hotspotseicon.logicBlock_scaling();
				}
				if (hotspotTemplates['ht_node_SE'][i]._hotspotsetitle && hotspotTemplates['ht_node_SE'][i]._hotspotsetitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_SE'][i]._hotspotsetitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_se_configloaded = function(){
		if(hotspotTemplates['ht_node_SE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SE'].length; i++) {
				if (hotspotTemplates['ht_node_SE'][i]._hotspotsetitle && hotspotTemplates['ht_node_SE'][i]._hotspotsetitle.logicBlock_visible) {
					hotspotTemplates['ht_node_SE'][i]._hotspotsetitle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_se_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_node_SE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SE'].length; i++) {
				if (hotspotTemplates['ht_node_SE'][i]._ht_node_se.logicBlock_visible) {
					hotspotTemplates['ht_node_SE'][i]._ht_node_se.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_se_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_node_SE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SE'].length; i++) {
				if (hotspotTemplates['ht_node_SE'][i]._hotspotseicon && hotspotTemplates['ht_node_SE'][i]._hotspotseicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_SE'][i]._hotspotseicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_se_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_SE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SE'].length; i++) {
				if (hotspotTemplates['ht_node_SE'][i]._hotspotseicon && hotspotTemplates['ht_node_SE'][i]._hotspotseicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_SE'][i]._hotspotseicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_se_varchanged_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_SE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SE'].length; i++) {
				if (hotspotTemplates['ht_node_SE'][i]._hotspotsetitle && hotspotTemplates['ht_node_SE'][i]._hotspotsetitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_SE'][i]._hotspotsetitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_south_changenode = function(){
		if(hotspotTemplates['ht_node_South']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_South'].length; i++) {
				if (hotspotTemplates['ht_node_South'][i]._ht_node_south.logicBlock_visible) {
					hotspotTemplates['ht_node_South'][i]._ht_node_south.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_South'][i]._hotspotsicon && hotspotTemplates['ht_node_South'][i]._hotspotsicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_South'][i]._hotspotsicon.logicBlock_scaling();
				}
				if (hotspotTemplates['ht_node_South'][i]._hotspotstitle && hotspotTemplates['ht_node_South'][i]._hotspotstitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_South'][i]._hotspotstitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_south_configloaded = function(){
		if(hotspotTemplates['ht_node_South']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_South'].length; i++) {
				if (hotspotTemplates['ht_node_South'][i]._hotspotstitle && hotspotTemplates['ht_node_South'][i]._hotspotstitle.logicBlock_visible) {
					hotspotTemplates['ht_node_South'][i]._hotspotstitle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_south_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_node_South']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_South'].length; i++) {
				if (hotspotTemplates['ht_node_South'][i]._ht_node_south.logicBlock_visible) {
					hotspotTemplates['ht_node_South'][i]._ht_node_south.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_south_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_node_South']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_South'].length; i++) {
				if (hotspotTemplates['ht_node_South'][i]._hotspotsicon && hotspotTemplates['ht_node_South'][i]._hotspotsicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_South'][i]._hotspotsicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_south_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_South']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_South'].length; i++) {
				if (hotspotTemplates['ht_node_South'][i]._hotspotsicon && hotspotTemplates['ht_node_South'][i]._hotspotsicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_South'][i]._hotspotsicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_south_varchanged_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_South']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_South'].length; i++) {
				if (hotspotTemplates['ht_node_South'][i]._hotspotstitle && hotspotTemplates['ht_node_South'][i]._hotspotstitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_South'][i]._hotspotstitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_sw_changenode = function(){
		if(hotspotTemplates['ht_node_SW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SW'].length; i++) {
				if (hotspotTemplates['ht_node_SW'][i]._ht_node_sw.logicBlock_visible) {
					hotspotTemplates['ht_node_SW'][i]._ht_node_sw.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_SW'][i]._hotspotswicon && hotspotTemplates['ht_node_SW'][i]._hotspotswicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_SW'][i]._hotspotswicon.logicBlock_scaling();
				}
				if (hotspotTemplates['ht_node_SW'][i]._hotspotswtitle && hotspotTemplates['ht_node_SW'][i]._hotspotswtitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_SW'][i]._hotspotswtitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_sw_configloaded = function(){
		if(hotspotTemplates['ht_node_SW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SW'].length; i++) {
				if (hotspotTemplates['ht_node_SW'][i]._hotspotswtitle && hotspotTemplates['ht_node_SW'][i]._hotspotswtitle.logicBlock_visible) {
					hotspotTemplates['ht_node_SW'][i]._hotspotswtitle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_node_SW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SW'].length; i++) {
				if (hotspotTemplates['ht_node_SW'][i]._ht_node_sw.logicBlock_visible) {
					hotspotTemplates['ht_node_SW'][i]._ht_node_sw.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_node_SW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SW'].length; i++) {
				if (hotspotTemplates['ht_node_SW'][i]._hotspotswicon && hotspotTemplates['ht_node_SW'][i]._hotspotswicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_SW'][i]._hotspotswicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_SW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SW'].length; i++) {
				if (hotspotTemplates['ht_node_SW'][i]._hotspotswicon && hotspotTemplates['ht_node_SW'][i]._hotspotswicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_SW'][i]._hotspotswicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_SW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SW'].length; i++) {
				if (hotspotTemplates['ht_node_SW'][i]._hotspotswtitle && hotspotTemplates['ht_node_SW'][i]._hotspotswtitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_SW'][i]._hotspotswtitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_w_changenode = function(){
		if(hotspotTemplates['ht_node_W']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_W'].length; i++) {
				if (hotspotTemplates['ht_node_W'][i]._ht_node_w.logicBlock_visible) {
					hotspotTemplates['ht_node_W'][i]._ht_node_w.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_W'][i]._hotspotwicon && hotspotTemplates['ht_node_W'][i]._hotspotwicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_W'][i]._hotspotwicon.logicBlock_scaling();
				}
				if (hotspotTemplates['ht_node_W'][i]._hotspotwtitle && hotspotTemplates['ht_node_W'][i]._hotspotwtitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_W'][i]._hotspotwtitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_w_configloaded = function(){
		if(hotspotTemplates['ht_node_W']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_W'].length; i++) {
				if (hotspotTemplates['ht_node_W'][i]._hotspotwtitle && hotspotTemplates['ht_node_W'][i]._hotspotwtitle.logicBlock_visible) {
					hotspotTemplates['ht_node_W'][i]._hotspotwtitle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_w_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_node_W']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_W'].length; i++) {
				if (hotspotTemplates['ht_node_W'][i]._ht_node_w.logicBlock_visible) {
					hotspotTemplates['ht_node_W'][i]._ht_node_w.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_w_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_node_W']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_W'].length; i++) {
				if (hotspotTemplates['ht_node_W'][i]._hotspotwicon && hotspotTemplates['ht_node_W'][i]._hotspotwicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_W'][i]._hotspotwicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_w_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_W']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_W'].length; i++) {
				if (hotspotTemplates['ht_node_W'][i]._hotspotwicon && hotspotTemplates['ht_node_W'][i]._hotspotwicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_W'][i]._hotspotwicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_w_varchanged_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_W']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_W'].length; i++) {
				if (hotspotTemplates['ht_node_W'][i]._hotspotwtitle && hotspotTemplates['ht_node_W'][i]._hotspotwtitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_W'][i]._hotspotwtitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_nw_changenode = function(){
		if(hotspotTemplates['ht_node_NW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NW'].length; i++) {
				if (hotspotTemplates['ht_node_NW'][i]._ht_node_nw.logicBlock_visible) {
					hotspotTemplates['ht_node_NW'][i]._ht_node_nw.logicBlock_visible();
				}
				if (hotspotTemplates['ht_node_NW'][i]._hotspotnwicon && hotspotTemplates['ht_node_NW'][i]._hotspotnwicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_NW'][i]._hotspotnwicon.logicBlock_scaling();
				}
				if (hotspotTemplates['ht_node_NW'][i]._hotspotnwtitle && hotspotTemplates['ht_node_NW'][i]._hotspotnwtitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_NW'][i]._hotspotnwtitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_nw_configloaded = function(){
		if(hotspotTemplates['ht_node_NW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NW'].length; i++) {
				if (hotspotTemplates['ht_node_NW'][i]._hotspotnwtitle && hotspotTemplates['ht_node_NW'][i]._hotspotnwtitle.logicBlock_visible) {
					hotspotTemplates['ht_node_NW'][i]._hotspotnwtitle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_node_NW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NW'].length; i++) {
				if (hotspotTemplates['ht_node_NW'][i]._ht_node_nw.logicBlock_visible) {
					hotspotTemplates['ht_node_NW'][i]._ht_node_nw.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_node_NW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NW'].length; i++) {
				if (hotspotTemplates['ht_node_NW'][i]._hotspotnwicon && hotspotTemplates['ht_node_NW'][i]._hotspotnwicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_NW'][i]._hotspotnwicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_NW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NW'].length; i++) {
				if (hotspotTemplates['ht_node_NW'][i]._hotspotnwicon && hotspotTemplates['ht_node_NW'][i]._hotspotnwicon.logicBlock_scaling) {
					hotspotTemplates['ht_node_NW'][i]._hotspotnwicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_nudge_viewer = function(){
		if(hotspotTemplates['ht_node_NW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NW'].length; i++) {
				if (hotspotTemplates['ht_node_NW'][i]._hotspotnwtitle && hotspotTemplates['ht_node_NW'][i]._hotspotnwtitle.logicBlock_alpha) {
					hotspotTemplates['ht_node_NW'][i]._hotspotnwtitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_changenode = function(){
		if(hotspotTemplates['ht_image']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
				if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible) {
					hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible();
				}
				if (hotspotTemplates['ht_image'][i]._tt_ht_image && hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_alpha) {
					hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_alpha();
				}
				if (hotspotTemplates['ht_image'][i]._tt_ht_image && hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_visible) {
					hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_visible();
				}
				if (hotspotTemplates['ht_image'][i]._hotspoticonimage0 && hotspotTemplates['ht_image'][i]._hotspoticonimage0.logicBlock_visible) {
					hotspotTemplates['ht_image'][i]._hotspoticonimage0.logicBlock_visible();
				}
				if (hotspotTemplates['ht_image'][i]._hotspoticonimage0 && hotspotTemplates['ht_image'][i]._hotspoticonimage0.logicBlock_scaling) {
					hotspotTemplates['ht_image'][i]._hotspoticonimage0.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_configloaded = function(){
		if(hotspotTemplates['ht_image']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
				if (hotspotTemplates['ht_image'][i]._tt_ht_image && hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_position) {
					hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_position();
				}
				if (hotspotTemplates['ht_image'][i]._tt_ht_image && hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_visible) {
					hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_hastouch = function(){
		if(hotspotTemplates['ht_image']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
				if (hotspotTemplates['ht_image'][i]._tt_ht_image && hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_position) {
					hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_position();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_activehotspotchanged = function(){
		if(hotspotTemplates['ht_image']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
				if (hotspotTemplates['ht_image'][i]._tt_ht_image && hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_visible) {
					hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_visible();
				}
				if (hotspotTemplates['ht_image'][i]._hotspoticonimage0 && hotspotTemplates['ht_image'][i]._hotspoticonimage0.logicBlock_visible) {
					hotspotTemplates['ht_image'][i]._hotspoticonimage0.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_image']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
				if (hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible) {
					hotspotTemplates['ht_image'][i]._ht_image.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_image']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
				if (hotspotTemplates['ht_image'][i]._hotspoticonimage0 && hotspotTemplates['ht_image'][i]._hotspoticonimage0.logicBlock_scaling) {
					hotspotTemplates['ht_image'][i]._hotspoticonimage0.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_image']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
				if (hotspotTemplates['ht_image'][i]._hotspoticonimage0 && hotspotTemplates['ht_image'][i]._hotspoticonimage0.logicBlock_scaling) {
					hotspotTemplates['ht_image'][i]._hotspoticonimage0.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_varchanged_nudge_viewer = function(){
		if(hotspotTemplates['ht_image']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
				if (hotspotTemplates['ht_image'][i]._tt_ht_image && hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_alpha) {
					hotspotTemplates['ht_image'][i]._tt_ht_image.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_info_changenode = function(){
		if(hotspotTemplates['ht_info']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
				if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible) {
					hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible();
				}
				if (hotspotTemplates['ht_info'][i]._hotspotinfo && hotspotTemplates['ht_info'][i]._hotspotinfo.logicBlock_scaling) {
					hotspotTemplates['ht_info'][i]._hotspotinfo.logicBlock_scaling();
				}
				if (hotspotTemplates['ht_info'][i]._hotspotinfotitle && hotspotTemplates['ht_info'][i]._hotspotinfotitle.logicBlock_alpha) {
					hotspotTemplates['ht_info'][i]._hotspotinfotitle.logicBlock_alpha();
				}
				if (hotspotTemplates['ht_info'][i]._hotspotinfodetails && hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_text) {
					hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_text();
				}
				if (hotspotTemplates['ht_info'][i]._hotspotinfodetails && hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_size) {
					hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_size();
				}
				if (hotspotTemplates['ht_info'][i]._hotspotinfodetails && hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_position) {
					hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_position();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_info_configloaded = function(){
		if(hotspotTemplates['ht_info']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
				if (hotspotTemplates['ht_info'][i]._hotspotinfotitle && hotspotTemplates['ht_info'][i]._hotspotinfotitle.logicBlock_visible) {
					hotspotTemplates['ht_info'][i]._hotspotinfotitle.logicBlock_visible();
				}
				if (hotspotTemplates['ht_info'][i]._hotspotinfodetails && hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_visible) {
					hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_info_activehotspotchanged = function(){
		if(hotspotTemplates['ht_info']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
				if (hotspotTemplates['ht_info'][i]._hotspotinfodetails && hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_text) {
					hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_text();
				}
				if (hotspotTemplates['ht_info'][i]._hotspotinfodetails && hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_size) {
					hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_size();
				}
				if (hotspotTemplates['ht_info'][i]._hotspotinfodetails && hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_position) {
					hotspotTemplates['ht_info'][i]._hotspotinfodetails.logicBlock_position();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_info_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_info']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
				if (hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible) {
					hotspotTemplates['ht_info'][i]._ht_info.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_info_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_info']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
				if (hotspotTemplates['ht_info'][i]._hotspotinfo && hotspotTemplates['ht_info'][i]._hotspotinfo.logicBlock_scaling) {
					hotspotTemplates['ht_info'][i]._hotspotinfo.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_info_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_info']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
				if (hotspotTemplates['ht_info'][i]._hotspotinfo && hotspotTemplates['ht_info'][i]._hotspotinfo.logicBlock_scaling) {
					hotspotTemplates['ht_info'][i]._hotspotinfo.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_info_varchanged_nudge_viewer = function(){
		if(hotspotTemplates['ht_info']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
				if (hotspotTemplates['ht_info'][i]._hotspotinfotitle && hotspotTemplates['ht_info'][i]._hotspotinfotitle.logicBlock_alpha) {
					hotspotTemplates['ht_info'][i]._hotspotinfotitle.logicBlock_alpha();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_ani_changenode = function(){
		if(hotspotTemplates['ht_ani']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_ani'].length; i++) {
				if (hotspotTemplates['ht_ani'][i]._ht_ani.logicBlock_visible) {
					hotspotTemplates['ht_ani'][i]._ht_ani.logicBlock_visible();
				}
				if (hotspotTemplates['ht_ani'][i]._hotspotaniicon && hotspotTemplates['ht_ani'][i]._hotspotaniicon.logicBlock_scaling) {
					hotspotTemplates['ht_ani'][i]._hotspotaniicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_ani_configloaded = function(){
		if(hotspotTemplates['ht_ani']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_ani'].length; i++) {
				if (hotspotTemplates['ht_ani'][i]._hotspotanititle && hotspotTemplates['ht_ani'][i]._hotspotanititle.logicBlock_visible) {
					hotspotTemplates['ht_ani'][i]._hotspotanititle.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_ani_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_ani']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_ani'].length; i++) {
				if (hotspotTemplates['ht_ani'][i]._ht_ani.logicBlock_visible) {
					hotspotTemplates['ht_ani'][i]._ht_ani.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_ani_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_ani']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_ani'].length; i++) {
				if (hotspotTemplates['ht_ani'][i]._hotspotaniicon && hotspotTemplates['ht_ani'][i]._hotspotaniicon.logicBlock_scaling) {
					hotspotTemplates['ht_ani'][i]._hotspotaniicon.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_video_file_changenode = function(){
		if(hotspotTemplates['ht_video_file']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
				if (hotspotTemplates['ht_video_file'][i]._ht_video_video_file && hotspotTemplates['ht_video_file'][i]._ht_video_video_file.logicBlock_visible) {
					hotspotTemplates['ht_video_file'][i]._ht_video_video_file.logicBlock_visible();
				}
				if (hotspotTemplates['ht_video_file'][i]._tt_ht_video_file && hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_visible) {
					hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_visible();
				}
				if (hotspotTemplates['ht_video_file'][i]._ht_video_file_customimage && hotspotTemplates['ht_video_file'][i]._ht_video_file_customimage.logicBlock_visible) {
					hotspotTemplates['ht_video_file'][i]._ht_video_file_customimage.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_video_file_mouseover = function(){
		if(hotspotTemplates['ht_video_file']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
				if (hotspotTemplates['ht_video_file'][i]._tt_ht_video_file && hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_visible) {
					hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_video_file_activehotspotchanged = function(){
		if(hotspotTemplates['ht_video_file']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
				if (hotspotTemplates['ht_video_file'][i]._ht_video_video_file && hotspotTemplates['ht_video_file'][i]._ht_video_video_file.logicBlock_visible) {
					hotspotTemplates['ht_video_file'][i]._ht_video_video_file.logicBlock_visible();
				}
				if (hotspotTemplates['ht_video_file'][i]._tt_ht_video_file && hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_visible) {
					hotspotTemplates['ht_video_file'][i]._tt_ht_video_file.logicBlock_visible();
				}
				if (hotspotTemplates['ht_video_file'][i]._ht_video_file_customimage && hotspotTemplates['ht_video_file'][i]._ht_video_file_customimage.logicBlock_visible) {
					hotspotTemplates['ht_video_file'][i]._ht_video_file_customimage.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_animation_play_changenode = function(){
		if(hotspotTemplates['ht_animation_play']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_animation_play'].length; i++) {
				if (hotspotTemplates['ht_animation_play'][i]._ht_animation_play_button && hotspotTemplates['ht_animation_play'][i]._ht_animation_play_button.logicBlock_visible) {
					hotspotTemplates['ht_animation_play'][i]._ht_animation_play_button.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_animation_play_activehotspotchanged = function(){
		if(hotspotTemplates['ht_animation_play']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_animation_play'].length; i++) {
				if (hotspotTemplates['ht_animation_play'][i]._ht_animation_play_button && hotspotTemplates['ht_animation_play'][i]._ht_animation_play_button.logicBlock_visible) {
					hotspotTemplates['ht_animation_play'][i]._ht_animation_play_button.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_gal_changenode = function(){
		if(hotspotTemplates['ht_image_gal']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image_gal'].length; i++) {
				if (hotspotTemplates['ht_image_gal'][i]._ht_image_gal.logicBlock_visible) {
					hotspotTemplates['ht_image_gal'][i]._ht_image_gal.logicBlock_visible();
				}
				if (hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal && hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_alpha) {
					hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_alpha();
				}
				if (hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal && hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_visible) {
					hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_visible();
				}
				if (hotspotTemplates['ht_image_gal'][i]._hotspoticonimage && hotspotTemplates['ht_image_gal'][i]._hotspoticonimage.logicBlock_visible) {
					hotspotTemplates['ht_image_gal'][i]._hotspoticonimage.logicBlock_visible();
				}
				if (hotspotTemplates['ht_image_gal'][i]._hotspoticonimage && hotspotTemplates['ht_image_gal'][i]._hotspoticonimage.logicBlock_scaling) {
					hotspotTemplates['ht_image_gal'][i]._hotspoticonimage.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_gal_configloaded = function(){
		if(hotspotTemplates['ht_image_gal']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image_gal'].length; i++) {
				if (hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal && hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_position) {
					hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_position();
				}
				if (hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal && hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_visible) {
					hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_gal_hastouch = function(){
		if(hotspotTemplates['ht_image_gal']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image_gal'].length; i++) {
				if (hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal && hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_position) {
					hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_position();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_gal_activehotspotchanged = function(){
		if(hotspotTemplates['ht_image_gal']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image_gal'].length; i++) {
				if (hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal && hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_visible) {
					hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_visible();
				}
				if (hotspotTemplates['ht_image_gal'][i]._hotspoticonimage && hotspotTemplates['ht_image_gal'][i]._hotspoticonimage.logicBlock_visible) {
					hotspotTemplates['ht_image_gal'][i]._hotspoticonimage.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_hide_all_hotspots = function(){
		if(hotspotTemplates['ht_image_gal']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image_gal'].length; i++) {
				if (hotspotTemplates['ht_image_gal'][i]._ht_image_gal.logicBlock_visible) {
					hotspotTemplates['ht_image_gal'][i]._ht_image_gal.logicBlock_visible();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_ht_ani = function(){
		if(hotspotTemplates['ht_image_gal']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image_gal'].length; i++) {
				if (hotspotTemplates['ht_image_gal'][i]._hotspoticonimage && hotspotTemplates['ht_image_gal'][i]._hotspoticonimage.logicBlock_scaling) {
					hotspotTemplates['ht_image_gal'][i]._hotspoticonimage.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_extreme_nudge_viewer = function(){
		if(hotspotTemplates['ht_image_gal']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image_gal'].length; i++) {
				if (hotspotTemplates['ht_image_gal'][i]._hotspoticonimage && hotspotTemplates['ht_image_gal'][i]._hotspoticonimage.logicBlock_scaling) {
					hotspotTemplates['ht_image_gal'][i]._hotspoticonimage.logicBlock_scaling();
				}
			}
		}
	}
	me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_nudge_viewer = function(){
		if(hotspotTemplates['ht_image_gal']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image_gal'].length; i++) {
				if (hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal && hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_alpha) {
					hotspotTemplates['ht_image_gal'][i]._tt_ht_image_gal.logicBlock_alpha();
				}
			}
		}
	}
	player.addListener('changenode', function() {
		me.ggUserdata=player.userdata;
	});
	me.skinTimerEvent=function() {
		me.ggCurrentTime=new Date().getTime();
		me._top_logo_timer.ggUpdateConditionTimer();
		me._panoroomslogotimer.ggUpdateConditionTimer();
		me._panoroomslogotimermobile.ggUpdateConditionTimer();
		if (me._animationtimer.ggLastIsActive!=me._animationtimer.ggIsActive()) {
			me._animationtimer.ggLastIsActive=me._animationtimer.ggIsActive();
			if (me._animationtimer.ggLastIsActive) {
				player.setVariableValue('ht_ani', true);
			} else {
				player.setVariableValue('ht_ani', false);
			}
		}
		me._animationtimer.ggUpdateConditionTimer();
		me._nudgetimer.ggTimestamp=player.getLastActivity();
		if (me._nudgetimer.ggLastIsActive!=me._nudgetimer.ggIsActive()) {
			me._nudgetimer.ggLastIsActive=me._nudgetimer.ggIsActive();
			if (me._nudgetimer.ggLastIsActive) {
			} else {
				if (
					(
						((player.getVariableValue('node_counter') <= 5))
					)
				) {
					player.setVariableValue('nudge_viewer', true);
				}
			}
		}
		me._nudgetimer.ggUpdateConditionTimer();
		me._extremenudge.ggTimestamp=player.getLastActivity();
		if (me._extremenudge.ggLastIsActive!=me._extremenudge.ggIsActive()) {
			me._extremenudge.ggLastIsActive=me._extremenudge.ggIsActive();
			if (me._extremenudge.ggLastIsActive) {
			} else {
				if (
					(
						((player.getVariableValue('node_counter') <= 5))
					)
				) {
					player.setVariableValue('extreme_nudge_viewer', true);
				}
			}
		}
		me._extremenudge.ggUpdateConditionTimer();
		me._minimap.ggUpdateConditionTimer();
		me._fullsizemap.ggUpdateConditionTimer();
	};
	player.addListener('timer', me.skinTimerEvent);
	function SkinHotspotClass_ht_node_arrow(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_node_arrow=document.createElement('div');
		el.ggId="ht_node_arrow";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : 265px;';
		hs+='position : absolute;';
		hs+='top : 692px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		hs+='transform-style: preserve-3d;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_node_arrow.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_node_arrow.onclick=function (e) {
			player.openNext(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_arrow.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_arrow.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			me.elementMouseOver['ht_node_arrow']=true;
			me._chevron_white_lower.logicBlock_alpha();
			me._chevron_black.logicBlock_alpha();
			me._chevron_white.logicBlock_alpha();
			me._hs_preview_image.logicBlock_alpha();
			me._tt_ht_3d.logicBlock_visible();
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_arrow.onmouseout=function (e) {
			player.setActiveHotspot(null);
			me.elementMouseOver['ht_node_arrow']=false;
			me._chevron_white_lower.logicBlock_alpha();
			me._chevron_black.logicBlock_alpha();
			me._chevron_white.logicBlock_alpha();
			me._hs_preview_image.logicBlock_alpha();
			me._tt_ht_3d.logicBlock_visible();
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_arrow.ontouchend=function (e) {
			me.elementMouseOver['ht_node_arrow']=false;
			me._chevron_white_lower.logicBlock_alpha();
			me._chevron_black.logicBlock_alpha();
			me._chevron_white.logicBlock_alpha();
			me._hs_preview_image.logicBlock_alpha();
			me._tt_ht_3d.logicBlock_visible();
		}
		me._ht_node_arrow.ggUpdatePosition=function (useTransition) {
		}
		el=me._chevron_white_lower=document.createElement('div');
		els=me._chevron_white_lower__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIyLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB5PSIwcHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMDAgMTAwMDsiIGlkPSJMYXllcl8xIiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249Ij'+
			'EuMCIgeD0iMHB4Ij4KIDxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+CiA8Zz4KICA8cGF0aCBkPSJNMzQuOSw0MzkuN2w0MDAtNDAxYzE3LjktMTcuOSw0MS43LTI1LjQsNjUuMi0yNGMyMy40LTEuNCw0Ny4yLDYuMSw2NS4xLDI0bDQwMCw0MDEmI3hhOyYjeDk7JiN4OTtjMzMuMiwzMy4zLDMzLjIsODcuNCwwLDEyMC43Yy0zMy4yLDMzLjMtODcuMSwzMy4zLTEyMC40LDBMNTAwLDIxNC43TDE1NS4yLDU2MC40Yy0zMy4yLDMzLjMtODcuMSwzMy4zLTEyMC40LDAmI3hhOyYjeDk7JiN4OTtTMS43LDQ3MywzNC45LDQzOS43eiIgY2xhc3M9InN0MCIv'+
			'PgogPC9nPgo8L3N2Zz4K';
		me._chevron_white_lower__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="chevron_white_lower";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 80px;';
		hs+='left : -10000px;';
		hs+='opacity : 0.6;';
		hs+='position : absolute;';
		hs+='top : -140px;';
		hs+='visibility : inherit;';
		hs+='width : 80px;';
		hs+='pointer-events:auto;';
		hs+='transform:translate3d(0px,0px,-1px);';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._chevron_white_lower.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._chevron_white_lower.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.hotspot.customimage != ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._chevron_white_lower.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._chevron_white_lower.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._chevron_white_lower.style[domTransition]='opacity 500ms ease 0ms';
				if (me._chevron_white_lower.ggCurrentLogicStateVisible == 0) {
					me._chevron_white_lower.style.visibility="hidden";
					me._chevron_white_lower.ggVisible=false;
				}
				else {
					me._chevron_white_lower.style.visibility=(Number(me._chevron_white_lower.style.opacity)>0||!me._chevron_white_lower.style.opacity)?'inherit':'hidden';
					me._chevron_white_lower.ggVisible=true;
				}
			}
		}
		me._chevron_white_lower.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((me.elementMouseOver['ht_node_arrow'] == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._chevron_white_lower.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._chevron_white_lower.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._chevron_white_lower.style[domTransition]='opacity 500ms ease 0ms';
				if (me._chevron_white_lower.ggCurrentLogicStateAlpha == 0) {
					me._chevron_white_lower.style.visibility=me._chevron_white_lower.ggVisible?'inherit':'hidden';
					me._chevron_white_lower.style.opacity=1;
				}
				else {
					me._chevron_white_lower.style.visibility=me._chevron_white_lower.ggVisible?'inherit':'hidden';
					me._chevron_white_lower.style.opacity=0.6;
				}
			}
		}
		me._chevron_white_lower.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		me._ht_node_arrow.appendChild(me._chevron_white_lower);
		el=me._chevron_black=document.createElement('div');
		els=me._chevron_black__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIyLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB5PSIwcHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMDAgMTAwMDsiIGlkPSJMYXllcl8xIiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249Ij'+
			'EuMCIgeD0iMHB4Ij4KIDxnPgogIDxwYXRoIGQ9Ik0zNC45LDQzOS43bDQwMC00MDFjMTcuOS0xNy45LDQxLjctMjUuNCw2NS4yLTI0YzIzLjQtMS40LDQ3LjIsNi4xLDY1LjEsMjRsNDAwLDQwMWMzMy4yLDMzLjMsMzMuMiw4Ny40LDAsMTIwLjcmI3hhOyYjeDk7JiN4OTtjLTMzLjIsMzMuMy04Ny4xLDMzLjMtMTIwLjQsMEw1MDAsMjE0LjdMMTU1LjIsNTYwLjRjLTMzLjIsMzMuMy04Ny4xLDMzLjMtMTIwLjQsMFMxLjcsNDczLDM0LjksNDM5Ljd6Ii8+CiA8L2c+Cjwvc3ZnPgo=';
		me._chevron_black__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="chevron_black";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 80px;';
		hs+='left : -10000px;';
		hs+='opacity : 0.4;';
		hs+='position : absolute;';
		hs+='top : -140px;';
		hs+='visibility : inherit;';
		hs+='width : 80px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._chevron_black.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._chevron_black.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.hotspot.customimage != ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._chevron_black.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._chevron_black.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._chevron_black.style[domTransition]='opacity 500ms ease 0ms';
				if (me._chevron_black.ggCurrentLogicStateVisible == 0) {
					me._chevron_black.style.visibility="hidden";
					me._chevron_black.ggVisible=false;
				}
				else {
					me._chevron_black.style.visibility=(Number(me._chevron_black.style.opacity)>0||!me._chevron_black.style.opacity)?'inherit':'hidden';
					me._chevron_black.ggVisible=true;
				}
			}
		}
		me._chevron_black.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((me.elementMouseOver['ht_node_arrow'] == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._chevron_black.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._chevron_black.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._chevron_black.style[domTransition]='opacity 500ms ease 0ms';
				if (me._chevron_black.ggCurrentLogicStateAlpha == 0) {
					me._chevron_black.style.visibility=me._chevron_black.ggVisible?'inherit':'hidden';
					me._chevron_black.style.opacity=1;
				}
				else {
					me._chevron_black.style.visibility=me._chevron_black.ggVisible?'inherit':'hidden';
					me._chevron_black.style.opacity=0.4;
				}
			}
		}
		me._chevron_black.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		me._ht_node_arrow.appendChild(me._chevron_black);
		el=me._chevron_white=document.createElement('div');
		els=me._chevron_white__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIyLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB5PSIwcHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMDAgMTAwMDsiIGlkPSJMYXllcl8xIiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249Ij'+
			'EuMCIgeD0iMHB4Ij4KIDxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6I2ViNmQxZjt9Cjwvc3R5bGU+CiA8Zz4KICA8cGF0aCBkPSJNMzQuOSw0MzkuN2w0MDAtNDAxYzE3LjktMTcuOSw0MS43LTI1LjQsNjUuMi0yNGMyMy40LTEuNCw0Ny4yLDYuMSw2NS4xLDI0bDQwMCw0MDEmI3hhOyYjeDk7JiN4OTtjMzMuMiwzMy4zLDMzLjIsODcuNCwwLDEyMC43Yy0zMy4yLDMzLjMtODcuMSwzMy4zLTEyMC40LDBMNTAwLDIxNC43TDE1NS4yLDU2MC40Yy0zMy4yLDMzLjMtODcuMSwzMy4zLTEyMC40LDAmI3hhOyYjeDk7JiN4OTtTMS43LDQ3MywzNC45LDQzOS43eiIgY2xhc3M9InN0MCIv'+
			'PgogPC9nPgo8L3N2Zz4K';
		me._chevron_white__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="chevron_white";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 80px;';
		hs+='left : -10000px;';
		hs+='opacity : 0.6;';
		hs+='position : absolute;';
		hs+='top : -140px;';
		hs+='visibility : inherit;';
		hs+='width : 80px;';
		hs+='pointer-events:auto;';
		hs+='transform:translate3d(0px,0px,1px);';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._chevron_white.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._chevron_white.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.hotspot.customimage != ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._chevron_white.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._chevron_white.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._chevron_white.style[domTransition]='opacity 500ms ease 0ms';
				if (me._chevron_white.ggCurrentLogicStateVisible == 0) {
					me._chevron_white.style.visibility="hidden";
					me._chevron_white.ggVisible=false;
				}
				else {
					me._chevron_white.style.visibility=(Number(me._chevron_white.style.opacity)>0||!me._chevron_white.style.opacity)?'inherit':'hidden';
					me._chevron_white.ggVisible=true;
				}
			}
		}
		me._chevron_white.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((me.elementMouseOver['ht_node_arrow'] == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._chevron_white.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._chevron_white.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._chevron_white.style[domTransition]='opacity 500ms ease 0ms';
				if (me._chevron_white.ggCurrentLogicStateAlpha == 0) {
					me._chevron_white.style.visibility=me._chevron_white.ggVisible?'inherit':'hidden';
					me._chevron_white.style.opacity=1;
				}
				else {
					me._chevron_white.style.visibility=me._chevron_white.ggVisible?'inherit':'hidden';
					me._chevron_white.style.opacity=0.6;
				}
			}
		}
		me._chevron_white.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		me._ht_node_arrow.appendChild(me._chevron_white);
		el=me._hs_preview_image=document.createElement('div');
		els=me._hs_preview_image__img=document.createElement('img');
		els.className='ggskin ggskin_nodeimage';
		els.setAttribute('src',basePath + "images/hs_preview_image_" + nodeId + ".jpg");
		el.ggNodeId=nodeId;
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els.className='ggskin ggskin_nodeimage';
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hs_preview_image";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_nodeimage ";
		el.ggType='nodeimage';
		hs ='';
		hs+='z-index: -5;';
		hs+='height : 90px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -220px;';
		hs+='visibility : hidden;';
		hs+='width : 140px;';
		hs+='pointer-events:none;';
		hs+='border-radius: 5px; overflow: hidden; box-shadow: 0px 0px 2px #000000; transform:translate3d(0px,0px,90px) rotateX(-90deg) scale(1.5); transform-style: preserve-3d; -webkit-backface-visibility: hidden; backface-visibility: hidden;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hs_preview_image.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			return this.ggNodeId;
		}
		me._hs_preview_image.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((me.elementMouseOver['ht_node_arrow'] == true)) && 
				((player.getVariableValue('opt_3d_preview') == true)) && 
				((player.getIsTour() == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._hs_preview_image.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._hs_preview_image.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._hs_preview_image.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hs_preview_image.ggCurrentLogicStateAlpha == 0) {
					me._hs_preview_image.style.visibility=me._hs_preview_image.ggVisible?'inherit':'hidden';
					me._hs_preview_image.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._hs_preview_image.style.opacity == 0.0) { me._hs_preview_image.style.visibility="hidden"; } }, 505);
					me._hs_preview_image.style.opacity=0;
				}
			}
		}
		me._hs_preview_image.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		el=me._hs_tt=document.createElement('div');
		els=me._hs_tt__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="hs_tt";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text ";
		el.ggType='text';
		hs ='';
		hs+='bottom : 0px;';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='visibility : inherit;';
		hs+='width : 140px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 100%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 140px;';
		hs+='height: auto;';
		hs+='pointer-events: none;';
		hs+='background: #000000;';
		hs+='background: rgba(0,0,0,0.196078);';
		hs+='border: 0px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='font-size: 12px;';
		hs+='font-weight: inherit;';
		hs+='text-align: center;';
		hs+='white-space: pre-wrap;';
		hs+='padding: 2px 3px 2px 3px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._hs_tt.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hs_tt.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('opt_3d_tooltip') == false)) || 
				((me.hotspot.title == ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hs_tt.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hs_tt.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hs_tt.style[domTransition]='';
				if (me._hs_tt.ggCurrentLogicStateVisible == 0) {
					me._hs_tt.style.visibility="hidden";
					me._hs_tt.ggVisible=false;
				}
				else {
					me._hs_tt.style.visibility=(Number(me._hs_tt.style.opacity)>0||!me._hs_tt.style.opacity)?'inherit':'hidden';
					me._hs_tt.ggVisible=true;
				}
			}
		}
		me._hs_tt.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		me._hs_preview_image.appendChild(me._hs_tt);
		el=me._hs_visited=document.createElement('div');
		els=me._hs_visited__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzd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csMS43LTAuNywyLjQsMGwxMi41LDEyLjUmI3hkOyYjeGE7JiN4OTsmI3g5O0MtMTMyLjEsMzc5LjktMTMyLjEsMzgxLTEzMi44LDM4MS43eiIgY2xhc3M9InN0MCIvPgogIDxwYXRoIGQ9Ik0tMTQ3LjcsMzY2LjhsLTM3LjEsMzcuMWwtMTgtMThjLTAuNy0wLjctMS43LTAuNy0yLjQsMGwtMTIuNS'+
			'wxMi41Yy0wLjcsMC43LTAuNywxLjcsMCwyLjRsMzEuNywzMS44JiN4ZDsmI3hhOyYjeDk7JiN4OTtjMC4zLDAuMywwLjgsMC41LDEuMywwLjVjMC40LDAsMC45LTAuMiwxLjItMC41bDUwLjgtNTAuOWMwLjctMC43LDAuNy0xLjcsMC0yLjRsLTEyLjUtMTIuNUMtMTQ1LjksMzY2LjEtMTQ3LDM2Ni4xLTE0Ny43LDM2Ni44eiIgY2xhc3M9InN0MSIvPgogPC9nPgo8L3N2Zz4K';
		me._hs_visited__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hs_visited";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='height : 20px;';
		hs+='position : absolute;';
		hs+='right : 5px;';
		hs+='top : 5px;';
		hs+='visibility : hidden;';
		hs+='width : 20px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hs_visited.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hs_visited.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me._hs_visited.ggIsActive() == true)) || 
				((player.nodeVisited(me._hs_visited.ggElementNodeId()) == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hs_visited.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hs_visited.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hs_visited.style[domTransition]='';
				if (me._hs_visited.ggCurrentLogicStateVisible == 0) {
					me._hs_visited.style.visibility=(Number(me._hs_visited.style.opacity)>0||!me._hs_visited.style.opacity)?'inherit':'hidden';
					me._hs_visited.ggVisible=true;
				}
				else {
					me._hs_visited.style.visibility="hidden";
					me._hs_visited.ggVisible=false;
				}
			}
		}
		me._hs_visited.ggUpdatePosition=function (useTransition) {
		}
		me._hs_preview_image.appendChild(me._hs_visited);
		me._ht_node_arrow.appendChild(me._hs_preview_image);
		el=me.__code=document.createElement('div');
		els=me.__code__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="_code";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text ";
		el.ggType='text';
		hs ='';
		hs+='height : 37px;';
		hs+='left : 0px;';
		hs+='position : absolute;';
		hs+='top : -39px;';
		hs+='visibility : hidden;';
		hs+='width : 66px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: 68px;';
		hs+='height: 39px;';
		hs+='pointer-events: none;';
		hs+='background: #ffffff;';
		hs+='border: 1px solid #000000;';
		hs+='color: #000000;';
		hs+='text-align: left;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="";
this.onUpdatePosition=function(player,hotspot) {
var vs=player.getViewerSize();
var y=vs.height * (1/6*(1+Math.cos(player.getTilt() * Math.PI/90.0)));
var hs= 'perspective(500px) translate3d(0px,' + (y) + 'px,0px) ';
hs += 'rotateZ(' + ( player.getRoll()).toFixed(10) + 'deg) ';
hs += 'rotateX(' + ( player.getTilt()).toFixed(10) + 'deg) ';
hs += 'rotateY(' + (-player.getPan()).toFixed(10)  + 'deg) ';
hs += 'rotateY(' + ( hotspot.pan).toFixed(2)  + 'deg) ';
hs += 'rotateX(' + (-hotspot.tilt).toFixed(2) + 'deg) ';
hs += 'rotateX(90deg) ';
this.__div.style.transform=hs;
this.__div.style.left = vs.width / 2 + "px";
this.__div.style.top = vs.height / 2 + "px";
};
		el.appendChild(els);
		me.__code.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me.__code.ggUpdatePosition=function (useTransition) {
		}
		me._ht_node_arrow.appendChild(me.__code);
		el=me._tt_ht_3d=document.createElement('div');
		els=me._tt_ht_3d__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="tt_ht_3d";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text ";
		el.ggType='text';
		hs ='';
		hs+='z-index: 100;';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -170px;';
		hs+='visibility : hidden;';
		hs+='width : 140px;';
		hs+='pointer-events:none;';
		hs+='transform:translate3d(0px,0px,40px) rotateX(-90deg); font-size: 15px; -webkit-backface-visibility: hidden; backface-visibility: hidden;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 100%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='pointer-events: none;';
		hs+='background: #000000;';
		hs+='background: rgba(0,0,0,0.666667);';
		hs+='border: 1px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='font-size: 16px;';
		hs+='font-weight: inherit;';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 2px 3px 2px 3px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._tt_ht_3d.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._tt_ht_3d.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsTour() == false)) && 
				((me.hotspot.title != "")) && 
				((me.elementMouseOver['ht_node_arrow'] == true)) && 
				((player.getVariableValue('opt_3d_preview') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._tt_ht_3d.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._tt_ht_3d.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._tt_ht_3d.style[domTransition]='';
				if (me._tt_ht_3d.ggCurrentLogicStateVisible == 0) {
					me._tt_ht_3d.style.visibility=(Number(me._tt_ht_3d.style.opacity)>0||!me._tt_ht_3d.style.opacity)?'inherit':'hidden';
					me._tt_ht_3d.ggVisible=true;
				}
				else {
					me._tt_ht_3d.style.visibility="hidden";
					me._tt_ht_3d.ggVisible=false;
				}
			}
		}
		me._tt_ht_3d.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 2;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((142-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_node_arrow.appendChild(me._tt_ht_3d);
		el=me._ht_node_customimage=document.createElement('div');
		els=me._ht_node_customimage__img=document.createElement('img');
		els.className='ggskin ggskin_external';
		els.setAttribute('style','position: absolute;-webkit-user-drag:none;pointer-events:none;;');
		els.onload=function() {me._ht_node_customimage.ggUpdatePosition();}
		if ((hotspot) && (hotspot.customimage)) {
			el.ggText=hotspot.customimage;
			els.setAttribute('src', hotspot.customimage);
			els.style.width=hotspot.customimagewidth + 'px';
			els.style.height=hotspot.customimageheight + 'px';
			me.ggUse3d = hotspot.use3D;
			me.gg3dDistance = hotspot.distance3D;
		}
		els['ondragstart']=function() { return false; };
		player.checkLoaded.push(els);
		hs ='';
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="ht_node_CustomImage";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_external ";
		el.ggType='external';
		hs ='';
		hs+='border : 0px solid #000000;';
		hs+='cursor : pointer;';
		hs+='height : 50px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -140px;';
		hs+='visibility : inherit;';
		hs+='width : 50px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_node_customimage.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._ht_node_customimage.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.hotspot.customimage == ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_node_customimage.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_node_customimage.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_node_customimage.style[domTransition]='';
				if (me._ht_node_customimage.ggCurrentLogicStateVisible == 0) {
					me._ht_node_customimage.style.visibility="hidden";
					me._ht_node_customimage__img.src = '';
					me._ht_node_customimage.ggVisible=false;
				}
				else {
					me._ht_node_customimage.style.visibility=(Number(me._ht_node_customimage.style.opacity)>0||!me._ht_node_customimage.style.opacity)?'inherit':'hidden';
					me._ht_node_customimage.ggSubElement.src=me._ht_node_customimage.ggText;
					me._ht_node_customimage.ggVisible=true;
				}
			}
		}
		me._ht_node_customimage.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
			var parentWidth = me._ht_node_customimage.clientWidth;
			var parentHeight = me._ht_node_customimage.clientHeight;
			var img = me._ht_node_customimage__img;
			var aspectRatioDiv = me._ht_node_customimage.clientWidth / me._ht_node_customimage.clientHeight;
			var aspectRatioImg = img.naturalWidth / img.naturalHeight;
			if (img.naturalWidth < parentWidth) parentWidth = img.naturalWidth;
			if (img.naturalHeight < parentHeight) parentHeight = img.naturalHeight;
			var currentWidth,currentHeight;
			if ((hotspot) && (hotspot.customimage)) {
				currentWidth  = hotspot.customimagewidth;
				currentHeight = hotspot.customimageheight;
			}
			img.style.left='50%';
			img.style.marginLeft='-' + currentWidth/2 + 'px';
			img.style.top='50%';
			img.style.marginTop='-' + currentHeight/2 + 'px';
		}
		me._ht_node_arrow.appendChild(me._ht_node_customimage);
		if ((hotspot) && (hotspot.customimage)) {
			el.style.width=hotspot.customimagewidth + 'px';
			el.style.height=hotspot.customimageheight + 'px';
		}
		me.__div = me._ht_node_arrow;
	};
	function SkinHotspotClass_ht_node(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_node=document.createElement('div');
		el.ggId="ht_node";
		el.ggDx=-430;
		el.ggDy=-146;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_node.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_node.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_node.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_node.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_node.style[domTransition]='';
				if (me._ht_node.ggCurrentLogicStateVisible == 0) {
					me._ht_node.style.visibility="hidden";
					me._ht_node.ggVisible=false;
				}
				else {
					me._ht_node.style.visibility=(Number(me._ht_node.style.opacity)>0||!me._ht_node.style.opacity)?'inherit':'hidden';
					me._ht_node.ggVisible=true;
				}
			}
		}
		me._ht_node.onclick=function (e) {
			player.openUrl(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node.ggUpdatePosition=function (useTransition) {
		}
		el=me._hotspoticon=document.createElement('div');
		els=me._hotspoticon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiLz4KIDxnPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0LjUsMjAuNTMsMjAuNTMsMCwwLDEsMjQuNSw0bTAtMkEyMi41LDIyLjUsMCwxLDAsNDcsMjQuNS'+
			'wyMi41LDIyLjUsMCwwLDAsMjQuNSwyWiIvPgogPC9nPgogPGNpcmNsZSBzdHlsZT0iZmlsbDogI2VlNzkyMiIgcj0iMTIuNSIgY3g9IjI0LjUiIGN5PSIyNC41Ii8+Cjwvc3ZnPgo=';
		me._hotspoticon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-icon";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspoticon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspoticon.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspoticon.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspoticon.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspoticon.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspoticon.ggCurrentLogicStateScaling == 0) {
					me._hotspoticon.ggParameter.sx = 0.5;
					me._hotspoticon.ggParameter.sy = 0.5;
					me._hotspoticon.style[domTransform]=parameterToTransform(me._hotspoticon.ggParameter);
				}
				else {
					me._hotspoticon.ggParameter.sx = 1;
					me._hotspoticon.ggParameter.sy = 1;
					me._hotspoticon.style[domTransform]=parameterToTransform(me._hotspoticon.ggParameter);
				}
			}
		}
		me._hotspoticon.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._hotspottitle.style[domTransition]='none';
			} else {
				me._hotspottitle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspottitle.style.opacity='1';
			me._hotspottitle.style.visibility=me._hotspottitle.ggVisible?'inherit':'hidden';
		}
		me._hotspoticon.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._hotspottitle.style[domTransition]='none';
				} else {
					me._hotspottitle.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._hotspottitle.style.opacity='0';
				me._hotspottitle.style.visibility='hidden';
			}
		}
		me._hotspoticon.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_node.appendChild(me._hotspoticon);
		el=me._hotspottitle=document.createElement('div');
		els=me._hotspottitle__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-Title";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._hotspottitle.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspottitle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else if (
				((me.ggUserdata.title == ""))
			)
			{
				newLogicStateVisible = 1;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspottitle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspottitle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspottitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspottitle.ggCurrentLogicStateVisible == 0) {
					me._hotspottitle.style.visibility="hidden";
					me._hotspottitle.ggVisible=false;
				}
				else if (me._hotspottitle.ggCurrentLogicStateVisible == 1) {
					me._hotspottitle.style.visibility="hidden";
					me._hotspottitle.ggVisible=false;
				}
				else {
					me._hotspottitle.style.visibility=(Number(me._hotspottitle.style.opacity)>0||!me._hotspottitle.style.opacity)?'inherit':'hidden';
					me._hotspottitle.ggVisible=true;
				}
			}
		}
		me._hotspottitle.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('nudge_viewer') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._hotspottitle.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._hotspottitle.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._hotspottitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspottitle.ggCurrentLogicStateAlpha == 0) {
					me._hotspottitle.style.visibility=me._hotspottitle.ggVisible?'inherit':'hidden';
					me._hotspottitle.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._hotspottitle.style.opacity == 0.0) { me._hotspottitle.style.visibility="hidden"; } }, 505);
					me._hotspottitle.style.opacity=0;
				}
			}
		}
		me._hotspottitle.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_node.appendChild(me._hotspottitle);
		me.__div = me._ht_node;
	};
	function SkinHotspotClass_ht_node_north(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_node_north=document.createElement('div');
		el.ggId="ht_node_North";
		el.ggDx=-181;
		el.ggDy=-145;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_node_north.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_node_north.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_node_north.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_node_north.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_node_north.style[domTransition]='';
				if (me._ht_node_north.ggCurrentLogicStateVisible == 0) {
					me._ht_node_north.style.visibility="hidden";
					me._ht_node_north.ggVisible=false;
				}
				else {
					me._ht_node_north.style.visibility=(Number(me._ht_node_north.style.opacity)>0||!me._ht_node_north.style.opacity)?'inherit':'hidden';
					me._ht_node_north.ggVisible=true;
				}
			}
		}
		me._ht_node_north.onclick=function (e) {
			player.openUrl(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_north.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_north.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_north.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_north.ggUpdatePosition=function (useTransition) {
		}
		el=me._hotspotnicon=document.createElement('div');
		els=me._hotspotnicon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiLz4KIDxnPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0LjUsMjAuNTMsMjAuNTMsMCwwLDEsMjQuNSw0bTAtMkEyMi41LDIyLjUsMCwxLDAsNDcsMjQuNS'+
			'wyMi41LDIyLjUsMCwwLDAsMjQuNSwyWiIvPgogPC9nPgogPGNpcmNsZSBzdHlsZT0iZmlsbDogI2VlNzkyMiIgcj0iMTgiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogPGc+CiAgPGc+CiAgIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMTYsMjYuNTJhLjI2LjI2LDAsMCwxLS4yNi0uMjZ2LTVhLjc1Ljc1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YuNzYsMCwwLDEsLjI2LjU3djVhLjI2LjI2LDAsMCwxLS4yNi4yNi4yNy4yNywwLDAsMS0u'+
			'MTctLjA2bC03LjctNi44YS43Ny43NywwLDAsMC0xLDBsLTgsNi44MmEuMjMuMjMsMCwwLDEtLjE2LjA2WiIvPgogICA8cGF0aCBzdHlsZT0iZmlsbDogI2U2ZTZlNiIgZD0iTTI0LjYyLDIyLjczaDBMMzIuODMsMzBhLjUyLjUyLDAsMCwxLC4xNy4zOHY1bC03LjctNi43OWExLDEsMCwwLDAtLjY3LS4yNiwxLDEsMCwwLDAtLjY1LjI1bC04LDYuODF2LTVhLjUzLjUzLDAsMCwxLC4xOC0uMzlsOC40NC03LjI2aDBtMC0uNWEuNTMuNTMsMCwwLDAtLjMzLjEzbC04LjQ0LDcuMjZhMSwxLDAsMCwwLS4zNS43N3Y1YS41MS41MSwwLDAsMCwuNTEuNTEuNTQuNTQsMCwwLDAsLjMzLS4xMmw4LTYuODJhLj'+
			'UzLjUzLDAsMCwxLC4zMy0uMTNBLjU1LjU1LDAsMCwxLDI1LDI5bDcuNyw2Ljc5YS41LjUsMCwwLDAsLjMzLjEzLjUxLjUxLDAsMCwwLC41MS0uNTF2LTVhMSwxLDAsMCwwLS4zNC0uNzZMMjUsMjIuMzZhLjU1LjU1LDAsMCwwLS4zNC0uMTNaIi8+CiAgPC9nPgogPC9nPgo8L3N2Zz4K';
		me._hotspotnicon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-N-icon";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspotnicon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotnicon.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspotnicon.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspotnicon.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspotnicon.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspotnicon.ggCurrentLogicStateScaling == 0) {
					me._hotspotnicon.ggParameter.sx = 0.5;
					me._hotspotnicon.ggParameter.sy = 0.5;
					me._hotspotnicon.style[domTransform]=parameterToTransform(me._hotspotnicon.ggParameter);
				}
				else {
					me._hotspotnicon.ggParameter.sx = 1;
					me._hotspotnicon.ggParameter.sy = 1;
					me._hotspotnicon.style[domTransform]=parameterToTransform(me._hotspotnicon.ggParameter);
				}
			}
		}
		me._hotspotnicon.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotntitle.style[domTransition]='none';
			} else {
				me._hotspotntitle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotntitle.style.opacity='1';
			me._hotspotntitle.style.visibility=me._hotspotntitle.ggVisible?'inherit':'hidden';
		}
		me._hotspotnicon.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._hotspotntitle.style[domTransition]='none';
				} else {
					me._hotspotntitle.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._hotspotntitle.style.opacity='0';
				me._hotspotntitle.style.visibility='hidden';
			}
		}
		me._hotspotnicon.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_node_north.appendChild(me._hotspotnicon);
		el=me._hotspotntitle=document.createElement('div');
		els=me._hotspotntitle__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-N-Title";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._hotspotntitle.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotntitle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspotntitle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspotntitle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspotntitle.style[domTransition]='';
				if (me._hotspotntitle.ggCurrentLogicStateVisible == 0) {
					me._hotspotntitle.style.visibility="hidden";
					me._hotspotntitle.ggVisible=false;
				}
				else {
					me._hotspotntitle.style.visibility=(Number(me._hotspotntitle.style.opacity)>0||!me._hotspotntitle.style.opacity)?'inherit':'hidden';
					me._hotspotntitle.ggVisible=true;
				}
			}
		}
		me._hotspotntitle.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_node_north.appendChild(me._hotspotntitle);
		me.__div = me._ht_node_north;
	};
	function SkinHotspotClass_ht_node_ne(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_node_ne=document.createElement('div');
		el.ggId="ht_node_NE";
		el.ggDx=-181;
		el.ggDy=-145;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_node_ne.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_node_ne.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_node_ne.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_node_ne.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_node_ne.style[domTransition]='';
				if (me._ht_node_ne.ggCurrentLogicStateVisible == 0) {
					me._ht_node_ne.style.visibility="hidden";
					me._ht_node_ne.ggVisible=false;
				}
				else {
					me._ht_node_ne.style.visibility=(Number(me._ht_node_ne.style.opacity)>0||!me._ht_node_ne.style.opacity)?'inherit':'hidden';
					me._ht_node_ne.ggVisible=true;
				}
			}
		}
		me._ht_node_ne.onclick=function (e) {
			player.openUrl(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_ne.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_ne.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_ne.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_ne.ggUpdatePosition=function (useTransition) {
		}
		el=me._hotspotneicon=document.createElement('div');
		els=me._hotspotneicon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiLz4KIDxnPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0LjUsMjAuNTMsMjAuNTMsMCwwLDEsMjQuNSw0bTAtMkEyMi41LDIyLjUsMCwxLDAsNDcsMjQuNS'+
			'wyMi41LDIyLjUsMCwwLDAsMjQuNSwyWiIvPgogPC9nPgogPGNpcmNsZSBzdHlsZT0iZmlsbDogI2VlNzkyMiIgcj0iMTgiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogP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yMi44MywzOC40NWEuMjYuMjYsMCwwLDEtLjI2LS4yNUwyMS45MiwyOGEuNzUuNzUsMCwwLDAtLjY5LS43MWwtMTAuNDUtLjhhLjI0LjI0LDAsMCwxLS4yMi0uMTcuMjQuMjQsMCwwLDEsLjA2LS4yN2wzLjUzLTMuNTNhLjc3Ljc3LDAsMCwx'+
			'LC41NC0uMjJsMTEuMTYuODNhLjI2LjI2LDAsMCwxLC4yNC4yNGwuNjYsMTAuOTNhLjgxLjgxLDAsMCwxLS4yMi41OUwyMywzOC4zN2EuMy4zLDAsMCwxLS4xOC4wOFoiLz4KICAgPHBhdGggc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIGQ9Ik0xNC42OSwyMi41MWgwbDExLjEyLjgzLjY2LDEwLjk0YS41Mi41MiwwLDAsMS0uMTUuMzlsLTMuNTMsMy41Mi0uNjUtMTAuMjVhMSwxLDAsMCwwLS45Mi0uOTRsLTEwLjQ2LS44MSwzLjUzLTMuNTNhLjUxLjUxLDAsMCwxLC4zNy0uMTVtMC0uNWExLDEsMCwwLDAtLjcyLjI5bC0zLjUzLDMuNTNhLjUxLjUxLDAsMCwwLC4zMi44N2wxMC40NS44YS41MS41MSwwLD'+
			'AsMSwuNDcuNDdsLjY0LDEwLjI1YS41LjUsMCwwLDAsLjUxLjQ3LjQ5LjQ5LDAsMCwwLC4zNS0uMTRMMjYuNywzNWExLDEsMCwwLDAsLjMtLjc3bC0uNjYtMTAuOTRhLjUxLjUxLDAsMCwwLS40Ny0uNDdMMTQuNzYsMjJaIi8+CiAgPC9nPgogPC9nPgo8L3N2Zz4K';
		me._hotspotneicon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-NE-icon";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspotneicon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotneicon.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspotneicon.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspotneicon.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspotneicon.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspotneicon.ggCurrentLogicStateScaling == 0) {
					me._hotspotneicon.ggParameter.sx = 0.5;
					me._hotspotneicon.ggParameter.sy = 0.5;
					me._hotspotneicon.style[domTransform]=parameterToTransform(me._hotspotneicon.ggParameter);
				}
				else {
					me._hotspotneicon.ggParameter.sx = 1;
					me._hotspotneicon.ggParameter.sy = 1;
					me._hotspotneicon.style[domTransform]=parameterToTransform(me._hotspotneicon.ggParameter);
				}
			}
		}
		me._hotspotneicon.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotnetitle.style[domTransition]='none';
			} else {
				me._hotspotnetitle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotnetitle.style.opacity='1';
			me._hotspotnetitle.style.visibility=me._hotspotnetitle.ggVisible?'inherit':'hidden';
		}
		me._hotspotneicon.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._hotspotnetitle.style[domTransition]='none';
				} else {
					me._hotspotnetitle.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._hotspotnetitle.style.opacity='0';
				me._hotspotnetitle.style.visibility='hidden';
			}
		}
		me._hotspotneicon.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_node_ne.appendChild(me._hotspotneicon);
		el=me._hotspotnetitle=document.createElement('div');
		els=me._hotspotnetitle__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-NE-Title";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._hotspotnetitle.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotnetitle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspotnetitle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspotnetitle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspotnetitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotnetitle.ggCurrentLogicStateVisible == 0) {
					me._hotspotnetitle.style.visibility="hidden";
					me._hotspotnetitle.ggVisible=false;
				}
				else {
					me._hotspotnetitle.style.visibility=(Number(me._hotspotnetitle.style.opacity)>0||!me._hotspotnetitle.style.opacity)?'inherit':'hidden';
					me._hotspotnetitle.ggVisible=true;
				}
			}
		}
		me._hotspotnetitle.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('nudge_viewer') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._hotspotnetitle.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._hotspotnetitle.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._hotspotnetitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotnetitle.ggCurrentLogicStateAlpha == 0) {
					me._hotspotnetitle.style.visibility=me._hotspotnetitle.ggVisible?'inherit':'hidden';
					me._hotspotnetitle.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._hotspotnetitle.style.opacity == 0.0) { me._hotspotnetitle.style.visibility="hidden"; } }, 505);
					me._hotspotnetitle.style.opacity=0;
				}
			}
		}
		me._hotspotnetitle.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_node_ne.appendChild(me._hotspotnetitle);
		me.__div = me._ht_node_ne;
	};
	function SkinHotspotClass_ht_node_e(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_node_e=document.createElement('div');
		el.ggId="ht_node_E";
		el.ggDx=-181;
		el.ggDy=-145;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_node_e.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_node_e.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_node_e.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_node_e.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_node_e.style[domTransition]='';
				if (me._ht_node_e.ggCurrentLogicStateVisible == 0) {
					me._ht_node_e.style.visibility="hidden";
					me._ht_node_e.ggVisible=false;
				}
				else {
					me._ht_node_e.style.visibility=(Number(me._ht_node_e.style.opacity)>0||!me._ht_node_e.style.opacity)?'inherit':'hidden';
					me._ht_node_e.ggVisible=true;
				}
			}
		}
		me._ht_node_e.onclick=function (e) {
			player.openUrl(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_e.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_e.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_e.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_e.ggUpdatePosition=function (useTransition) {
		}
		el=me._hotspoteicon=document.createElement('div');
		els=me._hotspoteicon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB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sMCwwLC43Ni0uMzRMMjYuNjQsMjVhLjUuNSwwLDAsMCwwLS42N2wtNy4yNi04LjQ0YTEsMSwwLDAsMC0uNzctLjM1WiIvPgogIDwvZz4KIDwvZz4KPC9zdmc+Cg==';
		me._hotspoteicon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-E-icon";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspoteicon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspoteicon.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspoteicon.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspoteicon.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspoteicon.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspoteicon.ggCurrentLogicStateScaling == 0) {
					me._hotspoteicon.ggParameter.sx = 0.5;
					me._hotspoteicon.ggParameter.sy = 0.5;
					me._hotspoteicon.style[domTransform]=parameterToTransform(me._hotspoteicon.ggParameter);
				}
				else {
					me._hotspoteicon.ggParameter.sx = 1;
					me._hotspoteicon.ggParameter.sy = 1;
					me._hotspoteicon.style[domTransform]=parameterToTransform(me._hotspoteicon.ggParameter);
				}
			}
		}
		me._hotspoteicon.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotetitle.style[domTransition]='none';
			} else {
				me._hotspotetitle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotetitle.style.opacity='1';
			me._hotspotetitle.style.visibility=me._hotspotetitle.ggVisible?'inherit':'hidden';
		}
		me._hotspoteicon.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._hotspotetitle.style[domTransition]='none';
				} else {
					me._hotspotetitle.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._hotspotetitle.style.opacity='0';
				me._hotspotetitle.style.visibility='hidden';
			}
		}
		me._hotspoteicon.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_node_e.appendChild(me._hotspoteicon);
		el=me._hotspotetitle=document.createElement('div');
		els=me._hotspotetitle__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-E-Title";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._hotspotetitle.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotetitle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspotetitle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspotetitle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspotetitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotetitle.ggCurrentLogicStateVisible == 0) {
					me._hotspotetitle.style.visibility="hidden";
					me._hotspotetitle.ggVisible=false;
				}
				else {
					me._hotspotetitle.style.visibility=(Number(me._hotspotetitle.style.opacity)>0||!me._hotspotetitle.style.opacity)?'inherit':'hidden';
					me._hotspotetitle.ggVisible=true;
				}
			}
		}
		me._hotspotetitle.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('nudge_viewer') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._hotspotetitle.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._hotspotetitle.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._hotspotetitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotetitle.ggCurrentLogicStateAlpha == 0) {
					me._hotspotetitle.style.visibility=me._hotspotetitle.ggVisible?'inherit':'hidden';
					me._hotspotetitle.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._hotspotetitle.style.opacity == 0.0) { me._hotspotetitle.style.visibility="hidden"; } }, 505);
					me._hotspotetitle.style.opacity=0;
				}
			}
		}
		me._hotspotetitle.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_node_e.appendChild(me._hotspotetitle);
		me.__div = me._ht_node_e;
	};
	function SkinHotspotClass_ht_node_se(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_node_se=document.createElement('div');
		el.ggId="ht_node_SE";
		el.ggDx=-181;
		el.ggDy=-145;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_node_se.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_node_se.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_node_se.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_node_se.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_node_se.style[domTransition]='';
				if (me._ht_node_se.ggCurrentLogicStateVisible == 0) {
					me._ht_node_se.style.visibility="hidden";
					me._ht_node_se.ggVisible=false;
				}
				else {
					me._ht_node_se.style.visibility=(Number(me._ht_node_se.style.opacity)>0||!me._ht_node_se.style.opacity)?'inherit':'hidden';
					me._ht_node_se.ggVisible=true;
				}
			}
		}
		me._ht_node_se.onclick=function (e) {
			player.openUrl(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_se.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_se.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_se.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_se.ggUpdatePosition=function (useTransition) {
		}
		el=me._hotspotseicon=document.createElement('div');
		els=me._hotspotseicon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiLz4KIDxnPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0LjUsMjAuNTMsMjAuNTMsMCwwLDEsMjQuNSw0bTAtMkEyMi41LDIyLjUsMCwxLDAsNDcsMjQuNS'+
			'wyMi41LDIyLjUsMCwwLDAsMjQuNSwyWiIvPgogPC9nPgogPGNpcmNsZSBzdHlsZT0iZmlsbDogI2VlNzkyMiIgcj0iMTgiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogPGc+CiAgPGc+CiAgIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjEuMTUsMzMuMmEuNzYuNzYsMCwwLDEtLjU0LS4yMmwtMy41My0zLjUyYS4yNS4yNSwwLDAsMSwwLS4yNy4yNC4yNCwwLDAsMSwuMjItLjE3bDEwLjI1LS42NGEuNzY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+
			'LjUzLDMuNTNhLjUyLjUyLDAsMCwxLC4xNS40bC0uODMsMTEuMTItMTEsLjY2YS40OS40OSwwLDAsMS0uMzYtLjE1bC0zLjUyLTMuNTMsMTAuMjUtLjY1YTEsMSwwLDAsMCwuOTQtLjkybC44LTEwLjQ2aDBtMC0uNWEuNTEuNTEsMCwwLDAtLjUxLjQ3bC0uOCwxMC40NWEuNTEuNTEsMCwwLDEtLjQ3LjQ3bC0xMC4yNS42NGEuNTEuNTEsMCwwLDAtLjMzLjg2TDE0LDI2LjdhMSwxLDAsMCwwLC43MS4zaC4wNmwxMC45NC0uNjZhLjUxLjUxLDAsMCwwLC40Ny0uNDdMMjcsMTQuNzZBMSwxLDAsMCwwLDI2LjcsMTRsLTMuNTMtMy41M2EuNTMuNTMsMCwwLDAtLjM2LS4xNVoiLz4KICA8L2c+CiA8L2c+Cj'+
			'wvc3ZnPgo=';
		me._hotspotseicon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-SE-icon";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspotseicon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotseicon.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspotseicon.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspotseicon.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspotseicon.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspotseicon.ggCurrentLogicStateScaling == 0) {
					me._hotspotseicon.ggParameter.sx = 0.5;
					me._hotspotseicon.ggParameter.sy = 0.5;
					me._hotspotseicon.style[domTransform]=parameterToTransform(me._hotspotseicon.ggParameter);
				}
				else {
					me._hotspotseicon.ggParameter.sx = 1;
					me._hotspotseicon.ggParameter.sy = 1;
					me._hotspotseicon.style[domTransform]=parameterToTransform(me._hotspotseicon.ggParameter);
				}
			}
		}
		me._hotspotseicon.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotsetitle.style[domTransition]='none';
			} else {
				me._hotspotsetitle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotsetitle.style.opacity='1';
			me._hotspotsetitle.style.visibility=me._hotspotsetitle.ggVisible?'inherit':'hidden';
		}
		me._hotspotseicon.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._hotspotsetitle.style[domTransition]='none';
				} else {
					me._hotspotsetitle.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._hotspotsetitle.style.opacity='0';
				me._hotspotsetitle.style.visibility='hidden';
			}
		}
		me._hotspotseicon.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_node_se.appendChild(me._hotspotseicon);
		el=me._hotspotsetitle=document.createElement('div');
		els=me._hotspotsetitle__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-SE-Title";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._hotspotsetitle.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotsetitle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspotsetitle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspotsetitle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspotsetitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotsetitle.ggCurrentLogicStateVisible == 0) {
					me._hotspotsetitle.style.visibility="hidden";
					me._hotspotsetitle.ggVisible=false;
				}
				else {
					me._hotspotsetitle.style.visibility=(Number(me._hotspotsetitle.style.opacity)>0||!me._hotspotsetitle.style.opacity)?'inherit':'hidden';
					me._hotspotsetitle.ggVisible=true;
				}
			}
		}
		me._hotspotsetitle.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('nudge_viewer') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._hotspotsetitle.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._hotspotsetitle.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._hotspotsetitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotsetitle.ggCurrentLogicStateAlpha == 0) {
					me._hotspotsetitle.style.visibility=me._hotspotsetitle.ggVisible?'inherit':'hidden';
					me._hotspotsetitle.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._hotspotsetitle.style.opacity == 0.0) { me._hotspotsetitle.style.visibility="hidden"; } }, 505);
					me._hotspotsetitle.style.opacity=0;
				}
			}
		}
		me._hotspotsetitle.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_node_se.appendChild(me._hotspotsetitle);
		me.__div = me._ht_node_se;
	};
	function SkinHotspotClass_ht_node_south(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_node_south=document.createElement('div');
		el.ggId="ht_node_South";
		el.ggDx=-181;
		el.ggDy=-145;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_node_south.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_node_south.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_node_south.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_node_south.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_node_south.style[domTransition]='';
				if (me._ht_node_south.ggCurrentLogicStateVisible == 0) {
					me._ht_node_south.style.visibility="hidden";
					me._ht_node_south.ggVisible=false;
				}
				else {
					me._ht_node_south.style.visibility=(Number(me._ht_node_south.style.opacity)>0||!me._ht_node_south.style.opacity)?'inherit':'hidden';
					me._ht_node_south.ggVisible=true;
				}
			}
		}
		me._ht_node_south.onclick=function (e) {
			player.openUrl(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_south.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_south.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_south.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_south.ggUpdatePosition=function (useTransition) {
		}
		el=me._hotspotsicon=document.createElement('div');
		els=me._hotspotsicon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiLz4KIDxnPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0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wuMzQuNzZMMjQsMjYuNjRhLjU1LjU1LDAsMCwwLC4zNC4xMy41My41MywwLDAsMCwuMzMtLjEzbDguNDQtNy4yNmExLDEsMCwwLDAsLjM1LS43N3YtNWEuNTEuNTEsMCwwLDAtLjUxLS41MVoiLz4KICA8L2c+CiA8L2c+Cjwvc3ZnPgo=';
		me._hotspotsicon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-S-icon";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspotsicon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotsicon.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspotsicon.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspotsicon.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspotsicon.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspotsicon.ggCurrentLogicStateScaling == 0) {
					me._hotspotsicon.ggParameter.sx = 0.5;
					me._hotspotsicon.ggParameter.sy = 0.5;
					me._hotspotsicon.style[domTransform]=parameterToTransform(me._hotspotsicon.ggParameter);
				}
				else {
					me._hotspotsicon.ggParameter.sx = 1;
					me._hotspotsicon.ggParameter.sy = 1;
					me._hotspotsicon.style[domTransform]=parameterToTransform(me._hotspotsicon.ggParameter);
				}
			}
		}
		me._hotspotsicon.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotstitle.style[domTransition]='none';
			} else {
				me._hotspotstitle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotstitle.style.opacity='1';
			me._hotspotstitle.style.visibility=me._hotspotstitle.ggVisible?'inherit':'hidden';
		}
		me._hotspotsicon.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._hotspotstitle.style[domTransition]='none';
				} else {
					me._hotspotstitle.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._hotspotstitle.style.opacity='0';
				me._hotspotstitle.style.visibility='hidden';
			}
		}
		me._hotspotsicon.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_node_south.appendChild(me._hotspotsicon);
		el=me._hotspotstitle=document.createElement('div');
		els=me._hotspotstitle__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-S-Title";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._hotspotstitle.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotstitle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspotstitle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspotstitle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspotstitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotstitle.ggCurrentLogicStateVisible == 0) {
					me._hotspotstitle.style.visibility="hidden";
					me._hotspotstitle.ggVisible=false;
				}
				else {
					me._hotspotstitle.style.visibility=(Number(me._hotspotstitle.style.opacity)>0||!me._hotspotstitle.style.opacity)?'inherit':'hidden';
					me._hotspotstitle.ggVisible=true;
				}
			}
		}
		me._hotspotstitle.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('nudge_viewer') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._hotspotstitle.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._hotspotstitle.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._hotspotstitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotstitle.ggCurrentLogicStateAlpha == 0) {
					me._hotspotstitle.style.visibility=me._hotspotstitle.ggVisible?'inherit':'hidden';
					me._hotspotstitle.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._hotspotstitle.style.opacity == 0.0) { me._hotspotstitle.style.visibility="hidden"; } }, 505);
					me._hotspotstitle.style.opacity=0;
				}
			}
		}
		me._hotspotstitle.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_node_south.appendChild(me._hotspotstitle);
		me.__div = me._ht_node_south;
	};
	function SkinHotspotClass_ht_node_sw(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_node_sw=document.createElement('div');
		el.ggId="ht_node_SW";
		el.ggDx=-181;
		el.ggDy=-145;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_node_sw.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_node_sw.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_node_sw.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_node_sw.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_node_sw.style[domTransition]='';
				if (me._ht_node_sw.ggCurrentLogicStateVisible == 0) {
					me._ht_node_sw.style.visibility="hidden";
					me._ht_node_sw.ggVisible=false;
				}
				else {
					me._ht_node_sw.style.visibility=(Number(me._ht_node_sw.style.opacity)>0||!me._ht_node_sw.style.opacity)?'inherit':'hidden';
					me._ht_node_sw.ggVisible=true;
				}
			}
		}
		me._ht_node_sw.onclick=function (e) {
			player.openUrl(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_sw.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_sw.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_sw.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_sw.ggUpdatePosition=function (useTransition) {
		}
		el=me._hotspotswicon=document.createElement('div');
		els=me._hotspotswicon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiLz4KIDxnPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0LjUsMjAuNTMsMjAuNTMsMCwwLDEsMjQuNSw0bTAtMkEyMi41LDIyLjUsMCwxLDAsNDcsMjQuNS'+
			'wyMi41LDIyLjUsMCwwLDAsMjQuNSwyWiIvPgogPC9nPgogPGNpcmNsZSBzdHlsZT0iZmlsbDogI2VlNzkyMiIgcj0iMTgiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogPGc+CiAgPGc+CiAgIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMTYuNjksMzIuNDlhLjM4LjM4LDAsMCwxLS4zNS0uMzZMMTUuNjcsMjEu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sLjI2LjI1TDI3LjA4LDIxYS43NS43NSwwLDAsMCwuNjkuNzFsMTAuNDUuOGEu'+
			'MjQuMjQsMCwwLDEsLjIyLjE3LjI0LjI0LDAsMCwxLS4wNi4yN2wtMy41MywzLjUzYS43NS43NSwwLDAsMS0uNTMuMjJaIi8+CiAgIDxwYXRoIHN0eWxlPSJmaWxsOiAjZTZlNmU2IiBkPSJNMjYuMTcsMTAuMzF2LjVsLjY1LDEwLjI1YTEsMSwwLDAsMCwuOTIuOTRsMTAuNDYuODEtMy41MywzLjUzYS41NC41NCwwLDAsMS0uNC4xNWgwbC0xMS4xMi0uODNMMjIuNSwxNC43MmEuNTIuNTIsMCwwLDEsLjE1LS4zOWwzLjUzLTMuNTNoMHYtLjVtMCwwYS40OS40OSwwLDAsMC0uMzUuMTRMMjIuMywxNGExLDEsMCwwLDAtLjMuNzdsLjY2LDEwLjk0YS41MS41MSwwLDAsMCwuNDcuNDdMMzQuMjQsMjdoLj'+
			'A3QTEsMSwwLDAsMCwzNSwyNi43bDMuNTMtMy41M2EuNTEuNTEsMCwwLDAtLjMyLS44N2wtMTAuNDUtLjhhLjUxLjUxLDAsMCwxLS40Ny0uNDdsLS42NC0xMC4yNWEuNS41LDAsMCwwLS41MS0uNDdaIi8+CiAgPC9nPgogPC9nPgo8L3N2Zz4K';
		me._hotspotswicon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-SW-icon";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspotswicon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotswicon.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspotswicon.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspotswicon.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspotswicon.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspotswicon.ggCurrentLogicStateScaling == 0) {
					me._hotspotswicon.ggParameter.sx = 0.5;
					me._hotspotswicon.ggParameter.sy = 0.5;
					me._hotspotswicon.style[domTransform]=parameterToTransform(me._hotspotswicon.ggParameter);
				}
				else {
					me._hotspotswicon.ggParameter.sx = 1;
					me._hotspotswicon.ggParameter.sy = 1;
					me._hotspotswicon.style[domTransform]=parameterToTransform(me._hotspotswicon.ggParameter);
				}
			}
		}
		me._hotspotswicon.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotswtitle.style[domTransition]='none';
			} else {
				me._hotspotswtitle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotswtitle.style.opacity='1';
			me._hotspotswtitle.style.visibility=me._hotspotswtitle.ggVisible?'inherit':'hidden';
		}
		me._hotspotswicon.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._hotspotswtitle.style[domTransition]='none';
				} else {
					me._hotspotswtitle.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._hotspotswtitle.style.opacity='0';
				me._hotspotswtitle.style.visibility='hidden';
			}
		}
		me._hotspotswicon.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_node_sw.appendChild(me._hotspotswicon);
		el=me._hotspotswtitle=document.createElement('div');
		els=me._hotspotswtitle__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-SW-Title";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._hotspotswtitle.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotswtitle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspotswtitle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspotswtitle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspotswtitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotswtitle.ggCurrentLogicStateVisible == 0) {
					me._hotspotswtitle.style.visibility="hidden";
					me._hotspotswtitle.ggVisible=false;
				}
				else {
					me._hotspotswtitle.style.visibility=(Number(me._hotspotswtitle.style.opacity)>0||!me._hotspotswtitle.style.opacity)?'inherit':'hidden';
					me._hotspotswtitle.ggVisible=true;
				}
			}
		}
		me._hotspotswtitle.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('nudge_viewer') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._hotspotswtitle.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._hotspotswtitle.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._hotspotswtitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotswtitle.ggCurrentLogicStateAlpha == 0) {
					me._hotspotswtitle.style.visibility=me._hotspotswtitle.ggVisible?'inherit':'hidden';
					me._hotspotswtitle.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._hotspotswtitle.style.opacity == 0.0) { me._hotspotswtitle.style.visibility="hidden"; } }, 505);
					me._hotspotswtitle.style.opacity=0;
				}
			}
		}
		me._hotspotswtitle.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_node_sw.appendChild(me._hotspotswtitle);
		me.__div = me._ht_node_sw;
	};
	function SkinHotspotClass_ht_node_w(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_node_w=document.createElement('div');
		el.ggId="ht_node_W";
		el.ggDx=-181;
		el.ggDy=-145;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_node_w.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_node_w.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_node_w.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_node_w.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_node_w.style[domTransition]='';
				if (me._ht_node_w.ggCurrentLogicStateVisible == 0) {
					me._ht_node_w.style.visibility="hidden";
					me._ht_node_w.ggVisible=false;
				}
				else {
					me._ht_node_w.style.visibility=(Number(me._ht_node_w.style.opacity)>0||!me._ht_node_w.style.opacity)?'inherit':'hidden';
					me._ht_node_w.ggVisible=true;
				}
			}
		}
		me._ht_node_w.onclick=function (e) {
			player.openUrl(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_w.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_w.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_w.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_w.ggUpdatePosition=function (useTransition) {
		}
		el=me._hotspotwicon=document.createElement('div');
		els=me._hotspotwicon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsO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wLDAsLjc3LjM1aDVhLjUxLjUxLDAsMCwwLC4zOC0uODRsLTYuODItNy45NWEuNTMuNTMsMCwwLDEsMC0uNjdsNi44LTcuN2EuNTEuNTEsMCwwLDAtLjM4LS44NFoiLz4KICA8L2c+CiAgPGc+CiAgID'+
			'xwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMzAuMzksMzMuMjVhLjc4Ljc4LDAsMCwxLS41OC0uMjdsLTcuMjYtOC40M2EuMjUuMjUsMCwwLDEsMC0uMzRMMjkuODEsMTZhLjc2Ljc2LDAsMCwxLC41Ny0uMjZoNWEuMjcuMjcsMCwwLDEsLjI0LjE1LjI4LjI4LDAsMCwxLDAsLjI4bC02LjgsNy43YS43Ni43NiwwLDAsMCwwLDFsNi44Miw4YS4yNi4yNiwwLDAsMSwwLC4yNy4yNS4yNSwwLDAsMS0uMjQuMTVaIi8+CiAgIDxwYXRoIHN0eWxlPSJmaWxsOiAjZTZlNmU2IiBkPSJNMzUuMzYsMTZoMGwtNi43OSw3LjdhMSwxLDAsMCwwLDAsMS4zMmw2LjgxLDhoLTVhLjUzLjUzLDAsMCwxLS4zOS0u'+
			'MThsLTcuMjYtOC40NUwzMCwxNi4xN2EuNTIuNTIsMCwwLDEsLjM4LS4xN2g1bTAtLjVoLTVhMSwxLDAsMCwwLS43Ni4zNEwyMi4zNiwyNGEuNS41LDAsMCwwLDAsLjY3bDcuMjYsOC40NGExLDEsMCwwLDAsLjc3LjM1aDVhLjUxLjUxLDAsMCwwLC4zOS0uODRMMjksMjQuNzFBLjUuNSwwLDAsMSwyOSwyNGw2Ljc5LTcuN2EuNS41LDAsMCwwLS4zOC0uODRaIi8+CiAgPC9nPgogPC9nPgo8L3N2Zz4K';
		me._hotspotwicon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-W-icon";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspotwicon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotwicon.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspotwicon.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspotwicon.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspotwicon.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspotwicon.ggCurrentLogicStateScaling == 0) {
					me._hotspotwicon.ggParameter.sx = 0.5;
					me._hotspotwicon.ggParameter.sy = 0.5;
					me._hotspotwicon.style[domTransform]=parameterToTransform(me._hotspotwicon.ggParameter);
				}
				else {
					me._hotspotwicon.ggParameter.sx = 1;
					me._hotspotwicon.ggParameter.sy = 1;
					me._hotspotwicon.style[domTransform]=parameterToTransform(me._hotspotwicon.ggParameter);
				}
			}
		}
		me._hotspotwicon.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotwtitle.style[domTransition]='none';
			} else {
				me._hotspotwtitle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotwtitle.style.opacity='1';
			me._hotspotwtitle.style.visibility=me._hotspotwtitle.ggVisible?'inherit':'hidden';
		}
		me._hotspotwicon.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._hotspotwtitle.style[domTransition]='none';
				} else {
					me._hotspotwtitle.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._hotspotwtitle.style.opacity='0';
				me._hotspotwtitle.style.visibility='hidden';
			}
		}
		me._hotspotwicon.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_node_w.appendChild(me._hotspotwicon);
		el=me._hotspotwtitle=document.createElement('div');
		els=me._hotspotwtitle__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-W-Title";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._hotspotwtitle.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotwtitle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspotwtitle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspotwtitle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspotwtitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotwtitle.ggCurrentLogicStateVisible == 0) {
					me._hotspotwtitle.style.visibility="hidden";
					me._hotspotwtitle.ggVisible=false;
				}
				else {
					me._hotspotwtitle.style.visibility=(Number(me._hotspotwtitle.style.opacity)>0||!me._hotspotwtitle.style.opacity)?'inherit':'hidden';
					me._hotspotwtitle.ggVisible=true;
				}
			}
		}
		me._hotspotwtitle.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('nudge_viewer') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._hotspotwtitle.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._hotspotwtitle.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._hotspotwtitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotwtitle.ggCurrentLogicStateAlpha == 0) {
					me._hotspotwtitle.style.visibility=me._hotspotwtitle.ggVisible?'inherit':'hidden';
					me._hotspotwtitle.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._hotspotwtitle.style.opacity == 0.0) { me._hotspotwtitle.style.visibility="hidden"; } }, 505);
					me._hotspotwtitle.style.opacity=0;
				}
			}
		}
		me._hotspotwtitle.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_node_w.appendChild(me._hotspotwtitle);
		me.__div = me._ht_node_w;
	};
	function SkinHotspotClass_ht_node_nw(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_node_nw=document.createElement('div');
		el.ggId="ht_node_NW";
		el.ggDx=-181;
		el.ggDy=-145;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_node_nw.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_node_nw.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_node_nw.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_node_nw.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_node_nw.style[domTransition]='';
				if (me._ht_node_nw.ggCurrentLogicStateVisible == 0) {
					me._ht_node_nw.style.visibility="hidden";
					me._ht_node_nw.ggVisible=false;
				}
				else {
					me._ht_node_nw.style.visibility=(Number(me._ht_node_nw.style.opacity)>0||!me._ht_node_nw.style.opacity)?'inherit':'hidden';
					me._ht_node_nw.ggVisible=true;
				}
			}
		}
		me._ht_node_nw.onclick=function (e) {
			player.openUrl(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_nw.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_nw.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_nw.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_node_nw.ggUpdatePosition=function (useTransition) {
		}
		el=me._hotspotnwicon=document.createElement('div');
		els=me._hotspotnwicon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiLz4KIDxnPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0LjUsMjAuNTMsMjAuNTMsMCwwLDEsMjQuNSw0bTAtMkEyMi41LDIyLjUsMCwxLDAsNDcsMjQuNS'+
			'wyMi41LDIyLjUsMCwwLDAsMjQuNSwyWiIvPgogPC9nPgogPGNpcmNsZSBzdHlsZT0iZmlsbDogI2VlNzkyMiIgcj0iMTgiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogPGc+CiAgPGc+CiAgIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMTkuNzMsMzIuMTNhLjM2LjM2LDAsMCwxLS4yNi0uMTFsLTMuNTMtMy41M2EuODcuODcsMCwwLDEtLjI2LS43bC44My0xMS4xYS4zOC4zOCwwLDAsMSwuMzYtLjM1bDEwLjk0LS42N2EuOTMuOTMsMCwwLDEsLjY3LjI2TDMyLDE5LjQ1YS4zOC4zOCwwLDAsMS0uMjQuNjVsLTEwLjI1LjY1YS42My42MywwLDAsMC0uNTkuNThsLS44LDEwLjQ1QS4zOC4zOCww'+
			'LDAsMSwxOS43MywzMi4xM1oiLz4KICAgPHBhdGggc3R5bGU9ImZpbGw6ICNlNmU2ZT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TQuOTJsLS44MSwxMC40Ni0zLjUzLTMuNTNhLjUyLjUyLDAsMCwxLS4xNS0uNGwuODMtMTEuMTIsMTAuOTQtLjY2aDBtMC0uNWgtLjA2bC0xMC45NC42NmEuNTEuNTEsMCwwLDAtLjQ3LjQ3TDIyLDM0LjI0YTEsMSwwLDAsMCwuMjkuNzlsMy41MywzLjUzYS41My41MywwLDAsMCwuMzYuMTUuNTEuNTEsMCwwLDAsLjUxLS40N2'+
			'wuOC0xMC40NWEuNTEuNTEsMCwwLDEsLjQ3LS40N2wxMC4yNS0uNjRhLjUxLjUxLDAsMCwwLC4zMy0uODZMMzUsMjIuM2ExLDEsMCwwLDAtLjcxLS4zWiIvPgogIDwvZz4KIDwvZz4KPC9zdmc+Cg==';
		me._hotspotnwicon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-NW-icon";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspotnwicon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotnwicon.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspotnwicon.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspotnwicon.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspotnwicon.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspotnwicon.ggCurrentLogicStateScaling == 0) {
					me._hotspotnwicon.ggParameter.sx = 0.5;
					me._hotspotnwicon.ggParameter.sy = 0.5;
					me._hotspotnwicon.style[domTransform]=parameterToTransform(me._hotspotnwicon.ggParameter);
				}
				else {
					me._hotspotnwicon.ggParameter.sx = 1;
					me._hotspotnwicon.ggParameter.sy = 1;
					me._hotspotnwicon.style[domTransform]=parameterToTransform(me._hotspotnwicon.ggParameter);
				}
			}
		}
		me._hotspotnwicon.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotnwtitle.style[domTransition]='none';
			} else {
				me._hotspotnwtitle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotnwtitle.style.opacity='1';
			me._hotspotnwtitle.style.visibility=me._hotspotnwtitle.ggVisible?'inherit':'hidden';
		}
		me._hotspotnwicon.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._hotspotnwtitle.style[domTransition]='none';
				} else {
					me._hotspotnwtitle.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._hotspotnwtitle.style.opacity='0';
				me._hotspotnwtitle.style.visibility='hidden';
			}
		}
		me._hotspotnwicon.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_node_nw.appendChild(me._hotspotnwicon);
		el=me._hotspotnwtitle=document.createElement('div');
		els=me._hotspotnwtitle__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-NW-Title";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._hotspotnwtitle.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotnwtitle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspotnwtitle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspotnwtitle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspotnwtitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotnwtitle.ggCurrentLogicStateVisible == 0) {
					me._hotspotnwtitle.style.visibility="hidden";
					me._hotspotnwtitle.ggVisible=false;
				}
				else {
					me._hotspotnwtitle.style.visibility=(Number(me._hotspotnwtitle.style.opacity)>0||!me._hotspotnwtitle.style.opacity)?'inherit':'hidden';
					me._hotspotnwtitle.ggVisible=true;
				}
			}
		}
		me._hotspotnwtitle.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('nudge_viewer') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._hotspotnwtitle.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._hotspotnwtitle.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._hotspotnwtitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotnwtitle.ggCurrentLogicStateAlpha == 0) {
					me._hotspotnwtitle.style.visibility=me._hotspotnwtitle.ggVisible?'inherit':'hidden';
					me._hotspotnwtitle.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._hotspotnwtitle.style.opacity == 0.0) { me._hotspotnwtitle.style.visibility="hidden"; } }, 505);
					me._hotspotnwtitle.style.opacity=0;
				}
			}
		}
		me._hotspotnwtitle.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_node_nw.appendChild(me._hotspotnwtitle);
		me.__div = me._ht_node_nw;
	};
	function SkinHotspotClass_ht_image(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_image=document.createElement('div');
		el.ggId="ht_image";
		el.ggDx=-298;
		el.ggDy=-146;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_image.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_image.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_image.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_image.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_image.style[domTransition]='';
				if (me._ht_image.ggCurrentLogicStateVisible == 0) {
					me._ht_image.style.visibility="hidden";
					me._ht_image.ggVisible=false;
				}
				else {
					me._ht_image.style.visibility=(Number(me._ht_image.style.opacity)>0||!me._ht_image.style.opacity)?'inherit':'hidden';
					me._ht_image.ggVisible=true;
				}
			}
		}
		me._ht_image.onclick=function (e) {
			skin._popup_image.ggText=player.getBasePath()+""+me.hotspot.url;
			skin._popup_image.ggSubElement.style.width = '0px';
			skin._popup_image.ggSubElement.style.height = '0px';
			skin._popup_image.ggSubElement.src='';
			skin._popup_image.ggSubElement.src=skin._popup_image.ggText;
			player.setVariableValue('vis_image_popup', true);
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Show-Picture'
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_image.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_image.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_image.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_image.ggUpdatePosition=function (useTransition) {
		}
		el=me._tt_ht_image=document.createElement('div');
		els=me._tt_ht_image__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="tt_ht_image";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='z-index: 100;';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='pointer-events: none;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._tt_ht_image.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._tt_ht_image.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getHasTouch() == true))
			)
			{
				newLogicStatePosition = 0;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._tt_ht_image.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._tt_ht_image.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._tt_ht_image.style[domTransition]='left 0s, top 0s, opacity 500ms ease 0ms';
				if (me._tt_ht_image.ggCurrentLogicStatePosition == 0) {
					this.ggDx = 0;
					this.ggDy = -47;
					me._tt_ht_image.ggUpdatePosition(true);
				}
				else {
					me._tt_ht_image.ggDx=0;
					me._tt_ht_image.ggDy=-60;
					me._tt_ht_image.ggUpdatePosition(true);
				}
			}
		}
		me._tt_ht_image.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true)) || 
				((me.hotspot.title == ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._tt_ht_image.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._tt_ht_image.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._tt_ht_image.style[domTransition]='left 0s, top 0s, opacity 500ms ease 0ms';
				if (me._tt_ht_image.ggCurrentLogicStateVisible == 0) {
					me._tt_ht_image.style.visibility="hidden";
					me._tt_ht_image.ggVisible=false;
				}
				else {
					me._tt_ht_image.style.visibility=(Number(me._tt_ht_image.style.opacity)>0||!me._tt_ht_image.style.opacity)?'inherit':'hidden';
					me._tt_ht_image.ggVisible=true;
				}
			}
		}
		me._tt_ht_image.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('nudge_viewer') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._tt_ht_image.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._tt_ht_image.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._tt_ht_image.style[domTransition]='left 0s, top 0s, opacity 500ms ease 0ms';
				if (me._tt_ht_image.ggCurrentLogicStateAlpha == 0) {
					me._tt_ht_image.style.visibility=me._tt_ht_image.ggVisible?'inherit':'hidden';
					me._tt_ht_image.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._tt_ht_image.style.opacity == 0.0) { me._tt_ht_image.style.visibility="hidden"; } }, 505);
					me._tt_ht_image.style.opacity=0;
				}
			}
		}
		me._tt_ht_image.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_image.appendChild(me._tt_ht_image);
		el=me._hotspoticonimage0=document.createElement('div');
		els=me._hotspoticonimage0__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiLz4KIDxnPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0LjUsMjAuNTMsMjAuNTMsMCwwLDEsMjQuNSw0bTAtMkEyMi41LDIyLjUsMCwxLDAsNDcsMjQuNS'+
			'wyMi41LDIyLjUsMCwwLDAsMjQuNSwyWiIvPgogPC9nPgogPGNpcmNsZSBzdHlsZT0iZmlsbDogI2VlNzkyMiIgcj0iMTgiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogPHBhdGggc3R5bGU9ImZpbGw6ICNmZmY7c3Ryb2tlOiAjZTZlNmU2O3N0cm9rZS1taXRlcmxpbWl0OiAxMDtzdHJva2Utd2lkdGg6IDAuMjVweCIgZD0iTTI0LjgsMjEuODJhMy4xOCwzLjE4LDAsMSwxLTIuMjQuOTMsMy4xNiwzLjE2LDAsMCwxLDIuMjQtLjkzbTAtMi4xMUE1LjI4LDUuMjgsMCwxLDAsMzAuMDgsMjVhNS4yOCw1LjI4LDAsMCwwLTUuMjgtNS4yOFptLTQuNzEsMS40NWE2LjA4LDYuMDgsMCwwLDEsOS40MywwSDM2'+
			'LjhWMTlhMi4wOCwyLjA4LDAsMCwwLTIuMDgtMi4wOGgtLjk1di0uNjVhLjIyLjIyLDAsMCwwLS4yMi0uMjJIMzIuMjhhLjIyLjIyLDAsMCwwLS4yMi4yMnYuNjVIMzAuNjVMMzAuMDksMTVhMS40NiwxLjQ2LDAsMCwwLTEuNC0xLjA1SDIwLjkyQTEuNDYsMS40NiwwLDAsMCwxOS41MiwxNUwxOSwxNi45M0gxNC44OEEyLjA4LDIuMDgsMCwwLDAsMTIuOCwxOXYyLjE1Wm0tNS40Ny0yLjI0YS42Ni42NiwwLDAsMSwuNjYtLjY3aDEuMzFhLjY3LjY3LDAsMCwxLC42Ni42N2gwYS42Ny42NywwLDAsMS0uNjYuNjZIMTUuMjhhLjY2LjY2LDAsMCwxLS42Ni0uNjZabTE1LjYyLDMuMzVhNi4wOSw2LjA5LD'+
			'AsMSwxLTEwLjg3LDBIMTIuOFYzMWEyLjA4LDIuMDgsMCwwLDAsMi4wOCwyLjA4SDM0LjcyQTIuMDgsMi4wOCwwLDAsMCwzNi44LDMxVjIyLjI3WiIvPgo8L3N2Zz4K';
		me._hotspoticonimage0__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-icon-image";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspoticonimage0.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspoticonimage0.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspoticonimage0.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspoticonimage0.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspoticonimage0.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspoticonimage0.ggCurrentLogicStateScaling == 0) {
					me._hotspoticonimage0.ggParameter.sx = 0.5;
					me._hotspoticonimage0.ggParameter.sy = 0.5;
					me._hotspoticonimage0.style[domTransform]=parameterToTransform(me._hotspoticonimage0.ggParameter);
				}
				else {
					me._hotspoticonimage0.ggParameter.sx = 1;
					me._hotspoticonimage0.ggParameter.sy = 1;
					me._hotspoticonimage0.style[domTransform]=parameterToTransform(me._hotspoticonimage0.ggParameter);
				}
			}
		}
		me._hotspoticonimage0.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.hotspot.customimage != ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspoticonimage0.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspoticonimage0.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspoticonimage0.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspoticonimage0.ggCurrentLogicStateVisible == 0) {
					me._hotspoticonimage0.style.visibility="hidden";
					me._hotspoticonimage0.ggVisible=false;
				}
				else {
					me._hotspoticonimage0.style.visibility=(Number(me._hotspoticonimage0.style.opacity)>0||!me._hotspoticonimage0.style.opacity)?'inherit':'hidden';
					me._hotspoticonimage0.ggVisible=true;
				}
			}
		}
		me._hotspoticonimage0.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._tt_ht_image.style[domTransition]='none';
			} else {
				me._tt_ht_image.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._tt_ht_image.style.opacity='1';
			me._tt_ht_image.style.visibility=me._tt_ht_image.ggVisible?'inherit':'hidden';
		}
		me._hotspoticonimage0.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._tt_ht_image.style[domTransition]='none';
				} else {
					me._tt_ht_image.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._tt_ht_image.style.opacity='0';
				me._tt_ht_image.style.visibility='hidden';
			}
		}
		me._hotspoticonimage0.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_image.appendChild(me._hotspoticonimage0);
		me.__div = me._ht_image;
	};
	function SkinHotspotClass_ht_info(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_info=document.createElement('div');
		el.ggId="ht_info";
		el.ggDx=200;
		el.ggDy=-146;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_info.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_info.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_info.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_info.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_info.style[domTransition]='';
				if (me._ht_info.ggCurrentLogicStateVisible == 0) {
					me._ht_info.style.visibility="hidden";
					me._ht_info.ggVisible=false;
				}
				else {
					me._ht_info.style.visibility=(Number(me._ht_info.style.opacity)>0||!me._ht_info.style.opacity)?'inherit':'hidden';
					me._ht_info.ggVisible=true;
				}
			}
		}
		me._ht_info.onclick=function (e) {
			player.openUrl(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Show-Info'
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_info.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_info.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_info.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_info.ggUpdatePosition=function (useTransition) {
		}
		el=me._hotspotinfo=document.createElement('div');
		els=me._hotspotinfo__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiLz4KIDxnPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0LjUsMjAuNTMsMjAuNTMsMCwwLDEsMjQuNSw0bTAtMkEyMi41LDIyLjUsMCwxLDAsNDcsMjQuNS'+
			'wyMi41LDIyLjUsMCwwLDAsMjQuNSwyWiIvPgogPC9nPgogPGNpcmNsZSBzdHlsZT0iZmlsbDogI2VlNzkyMiIgcj0iMTgiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogPHBhdGggc3R5bGU9ImZpbGw6ICNmZmY7c3Ryb2tlOiAjZTZlNmU2O3N0cm9rZS1taXRlcmxpbWl0OiAxMDtzdHJva2Utd2lkdGg6IDAuNXB4IiBkPSJNMjAuNjMsMzVsMi43OC0xNC42aDQuM0wyNC45MywzNVpNMjQsMTYuNDdBMi40NiwyLjQ2LDAsMCwxLDI2LjQ4LDE0YTIsMiwwLDAsMSwyLjE1LDIuMTIsMi4zOCwyLjM4LDAsMCwxLTIuNTMsMi40MkEyLDIsMCwwLDEsMjQsMTYuNDdaIi8+Cjwvc3ZnPgo=';
		me._hotspotinfo__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-info";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspotinfo.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotinfo.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspotinfo.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspotinfo.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspotinfo.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspotinfo.ggCurrentLogicStateScaling == 0) {
					me._hotspotinfo.ggParameter.sx = 0.5;
					me._hotspotinfo.ggParameter.sy = 0.5;
					me._hotspotinfo.style[domTransform]=parameterToTransform(me._hotspotinfo.ggParameter);
				}
				else {
					me._hotspotinfo.ggParameter.sx = 1;
					me._hotspotinfo.ggParameter.sy = 1;
					me._hotspotinfo.style[domTransform]=parameterToTransform(me._hotspotinfo.ggParameter);
				}
			}
		}
		me._hotspotinfo.onclick=function (e) {
			me._hotspotinfotitle.style[domTransition]='none';
			me._hotspotinfotitle.style.visibility='hidden';
			me._hotspotinfotitle.ggVisible=false;
			me._hotspotinfodetails.style[domTransition]='none';
			me._hotspotinfodetails.style.visibility=(Number(me._hotspotinfodetails.style.opacity)>0||!me._hotspotinfodetails.style.opacity)?'inherit':'hidden';
			me._hotspotinfodetails.ggVisible=true;
			if (player.transitionsDisabled) {
				me._hotspotinfodetails.style[domTransition]='none';
			} else {
				me._hotspotinfodetails.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotinfodetails.style.opacity='1';
			me._hotspotinfodetails.style.visibility=me._hotspotinfodetails.ggVisible?'inherit':'hidden';
			me._hotspotinfo.style[domTransition]='none';
			me._hotspotinfo.style.visibility='hidden';
			me._hotspotinfo.ggVisible=false;
		}
		me._hotspotinfo.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotinfotitle.style[domTransition]='none';
			} else {
				me._hotspotinfotitle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotinfotitle.style.opacity='1';
			me._hotspotinfotitle.style.visibility=me._hotspotinfotitle.ggVisible?'inherit':'hidden';
		}
		me._hotspotinfo.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._hotspotinfotitle.style[domTransition]='none';
				} else {
					me._hotspotinfotitle.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._hotspotinfotitle.style.opacity='0';
				me._hotspotinfotitle.style.visibility='hidden';
			}
		}
		me._hotspotinfo.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_info.appendChild(me._hotspotinfo);
		el=me._hotspotinfotitle=document.createElement('div');
		els=me._hotspotinfotitle__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-Info-Title";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="<em style=\"text-transform:capitalize;\">"+me.hotspot.title+"<\/em>";
		el.appendChild(els);
		me._hotspotinfotitle.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotinfotitle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspotinfotitle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspotinfotitle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspotinfotitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotinfotitle.ggCurrentLogicStateVisible == 0) {
					me._hotspotinfotitle.style.visibility="hidden";
					me._hotspotinfotitle.ggVisible=false;
				}
				else {
					me._hotspotinfotitle.style.visibility=(Number(me._hotspotinfotitle.style.opacity)>0||!me._hotspotinfotitle.style.opacity)?'inherit':'hidden';
					me._hotspotinfotitle.ggVisible=true;
				}
			}
		}
		me._hotspotinfotitle.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('nudge_viewer') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._hotspotinfotitle.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._hotspotinfotitle.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._hotspotinfotitle.style[domTransition]='opacity 500ms ease 0ms';
				if (me._hotspotinfotitle.ggCurrentLogicStateAlpha == 0) {
					me._hotspotinfotitle.style.visibility=me._hotspotinfotitle.ggVisible?'inherit':'hidden';
					me._hotspotinfotitle.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._hotspotinfotitle.style.opacity == 0.0) { me._hotspotinfotitle.style.visibility="hidden"; } }, 505);
					me._hotspotinfotitle.style.opacity=0;
				}
			}
		}
		me._hotspotinfotitle.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_info.appendChild(me._hotspotinfotitle);
		el=me._hotspotinfodetails=document.createElement('div');
		els=me._hotspotinfodetails__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-Info-Details";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 300px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: 300px;';
		hs+='height: 300px;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: pre-wrap;';
		hs+='padding: 17px 18px 17px 18px;';
		hs+='overflow: hidden;';
		hs+='overflow-y: auto;';
		els.setAttribute('style',hs);
		els.innerHTML="<em style=\"text-transform:uppercase;\">"+me.hotspot.title+"<\/em><br\/><br\/>"+me.hotspot.description+"<br\/><br\/>(click to close)";
		el.appendChild(els);
		me._hotspotinfodetails.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotinfodetails.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((me.hotspot.description == ""))
			)
			{
				newLogicStatePosition = 0;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._hotspotinfodetails.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._hotspotinfodetails.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._hotspotinfodetails.style[domTransition]='left 0s, top 0s, width 0s, height 0s';
				if (me._hotspotinfodetails.ggCurrentLogicStatePosition == 0) {
					this.ggDx = 0;
					this.ggDy = 90;
					me._hotspotinfodetails.ggUpdatePosition(true);
				}
				else {
					me._hotspotinfodetails.ggDx=0;
					me._hotspotinfodetails.ggDy=0;
					me._hotspotinfodetails.ggUpdatePosition(true);
				}
			}
		}
		me._hotspotinfodetails.logicBlock_size = function() {
			var newLogicStateSize;
			if (
				((me.hotspot.description == ""))
			)
			{
				newLogicStateSize = 0;
			}
			else {
				newLogicStateSize = -1;
			}
			if (me._hotspotinfodetails.ggCurrentLogicStateSize != newLogicStateSize) {
				me._hotspotinfodetails.ggCurrentLogicStateSize = newLogicStateSize;
				me._hotspotinfodetails__text.style[domTransition]='left 0s, top 0s, width 0s, height 0s';
				if (me._hotspotinfodetails.ggCurrentLogicStateSize == 0) {
					me._hotspotinfodetails__text.style.width='300px';
					me._hotspotinfodetails__text.style.height='120px';
					skin.updateSize(me._hotspotinfodetails);
				}
				else {
					me._hotspotinfodetails__text.style.width='300px';
					me._hotspotinfodetails__text.style.height='300px';
					skin.updateSize(me._hotspotinfodetails);
				}
			}
		}
		me._hotspotinfodetails.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspotinfodetails.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspotinfodetails.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspotinfodetails.style[domTransition]='left 0s, top 0s, width 0s, height 0s';
				if (me._hotspotinfodetails.ggCurrentLogicStateVisible == 0) {
					me._hotspotinfodetails.style.visibility="hidden";
					me._hotspotinfodetails.ggVisible=false;
				}
				else {
					me._hotspotinfodetails.style.visibility="hidden";
					me._hotspotinfodetails.ggVisible=false;
				}
			}
		}
		me._hotspotinfodetails.logicBlock_text = function() {
			var newLogicStateText;
			if (
				((me.hotspot.description == ""))
			)
			{
				newLogicStateText = 0;
			}
			else {
				newLogicStateText = -1;
			}
			if (me._hotspotinfodetails.ggCurrentLogicStateText != newLogicStateText) {
				me._hotspotinfodetails.ggCurrentLogicStateText = newLogicStateText;
				me._hotspotinfodetails.style[domTransition]='left 0s, top 0s, width 0s, height 0s';
				if (me._hotspotinfodetails.ggCurrentLogicStateText == 0) {
					me._hotspotinfodetails.ggText="<em style=\"text-transform:uppercase;\">"+me.hotspot.title+"<\/em>\n\n(click to close)";
					me._hotspotinfodetails__text.innerHTML=me._hotspotinfodetails.ggText;
					if (me._hotspotinfodetails.ggUpdateText) {
					me._hotspotinfodetails.ggUpdateText=function() {
						var hs="<em style=\"text-transform:uppercase;\">"+me.hotspot.title+"<\/em>\n\n(click to close)";
						if (hs!=this.ggText) {
							this.ggText=hs;
							this.ggTextDiv.innerHTML=hs;
							if (this.ggUpdatePosition) this.ggUpdatePosition();
						}
					}
					} else {
						if (me._hotspotinfodetails.ggUpdatePosition) me._hotspotinfodetails.ggUpdatePosition();
					}
				}
				else {
					me._hotspotinfodetails.ggText="<em style=\"text-transform:uppercase;\">"+me.hotspot.title+"<\/em>\n\n"+me.hotspot.description+"\n\n(click to close)";
					me._hotspotinfodetails__text.innerHTML=me._hotspotinfodetails.ggText;
					if (me._hotspotinfodetails.ggUpdateText) {
					me._hotspotinfodetails.ggUpdateText=function() {
						var hs="<em style=\"text-transform:uppercase;\">"+me.hotspot.title+"<\/em>\n\n"+me.hotspot.description+"\n\n(click to close)";
						if (hs!=this.ggText) {
							this.ggText=hs;
							this.ggTextDiv.innerHTML=hs;
							if (this.ggUpdatePosition) this.ggUpdatePosition();
						}
					}
					} else {
						if (me._hotspotinfodetails.ggUpdatePosition) me._hotspotinfodetails.ggUpdatePosition();
					}
				}
			}
		}
		me._hotspotinfodetails.onclick=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotinfodetails.style[domTransition]='none';
			} else {
				me._hotspotinfodetails.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotinfodetails.style.opacity='0';
			me._hotspotinfodetails.style.visibility='hidden';
			me._hotspotinfodetails.style[domTransition]='none';
			me._hotspotinfodetails.style.visibility='hidden';
			me._hotspotinfodetails.ggVisible=false;
			me._hotspotinfo.style[domTransition]='none';
			me._hotspotinfo.style.visibility=(Number(me._hotspotinfo.style.opacity)>0||!me._hotspotinfo.style.opacity)?'inherit':'hidden';
			me._hotspotinfo.ggVisible=true;
			me._hotspotinfotitle.style[domTransition]='none';
			me._hotspotinfotitle.style.visibility=(Number(me._hotspotinfotitle.style.opacity)>0||!me._hotspotinfotitle.style.opacity)?'inherit':'hidden';
			me._hotspotinfotitle.ggVisible=true;
		}
		me._hotspotinfodetails.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_info.appendChild(me._hotspotinfodetails);
		me.__div = me._ht_info;
	};
	function SkinHotspotClass_ht_ani(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_ani=document.createElement('div');
		el.ggId="ht_ani";
		el.ggDx=400;
		el.ggDy=-146;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_ani.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_ani.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_ani.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_ani.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_ani.style[domTransition]='';
				if (me._ht_ani.ggCurrentLogicStateVisible == 0) {
					me._ht_ani.style.visibility="hidden";
					me._ht_ani.ggVisible=false;
				}
				else {
					me._ht_ani.style.visibility=(Number(me._ht_ani.style.opacity)>0||!me._ht_ani.style.opacity)?'inherit':'hidden';
					me._ht_ani.ggVisible=true;
				}
			}
		}
		me._ht_ani.onclick=function (e) {
			player.openUrl(me.hotspot.url,me.hotspot.target);
			gtag('event', 'Node Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_ani.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_ani.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_ani.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_ani.ggUpdatePosition=function (useTransition) {
		}
		el=me._hotspotanititle=document.createElement('div');
		els=me._hotspotanititle__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Hotspot-Ani-Title";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 7px 18px 7px 18px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="<em style=\"text-transform:capitalize;\">"+me.hotspot.title+"<\/em>";
		el.appendChild(els);
		me._hotspotanititle.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotanititle.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspotanititle.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspotanititle.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspotanititle.style[domTransition]='';
				if (me._hotspotanititle.ggCurrentLogicStateVisible == 0) {
					me._hotspotanititle.style.visibility="hidden";
					me._hotspotanititle.ggVisible=false;
				}
				else {
					me._hotspotanititle.style.visibility=(Number(me._hotspotanititle.style.opacity)>0||!me._hotspotanititle.style.opacity)?'inherit':'hidden';
					me._hotspotanititle.ggVisible=true;
				}
			}
		}
		me._hotspotanititle.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_ani.appendChild(me._hotspotanititle);
		el=me._hotspotaniicon=document.createElement('div');
		els=me._hotspotaniicon__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiLz4KIDxnPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0LjUsMjAuNTMsMjAuNTMsMCwwLDEsMjQuNSw0bTAtMkEyMi41LDIyLjUsMCwxLDAsNDcsMjQuNS'+
			'wyMi41LDIyLjUsMCwwLDAsMjQuNSwyWiIvPgogPC9nPgogPGNpcmNsZSBzdHlsZT0iZmlsbDogI2VlNzkyMiIgcj0iMTIuNSIgY3g9IjI0LjUiIGN5PSIyNC41Ii8+Cjwvc3ZnPgo=';
		me._hotspotaniicon__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-ani-icon";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:0.5,sy:0.5 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		el.style[domTransform]=parameterToTransform(el.ggParameter);
		me._hotspotaniicon.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspotaniicon.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspotaniicon.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspotaniicon.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspotaniicon.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspotaniicon.ggCurrentLogicStateScaling == 0) {
					me._hotspotaniicon.ggParameter.sx = 1;
					me._hotspotaniicon.ggParameter.sy = 1;
					me._hotspotaniicon.style[domTransform]=parameterToTransform(me._hotspotaniicon.ggParameter);
				}
				else {
					me._hotspotaniicon.ggParameter.sx = 0.5;
					me._hotspotaniicon.ggParameter.sy = 0.5;
					me._hotspotaniicon.style[domTransform]=parameterToTransform(me._hotspotaniicon.ggParameter);
				}
			}
		}
		me._hotspotaniicon.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotanititle.style[domTransition]='none';
			} else {
				me._hotspotanititle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotanititle.style.opacity='1';
			me._hotspotanititle.style.visibility=me._hotspotanititle.ggVisible?'inherit':'hidden';
		}
		me._hotspotaniicon.onmouseout=function (e) {
			if (player.transitionsDisabled) {
				me._hotspotanititle.style[domTransition]='none';
			} else {
				me._hotspotanititle.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._hotspotanititle.style.opacity='0';
			me._hotspotanititle.style.visibility='hidden';
		}
		me._hotspotaniicon.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_ani.appendChild(me._hotspotaniicon);
		me.__div = me._ht_ani;
	};
	function SkinHotspotClass_ht_video_file(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_video_file=document.createElement('div');
		el.ggId="ht_video_file";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : 190px;';
		hs+='position : absolute;';
		hs+='top : 192px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_video_file.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_video_file.onclick=function (e) {
			skin._popup_video_file.ggInitMedia(player.getBasePath()+""+me.hotspot.url);
			player.setVariableValue('vis_video_file', true);
			if (skin._popup_video_file.ggApiPlayer) {
				if (skin._popup_video_file.ggApiPlayerType == 'youtube') {
					let youtubeMediaFunction = function() {
						skin._popup_video_file.ggApiPlayer.playVideo();
					};
					if (skin._popup_video_file.ggApiPlayerReady) {
						youtubeMediaFunction();
					} else {
						let youtubeApiInterval = setInterval(function() {
							if (skin._popup_video_file.ggApiPlayerReady) {
								clearInterval(youtubeApiInterval);
								youtubeMediaFunction();
							}
						}, 100);
					}
				} else if (skin._popup_video_file.ggApiPlayerType == 'vimeo') {
					skin._popup_video_file.ggApiPlayer.play();
				}
			} else {
				player.playSound("popup_video_file","1");
			}
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_video_file.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_video_file.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			me.elementMouseOver['ht_video_file']=true;
			me._tt_ht_video_file.logicBlock_visible();
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_video_file.onmouseout=function (e) {
			player.setActiveHotspot(null);
			me.elementMouseOver['ht_video_file']=false;
			me._tt_ht_video_file.logicBlock_visible();
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_video_file.ontouchend=function (e) {
			me.elementMouseOver['ht_video_file']=false;
			me._tt_ht_video_file.logicBlock_visible();
		}
		me._ht_video_file.ggUpdatePosition=function (useTransition) {
		}
		el=me._ht_video_video_file=document.createElement('div');
		els=me._ht_video_video_file__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDkgNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8ZGVmcz4KICA8c3R5bGU+CiAgICAgIC5hIHsKICAgICAgICBmaWxsOiAjZWU3OTIyOwogICAgICB9CgogICAgICAuYiB7CiAgICAgICAgZmlsbDogI2U2ZTZlNjsKICAgICAgfQoKICAgICAgLmMsIC5kIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CgogICAgICAuZCB7CiAgICAgICAgc3Ryb2tlOiAjZTZlNmU2OwogICAgICAgIHN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NzPSJjIi8+CiAgPHBhdGggZD0iTTM1LjQ3LDMwLjI0bC0zLTEuNzV2LThhMTIuOSwxMi45LDAsMCwwLDMtMS43NWMxLjExLTEsMi0uNDgsMiwxLjA3djkuMzRDMzcuNDcsMzAuNzIsMzYuNTgsMzEuMiwzNS40NywzMC4yNFoiIGNsYXNzPSJkIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._ht_video_video_file__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="ht_video_video_file";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_video_video_file.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._ht_video_video_file.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.hotspot.customimage != ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_video_video_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_video_video_file.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_video_video_file.style[domTransition]='';
				if (me._ht_video_video_file.ggCurrentLogicStateVisible == 0) {
					me._ht_video_video_file.style.visibility="hidden";
					me._ht_video_video_file.ggVisible=false;
				}
				else {
					me._ht_video_video_file.style.visibility=(Number(me._ht_video_video_file.style.opacity)>0||!me._ht_video_video_file.style.opacity)?'inherit':'hidden';
					me._ht_video_video_file.ggVisible=true;
				}
			}
		}
		me._ht_video_video_file.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_video_file.appendChild(me._ht_video_video_file);
		el=me._tt_ht_video_file=document.createElement('div');
		els=me._tt_ht_video_file__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="tt_ht_video_file";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='z-index: 100;';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 100px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='pointer-events: none;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML="<em style=\"text-transform:capitalize;\">"+me.hotspot.title+"<\/em>";
		el.appendChild(els);
		me._tt_ht_video_file.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._tt_ht_video_file.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.elementMouseOver['ht_video_file'] == true)) && 
				((me.hotspot.title != ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._tt_ht_video_file.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._tt_ht_video_file.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._tt_ht_video_file.style[domTransition]='';
				if (me._tt_ht_video_file.ggCurrentLogicStateVisible == 0) {
					me._tt_ht_video_file.style.visibility=(Number(me._tt_ht_video_file.style.opacity)>0||!me._tt_ht_video_file.style.opacity)?'inherit':'hidden';
					me._tt_ht_video_file.ggVisible=true;
				}
				else {
					me._tt_ht_video_file.style.visibility="hidden";
					me._tt_ht_video_file.ggVisible=false;
				}
			}
		}
		me._tt_ht_video_file.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((98-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_video_file.appendChild(me._tt_ht_video_file);
		el=me._ht_video_file_customimage=document.createElement('div');
		els=me._ht_video_file_customimage__img=document.createElement('img');
		els.className='ggskin ggskin_external';
		els.setAttribute('style','position: absolute;-webkit-user-drag:none;pointer-events:none;;');
		els.onload=function() {me._ht_video_file_customimage.ggUpdatePosition();}
		if ((hotspot) && (hotspot.customimage)) {
			el.ggText=hotspot.customimage;
			els.setAttribute('src', hotspot.customimage);
			els.style.width=hotspot.customimagewidth + 'px';
			els.style.height=hotspot.customimageheight + 'px';
			me.ggUse3d = hotspot.use3D;
			me.gg3dDistance = hotspot.distance3D;
		}
		els['ondragstart']=function() { return false; };
		player.checkLoaded.push(els);
		hs ='';
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="ht_video_file_CustomImage";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_external ";
		el.ggType='external';
		hs ='';
		hs+='border : 0px solid #000000;';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_video_file_customimage.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._ht_video_file_customimage.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.hotspot.customimage == ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_video_file_customimage.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_video_file_customimage.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_video_file_customimage.style[domTransition]='';
				if (me._ht_video_file_customimage.ggCurrentLogicStateVisible == 0) {
					me._ht_video_file_customimage.style.visibility="hidden";
					me._ht_video_file_customimage__img.src = '';
					me._ht_video_file_customimage.ggVisible=false;
				}
				else {
					me._ht_video_file_customimage.style.visibility=(Number(me._ht_video_file_customimage.style.opacity)>0||!me._ht_video_file_customimage.style.opacity)?'inherit':'hidden';
					me._ht_video_file_customimage.ggSubElement.src=me._ht_video_file_customimage.ggText;
					me._ht_video_file_customimage.ggVisible=true;
				}
			}
		}
		me._ht_video_file_customimage.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			var parentWidth = me._ht_video_file_customimage.clientWidth;
			var parentHeight = me._ht_video_file_customimage.clientHeight;
			var img = me._ht_video_file_customimage__img;
			var aspectRatioDiv = me._ht_video_file_customimage.clientWidth / me._ht_video_file_customimage.clientHeight;
			var aspectRatioImg = img.naturalWidth / img.naturalHeight;
			if (img.naturalWidth < parentWidth) parentWidth = img.naturalWidth;
			if (img.naturalHeight < parentHeight) parentHeight = img.naturalHeight;
			var currentWidth,currentHeight;
			if ((hotspot) && (hotspot.customimage)) {
				currentWidth  = hotspot.customimagewidth;
				currentHeight = hotspot.customimageheight;
			}
			img.style.left='50%';
			img.style.marginLeft='-' + currentWidth/2 + 'px';
			img.style.top='50%';
			img.style.marginTop='-' + currentHeight/2 + 'px';
		}
		me._ht_video_file.appendChild(me._ht_video_file_customimage);
		if ((hotspot) && (hotspot.customimage)) {
			el.style.width=hotspot.customimagewidth + 'px';
			el.style.height=hotspot.customimageheight + 'px';
		}
		me.__div = me._ht_video_file;
	};
	function SkinHotspotClass_ht_animation_play(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_animation_play=document.createElement('div');
		el.ggId="ht_animation_play";
		el.ggDx=-200;
		el.ggDy=200;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_animation_play.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_animation_play.onclick=function (e) {
			player.toggleAutorotate();
			me._ht_animation_play_button.style[domTransition]='none';
			me._ht_animation_play_button.style.visibility='hidden';
			me._ht_animation_play_button.ggVisible=false;
			skin._animationstop.style[domTransition]='none';
			skin._animationstop.style.visibility=(Number(skin._animationstop.style.opacity)>0||!skin._animationstop.style.opacity)?'inherit':'hidden';
			skin._animationstop.ggVisible=true;
			skin._hidehotspots.onclick.call(skin._hidehotspots);
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_animation_play.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_animation_play.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_animation_play.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_animation_play.ggUpdatePosition=function (useTransition) {
		}
		el=me._ht_animation_play_button=document.createElement('div');
		els=me._ht_animation_play_button__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDkgNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8ZGVmcz4KICA8c3R5bGU+CiAgICAgIC5hIHsKICAgICAgICBmaWxsOiAjZWU3OTIyOwogICAgICB9CgogICAgICAuYiB7CiAgICAgICAgZmlsbDogI2U2ZTZlNjsKICAgICAgfQoKICAgICAgLmMsIC5kIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CgogICAgICAuZCB7CiAgICAgICAgc3Ryb2tlOiAjZTZlNmU2OwogICAgICAgIHN0cm9rZS1taXRlcmxpbWl0OiAxMDsKICAgICAgICBzdHJva2Utd2lkdGg6IDAuNXB4OwogICAgICB9CiAgICA8L3N0eWxlPgogPC9kZWZzPgogPG'+
			'NpcmNsZSByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiIGNsYXNzPSJhIi8+CiA8Zz4KICA8Y2lyY2xlIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIgY2xhc3M9ImIiLz4KICA8cGF0aCBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0LjUsMjAuNTMsMjAuNTMsMCwwLDEsMjQuNSw0bTAtMkEyMi41LDIyLjUsMCwxLDAsNDcsMjQuNSwyMi41LDIyLjUsMCwwLDAsMjQuNSwyWiIgY2xhc3M9ImMiLz4KIDwvZz4KIDxjaXJjbGUgcj0iMTgiIGN4PSIyNC41IiBjeT0iMjQuNSIgY2xhc3M9ImEiLz4KIDxnPgogIDxwYXRoIGQ9Ik0yOCwxNS41MkgxNS4wNUEzLjUzLDMuNTMsMCwwLDAs'+
			'MTEuNTMsMTlWMzBhMy41MywzLjUzLDAsMCwwLDMuNTIsMy41MkgyOEEzLjUyLDMuNTIsMCwwLDAsMzEuNDgsMzBWMTlBMy41MiwzLjUyLDAsMCwwLDI4LDE1LjUyWk0yMS41MSwzMUE2LjQ5LDYuNDksMCwxLDEsMjgsMjQuNSw2LjUsNi41LDAsMCwxLDIxLjUxLDMxWiIgY2xhc3M9ImQiLz4KICA8cGF0aCBkPSJNMjEuNTEsMTlBNS40OSw1LjQ5LDAsMSwwLDI3LDI0LjUsNS40OSw1LjQ5LDAsMCwwLDIxLjUxLDE5Wm0zLjQxLDUuODEtMi4yNSwxLjMtMi4yNiwxLjNjLS4zLjE3LS41NSwwLS41NS0uMzJWMjEuOWMwLS4zNS4yNS0uNDkuNTUtLjMybDIuMjYsMS4zLDIuMjUsMS4zQS4zNC4zNCwwLD'+
			'AsMSwyNC45MiwyNC44MloiIGNsYXNzPSJjIi8+CiAgPHBhdGggZD0iTTM1LjQ3LDMwLjI0bC0zLTEuNzV2LThhMTIuOSwxMi45LDAsMCwwLDMtMS43NWMxLjExLTEsMi0uNDgsMiwxLjA3djkuMzRDMzcuNDcsMzAuNzIsMzYuNTgsMzEuMiwzNS40NywzMC4yNFoiIGNsYXNzPSJkIi8+CiA8L2c+Cjwvc3ZnPgo=';
		me._ht_animation_play_button__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="ht_animation_play_button";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_animation_play_button.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._ht_animation_play_button.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.hotspot.customimage != ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_animation_play_button.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_animation_play_button.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_animation_play_button.style[domTransition]='';
				if (me._ht_animation_play_button.ggCurrentLogicStateVisible == 0) {
					me._ht_animation_play_button.style.visibility="hidden";
					me._ht_animation_play_button.ggVisible=false;
				}
				else {
					me._ht_animation_play_button.style.visibility=(Number(me._ht_animation_play_button.style.opacity)>0||!me._ht_animation_play_button.style.opacity)?'inherit':'hidden';
					me._ht_animation_play_button.ggVisible=true;
				}
			}
		}
		me._ht_animation_play_button.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_animation_play.appendChild(me._ht_animation_play_button);
		me.__div = me._ht_animation_play;
	};
	function SkinHotspotClass_ht_image_gal(parentScope,hotspot) {
		var me=this;
		var flag=false;
		var hs='';
		me.parentScope=parentScope;
		me.hotspot=hotspot;
		var nodeId=String(hotspot.url);
		nodeId=(nodeId.charAt(0)=='{')?nodeId.substr(1, nodeId.length - 2):''; // }
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		el=me._ht_image_gal=document.createElement('div');
		el.ggId="ht_image_gal";
		el.ggDx=-298;
		el.ggDy=-146;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_hotspot ";
		el.ggType='hotspot';
		hs ='';
		hs+='height : 0px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 0px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._ht_image_gal.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			if (me.hotspot.url!='' && me.hotspot.url.charAt(0)=='{') { // }
				return me.hotspot.url.substr(1, me.hotspot.url.length - 2);
			} else {
				if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
					return this.parentNode.ggElementNodeId();
				} else {
					return player.getCurrentNode();
				}
			}
		}
		me._ht_image_gal.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getVariableValue('hide_all_hotspots') == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._ht_image_gal.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._ht_image_gal.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._ht_image_gal.style[domTransition]='';
				if (me._ht_image_gal.ggCurrentLogicStateVisible == 0) {
					me._ht_image_gal.style.visibility="hidden";
					me._ht_image_gal.ggVisible=false;
				}
				else {
					me._ht_image_gal.style.visibility=(Number(me._ht_image_gal.style.opacity)>0||!me._ht_image_gal.style.opacity)?'inherit':'hidden';
					me._ht_image_gal.ggVisible=true;
				}
			}
		}
		me._ht_image_gal.onclick=function (e) {
			player.setVariableValue('gal_image_index', Number("1"));
			player.setVariableValue('gal_image_folder', player.getBasePath()+""+me.hotspot.url);
			skin._popup_image_gal.ggText="assets\/"+player.getBasePath()+""+me.hotspot.url+"\/"+player.getVariableValue('gal_image_index')+".jpg";
			skin._popup_image_gal.ggSubElement.style.width = '0px';
			skin._popup_image_gal.ggSubElement.style.height = '0px';
			skin._popup_image_gal.ggSubElement.src='';
			skin._popup_image_gal.ggSubElement.src=skin._popup_image_gal.ggText;
			player.setVariableValue('vis_image_popup_gal', true);
			player.setVariableValue('gal_image_total', Number(me.hotspot.target));
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Show-Picture'
});
			skin.hotspotProxyClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_image_gal.ondblclick=function (e) {
			skin.hotspotProxyDoubleClick(me.hotspot.id, me.hotspot.url);
		}
		me._ht_image_gal.onmouseover=function (e) {
			player.setActiveHotspot(me.hotspot);
			skin.hotspotProxyOver(me.hotspot.id, me.hotspot.url);
		}
		me._ht_image_gal.onmouseout=function (e) {
			player.setActiveHotspot(null);
			skin.hotspotProxyOut(me.hotspot.id, me.hotspot.url);
		}
		me._ht_image_gal.ggUpdatePosition=function (useTransition) {
		}
		el=me._tt_ht_image_gal=document.createElement('div');
		els=me._tt_ht_image_gal__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="tt_ht_image_gal";
		el.ggDx=0;
		el.ggDy=-60;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 20px;';
		hs+='left : -10000px;';
		hs+='opacity : 0;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : hidden;';
		hs+='width : 300px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: auto;';
		hs+='height: auto;';
		hs+='pointer-events: none;';
		hs+='background: #535353;';
		hs+='background: rgba(83,83,83,0.784314);';
		hs+='border: 0px solid #000000;';
		hs+='border-radius: 10px;';
		hs+=cssPrefix + 'border-radius: 10px;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 4px 7px 4px 7px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.hotspot.title;
		el.appendChild(els);
		me._tt_ht_image_gal.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._tt_ht_image_gal.logicBlock_position = function() {
			var newLogicStatePosition;
			if (
				((player.getHasTouch() == true))
			)
			{
				newLogicStatePosition = 0;
			}
			else {
				newLogicStatePosition = -1;
			}
			if (me._tt_ht_image_gal.ggCurrentLogicStatePosition != newLogicStatePosition) {
				me._tt_ht_image_gal.ggCurrentLogicStatePosition = newLogicStatePosition;
				me._tt_ht_image_gal.style[domTransition]='left 0s, top 0s, opacity 500ms ease 0ms';
				if (me._tt_ht_image_gal.ggCurrentLogicStatePosition == 0) {
					this.ggDx = 0;
					this.ggDy = -47;
					me._tt_ht_image_gal.ggUpdatePosition(true);
				}
				else {
					me._tt_ht_image_gal.ggDx=0;
					me._tt_ht_image_gal.ggDy=-60;
					me._tt_ht_image_gal.ggUpdatePosition(true);
				}
			}
		}
		me._tt_ht_image_gal.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.getIsMobile() == true)) || 
				((me.hotspot.title == ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._tt_ht_image_gal.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._tt_ht_image_gal.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._tt_ht_image_gal.style[domTransition]='left 0s, top 0s, opacity 500ms ease 0ms';
				if (me._tt_ht_image_gal.ggCurrentLogicStateVisible == 0) {
					me._tt_ht_image_gal.style.visibility="hidden";
					me._tt_ht_image_gal.ggVisible=false;
				}
				else {
					me._tt_ht_image_gal.style.visibility=(Number(me._tt_ht_image_gal.style.opacity)>0||!me._tt_ht_image_gal.style.opacity)?'inherit':'hidden';
					me._tt_ht_image_gal.ggVisible=true;
				}
			}
		}
		me._tt_ht_image_gal.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((player.getVariableValue('nudge_viewer') == true))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._tt_ht_image_gal.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._tt_ht_image_gal.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._tt_ht_image_gal.style[domTransition]='left 0s, top 0s, opacity 500ms ease 0ms';
				if (me._tt_ht_image_gal.ggCurrentLogicStateAlpha == 0) {
					me._tt_ht_image_gal.style.visibility=me._tt_ht_image_gal.ggVisible?'inherit':'hidden';
					me._tt_ht_image_gal.style.opacity=1;
				}
				else {
					setTimeout(function() { if (me._tt_ht_image_gal.style.opacity == 0.0) { me._tt_ht_image_gal.style.visibility="hidden"; } }, 505);
					me._tt_ht_image_gal.style.opacity=0;
				}
			}
		}
		me._tt_ht_image_gal.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
			this.style[domTransition]='left 0';
			this.ggTextDiv.style.left=((298-this.ggTextDiv.offsetWidth)/2) + 'px';
		}
		me._ht_image_gal.appendChild(me._tt_ht_image_gal);
		el=me._hotspoticonimage=document.createElement('div');
		els=me._hotspoticonimage__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSI+CiA8Y2lyY2xlIHN0eWxlPSJmaWxsOiAjZWU3OTIyIiByPSIyNC41IiBjeD0iMjQuNSIgY3k9IjI0LjUiLz4KIDxnPgogIDxjaXJjbGUgc3R5bGU9ImZpbGw6ICNlNmU2ZTYiIHI9IjIxLjUiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogIDxwYXRoIHN0eWxlPSJmaWxsOiAjZmZmIiBkPSJNMjQuNSw0QTIwLjUsMjAuNSwwLDEsMSw0LDI0LjUsMjAuNTMsMjAuNTMsMCwwLDEsMjQuNSw0bTAtMkEyMi41LDIyLjUsMCwxLDAsNDcsMjQuNS'+
			'wyMi41LDIyLjUsMCwwLDAsMjQuNSwyWiIvPgogPC9nPgogPGNpcmNsZSBzdHlsZT0iZmlsbDogI2VlNzkyMiIgcj0iMTgiIGN4PSIyNC41IiBjeT0iMjQuNSIvPgogPHBhdGggc3R5bGU9ImZpbGw6ICNmZmY7c3Ryb2tlOiAjZTZlNmU2O3N0cm9rZS1taXRlcmxpbWl0OiAxMDtzdHJva2Utd2lkdGg6IDAuMjVweCIgZD0iTTI0LjgsMjEuODJhMy4xOCwzLjE4LDAsMSwxLTIuMjQuOTMsMy4xNiwzLjE2LDAsMCwxLDIuMjQtLjkzbTAtMi4xMUE1LjI4LDUuMjgsMCwxLDAsMzAuMDgsMjVhNS4yOCw1LjI4LDAsMCwwLTUuMjgtNS4yOFptLTQuNzEsMS40NWE2LjA4LDYuMDgsMCwwLDEsOS40MywwSDM2'+
			'LjhWMTlhMi4wOCwyLjA4LDAsMCwwLTIuMDgtMi4wOGgtLjk1di0uNjVhLjIyLjIyLDAsMCwwLS4yMi0uMjJIMzIuMjhhLjIyLjIyLDAsMCwwLS4yMi4yMnYuNjVIMzAuNjVMMzAuMDksMTVhMS40NiwxLjQ2LDAsMCwwLTEuNC0xLjA1SDIwLjkyQTEuNDYsMS40NiwwLDAsMCwxOS41MiwxNUwxOSwxNi45M0gxNC44OEEyLjA4LDIuMDgsMCwwLDAsMTIuOCwxOXYyLjE1Wm0tNS40Ny0yLjI0YS42Ni42NiwwLDAsMSwuNjYtLjY3aDEuMzFhLjY3LjY3LDAsMCwxLC42Ni42N2gwYS42Ny42NywwLDAsMS0uNjYuNjZIMTUuMjhhLjY2LjY2LDAsMCwxLS42Ni0uNjZabTE1LjYyLDMuMzVhNi4wOSw2LjA5LD'+
			'AsMSwxLTEwLjg3LDBIMTIuOFYzMWEyLjA4LDIuMDgsMCwwLDAsMi4wOCwyLjA4SDM0LjcyQTIuMDgsMi4wOCwwLDAsMCwzNi44LDMxVjIyLjI3WiIvPgo8L3N2Zz4K';
		me._hotspoticonimage__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="hotspot-icon-image";
		el.ggDx=0;
		el.ggDy=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 49px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 49px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._hotspoticonimage.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return me.ggNodeId;
		}
		me._hotspoticonimage.logicBlock_scaling = function() {
			var newLogicStateScaling;
			if (
				((player.getVariableValue('ht_ani') == true)) && 
				((player.getVariableValue('extreme_nudge_viewer') == true))
			)
			{
				newLogicStateScaling = 0;
			}
			else {
				newLogicStateScaling = -1;
			}
			if (me._hotspoticonimage.ggCurrentLogicStateScaling != newLogicStateScaling) {
				me._hotspoticonimage.ggCurrentLogicStateScaling = newLogicStateScaling;
				me._hotspoticonimage.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspoticonimage.ggCurrentLogicStateScaling == 0) {
					me._hotspoticonimage.ggParameter.sx = 0.5;
					me._hotspoticonimage.ggParameter.sy = 0.5;
					me._hotspoticonimage.style[domTransform]=parameterToTransform(me._hotspoticonimage.ggParameter);
				}
				else {
					me._hotspoticonimage.ggParameter.sx = 1;
					me._hotspoticonimage.ggParameter.sy = 1;
					me._hotspoticonimage.style[domTransform]=parameterToTransform(me._hotspoticonimage.ggParameter);
				}
			}
		}
		me._hotspoticonimage.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.hotspot.customimage != ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._hotspoticonimage.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._hotspoticonimage.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._hotspoticonimage.style[domTransition]='' + cssPrefix + 'transform 500ms ease 0ms';
				if (me._hotspoticonimage.ggCurrentLogicStateVisible == 0) {
					me._hotspoticonimage.style.visibility="hidden";
					me._hotspoticonimage.ggVisible=false;
				}
				else {
					me._hotspoticonimage.style.visibility=(Number(me._hotspoticonimage.style.opacity)>0||!me._hotspoticonimage.style.opacity)?'inherit':'hidden';
					me._hotspoticonimage.ggVisible=true;
				}
			}
		}
		me._hotspoticonimage.onmouseover=function (e) {
			if (player.transitionsDisabled) {
				me._tt_ht_image_gal.style[domTransition]='none';
			} else {
				me._tt_ht_image_gal.style[domTransition]='all 100ms ease-out 0ms';
			}
			me._tt_ht_image_gal.style.opacity='1';
			me._tt_ht_image_gal.style.visibility=me._tt_ht_image_gal.ggVisible?'inherit':'hidden';
		}
		me._hotspoticonimage.onmouseout=function (e) {
			if (
				(
					((player.getVariableValue('nudge_viewer') == false))
				)
			) {
				if (player.transitionsDisabled) {
					me._tt_ht_image_gal.style[domTransition]='none';
				} else {
					me._tt_ht_image_gal.style[domTransition]='all 100ms ease-out 0ms';
				}
				me._tt_ht_image_gal.style.opacity='0';
				me._tt_ht_image_gal.style.visibility='hidden';
			}
		}
		me._hotspoticonimage.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
				var ph=this.parentNode.clientHeight;
				var h=this.offsetHeight;
					this.style.top=(this.ggDy + ph/2 - h/2) + 'px';
			}
		}
		me._ht_image_gal.appendChild(me._hotspoticonimage);
		me.__div = me._ht_image_gal;
	};
	me.addSkinHotspot=function(hotspot) {
		var hsinst = null;
		if (hotspot.skinid=='ht_node_arrow') {
			hotspot.skinid = 'ht_node_arrow';
			hsinst = new SkinHotspotClass_ht_node_arrow(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_node_arrow_sizechanged();;
			me.callChildLogicBlocksHotspot_ht_node_arrow_changenode();;
			me.callChildLogicBlocksHotspot_ht_node_arrow_configloaded();;
			me.callChildLogicBlocksHotspot_ht_node_arrow_mouseover();;
			me.callChildLogicBlocksHotspot_ht_node_arrow_active();;
			me.callChildLogicBlocksHotspot_ht_node_arrow_changevisitednodes();;
			me.callChildLogicBlocksHotspot_ht_node_arrow_activehotspotchanged();;
			me.callChildLogicBlocksHotspot_ht_node_arrow_varchanged_opt_3d_preview();;
		} else
		if (hotspot.skinid=='ht_node') {
			hotspot.skinid = 'ht_node';
			hsinst = new SkinHotspotClass_ht_node(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_node_changenode();;
			me.callChildLogicBlocksHotspot_ht_node_configloaded();;
			me.callChildLogicBlocksHotspot_ht_node_activehotspotchanged();;
			me.callChildLogicBlocksHotspot_ht_node_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_node_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_node_varchanged_extreme_nudge_viewer();;
			me.callChildLogicBlocksHotspot_ht_node_varchanged_nudge_viewer();;
		} else
		if (hotspot.skinid=='ht_node_North') {
			hotspot.skinid = 'ht_node_North';
			hsinst = new SkinHotspotClass_ht_node_north(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_node_north_changenode();;
			me.callChildLogicBlocksHotspot_ht_node_north_configloaded();;
			me.callChildLogicBlocksHotspot_ht_node_north_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_node_north_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_node_north_varchanged_extreme_nudge_viewer();;
		} else
		if (hotspot.skinid=='ht_node_NE') {
			hotspot.skinid = 'ht_node_NE';
			hsinst = new SkinHotspotClass_ht_node_ne(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_node_ne_changenode();;
			me.callChildLogicBlocksHotspot_ht_node_ne_configloaded();;
			me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_extreme_nudge_viewer();;
			me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_nudge_viewer();;
		} else
		if (hotspot.skinid=='ht_node_E') {
			hotspot.skinid = 'ht_node_E';
			hsinst = new SkinHotspotClass_ht_node_e(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_node_e_changenode();;
			me.callChildLogicBlocksHotspot_ht_node_e_configloaded();;
			me.callChildLogicBlocksHotspot_ht_node_e_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_node_e_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_node_e_varchanged_extreme_nudge_viewer();;
			me.callChildLogicBlocksHotspot_ht_node_e_varchanged_nudge_viewer();;
		} else
		if (hotspot.skinid=='ht_node_SE') {
			hotspot.skinid = 'ht_node_SE';
			hsinst = new SkinHotspotClass_ht_node_se(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_node_se_changenode();;
			me.callChildLogicBlocksHotspot_ht_node_se_configloaded();;
			me.callChildLogicBlocksHotspot_ht_node_se_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_node_se_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_node_se_varchanged_extreme_nudge_viewer();;
			me.callChildLogicBlocksHotspot_ht_node_se_varchanged_nudge_viewer();;
		} else
		if (hotspot.skinid=='ht_node_South') {
			hotspot.skinid = 'ht_node_South';
			hsinst = new SkinHotspotClass_ht_node_south(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_node_south_changenode();;
			me.callChildLogicBlocksHotspot_ht_node_south_configloaded();;
			me.callChildLogicBlocksHotspot_ht_node_south_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_node_south_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_node_south_varchanged_extreme_nudge_viewer();;
			me.callChildLogicBlocksHotspot_ht_node_south_varchanged_nudge_viewer();;
		} else
		if (hotspot.skinid=='ht_node_SW') {
			hotspot.skinid = 'ht_node_SW';
			hsinst = new SkinHotspotClass_ht_node_sw(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_node_sw_changenode();;
			me.callChildLogicBlocksHotspot_ht_node_sw_configloaded();;
			me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_extreme_nudge_viewer();;
			me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_nudge_viewer();;
		} else
		if (hotspot.skinid=='ht_node_W') {
			hotspot.skinid = 'ht_node_W';
			hsinst = new SkinHotspotClass_ht_node_w(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_node_w_changenode();;
			me.callChildLogicBlocksHotspot_ht_node_w_configloaded();;
			me.callChildLogicBlocksHotspot_ht_node_w_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_node_w_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_node_w_varchanged_extreme_nudge_viewer();;
			me.callChildLogicBlocksHotspot_ht_node_w_varchanged_nudge_viewer();;
		} else
		if (hotspot.skinid=='ht_node_NW') {
			hotspot.skinid = 'ht_node_NW';
			hsinst = new SkinHotspotClass_ht_node_nw(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_node_nw_changenode();;
			me.callChildLogicBlocksHotspot_ht_node_nw_configloaded();;
			me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_extreme_nudge_viewer();;
			me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_nudge_viewer();;
		} else
		if (hotspot.skinid=='ht_image') {
			hotspot.skinid = 'ht_image';
			hsinst = new SkinHotspotClass_ht_image(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_image_changenode();;
			me.callChildLogicBlocksHotspot_ht_image_configloaded();;
			me.callChildLogicBlocksHotspot_ht_image_hastouch();;
			me.callChildLogicBlocksHotspot_ht_image_activehotspotchanged();;
			me.callChildLogicBlocksHotspot_ht_image_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_image_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_image_varchanged_extreme_nudge_viewer();;
			me.callChildLogicBlocksHotspot_ht_image_varchanged_nudge_viewer();;
		} else
		if (hotspot.skinid=='ht_info') {
			hotspot.skinid = 'ht_info';
			hsinst = new SkinHotspotClass_ht_info(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_info_changenode();;
			me.callChildLogicBlocksHotspot_ht_info_configloaded();;
			me.callChildLogicBlocksHotspot_ht_info_activehotspotchanged();;
			me.callChildLogicBlocksHotspot_ht_info_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_info_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_info_varchanged_extreme_nudge_viewer();;
			me.callChildLogicBlocksHotspot_ht_info_varchanged_nudge_viewer();;
		} else
		if (hotspot.skinid=='ht_ani') {
			hotspot.skinid = 'ht_ani';
			hsinst = new SkinHotspotClass_ht_ani(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_ani_changenode();;
			me.callChildLogicBlocksHotspot_ht_ani_configloaded();;
			me.callChildLogicBlocksHotspot_ht_ani_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_ani_varchanged_ht_ani();;
		} else
		if (hotspot.skinid=='ht_video_file') {
			hotspot.skinid = 'ht_video_file';
			hsinst = new SkinHotspotClass_ht_video_file(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_video_file_changenode();;
			me.callChildLogicBlocksHotspot_ht_video_file_mouseover();;
			me.callChildLogicBlocksHotspot_ht_video_file_activehotspotchanged();;
		} else
		if (hotspot.skinid=='ht_animation_play') {
			hotspot.skinid = 'ht_animation_play';
			hsinst = new SkinHotspotClass_ht_animation_play(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_animation_play_changenode();;
			me.callChildLogicBlocksHotspot_ht_animation_play_activehotspotchanged();;
		} else
		{
			hotspot.skinid = 'ht_image_gal';
			hsinst = new SkinHotspotClass_ht_image_gal(me, hotspot);
			if (!hotspotTemplates.hasOwnProperty(hotspot.skinid)) {
				hotspotTemplates[hotspot.skinid] = [];
			}
			hotspotTemplates[hotspot.skinid].push(hsinst);
			me.callChildLogicBlocksHotspot_ht_image_gal_changenode();;
			me.callChildLogicBlocksHotspot_ht_image_gal_configloaded();;
			me.callChildLogicBlocksHotspot_ht_image_gal_hastouch();;
			me.callChildLogicBlocksHotspot_ht_image_gal_activehotspotchanged();;
			me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_hide_all_hotspots();;
			me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_ht_ani();;
			me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_extreme_nudge_viewer();;
			me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_nudge_viewer();;
		}
		return hsinst;
	}
	me.removeSkinHotspots=function() {
		if(hotspotTemplates['ht_node_arrow']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_arrow'].length; i++) {
				hotspotTemplates['ht_node_arrow'][i] = null;
			}
		}
		if(hotspotTemplates['ht_node']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node'].length; i++) {
				hotspotTemplates['ht_node'][i] = null;
			}
		}
		if(hotspotTemplates['ht_node_North']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_North'].length; i++) {
				hotspotTemplates['ht_node_North'][i] = null;
			}
		}
		if(hotspotTemplates['ht_node_NE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NE'].length; i++) {
				hotspotTemplates['ht_node_NE'][i] = null;
			}
		}
		if(hotspotTemplates['ht_node_E']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_E'].length; i++) {
				hotspotTemplates['ht_node_E'][i] = null;
			}
		}
		if(hotspotTemplates['ht_node_SE']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SE'].length; i++) {
				hotspotTemplates['ht_node_SE'][i] = null;
			}
		}
		if(hotspotTemplates['ht_node_South']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_South'].length; i++) {
				hotspotTemplates['ht_node_South'][i] = null;
			}
		}
		if(hotspotTemplates['ht_node_SW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_SW'].length; i++) {
				hotspotTemplates['ht_node_SW'][i] = null;
			}
		}
		if(hotspotTemplates['ht_node_W']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_W'].length; i++) {
				hotspotTemplates['ht_node_W'][i] = null;
			}
		}
		if(hotspotTemplates['ht_node_NW']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_node_NW'].length; i++) {
				hotspotTemplates['ht_node_NW'][i] = null;
			}
		}
		if(hotspotTemplates['ht_image']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image'].length; i++) {
				hotspotTemplates['ht_image'][i] = null;
			}
		}
		if(hotspotTemplates['ht_info']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_info'].length; i++) {
				hotspotTemplates['ht_info'][i] = null;
			}
		}
		if(hotspotTemplates['ht_ani']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_ani'].length; i++) {
				hotspotTemplates['ht_ani'][i] = null;
			}
		}
		if(hotspotTemplates['ht_video_file']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_video_file'].length; i++) {
				hotspotTemplates['ht_video_file'][i] = null;
			}
		}
		if(hotspotTemplates['ht_animation_play']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_animation_play'].length; i++) {
				hotspotTemplates['ht_animation_play'][i] = null;
			}
		}
		if(hotspotTemplates['ht_image_gal']) {
			var i;
			for(i = 0; i < hotspotTemplates['ht_image_gal'].length; i++) {
				hotspotTemplates['ht_image_gal'][i] = null;
			}
		}
		hotspotTemplates = [];
	}
	function SkinElement_panoroomsmapdot_Class(parentScope,ggParent) {
		var me=this;
		var flag=false;
		me.parentScope=parentScope;
		me.ggParent=ggParent;
		var nodeId=ggParent.ggElementNodeId();
		me.ggNodeId=nodeId;
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		
		el=me._panoroomsmapdot=document.createElement('div');
		els=me._panoroomsmapdot__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjM3LjQgMjM3LjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8ZGVmcz4KICA8c3R5bGU+CiAgICAgIC5hIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CgogICAgICAuYiB7CiAgICAgICAgZmlsbDogI2VlNzkyMjsKICAgICAgfQoKICAgICAgLmMgewogICAgICAgIGZpbGw6ICMyMzFmMjA7CiAgICAgIH0KICAgIDwvc3R5bGU+CiA8L2RlZnM+CiA8Zz4KICA8Y2lyY2xlIHI9IjExNS4yIiBjeD0iMTE4LjciIGN5PSIxMTguNyIgY2xhc3M9ImEiLz4KICA8cGF0aCBkPSJNMTE4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xLDQ4Ljg0LTU2LDU2LjQ5LDU2LjQ5LDAsMSwwLDAsMTExLjkyQTU2LjQ5LDU2LjQ5LDAsMCwxLDYyLjg2LDEwOC4xOVoiIGNsYXNzPSJjIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIi8+CiAgPHBhdGggZD0iTTExNS4zNiwxNDYuNjZBNDMuOCw0My44LDAsMCwxLDcyLDEwOC43OWE0NC44OSw0NC44OSwwLDAsMC0uNDEsNS45NCw0My44MSw0My44MSwwLDAsMCw4Ny42MSwwLDQ0LjYyLDQ0LjYyLDAsMCwwLS40MS01LjkzQTQzLjgxLDQzLjgxLDAs'+
			'MCwxLDExNS4zNiwxNDYuNjZaIiBjbGFzcz0iYiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwKSIvPgogPC9nPgo8L3N2Zz4K';
		me._panoroomsmapdot__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._panoroomsmapdot__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjM3LjQgMjM3LjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8ZGVmcz4KICA8c3R5bGU+CiAgICAgIC5hIHsKICAgICAgICBmaWxsOiAjZWU3OTIyOwogICAgICB9CgogICAgICAuYiB7CiAgICAgICAgZmlsbDogI2ZmZjsKICAgICAgfQoKICAgICAgLmMgewogICAgICAgIGZpbGw6ICMyMzFmMjA7CiAgICAgIH0KICAgIDwvc3R5bGU+CiA8L2RlZnM+CiA8Zz4KICA8Y2lyY2xlIHI9IjExNS4yIiBjeD0iMTE4LjciIGN5PSIxMTguNyIgY2xhc3M9ImEiLz4KICA8cGF0aCBkPSJNMTE4LjcsN2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sMSw3MiwxMDguNzlhNDUuMzcsNDUuMzcsMCwwLDAtLjQxLDUuOTQsNDMuODEsNDMuODEsMCwxLDAsODcuMi01LjkzQTQzLjgyLDQzLjgyLDAsMCwxLDExNS4zNiwxNDYuNjZaIiBjbGFzcz0iYiIvPgogPC9nPgo8L3N2Zz4K';
		me._panoroomsmapdot__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		ela=me._panoroomsmapdot__imga=document.createElement('img');
		ela.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjM3LjQgMjM3LjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8ZGVmcz4KICA8c3R5bGU+CiAgICAgIC5hIHsKICAgICAgICBmaWxsOiAjZWU3OTIyOwogICAgICB9CgogICAgICAuYiB7CiAgICAgICAgZmlsbDogI2ZmZjsKICAgICAgfQoKICAgICAgLmMgewogICAgICAgIGZpbGw6ICMyMzFmMjA7CiAgICAgIH0KICAgIDwvc3R5bGU+CiA8L2RlZnM+CiA8Zz4KICA8Y2lyY2xlIHI9IjExNS4yIiBjeD0iMTE4LjciIGN5PSIxMTguNyIgY2xhc3M9ImEiLz4KICA8cGF0aCBkPSJNMTE4LjcsN2ExMTEuNjgsMTExLjY4LDAsMSwxLTc5LDMyLj'+
			'Y4QTExMS43LDExMS43LDAsMCwxLDExOC43LDdtMC03QTExOC43LDExOC43LDAsMSwwLDIzNy40LDExOC43aDBBMTE4LjcsMTE4LjcsMCwwLDAsMTE4LjcsMFoiIGNsYXNzPSJiIi8+CiA8L2c+CiA8Zz4KICA8cGF0aCBkPSJNMTE4LjUyLDE5NGExMDAuMjksMTAwLjI5LDAsMCwxLTk5LjM0LTg2LjY5QTEwMC4yOCwxMDAuMjgsMCwxLDAsMjE4LjgsMTIxLjEyYTEwMS4xOCwxMDEuMTgsMCwwLDAtLjk0LTEzLjgxQTEwMC4yOCwxMDAuMjgsMCwwLDEsMTE4LjUyLDE5NFoiIGNsYXNzPSJjIi8+CiAgPHBhdGggZD0iTTE4Ni41NSw5OS44MWE4NC40Miw4NC40MiwwLDAsMS03Myw4My42M0E4NC40MSw4'+
			'NC40MSwwLDEsMCwxMjUsMTUuMzlhODUuNzgsODUuNzgsMCwwLDAtMTEuNDQuNzlBODQuNDMsODQuNDMsMCwwLDEsMTg2LjU1LDk5LjgxWiIgY2xhc3M9ImMiLz4KICA8cGF0aCBkPSJNMTA4LjI5LDQzYTY1LjU3LDY1LjU3LDAsMCwxLDY1LDU2LjY4LDY3LjU5LDY3LjU5LDAsMCwwLC42MS04Ljg4LDY1LjU3LDY1LjU3LDAsMCwwLTEzMS4xNC4yNiw2Ni40NSw2Ni40NSwwLDAsMCwuNTgsOC41N0E2NS41Niw2NS41NiwwLDAsMSwxMDguMjksNDNaIiBjbGFzcz0iYyIvPgogIDxwYXRoIGQ9Ik02Mi44NiwxMDguMTlhNTYuNDksNTYuNDksMCwwLDEsNDguODQtNTYsNTYuNDksNTYuNDksMCwxLDAsMC'+
			'wxMTEuOTJBNTYuNDksNTYuNDksMCwwLDEsNjIuODYsMTA4LjE5WiIgY2xhc3M9ImMiLz4KICA8cGF0aCBkPSJNMTE1LjM2LDE0Ni42NkE0My44MSw0My44MSwwLDAsMSw3MiwxMDguNzlhNDUuMzcsNDUuMzcsMCwwLDAtLjQxLDUuOTQsNDMuODEsNDMuODEsMCwxLDAsODcuMi01LjkzQTQzLjgyLDQzLjgyLDAsMCwxLDExNS4zNiwxNDYuNjZaIiBjbGFzcz0iYiIvPgogPC9nPgo8L3N2Zz4K';
		me._panoroomsmapdot__imga.setAttribute('src',hs);
		ela.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		ela['ondragstart']=function() { return false; };
		el.appendChild(ela);
		el.ggId="panorooms-map-dot";
		el.ggDx=-240;
		el.ggDy=-369;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 30px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 30px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._panoroomsmapdot.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			return me.ggNodeId;
		}
		me._panoroomsmapdot.onclick=function (e) {
			player.openUrl("{"+me.ggNodeId+"}",player.hotspot.target);
			player.setVariableValue('map', Number("0"));
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Map Dot Click'
});
		}
		me._panoroomsmapdot.onmouseover=function (e) {
			me._panoroomsmapdot__img.style.visibility='hidden';
			me._panoroomsmapdot__imgo.style.visibility='inherit';
		}
		me._panoroomsmapdot.onmouseout=function (e) {
			me._panoroomsmapdot__img.style.visibility='inherit';
			me._panoroomsmapdot__imgo.style.visibility='hidden';
			me._panoroomsmapdot__imga.style.visibility='hidden';
		}
		me._panoroomsmapdot.onmousedown=function (e) {
			me._panoroomsmapdot__imga.style.visibility='inherit';
			me._panoroomsmapdot__imgo.style.visibility='hidden';
		}
		me._panoroomsmapdot.onmouseup=function (e) {
			me._panoroomsmapdot__imga.style.visibility='hidden';
			if (skin.player.getHasTouch()) {
				me._panoroomsmapdot__img.style.visibility='inherit';
			} else {
				me._panoroomsmapdot__imgo.style.visibility='inherit';
			}
		}
		me._panoroomsmapdot.ggUpdatePosition=function (useTransition) {
		}
	};
	function SkinElement_panoroomsminimapdot_Class(parentScope,ggParent) {
		var me=this;
		var flag=false;
		me.parentScope=parentScope;
		me.ggParent=ggParent;
		var nodeId=ggParent.ggElementNodeId();
		me.ggNodeId=nodeId;
		me.ggUserdata=skin.player.getNodeUserdata(nodeId);
		me.elementMouseDown=[];
		me.elementMouseOver=[];
		
		me.findElements=function(id,regex) {
			return skin.findElements(id,regex);
		}
		
		el=me._panoroomsminimapdot=document.createElement('div');
		els=me._panoroomsminimapdot__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjM3LjQgMjM3LjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8ZGVmcz4KICA8c3R5bGU+CiAgICAgIC5hIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CgogICAgICAuYiB7CiAgICAgICAgZmlsbDogI2VlNzkyMjsKICAgICAgfQoKICAgICAgLmMgewogICAgICAgIGZpbGw6ICMyMzFmMjA7CiAgICAgIH0KICAgIDwvc3R5bGU+CiA8L2RlZnM+CiA8Zz4KICA8Y2lyY2xlIHI9IjExNS4yIiBjeD0iMTE4LjciIGN5PSIxMTguNyIgY2xhc3M9ImEiLz4KICA8cGF0aCBkPSJNMTE4LjcsN2ExMTEuNjksMTExLjY5LDAsMCwxLDc5LDE5MC'+
			'42OCwxMTEuNjksMTExLjY5LDAsMSwxLTE1OC0xNThBMTEwLjkzLDExMC45MywwLDAsMSwxMTguNyw3bTAtN0ExMTguNywxMTguNywwLDEsMCwyMzcuNCwxMTguNywxMTguNywxMTguNywwLDAsMCwxMTguNywwWiIgY2xhc3M9ImIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMCkiLz4KIDwvZz4KIDxnPgogIDxwYXRoIGQ9Ik0xMTguNTIsMTk0YTEwMC4yOSwxMDAuMjksMCwwLDEtOTkuMzQtODYuNjksMTAxLjU4LDEwMS41OCwwLDAsMC0uOTQsMTMuNTksMTAwLjI4LDEwMC4yOCwwLDEsMCwxOTkuNjItMT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c2xhdGUoMCAwKSIvPgogPC9nPgo8L3N2Zz4K';
		me._panoroomsminimapdot__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		elo=me._panoroomsminimapdot__imgo=document.createElement('img');
		elo.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjM3LjQgMjM3LjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiA8ZGVmcz4KICA8c3R5bGU+CiAgICAgIC5hIHsKICAgICAgICBmaWxsOiAjZWU3OTIyOwogICAgICB9CgogICAgICAuYiB7CiAgICAgICAgZmlsbDogI2ZmZjsKICAgICAgfQoKICAgICAgLmMgewogICAgICAgIGZpbGw6ICMyMzFmMjA7CiAgICAgIH0KICAgIDwvc3R5bGU+CiA8L2RlZnM+CiA8Zz4KICA8Y2lyY2xlIHI9IjExNS4yIiBjeD0iMTE4LjciIGN5PSIxMTguNyIgY2xhc3M9ImEiLz4KICA8cGF0aCBkPSJNMTE4LjcsN2ExMTEuNjgsMTExLjY4LDAsMSwxLTc5LDMyLj'+
			'Y4QTExMS43LDExMS43LDAsMCwxLDExOC43LDdtMC03QTExOC43LDExOC43LDAsMSwwLDIzNy40LDExOC43aDBBMTE4LjcsMTE4LjcsMCwwLDAsMTE4LjcsMFoiIGNsYXNzPSJiIi8+CiA8L2c+CiA8Zz4KICA8cGF0aCBkPSJNMTE4LjUyLDE5NGExMDAuMjksMTAwLjI5LDAsMCwxLTk5LjM0LTg2LjY5QTEwMC4yOCwxMDAuMjgsMCwxLDAsMjE4LjgsMTIxLjEyYTEwMS4xOCwxMDEuMTgsMCwwLDAtLjk0LTEzLjgxQTEwMC4yOCwxMDAuMjgsMCwwLDEsMTE4LjUyLDE5NFoiIGNsYXNzPSJjIi8+CiAgPHBhdGggZD0iTTE4Ni41NSw5OS44MWE4NC40Miw4NC40MiwwLDAsMS03Myw4My42M0E4NC40MSw4'+
			'NC40MSwwLDEsMCwxMjUsMTUuMzlhODUuNzgsODUuNzgsMCwwLDAtMTEuNDQuNzlBODQuNDMsODQuNDMsMCwwLDEsMTg2LjU1LDk5LjgxWiIgY2xhc3M9ImMiLz4KICA8cGF0aCBkPSJNMTA4LjI5LDQzYTY1LjU3LDY1LjU3LDAsMCwxLDY1LDU2LjY4LDY3LjU5LDY3LjU5LDAsMCwwLC42MS04Ljg4LDY1LjU3LDY1LjU3LDAsMCwwLTEzMS4xNC4yNiw2Ni40NSw2Ni40NSwwLDAsMCwuNTgsOC41N0E2NS41Niw2NS41NiwwLDAsMSwxMDguMjksNDNaIiBjbGFzcz0iYyIvPgogIDxwYXRoIGQ9Ik02Mi44NiwxMDguMTlhNTYuNDksNTYuNDksMCwwLDEsNDguODQtNTYsNTYuNDksNTYuNDksMCwxLDAsMC'+
			'wxMTEuOTJBNTYuNDksNTYuNDksMCwwLDEsNjIuODYsMTA4LjE5WiIgY2xhc3M9ImMiLz4KICA8cGF0aCBkPSJNMTE1LjM2LDE0Ni42NkE0My44MSw0My44MSwwLDAsMSw3MiwxMDguNzlhNDUuMzcsNDUuMzcsMCwwLDAtLjQxLDUuOTQsNDMuODEsNDMuODEsMCwxLDAsODcuMi01LjkzQTQzLjgyLDQzLjgyLDAsMCwxLDExNS4zNiwxNDYuNjZaIiBjbGFzcz0iYiIvPgogPC9nPgo8L3N2Zz4K';
		me._panoroomsminimapdot__imgo.setAttribute('src',hs);
		elo.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		elo['ondragstart']=function() { return false; };
		el.appendChild(elo);
		ela=me._panoroomsminimapdot__imga=document.createElement('img');
		ela.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjM3LjQ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jU5LDAsMCwwLC42MS04Ljg4LDY1LjU3LDY1LjU3LDAsMCwwLTEzMS4xNC4yNiw2Ni40NSw2Ni40NSwwLDAsMCwuNTgsOC41N0E2NS41Niw2NS41NiwwLDAsMSwxMDguMjksNDNaIiBjbGFzcz0iYyIvPgogIDxwYXRoIGQ9Ik02Mi44NiwxMDguMTlhNTYuNDksNTYuNDksMCwwLDEsNDguODQtNTYsNTYuNDksNTYuNDksMCwxLDAsMC'+
			'wxMTEuOTJBNTYuNDksNTYuNDksMCwwLDEsNjIuODYsMTA4LjE5WiIgY2xhc3M9ImMiLz4KICA8cGF0aCBkPSJNMTE1LjM2LDE0Ni42NkE0My44MSw0My44MSwwLDAsMSw3MiwxMDguNzlhNDUuMzcsNDUuMzcsMCwwLDAtLjQxLDUuOTQsNDMuODEsNDMuODEsMCwxLDAsODcuMi01LjkzQTQzLjgyLDQzLjgyLDAsMCwxLDExNS4zNiwxNDYuNjZaIiBjbGFzcz0iYiIvPgogPC9nPgo8L3N2Zz4K';
		me._panoroomsminimapdot__imga.setAttribute('src',hs);
		ela.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;visibility:hidden;pointer-events:none;;');
		ela['ondragstart']=function() { return false; };
		el.appendChild(ela);
		el.ggId="panorooms-mini-map-dot";
		el.ggDx=-240;
		el.ggDy=-369;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 30px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -10000px;';
		hs+='visibility : inherit;';
		hs+='width : 30px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._panoroomsminimapdot.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			return me.ggNodeId;
		}
		me._panoroomsminimapdot.onclick=function (e) {
			player.openUrl("{"+me.ggNodeId+"}",player.hotspot.target);
			gtag('event', 'Interface Button', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': 'Map Dot Click'
});
		}
		me._panoroomsminimapdot.onmouseover=function (e) {
			me._panoroomsminimapdot__img.style.visibility='hidden';
			me._panoroomsminimapdot__imgo.style.visibility='inherit';
		}
		me._panoroomsminimapdot.onmouseout=function (e) {
			me._panoroomsminimapdot__img.style.visibility='inherit';
			me._panoroomsminimapdot__imgo.style.visibility='hidden';
			me._panoroomsminimapdot__imga.style.visibility='hidden';
		}
		me._panoroomsminimapdot.onmousedown=function (e) {
			me._panoroomsminimapdot__imga.style.visibility='inherit';
			me._panoroomsminimapdot__imgo.style.visibility='hidden';
		}
		me._panoroomsminimapdot.onmouseup=function (e) {
			me._panoroomsminimapdot__imga.style.visibility='hidden';
			if (skin.player.getHasTouch()) {
				me._panoroomsminimapdot__img.style.visibility='inherit';
			} else {
				me._panoroomsminimapdot__imgo.style.visibility='inherit';
			}
		}
		me._panoroomsminimapdot.ggUpdatePosition=function (useTransition) {
		}
	};
	function SkinCloner_single_node_cloner_Class(nodeId, parentScope,ggParent,parameter) {
		var me=this;
		var hs='';
		me.parentScope=parentScope;
		me.ggParent=ggParent;
		me.findElements=skin.findElements;
		me.ggIndex=parameter.index;
		me.ggNodeId=nodeId;
		me.ggTitle=parameter.title;
		me.ggUserdata=skin.player.getNodeUserdata(me.ggNodeId);
		me.elementMouseDown={};
		me.elementMouseOver={};
		me.__div=document.createElement('div');
		me.__div.setAttribute('style','position: absolute;width: 286px; height: 155px; visibility: inherit; overflow: hidden;');
		me.__div.style.left=parameter.left;
		me.__div.style.top=parameter.top;
		me.__div.style.width=parameter.width;
		me.__div.style.height=parameter.height;
		me.__div.ggIsActive = function() {
			return player.getCurrentNode()==me.ggNodeId;
		}
		me.__div.ggElementNodeId=function() {
			return me.ggNodeId;
		}
		el=me._node_images=document.createElement('div');
		els=me._node_images__img=document.createElement('img');
		els.className='ggskin ggskin_nodeimage';
		els.setAttribute('src',basePath + "images/node_images_" + nodeId + ".png");
		el.ggNodeId=nodeId;
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els.className='ggskin ggskin_nodeimage';
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="Node Images";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_nodeimage ";
		el.ggType='nodeimage';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 147px;';
		hs+='left : 7.15px;';
		hs+='position : absolute;';
		hs+='top : 3.875px;';
		hs+='visibility : inherit;';
		hs+='width : 272px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._node_images.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			return this.ggNodeId;
		}
		me._node_images.onclick=function (e) {
			player.openNext("{"+me.ggNodeId+"}","");
			gtag('event', 'Thumbnail Change', {
  'event_category': player.getVariableValue('UA_category'),
  'event_label': player.userdata.title
});
		}
		me._node_images.ggUpdatePosition=function (useTransition) {
		}
		el=me._node_title_bg=document.createElement('div');
		el.ggId="Node Title BG";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='background : #000000;';
		hs+='border : 0px solid #000000;';
		hs+='cursor : default;';
		hs+='height : 25px;';
		hs+='left : 0px;';
		hs+='opacity : 0.35;';
		hs+='position : absolute;';
		hs+='top : 105px;';
		hs+='visibility : inherit;';
		hs+='width : 100%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._node_title_bg.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._node_title_bg.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.ggUserdata.title == ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._node_title_bg.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._node_title_bg.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._node_title_bg.style[domTransition]='';
				if (me._node_title_bg.ggCurrentLogicStateVisible == 0) {
					me._node_title_bg.style.visibility="hidden";
					me._node_title_bg.ggVisible=false;
				}
				else {
					me._node_title_bg.style.visibility=(Number(me._node_title_bg.style.opacity)>0||!me._node_title_bg.style.opacity)?'inherit':'hidden';
					me._node_title_bg.ggVisible=true;
				}
			}
		}
		me._node_title_bg.ggUpdatePosition=function (useTransition) {
		}
		me._node_images.appendChild(me._node_title_bg);
		el=me._node_desc_bg=document.createElement('div');
		el.ggId="Node Desc BG";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='background : #000000;';
		hs+='border : 0px solid #000000;';
		hs+='cursor : default;';
		hs+='height : 25px;';
		hs+='left : 0px;';
		hs+='opacity : 0.35;';
		hs+='position : absolute;';
		hs+='top : 105px;';
		hs+='visibility : hidden;';
		hs+='width : 100%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._node_desc_bg.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._node_desc_bg.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.ggUserdata.description == ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._node_desc_bg.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._node_desc_bg.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._node_desc_bg.style[domTransition]='';
				if (me._node_desc_bg.ggCurrentLogicStateVisible == 0) {
					me._node_desc_bg.style.visibility="hidden";
					me._node_desc_bg.ggVisible=false;
				}
				else {
					me._node_desc_bg.style.visibility="hidden";
					me._node_desc_bg.ggVisible=false;
				}
			}
		}
		me._node_desc_bg.ggUpdatePosition=function (useTransition) {
		}
		me._node_images.appendChild(me._node_desc_bg);
		el=me._slider_node_title=document.createElement('div');
		els=me._slider_node_title__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Slider Node Title";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 27px;';
		hs+='left : 0px;';
		hs+='position : absolute;';
		hs+='top : 105px;';
		hs+='visibility : inherit;';
		hs+='width : 100%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: 100%;';
		hs+='height: 27px;';
		hs+='border: 0px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		hs+='overflow-y: auto;';
		els.setAttribute('style',hs);
		els.innerHTML=me.ggUserdata.title;
		el.appendChild(els);
		me._slider_node_title.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._slider_node_title.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.ggUserdata.title == ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._slider_node_title.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._slider_node_title.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._slider_node_title.style[domTransition]='';
				if (me._slider_node_title.ggCurrentLogicStateVisible == 0) {
					me._slider_node_title.style.visibility="hidden";
					me._slider_node_title.ggVisible=false;
				}
				else {
					me._slider_node_title.style.visibility=(Number(me._slider_node_title.style.opacity)>0||!me._slider_node_title.style.opacity)?'inherit':'hidden';
					me._slider_node_title.ggVisible=true;
				}
			}
		}
		me._slider_node_title.ggUpdatePosition=function (useTransition) {
		}
		me._node_images.appendChild(me._slider_node_title);
		el=me._slider_node_desc=document.createElement('div');
		els=me._slider_node_desc__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="Slider Node Desc";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='height : 27px;';
		hs+='left : 0px;';
		hs+='position : absolute;';
		hs+='top : 105px;';
		hs+='visibility : hidden;';
		hs+='width : 100%;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='cursor: default;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: 100%;';
		hs+='height: 27px;';
		hs+='border: 0px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: nowrap;';
		hs+='padding: 0px 1px 0px 1px;';
		hs+='overflow: hidden;';
		hs+='overflow-y: auto;';
		els.setAttribute('style',hs);
		els.innerHTML=me.ggUserdata.description;
		el.appendChild(els);
		me._slider_node_desc.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._slider_node_desc.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.ggUserdata.description == ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._slider_node_desc.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._slider_node_desc.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._slider_node_desc.style[domTransition]='';
				if (me._slider_node_desc.ggCurrentLogicStateVisible == 0) {
					me._slider_node_desc.style.visibility="hidden";
					me._slider_node_desc.ggVisible=false;
				}
				else {
					me._slider_node_desc.style.visibility="hidden";
					me._slider_node_desc.ggVisible=false;
				}
			}
		}
		me._slider_node_desc.ggUpdatePosition=function (useTransition) {
		}
		me._node_images.appendChild(me._slider_node_desc);
		me.__div.appendChild(me._node_images);
		el=me._checkmark_tick=document.createElement('div');
		els=me._checkmark_tick__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB5PSIwcHgiIHhtb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EsMzcuMWwtMTgtMThjLTAuNy0wLjctMS43LTAuNy0yLjQsMGwtMTIuNS'+
			'wxMi41Yy0wLjcsMC43LTAuNywxLjcsMCwyLjRsMzEuNywzMS44JiN4ZDsmI3hhOyYjeDk7JiN4OTtjMC4zLDAuMywwLjgsMC41LDEuMywwLjVjMC40LDAsMC45LTAuMiwxLjItMC41bDUwLjgtNTAuOWMwLjctMC43LDAuNy0xLjcsMC0yLjRsLTEyLjUtMTIuNUMtMTQ1LjksMzY2LjEtMTQ3LDM2Ni4xLTE0Ny43LDM2Ni44eiIgY2xhc3M9InN0MSIvPgogPC9nPgo8L3N2Zz4K';
		me._checkmark_tick__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="checkmark_tick";
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='height : 24px;';
		hs+='left : 257px;';
		hs+='position : absolute;';
		hs+='top : 2px;';
		hs+='visibility : hidden;';
		hs+='width : 24px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._checkmark_tick.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._checkmark_tick.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.nodeVisited(me._checkmark_tick.ggElementNodeId()) == true)) || 
				((me._checkmark_tick.ggIsActive() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._checkmark_tick.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._checkmark_tick.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._checkmark_tick.style[domTransition]='opacity 500ms ease 0ms';
				if (me._checkmark_tick.ggCurrentLogicStateVisible == 0) {
					me._checkmark_tick.style.visibility=(Number(me._checkmark_tick.style.opacity)>0||!me._checkmark_tick.style.opacity)?'inherit':'hidden';
					me._checkmark_tick.ggVisible=true;
				}
				else {
					me._checkmark_tick.style.visibility="hidden";
					me._checkmark_tick.ggVisible=false;
				}
			}
		}
		me._checkmark_tick.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((me.elementMouseOver['single_node_cloner'] == true)) && 
				((me.ggUserdata.title != ""))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._checkmark_tick.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._checkmark_tick.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._checkmark_tick.style[domTransition]='opacity 500ms ease 0ms';
				if (me._checkmark_tick.ggCurrentLogicStateAlpha == 0) {
					setTimeout(function() { if (me._checkmark_tick.style.opacity == 0.0) { me._checkmark_tick.style.visibility="hidden"; } }, 505);
					me._checkmark_tick.style.opacity=0;
				}
				else {
					me._checkmark_tick.style.visibility=me._checkmark_tick.ggVisible?'inherit':'hidden';
					me._checkmark_tick.style.opacity=1;
				}
			}
		}
		me._checkmark_tick.ggUpdatePosition=function (useTransition) {
		}
		me.__div.appendChild(me._checkmark_tick);
	};
	function SkinCloner_category_cloner_Class(item, parentScope,ggParent,parameter) {
		var me=this;
		var hs='';
		me.parentScope=parentScope;
		me.ggParent=ggParent;
		me.findElements=skin.findElements;
		me.ggIndex=parameter.index;
		me.ggTag = item['tag'];
		me.ggTitle = item['title'];
		me.ggNodeCount = item['nodecount'];
		me.ggNodeId=item['firstnode'];
		me.ggUserdata=skin.player.getNodeUserdata(me.ggNodeId);
		me.elementMouseDown={};
		me.elementMouseOver={};
		me.__div=document.createElement('div');
		me.__div.setAttribute('style','position: absolute;width: 270px; height: 128px; visibility: inherit; overflow: visible;');
		me.__div.style.left=parameter.left;
		me.__div.style.top=parameter.top;
		me.__div.style.width=parameter.width;
		me.__div.style.height=parameter.height;
		me.__div.ggIsActive = function() {
			var tags = player.userdata.tags;
			if (tags.indexOf(me.ggTag) == -1) return false;
			for(var i=0;i<me.ggParent.ggCurrentFilter.length;i++) {
				if (tags.indexOf(me.ggParent.ggCurrentFilter[i])==-1) return false;
			}
			return true;
		}
		me.__div.ggElementNodeId=function() {
			return me.ggNodeId;
		}
		el=me._node_cloner=document.createElement('div');
		el.ggNumRepeat = 1;
		el.ggNumRows = 0;
		el.ggNumCols = 0;
		el.ggWidth = 270;
		el.ggHeight = 150;
		el.ggUpdating = false;
		el.ggFilter = [];
		el.ggInstances = [];
		me._node_cloner.callChildLogicBlocks_changenode = function(){
			if(me._node_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._node_cloner.ggInstances.length; i++) {
					if (me._node_cloner.ggInstances[i]._checkmark_tick_category && me._node_cloner.ggInstances[i]._checkmark_tick_category.logicBlock_alpha) {
						me._node_cloner.ggInstances[i]._checkmark_tick_category.logicBlock_alpha();
					}
					if (me._node_cloner.ggInstances[i]._node_title && me._node_cloner.ggInstances[i]._node_title.logicBlock_visible) {
						me._node_cloner.ggInstances[i]._node_title.logicBlock_visible();
					}
				}
			}
		}
		me._node_cloner.callChildLogicBlocks_mouseover = function(){
			if(me._node_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._node_cloner.ggInstances.length; i++) {
					if (me._node_cloner.ggInstances[i]._checkmark_tick_category && me._node_cloner.ggInstances[i]._checkmark_tick_category.logicBlock_alpha) {
						me._node_cloner.ggInstances[i]._checkmark_tick_category.logicBlock_alpha();
					}
					if (me._node_cloner.ggInstances[i]._node_visited && me._node_cloner.ggInstances[i]._node_visited.logicBlock_bordercolor) {
						me._node_cloner.ggInstances[i]._node_visited.logicBlock_bordercolor();
					}
				}
			}
		}
		me._node_cloner.callChildLogicBlocks_active = function(){
			if(me._node_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._node_cloner.ggInstances.length; i++) {
					if (me._node_cloner.ggInstances[i]._checkmark_tick_category && me._node_cloner.ggInstances[i]._checkmark_tick_category.logicBlock_visible) {
						me._node_cloner.ggInstances[i]._checkmark_tick_category.logicBlock_visible();
					}
					if (me._node_cloner.ggInstances[i]._node_visited && me._node_cloner.ggInstances[i]._node_visited.logicBlock_bordercolor) {
						me._node_cloner.ggInstances[i]._node_visited.logicBlock_bordercolor();
					}
				}
			}
		}
		me._node_cloner.callChildLogicBlocks_changevisitednodes = function(){
			if(me._node_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._node_cloner.ggInstances.length; i++) {
					if (me._node_cloner.ggInstances[i]._checkmark_tick_category && me._node_cloner.ggInstances[i]._checkmark_tick_category.logicBlock_visible) {
						me._node_cloner.ggInstances[i]._checkmark_tick_category.logicBlock_visible();
					}
					if (me._node_cloner.ggInstances[i]._node_visited && me._node_cloner.ggInstances[i]._node_visited.logicBlock_bordercolor) {
						me._node_cloner.ggInstances[i]._node_visited.logicBlock_bordercolor();
					}
				}
			}
		}
		me._node_cloner.callChildLogicBlocks_activehotspotchanged = function(){
			if(me._node_cloner.ggInstances) {
				var i;
				for(i = 0; i < me._node_cloner.ggInstances.length; i++) {
					if (me._node_cloner.ggInstances[i]._checkmark_tick_category && me._node_cloner.ggInstances[i]._checkmark_tick_category.logicBlock_alpha) {
						me._node_cloner.ggInstances[i]._checkmark_tick_category.logicBlock_alpha();
					}
					if (me._node_cloner.ggInstances[i]._node_title && me._node_cloner.ggInstances[i]._node_title.logicBlock_visible) {
						me._node_cloner.ggInstances[i]._node_title.logicBlock_visible();
					}
				}
			}
		}
		el.ggUpdate = function(filter) {
			if(me._node_cloner.ggUpdating == true) return;
			me._node_cloner.ggUpdating = true;
			var el=me._node_cloner;
			var curNumCols = 0;
			curNumCols = me._node_cloner.ggNumRepeat;
			if (curNumCols < 1) curNumCols = 1;
			if (typeof filter=='object') {
				el.ggFilter = filter;
			} else {
				filter = el.ggFilter;
			};
			filter=filter.sort();
			if ((el.ggNumCols == curNumCols) && (el.ggInstances.length > 0) && (filter.length === el.ggCurrentFilter.length) && (filter.every(function(value, index) { return value === el.ggCurrentFilter[index] }) )) {
				me._node_cloner.ggUpdating = false;
				return;
			} else {
				el.ggNumRows = 1;
				el.ggNumCols = curNumCols;
			}
			el.ggCurrentFilter = filter;
			el.ggInstances = [];
			if (el.hasChildNodes() == true) {
				while (el.firstChild) {
					el.removeChild(el.firstChild);
				}
			}
			var tourNodes = player.getNodeIds();
			var row = 0;
			var column = 0;
			var currentIndex = 0;
			for (var i=0; i < tourNodes.length; i++) {
				var nodeId = tourNodes[i];
				var passed = true;
				var nodeData = player.getNodeUserdata(nodeId);
				if (filter.length > 0) {
					for (var j=0; j < filter.length; j++) {
						if (nodeData['tags'].indexOf(filter[j]) == -1) passed = false;
					}
				}
				if (passed) {
				var parameter={};
				parameter.top=(row * me._node_cloner.ggHeight) + 'px';
				parameter.left=(column * me._node_cloner.ggWidth) + 'px';
				parameter.width=me._node_cloner.ggWidth + 'px';
				parameter.height=me._node_cloner.ggHeight + 'px';
				parameter.index=currentIndex;
				parameter.title=nodeData['title'];
				var inst = new SkinCloner_node_cloner_Class(nodeId, me, el, parameter);
				currentIndex++;
				el.ggInstances.push(inst);
				el.appendChild(inst.__div);
				inst.__div.ggObj=inst;
				skin.updateSize(inst.__div);
				column++;
				if (column >= el.ggNumCols) {
					column = 0;
					row++;
					el.ggNumRows++;
				}
				}
			}
			me._node_cloner.callChildLogicBlocks_changenode();
			me._node_cloner.callChildLogicBlocks_mouseover();
			me._node_cloner.callChildLogicBlocks_active();
			me._node_cloner.callChildLogicBlocks_changevisitednodes();
			me._node_cloner.callChildLogicBlocks_activehotspotchanged();
			me._node_cloner.ggUpdating = false;
			player.triggerEvent('clonerchanged');
			if (me._node_cloner.parentNode.classList.contains('ggskin_subelement') && me._node_cloner.parentNode.parentNode.classList.contains('ggskin_scrollarea')) me._node_cloner.parentNode.parentNode.ggUpdatePosition();
		}
		el.ggFilter = [];
		el.ggFilter[0] = "_nop_";
		el.ggId="node_cloner";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_cloner ";
		el.ggType='cloner';
		hs ='';
		hs+='height : 150px;';
		hs+='left : -10000px;';
		hs+='overflow : visible;';
		hs+='position : absolute;';
		hs+='top : 35px;';
		hs+='visibility : inherit;';
		hs+='width : 270px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._node_cloner.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._node_cloner.onmouseover=function (e) {
			me.elementMouseOver['node_cloner']=true;
			me._checkmark_tick_category.logicBlock_alpha();
		}
		me._node_cloner.onmouseout=function (e) {
			me.elementMouseOver['node_cloner']=false;
			me._checkmark_tick_category.logicBlock_alpha();
		}
		me._node_cloner.ontouchend=function (e) {
			me.elementMouseOver['node_cloner']=false;
			me._checkmark_tick_category.logicBlock_alpha();
		}
		me._node_cloner.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.ggWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
				me._node_cloner.ggUpdate();
		}
		me.__div.appendChild(me._node_cloner);
		el=me._category=document.createElement('div');
		els=me._category__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="category";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 32px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : 8px;';
		hs+='visibility : inherit;';
		hs+='width : 270px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='left: 0px;';
		hs+='top:  0px;';
		hs+='width: 270px;';
		hs+='height: auto;';
		hs+='background: #4d4d4f;';
		hs+='border: 0px solid #ffffff;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: pre-wrap;';
		hs+='padding: 2px 1px 2px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.ggTitle;
		el.appendChild(els);
		me._category.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._category.logicBlock_backgroundcolor = function() {
			var newLogicStateBackgroundColor;
			if (
				((me.elementMouseOver['category'] == true))
			)
			{
				newLogicStateBackgroundColor = 0;
			}
			else if (
				((player.getVariableValue('open_tag') == me.ggTag))
			)
			{
				newLogicStateBackgroundColor = 1;
			}
			else {
				newLogicStateBackgroundColor = -1;
			}
			if (me._category.ggCurrentLogicStateBackgroundColor != newLogicStateBackgroundColor) {
				me._category.ggCurrentLogicStateBackgroundColor = newLogicStateBackgroundColor;
				me._category__text.style[domTransition]='background-color 0s';
				if (me._category.ggCurrentLogicStateBackgroundColor == 0) {
					me._category__text.style.backgroundColor="rgba(235,109,31,1)";
				}
				else if (me._category.ggCurrentLogicStateBackgroundColor == 1) {
					me._category__text.style.backgroundColor="rgba(235,109,31,1)";
				}
				else {
					me._category__text.style.backgroundColor="rgba(77,77,79,1)";
				}
			}
		}
		me._category.onclick=function (e) {
			if (
				(
					((player.getVariableValue('open_tag') == me.ggTag))
				)
			) {
				player.setVariableValue('close_nodes', true);
			}
			if (
				(
					((player.getVariableValue('open_tag') != me.ggTag))
				)
			) {
				player.setVariableValue('close_nodes', false);
			}
			if (
				(
					((player.getVariableValue('open_tag') != me.ggTag))
				)
			) {
				player.setVariableValue('open_tag', me.ggTag);
			}
			if (
				(
					((player.getVariableValue('close_nodes') == true))
				)
			) {
				player.setVariableValue('open_tag', "_nop_");
			}
		}
		me._category.onmouseover=function (e) {
			me.elementMouseOver['category']=true;
			me._category.logicBlock_backgroundcolor();
		}
		me._category.onmouseout=function (e) {
			if (e && e.toElement) {
				var current = e.toElement;
				while (current = current.parentNode) {
				if (current == me._category__text)
					return;
				}
			}
			me.elementMouseOver['category']=false;
			me._category.logicBlock_backgroundcolor();
		}
		me._category.ontouchend=function (e) {
			me.elementMouseOver['category']=false;
			me._category.logicBlock_backgroundcolor();
		}
		me._category.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		me._category.ggNodeChange=function () {
			if (
				(
					((me._category.ggIsActive() == true)) && 
					((player.getVariableValue('category_follow') == true))
				)
			) {
				player.setVariableValue('open_tag', me.ggTag);
			}
		}
		me.__div.appendChild(me._category);
		me._node_cloner.style['display']='none';
		var p = me._node_cloner.parentElement;
		while (p != null && p!==this.divSkin) {
			if (p.ggType && p.ggType == 'cloner') {
				if (p.ggAutoPosition) {
					p.ggAutoPosition(false);
				}
			}
			if (p.ggType && p.ggType == 'scrollarea') {
				if (p.ggUpdatePosition) {
					p.ggUpdatePosition();
				}
			}
			p = p.parentElement;
		}
		skin.updateSize(me._node_cloner);
		me.event_varchanged_open_tag=function() {if (
			(
				((player.getVariableValue('open_tag') != me.ggTag))
			)
		) {
			me._node_cloner.ggText="_nop_";
			if (me._node_cloner.ggText=='') {
				me._node_cloner.ggUpdate([]);
			} else {
				me._node_cloner.ggUpdate(me._node_cloner.ggText.split(','));
			}
			skin.updateSize(skin.divSkin);
		}
		if (
			(
				((player.getVariableValue('open_tag') != me.ggTag))
			)
		) {
			me._node_cloner.style['display']='none';
			var p = me._node_cloner.parentElement;
			while (p != null && p!==this.divSkin) {
				if (p.ggType && p.ggType == 'cloner') {
					if (p.ggAutoPosition) {
						p.ggAutoPosition(false);
					}
				}
				if (p.ggType && p.ggType == 'scrollarea') {
					if (p.ggUpdatePosition) {
						p.ggUpdatePosition();
					}
				}
				p = p.parentElement;
			}
			skin.updateSize(me._node_cloner);
		}
		if (
			(
				((player.getVariableValue('open_tag') == me.ggTag))
			)
		) {
			me._node_cloner.ggText=me.ggTag;
			if (me._node_cloner.ggText=='') {
				me._node_cloner.ggUpdate([]);
			} else {
				me._node_cloner.ggUpdate(me._node_cloner.ggText.split(','));
			}
			skin.updateSize(skin.divSkin);
		}
		if (
			(
				((player.getVariableValue('open_tag') == me.ggTag))
			)
		) {
			me._node_cloner.style['display']='inline';
			var p = me._node_cloner.parentElement;
			while (p != null && p!==this.divSkin) {
				if (p.ggType && p.ggType == 'cloner') {
					if (p.ggAutoPosition) {
						p.ggAutoPosition(false);
					}
				}
				if (p.ggType && p.ggType == 'scrollarea') {
					if (p.ggUpdatePosition) {
						p.ggUpdatePosition();
					}
				}
				p = p.parentElement;
			}
			skin.updateSize(me._node_cloner);
		}};
	};
	function SkinCloner_node_cloner_Class(nodeId, parentScope,ggParent,parameter) {
		var me=this;
		var hs='';
		me.parentScope=parentScope;
		me.ggParent=ggParent;
		me.findElements=skin.findElements;
		me.ggIndex=parameter.index;
		me.ggNodeId=nodeId;
		me.ggTitle=parameter.title;
		me.ggUserdata=skin.player.getNodeUserdata(me.ggNodeId);
		me.elementMouseDown={};
		me.elementMouseOver={};
		me.__div=document.createElement('div');
		me.__div.setAttribute('style','position: absolute;width: 270px; height: 150px; visibility: inherit; overflow: visible;');
		me.__div.style.left=parameter.left;
		me.__div.style.top=parameter.top;
		me.__div.style.width=parameter.width;
		me.__div.style.height=parameter.height;
		me.__div.ggIsActive = function() {
			return player.getCurrentNode()==me.ggNodeId;
		}
		me.__div.ggElementNodeId=function() {
			return me.ggNodeId;
		}
		el=me._node_image=document.createElement('div');
		els=me._node_image__img=document.createElement('img');
		els.className='ggskin ggskin_nodeimage';
		els.setAttribute('src',basePath + "images/node_image_" + nodeId + ".jpg");
		el.ggNodeId=nodeId;
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els.className='ggskin ggskin_nodeimage';
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="node_image";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_nodeimage ";
		el.ggType='nodeimage';
		hs ='';
		hs+='cursor : pointer;';
		hs+='height : 140px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='visibility : inherit;';
		hs+='width : 270px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._node_image.ggIsActive=function() {
			return player.getCurrentNode()==this.ggElementNodeId();
		}
		el.ggElementNodeId=function() {
			return this.ggNodeId;
		}
		me._node_image.onclick=function (e) {
			if (
				(
					((me._node_image.ggIsActive() == false))
				)
			) {
				player.openNext("{"+me.ggNodeId+"}",player.hotspot.target);
			}
		}
		me._node_image.onmouseover=function (e) {
			me.elementMouseOver['node_image']=true;
			me._node_visited.logicBlock_bordercolor();
		}
		me._node_image.onmouseout=function (e) {
			me.elementMouseOver['node_image']=false;
			me._node_visited.logicBlock_bordercolor();
		}
		me._node_image.ontouchend=function (e) {
			me.elementMouseOver['node_image']=false;
			me._node_visited.logicBlock_bordercolor();
		}
		me._node_image.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		el=me._node_title=document.createElement('div');
		els=me._node_title__text=document.createElement('div');
		el.className='ggskin ggskin_textdiv';
		el.ggTextDiv=els;
		el.ggId="node_title";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=true;
		el.className="ggskin ggskin_text node-title";
		el.ggType='text';
		hs ='';
		hs+='bottom : 10px;';
		hs+='cursor : pointer;';
		hs+='height : 32px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='visibility : inherit;';
		hs+='width : 270px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 100%';
		hs ='position:absolute;';
		hs += 'box-sizing: border-box;';
		hs+='left: 0px;';
		hs+='bottom:  0px;';
		hs+='width: 270px;';
		hs+='height: auto;';
		hs+='background: #000000;';
		hs+='background: rgba(0,0,0,0.392157);';
		hs+='border: 0px solid #000000;';
		hs+='color: rgba(255,255,255,1);';
		hs+='text-align: center;';
		hs+='white-space: pre-wrap;';
		hs+='padding: 2px 1px 2px 1px;';
		hs+='overflow: hidden;';
		els.setAttribute('style',hs);
		els.innerHTML=me.ggUserdata.title;
		el.appendChild(els);
		me._node_title.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._node_title.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((me.ggUserdata.title == ""))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._node_title.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._node_title.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._node_title.style[domTransition]='';
				if (me._node_title.ggCurrentLogicStateVisible == 0) {
					me._node_title.style.visibility="hidden";
					me._node_title.ggVisible=false;
				}
				else {
					me._node_title.style.visibility=(Number(me._node_title.style.opacity)>0||!me._node_title.style.opacity)?'inherit':'hidden';
					me._node_title.ggVisible=true;
				}
			}
		}
		me._node_title.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth + 0;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		me._node_image.appendChild(me._node_title);
		el=me._node_visited=document.createElement('div');
		el.ggId="node_visited";
		el.ggDx=0;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_rectangle ";
		el.ggType='rectangle';
		hs ='';
		hs+='border : 3px solid #eb6d1f;';
		hs+='cursor : default;';
		hs+='height : 134px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : 0px;';
		hs+='visibility : hidden;';
		hs+='width : 264px;';
		hs+='pointer-events:none;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._node_visited.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._node_visited.logicBlock_bordercolor = function() {
			var newLogicStateBorderColor;
			if (
				((me._node_visited.ggIsActive() == true))
			)
			{
				newLogicStateBorderColor = 0;
			}
			else if (
				((me.elementMouseOver['node_image'] == true))
			)
			{
				newLogicStateBorderColor = 1;
			}
			else if (
				((player.nodeVisited(me._node_visited.ggElementNodeId()) == true))
			)
			{
				newLogicStateBorderColor = 2;
			}
			else {
				newLogicStateBorderColor = -1;
			}
			if (me._node_visited.ggCurrentLogicStateBorderColor != newLogicStateBorderColor) {
				me._node_visited.ggCurrentLogicStateBorderColor = newLogicStateBorderColor;
				me._node_visited.style[domTransition]='border-color 0s';
				if (me._node_visited.ggCurrentLogicStateBorderColor == 0) {
					me._node_visited.style.borderColor="rgba(255,255,255,1)";
				}
				else if (me._node_visited.ggCurrentLogicStateBorderColor == 1) {
					me._node_visited.style.borderColor="rgba(255,255,255,1)";
				}
				else if (me._node_visited.ggCurrentLogicStateBorderColor == 2) {
					me._node_visited.style.borderColor="rgba(77,77,79,1)";
				}
				else {
					me._node_visited.style.borderColor="rgba(235,109,31,1)";
				}
			}
		}
		me._node_visited.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		me._node_image.appendChild(me._node_visited);
		me.__div.appendChild(me._node_image);
		el=me._checkmark_tick_category=document.createElement('div');
		els=me._checkmark_tick_category__img=document.createElement('img');
		els.className='ggskin ggskin_svg';
		hs='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHhtbG5zOnhsaW5rPSJodHRwOi8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vPgogIDxwYXRoIGQ9Ik0tMTQ3LjcsMzY2LjhsLTM3LjEsMzcuMWwtMTgtMThjLTAuNy0wLjctMS43LTAuNy0yLjQsMGwtMTIuNS'+
			'wxMi41Yy0wLjcsMC43LTAuNywxLjcsMCwyLjRsMzEuNywzMS44JiN4ZDsmI3hhOyYjeDk7JiN4OTtjMC4zLDAuMywwLjgsMC41LDEuMywwLjVjMC40LDAsMC45LTAuMiwxLjItMC41bDUwLjgtNTAuOWMwLjctMC43LDAuNy0xLjcsMC0yLjRsLTEyLjUtMTIuNUMtMTQ1LjksMzY2LjEtMTQ3LDM2Ni4xLTE0Ny43LDM2Ni44eiIgY2xhc3M9InN0MSIvPgogPC9nPgo8L3N2Zz4K';
		me._checkmark_tick_category__img.setAttribute('src',hs);
		els.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 100%;height: 100%;-webkit-user-drag:none;pointer-events:none;;');
		els['ondragstart']=function() { return false; };
		el.appendChild(els);
		el.ggSubElement = els;
		el.ggId="checkmark_tick_category";
		el.ggDx=125;
		el.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 };
		el.ggVisible=false;
		el.className="ggskin ggskin_svg ";
		el.ggType='svg';
		hs ='';
		hs+='height : 24px;';
		hs+='left : -10000px;';
		hs+='position : absolute;';
		hs+='top : -2px;';
		hs+='visibility : hidden;';
		hs+='width : 24px;';
		hs+='pointer-events:auto;';
		el.setAttribute('style',hs);
		el.style[domTransform + 'Origin']='50% 50%';
		me._checkmark_tick_category.ggIsActive=function() {
			if ((this.parentNode) && (this.parentNode.ggIsActive)) {
				return this.parentNode.ggIsActive();
			}
			return false;
		}
		el.ggElementNodeId=function() {
			if ((this.parentNode) && (this.parentNode.ggElementNodeId)) {
				return this.parentNode.ggElementNodeId();
			}
			return player.getCurrentNode();
		}
		me._checkmark_tick_category.logicBlock_visible = function() {
			var newLogicStateVisible;
			if (
				((player.nodeVisited(me._checkmark_tick_category.ggElementNodeId()) == true)) || 
				((me._checkmark_tick_category.ggIsActive() == true))
			)
			{
				newLogicStateVisible = 0;
			}
			else {
				newLogicStateVisible = -1;
			}
			if (me._checkmark_tick_category.ggCurrentLogicStateVisible != newLogicStateVisible) {
				me._checkmark_tick_category.ggCurrentLogicStateVisible = newLogicStateVisible;
				me._checkmark_tick_category.style[domTransition]='opacity 500ms ease 0ms';
				if (me._checkmark_tick_category.ggCurrentLogicStateVisible == 0) {
					me._checkmark_tick_category.style.visibility=(Number(me._checkmark_tick_category.style.opacity)>0||!me._checkmark_tick_category.style.opacity)?'inherit':'hidden';
					me._checkmark_tick_category.ggVisible=true;
				}
				else {
					me._checkmark_tick_category.style.visibility="hidden";
					me._checkmark_tick_category.ggVisible=false;
				}
			}
		}
		me._checkmark_tick_category.logicBlock_alpha = function() {
			var newLogicStateAlpha;
			if (
				((me.elementMouseOver['node_cloner'] == true)) && 
				((me.ggUserdata.title != ""))
			)
			{
				newLogicStateAlpha = 0;
			}
			else {
				newLogicStateAlpha = -1;
			}
			if (me._checkmark_tick_category.ggCurrentLogicStateAlpha != newLogicStateAlpha) {
				me._checkmark_tick_category.ggCurrentLogicStateAlpha = newLogicStateAlpha;
				me._checkmark_tick_category.style[domTransition]='opacity 500ms ease 0ms';
				if (me._checkmark_tick_category.ggCurrentLogicStateAlpha == 0) {
					setTimeout(function() { if (me._checkmark_tick_category.style.opacity == 0.0) { me._checkmark_tick_category.style.visibility="hidden"; } }, 505);
					me._checkmark_tick_category.style.opacity=0;
				}
				else {
					me._checkmark_tick_category.style.visibility=me._checkmark_tick_category.ggVisible?'inherit':'hidden';
					me._checkmark_tick_category.style.opacity=1;
				}
			}
		}
		me._checkmark_tick_category.ggUpdatePosition=function (useTransition) {
			if (useTransition==='undefined') {
				useTransition = false;
			}
			if (!useTransition) {
				this.style[domTransition]='none';
			}
			if (this.parentNode) {
				var pw=this.parentNode.clientWidth;
				var w=this.offsetWidth;
					this.style.left=(this.ggDx + pw/2 - w/2) + 'px';
			}
		}
		me.__div.appendChild(me._checkmark_tick_category);
	};
	player.addListener('varchanged_open_tag', function() {
		var inst_j=skin;
		for(var i = 0; i < inst_j._category_cloner.ggInstances.length; i++) {
			var inst_i=inst_j._category_cloner.ggInstances[i];
			inst_i.event_varchanged_open_tag();
		}
	});
	me.addSkin();
	var style = document.createElement('style');
	style.type = 'text/css';
	style.appendChild(document.createTextNode('.ggskin {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px;} .ggskin.lato {font-family: "Lato", sans-serif; font-size: 16px; font-weight:400; letter-spacing:.5px;} .ggskin.bodytext {font-family: "Crimson Text", serif; font-size:14px;} .ggskin.buttontext {font-family: "Lato", sans-serif; font-size: 16px; font-weight:600; text-transform:uppercase;} .ggskin.pt {font-family: "PT Sans Bold", sans-serif; font-size: 16px; text-transform:uppercase;} .ggskin.node-title {font-family: "PT Sans Bold Italic", sans-serif; font-size: 20px;} .ggskin.tooltip {font-family: "PT Sans Bold Italic", sans-serif; font-size: 14px;} .ggskin.details-header {font-family: "PT Sans Bold Italic", sans-serif;}'));
	document.head.appendChild(style);
	me._panoroomslogotimermobile.logicBlock_visible();
	me._sliderclose.logicBlock_position();
	me._slideropen.logicBlock_position();
	me._slider_panel.logicBlock_position();
	me._settings_panel.logicBlock_position();
	me._thumbnailslidercategory.logicBlock_position();
	me._map_toggle.logicBlock_position();
	me._loading_multires.logicBlock_visible();
	me._sliderclose.logicBlock_alpha();
	me._slideropen.logicBlock_visible();
	me._slideropen.logicBlock_alpha();
	me._slider_panel.logicBlock_visible();
	me._thumbnail_scroller.logicBlock_position();
	me._thumbnail_scroller.logicBlock_size();
	me._thumbnail_highlights.logicBlock_visible();
	me._thumbnail_allrooms.logicBlock_visible();
	me._settingsopen.logicBlock_alpha();
	me._settingsclose.logicBlock_alpha();
	me._settingshome.logicBlock_position();
	me._settingshome.logicBlock_alpha();
	me._settingshelp.logicBlock_position();
	me._settingshelp.logicBlock_alpha();
	me._settingsguided.logicBlock_position();
	me._settingsguided.logicBlock_visible();
	me._settingsguided.logicBlock_alpha();
	me._settingsgyro.logicBlock_position();
	me._settingsgyro.logicBlock_alpha();
	me._settingsvr.logicBlock_position();
	me._settingsvr.logicBlock_visible();
	me._settingsvr.logicBlock_alpha();
	me._settingsxray.logicBlock_position();
	me._settingsxray.logicBlock_visible();
	me._settingsxray.logicBlock_alpha();
	me._settingsxraytipon.logicBlock_visible();
	me._settingsxraytipoff.logicBlock_visible();
	me._thumbnailslidercategory.logicBlock_visible();
	me._screentint_image.logicBlock_visible();
	me._image_popup.logicBlock_visible();
	me._popup_image.logicBlock_visible();
	me._image_popup_close.logicBlock_visible();
	me._desktophelpimage.logicBlock_visible();
	me._desktophelpimage.logicBlock_alpha();
	me._screentint_helpmobile.logicBlock_visible();
	me._mobilehelpimage.logicBlock_visible();
	me._init_ga.logicBlock_visible();
	me._video_screentint_file.logicBlock_visible();
	me._video_popup_file.logicBlock_visible();
	me._popup_video_file.logicBlock_visible();
	me._video_popup_controls_file.logicBlock_visible();
	me._video_popup_close_file.logicBlock_visible();
	me._dinodetail.logicBlock_visible();
	me._image_popup_gal.logicBlock_visible();
	me._popup_image_gal.logicBlock_visible();
	me._galnext.logicBlock_visible();
	me._galprev.logicBlock_visible();
	me._map_toggle.logicBlock_visible();
	me._minimapbar.logicBlock_visible();
	me._floor2down.logicBlock_visible();
	me._floor3down.logicBlock_visible();
	me._floor4down.logicBlock_visible();
	me._floor5down.logicBlock_visible();
	me._floor1up.logicBlock_visible();
	me._floor2up.logicBlock_visible();
	me._floor3up.logicBlock_visible();
	me._floor4up.logicBlock_visible();
	me._minimap.logicBlock_visible();
	me._minimap.logicBlock_alpha();
	me._fullsizemap.logicBlock_visible();
	me._minimizeicon.logicBlock_visible();
	me._fullmapbar.logicBlock_visible();
	me._full_floor2down.logicBlock_visible();
	me._full_floor3down.logicBlock_visible();
	me._full_floor4down.logicBlock_visible();
	me._full_floor5down.logicBlock_visible();
	me._full_floor1up.logicBlock_visible();
	me._full_floor2up.logicBlock_visible();
	me._full_floor3up.logicBlock_visible();
	me._full_floor4up.logicBlock_visible();
	me._panoroomslogotimer.logicBlock_visible();
	me._menutitleclose.logicBlock_visible();
	me._menutitleopen.logicBlock_visible();
	me._settingsgyro.logicBlock_visible();
	me._maptitleopen.logicBlock_visible();
	me._minimap.logicBlock_size();
	player.addListener('sizechanged', function(args) { me._panoroomslogotimermobile.logicBlock_visible();me._sliderclose.logicBlock_position();me._slideropen.logicBlock_position();me._slider_panel.logicBlock_position();me._settings_panel.logicBlock_position();me._thumbnailslidercategory.logicBlock_position();me._map_toggle.logicBlock_position(); });
	player.addListener('tilesready', function(args) { me._loading_multires.logicBlock_visible(); });
	player.addListener('tilesrequested', function(args) { me._loading_multires.logicBlock_visible(); });
	player.addListener('changenode', function(args) { me._sliderclose.logicBlock_position();me._sliderclose.logicBlock_alpha();me._slideropen.logicBlock_position();me._slideropen.logicBlock_visible();me._slideropen.logicBlock_alpha();me._slider_panel.logicBlock_position();me._slider_panel.logicBlock_visible();me._thumbnail_scroller.logicBlock_position();me._thumbnail_scroller.logicBlock_size();me._thumbnail_highlights.logicBlock_visible();me._thumbnail_allrooms.logicBlock_visible();me._settings_panel.logicBlock_position();me._settingsopen.logicBlock_alpha();me._settingsclose.logicBlock_alpha();me._settingshome.logicBlock_position();me._settingshome.logicBlock_alpha();me._settingshelp.logicBlock_position();me._settingshelp.logicBlock_alpha();me._settingsguided.logicBlock_position();me._settingsguided.logicBlock_visible();me._settingsguided.logicBlock_alpha();me._settingsgyro.logicBlock_position();me._settingsgyro.logicBlock_alpha();me._settingsvr.logicBlock_position();me._settingsvr.logicBlock_visible();me._settingsvr.logicBlock_alpha();me._settingsxray.logicBlock_position();me._settingsxray.logicBlock_visible();me._settingsxray.logicBlock_alpha();me._settingsxraytipon.logicBlock_visible();me._settingsxraytipoff.logicBlock_visible();me._thumbnailslidercategory.logicBlock_position();me._thumbnailslidercategory.logicBlock_visible();me._screentint_image.logicBlock_visible();me._image_popup.logicBlock_visible();me._popup_image.logicBlock_visible();me._image_popup_close.logicBlock_visible();me._desktophelpimage.logicBlock_visible();me._desktophelpimage.logicBlock_alpha();me._screentint_helpmobile.logicBlock_visible();me._mobilehelpimage.logicBlock_visible();me._init_ga.logicBlock_visible();me._video_screentint_file.logicBlock_visible();me._video_popup_file.logicBlock_visible();me._popup_video_file.logicBlock_visible();me._video_popup_controls_file.logicBlock_visible();me._video_popup_close_file.logicBlock_visible();me._loading_multires.logicBlock_visible();me._dinodetail.logicBlock_visible();me._image_popup_gal.logicBlock_visible();me._popup_image_gal.logicBlock_visible();me._galnext.logicBlock_visible();me._galprev.logicBlock_visible();me._map_toggle.logicBlock_position();me._map_toggle.logicBlock_visible();me._minimapbar.logicBlock_visible();me._floor2down.logicBlock_visible();me._floor3down.logicBlock_visible();me._floor4down.logicBlock_visible();me._floor5down.logicBlock_visible();me._floor1up.logicBlock_visible();me._floor2up.logicBlock_visible();me._floor3up.logicBlock_visible();me._floor4up.logicBlock_visible();me._minimap.logicBlock_visible();me._minimap.logicBlock_alpha();me._fullsizemap.logicBlock_visible();me._minimizeicon.logicBlock_visible();me._fullmapbar.logicBlock_visible();me._full_floor2down.logicBlock_visible();me._full_floor3down.logicBlock_visible();me._full_floor4down.logicBlock_visible();me._full_floor5down.logicBlock_visible();me._full_floor1up.logicBlock_visible();me._full_floor2up.logicBlock_visible();me._full_floor3up.logicBlock_visible();me._full_floor4up.logicBlock_visible(); });
	player.addListener('configloaded', function(args) { me._panoroomslogotimer.logicBlock_visible();me._panoroomslogotimermobile.logicBlock_visible();me._sliderclose.logicBlock_position();me._menutitleclose.logicBlock_visible();me._slideropen.logicBlock_position();me._menutitleopen.logicBlock_visible();me._slider_panel.logicBlock_position();me._settings_panel.logicBlock_position();me._settingsgyro.logicBlock_visible();me._settingsvr.logicBlock_position();me._settingsxray.logicBlock_position();me._thumbnailslidercategory.logicBlock_position();me._desktophelpimage.logicBlock_visible();me._screentint_helpmobile.logicBlock_visible();me._mobilehelpimage.logicBlock_visible();me._map_toggle.logicBlock_position();me._maptitleopen.logicBlock_visible();me._minimap.logicBlock_size(); });
	player.addListener('gyroavailable', function(args) { me._settingsgyro.logicBlock_visible();me._settingsvr.logicBlock_position();me._settingsxray.logicBlock_position(); });
	player.addListener('vrchanged', function(args) { me._settingsvr.logicBlock_visible(); });
	player.addListener('activehotspotchanged', function(args) { me._settingsxray.logicBlock_visible();me._dinodetail.logicBlock_visible(); });
	player.addListener('varchanged_slider', function(args) { me._sliderclose.logicBlock_position();me._sliderclose.logicBlock_alpha();me._slideropen.logicBlock_position();me._slideropen.logicBlock_alpha();me._slider_panel.logicBlock_position();me._settings_panel.logicBlock_position();me._thumbnailslidercategory.logicBlock_position();me._map_toggle.logicBlock_position(); });
	player.addListener('varchanged_hide_thumbnail_button', function(args) { me._slideropen.logicBlock_visible(); });
	player.addListener('varchanged_category_slider', function(args) { me._slider_panel.logicBlock_visible();me._thumbnailslidercategory.logicBlock_visible(); });
	player.addListener('varchanged_vis_image_popup', function(args) { me._screentint_image.logicBlock_visible();me._image_popup.logicBlock_visible();me._popup_image.logicBlock_visible();me._image_popup_close.logicBlock_visible(); });
	player.addListener('varchanged_vis_image_popup_gal', function(args) { me._screentint_image.logicBlock_visible();me._image_popup_gal.logicBlock_visible();me._popup_image_gal.logicBlock_visible(); });
	player.addListener('varchanged_help_popup', function(args) { me._desktophelpimage.logicBlock_visible();me._desktophelpimage.logicBlock_alpha();me._screentint_helpmobile.logicBlock_visible();me._mobilehelpimage.logicBlock_visible(); });
	player.addListener('varchanged_UA_ID', function(args) { me._init_ga.logicBlock_visible(); });
	player.addListener('varchanged_UA_category', function(args) { me._init_ga.logicBlock_visible(); });
	player.addListener('varchanged_vis_video_file', function(args) { me._video_screentint_file.logicBlock_visible();me._video_popup_file.logicBlock_visible();me._popup_video_file.logicBlock_visible();me._video_popup_controls_file.logicBlock_visible();me._video_popup_close_file.logicBlock_visible(); });
	player.addListener('varchanged_opt_loader_mulires', function(args) { me._loading_multires.logicBlock_visible(); });
	player.addListener('varchanged_show_title', function(args) { me._dinodetail.logicBlock_visible(); });
	player.addListener('varchanged_showmap', function(args) { me._map_toggle.logicBlock_visible(); });
	player.addListener('varchanged_map', function(args) { me._minimapbar.logicBlock_visible();me._minimap.logicBlock_visible();me._minimap.logicBlock_alpha();me._fullsizemap.logicBlock_visible();me._fullmapbar.logicBlock_visible(); });
	player.addListener('varchanged_minimap', function(args) { me._minimapbar.logicBlock_visible();me._minimap.logicBlock_visible();me._fullsizemap.logicBlock_visible();me._minimizeicon.logicBlock_visible();me._fullmapbar.logicBlock_visible(); });
	player.addListener('varchanged_thumbnail_filter', function(args) { me._thumbnail_scroller.logicBlock_position();me._thumbnail_scroller.logicBlock_size();me._thumbnail_highlights.logicBlock_visible();me._thumbnail_allrooms.logicBlock_visible(); });
	player.addListener('varchanged_tools', function(args) { me._settingsopen.logicBlock_alpha();me._settingsclose.logicBlock_alpha();me._settingshome.logicBlock_position();me._settingshome.logicBlock_alpha();me._settingshelp.logicBlock_position();me._settingshelp.logicBlock_alpha();me._settingsguided.logicBlock_position();me._settingsguided.logicBlock_alpha();me._settingsgyro.logicBlock_position();me._settingsgyro.logicBlock_alpha();me._settingsvr.logicBlock_position();me._settingsvr.logicBlock_alpha();me._settingsxray.logicBlock_position();me._settingsxray.logicBlock_alpha(); });
	player.addListener('varchanged_guidedtour', function(args) { me._settingsguided.logicBlock_visible();me._settingsgyro.logicBlock_position();me._settingsvr.logicBlock_position();me._settingsxray.logicBlock_position(); });
	player.addListener('varchanged_VRinterface', function(args) { me._settingsvr.logicBlock_visible();me._settingsxray.logicBlock_position(); });
	player.addListener('varchanged_xray_button', function(args) { me._settingsxray.logicBlock_visible(); });
	player.addListener('varchanged_gal_image_total', function(args) { me._galnext.logicBlock_visible(); });
	player.addListener('varchanged_gal_image_index', function(args) { me._galprev.logicBlock_visible(); });
	player.addListener('varchanged_current_floor', function(args) { me._floor2down.logicBlock_visible();me._floor3down.logicBlock_visible();me._floor4down.logicBlock_visible();me._floor5down.logicBlock_visible();me._floor1up.logicBlock_visible();me._floor2up.logicBlock_visible();me._floor3up.logicBlock_visible();me._floor4up.logicBlock_visible();me._full_floor2down.logicBlock_visible();me._full_floor3down.logicBlock_visible();me._full_floor4down.logicBlock_visible();me._full_floor5down.logicBlock_visible();me._full_floor1up.logicBlock_visible();me._full_floor2up.logicBlock_visible();me._full_floor3up.logicBlock_visible();me._full_floor4up.logicBlock_visible(); });
	player.addListener('varchanged_total_floors', function(args) { me._floor1up.logicBlock_visible();me._floor2up.logicBlock_visible();me._floor3up.logicBlock_visible();me._floor4up.logicBlock_visible();me._full_floor1up.logicBlock_visible();me._full_floor2up.logicBlock_visible();me._full_floor3up.logicBlock_visible();me._full_floor4up.logicBlock_visible(); });
	player.addListener('varchanged_xray_view', function(args) { me._settingsxraytipon.logicBlock_visible();me._settingsxraytipoff.logicBlock_visible(); });
	player.addListener('changenode', function(args) { me._single_node_cloner.callChildLogicBlocks_changenode();me._category_cloner.callChildLogicBlocks_changenode(); });
	player.addListener('mouseover', function(args) { me._category_cloner.callChildLogicBlocks_mouseover(); });
	player.addListener('mouseover', function(args) { me._single_node_cloner.callChildLogicBlocks_mouseover();me._category_cloner.callChildLogicBlocks_mouseover(); });
	player.addListener('changenode', function(args) { me._single_node_cloner.callChildLogicBlocks_active();me._category_cloner.callChildLogicBlocks_active(); });
	player.addListener('changevisitednodes', function(args) { me._single_node_cloner.callChildLogicBlocks_changevisitednodes();me._category_cloner.callChildLogicBlocks_changevisitednodes(); });
	player.addListener('activehotspotchanged', function(args) { me._single_node_cloner.callChildLogicBlocks_activehotspotchanged();me._category_cloner.callChildLogicBlocks_activehotspotchanged(); });
	player.addListener('varchanged_open_tag', function(args) { me._category_cloner.callChildLogicBlocks_varchanged_open_tag(); });
	player.addListener('sizechanged', function(args) { me.callChildLogicBlocksHotspot_ht_node_arrow_sizechanged(); });
	player.addListener('changenode', function(args) { me.callChildLogicBlocksHotspot_ht_node_arrow_changenode();me.callChildLogicBlocksHotspot_ht_node_changenode();me.callChildLogicBlocksHotspot_ht_node_north_changenode();me.callChildLogicBlocksHotspot_ht_node_ne_changenode();me.callChildLogicBlocksHotspot_ht_node_e_changenode();me.callChildLogicBlocksHotspot_ht_node_se_changenode();me.callChildLogicBlocksHotspot_ht_node_south_changenode();me.callChildLogicBlocksHotspot_ht_node_sw_changenode();me.callChildLogicBlocksHotspot_ht_node_w_changenode();me.callChildLogicBlocksHotspot_ht_node_nw_changenode();me.callChildLogicBlocksHotspot_ht_image_changenode();me.callChildLogicBlocksHotspot_ht_info_changenode();me.callChildLogicBlocksHotspot_ht_ani_changenode();me.callChildLogicBlocksHotspot_ht_video_file_changenode();me.callChildLogicBlocksHotspot_ht_animation_play_changenode();me.callChildLogicBlocksHotspot_ht_image_gal_changenode(); });
	player.addListener('configloaded', function(args) { me.callChildLogicBlocksHotspot_ht_node_arrow_configloaded();me.callChildLogicBlocksHotspot_ht_node_configloaded();me.callChildLogicBlocksHotspot_ht_node_north_configloaded();me.callChildLogicBlocksHotspot_ht_node_ne_configloaded();me.callChildLogicBlocksHotspot_ht_node_e_configloaded();me.callChildLogicBlocksHotspot_ht_node_se_configloaded();me.callChildLogicBlocksHotspot_ht_node_south_configloaded();me.callChildLogicBlocksHotspot_ht_node_sw_configloaded();me.callChildLogicBlocksHotspot_ht_node_w_configloaded();me.callChildLogicBlocksHotspot_ht_node_nw_configloaded();me.callChildLogicBlocksHotspot_ht_image_configloaded();me.callChildLogicBlocksHotspot_ht_info_configloaded();me.callChildLogicBlocksHotspot_ht_ani_configloaded();me.callChildLogicBlocksHotspot_ht_image_gal_configloaded(); });
	player.addListener('mouseover', function(args) { me.callChildLogicBlocksHotspot_ht_node_arrow_mouseover();me.callChildLogicBlocksHotspot_ht_video_file_mouseover(); });
	player.addListener('changenode', function(args) { me.callChildLogicBlocksHotspot_ht_node_arrow_active(); });
	player.addListener('changevisitednodes', function(args) { me.callChildLogicBlocksHotspot_ht_node_arrow_changevisitednodes(); });
	player.addListener('hastouch', function(args) { me.callChildLogicBlocksHotspot_ht_image_hastouch();me.callChildLogicBlocksHotspot_ht_image_gal_hastouch(); });
	player.addListener('activehotspotchanged', function(args) { me.callChildLogicBlocksHotspot_ht_node_arrow_activehotspotchanged();me.callChildLogicBlocksHotspot_ht_node_activehotspotchanged();me.callChildLogicBlocksHotspot_ht_image_activehotspotchanged();me.callChildLogicBlocksHotspot_ht_info_activehotspotchanged();me.callChildLogicBlocksHotspot_ht_video_file_activehotspotchanged();me.callChildLogicBlocksHotspot_ht_animation_play_activehotspotchanged();me.callChildLogicBlocksHotspot_ht_image_gal_activehotspotchanged(); });
	player.addListener('varchanged_hide_all_hotspots', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_node_north_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_node_e_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_node_se_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_node_south_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_node_w_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_image_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_info_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_ani_varchanged_hide_all_hotspots();me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_hide_all_hotspots(); });
	player.addListener('varchanged_opt_3d_preview', function(args) { me.callChildLogicBlocksHotspot_ht_node_arrow_varchanged_opt_3d_preview(); });
	player.addListener('varchanged_ht_ani', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_node_north_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_node_e_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_node_se_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_node_south_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_node_w_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_image_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_info_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_ani_varchanged_ht_ani();me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_ht_ani(); });
	player.addListener('varchanged_extreme_nudge_viewer', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_extreme_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_north_varchanged_extreme_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_extreme_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_e_varchanged_extreme_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_se_varchanged_extreme_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_south_varchanged_extreme_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_extreme_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_w_varchanged_extreme_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_extreme_nudge_viewer();me.callChildLogicBlocksHotspot_ht_image_varchanged_extreme_nudge_viewer();me.callChildLogicBlocksHotspot_ht_info_varchanged_extreme_nudge_viewer();me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_extreme_nudge_viewer(); });
	player.addListener('varchanged_nudge_viewer', function(args) { me.callChildLogicBlocksHotspot_ht_node_varchanged_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_ne_varchanged_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_e_varchanged_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_se_varchanged_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_south_varchanged_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_sw_varchanged_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_w_varchanged_nudge_viewer();me.callChildLogicBlocksHotspot_ht_node_nw_varchanged_nudge_viewer();me.callChildLogicBlocksHotspot_ht_image_varchanged_nudge_viewer();me.callChildLogicBlocksHotspot_ht_info_varchanged_nudge_viewer();me.callChildLogicBlocksHotspot_ht_image_gal_varchanged_nudge_viewer(); });
	player.addListener('hotspotsremoved', function(args) { me.removeSkinHotspots(); });
	document.addEventListener('keydown', function(e) {
		var key = e.which || e.keyCode;
		if (!player.getLockedKeyboard()) {
			switch(key) {
				case 68:
					me._loading_multires.onclick.call(me._loading_multires);
					break;
				case 72:
					me._settingshome.onclick.call(me._settingshome);
					break;
				case 88:
					me._showhotspots.onclick.call(me._showhotspots);
					break;
				case 90:
					me._hidehotspots.onclick.call(me._hidehotspots);
					break;
			}
		}
	});
	me.skinTimerEvent();
};