// Garden Gnome Software - Skin // Pano2VR 4.1.0/3405MS // Filename: ??? ??????????? ?????????? ???????.ggsk // Generated Пн 15. апр 11:18:46 2013 function pano2vrSkin(player,base) { var me=this; var flag=false; var nodeMarker=new Array(); var activeNodeMarker=new Array(); this.player=player; this.player.skinObj=this; this.divSkin=player.divSkin; var basePath=""; // auto detect base path if (base=='?') { var scripts = document.getElementsByTagName('script'); for(var i=0;i=0) { var p=src.lastIndexOf('/'); if (p>=0) { basePath=src.substr(0,p+1); } } } } else if (base) { basePath=base; } this.elementMouseDown=new Array(); this.elementMouseOver=new Array(); var cssPrefix=''; var domTransition='transition'; var domTransform='transform'; var prefixes='Webkit,Moz,O,ms,Ms'.split(','); var i; for(i=0;i0) { e=stack.pop(); if (e.ggUpdatePosition) { e.ggUpdatePosition(); } if (e.hasChildNodes()) { for(i=0;i0) { 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(i=0;i"; if (hs!=this.ggText) { this.ggText=hs; this.innerHTML=hs; } } this._loading_text.ggUpdateText(); this._laden.appendChild(this._loading_text); this._loading_bar=document.createElement('div'); this._loading_bar.ggId='loading bar'; this._loading_bar.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._loading_bar.ggVisible=true; this._loading_bar.className='ggskin ggskin_rectangle'; hs ='position:absolute;'; hs+='left: 21px;'; hs+='top: 17px;'; hs+='width: 261px;'; hs+='height: 11px;'; hs+=cssPrefix + 'transform-origin: 0% 50%;'; hs+='visibility: inherit;'; hs+='background: #ffffff;'; hs+='border: 0px solid #ffffff;'; this._loading_bar.setAttribute('style',hs); this._laden.appendChild(this._loading_bar); this.divSkin.appendChild(this._laden); this._schaltflchen=document.createElement('div'); this._schaltflchen.ggId='Schaltfl\xe4chen'; this._schaltflchen.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._schaltflchen.ggVisible=true; this._schaltflchen.className='ggskin ggskin_container'; this._schaltflchen.ggUpdatePosition=function() { this.style[domTransition]='none'; if (this.parentNode) { w=this.parentNode.offsetWidth; this.style.left=(-171 + w/2) + 'px'; h=this.parentNode.offsetHeight; this.style.top=(-50 + h) + 'px'; } } hs ='position:absolute;'; hs+='left: -171px;'; hs+='top: -50px;'; hs+='width: 346px;'; hs+='height: 96px;'; hs+=cssPrefix + 'transform-origin: 50% 50%;'; hs+='visibility: inherit;'; this._schaltflchen.setAttribute('style',hs); this._schaltfche_13=document.createElement('div'); this._schaltfche_13.ggId='Schaltf\xe4che 13'; this._schaltfche_13.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; this._schaltfche_13.ggVisible=true; this._schaltfche_13.className='ggskin ggskin_button'; hs ='position:absolute;'; hs+='left: 300px;'; hs+='top: 6px;'; hs+='width: 40px;'; hs+='height: 40px;'; hs+=cssPrefix + 'transform-origin: 50% 0%;'; hs+=cssPrefix + 'transform: ' + parameterToTransform(this._schaltfche_13.ggParameter) + ';'; hs+='opacity: 0.7;'; hs+='visibility: inherit;'; hs+='cursor: pointer;'; this._schaltfche_13.setAttribute('style',hs); this._schaltfche_13__img=document.createElement('img'); this._schaltfche_13__img.setAttribute('src',basePath + 'images_1/schaltfche_13.png'); this._schaltfche_13__img.setAttribute('style','position: absolute;top: 0px;left: 0px;-webkit-user-drag:none;'); this._schaltfche_13__img['ondragstart']=function() { return false; }; me.player.checkLoaded.push(this._schaltfche_13__img); this._schaltfche_13.appendChild(this._schaltfche_13__img); this._schaltfche_13.onclick=function () { flag=me._bild_141.ggScaleActive; if (me.player.transitionsDisabled) { me._bild_141.style[domTransition]='none'; } else { me._bild_141.style[domTransition]='all 500ms ease-out 0ms'; } if (flag) { me._bild_141.ggParameter.sx=0;me._bild_141.ggParameter.sy=0; me._bild_141.style[domTransform]=parameterToTransform(me._bild_141.ggParameter); } else { me._bild_141.ggParameter.sx=1;me._bild_141.ggParameter.sy=1; me._bild_141.style[domTransform]=parameterToTransform(me._bild_141.ggParameter); } me._bild_141.ggScaleActive=!flag; } this._schaltfche_13.onmouseover=function () { if (me.player.transitionsDisabled) { me._schaltfche_13.style[domTransition]='none'; } else { me._schaltfche_13.style[domTransition]='all 500ms ease-out 0ms'; } me._schaltfche_13.ggParameter.sx=1;me._schaltfche_13.ggParameter.sy=1; me._schaltfche_13.style[domTransform]=parameterToTransform(me._schaltfche_13.ggParameter); if (me.player.transitionsDisabled) { me._schaltfche_13.style[domTransition]='none'; } else { me._schaltfche_13.style[domTransition]='all 1000ms ease-out 0ms'; } me._schaltfche_13.ggParameter.rx=0;me._schaltfche_13.ggParameter.ry=-5; me._schaltfche_13.style[domTransform]=parameterToTransform(me._schaltfche_13.ggParameter); } this._schaltfche_13.onmouseout=function () { if (me.player.transitionsDisabled) { me._schaltfche_13.style[domTransition]='none'; } else { me._schaltfche_13.style[domTransition]='all 500ms ease-out 0ms'; } me._schaltfche_13.ggParameter.sx=0.9;me._schaltfche_13.ggParameter.sy=0.9; me._schaltfche_13.style[domTransform]=parameterToTransform(me._schaltfche_13.ggParameter); if (me.player.transitionsDisabled) { me._schaltfche_13.style[domTransition]='none'; } else { me._schaltfche_13.style[domTransition]='all 1000ms ease-out 0ms'; } me._schaltfche_13.ggParameter.rx=0;me._schaltfche_13.ggParameter.ry=0; me._schaltfche_13.style[domTransform]=parameterToTransform(me._schaltfche_13.ggParameter); } this._schaltflchen.appendChild(this._schaltfche_13); this._full_screen=document.createElement('div'); this._full_screen.ggId='full_screen'; this._full_screen.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; this._full_screen.ggVisible=true; this._full_screen.className='ggskin ggskin_button'; hs ='position:absolute;'; hs+='left: 260px;'; hs+='top: 6px;'; hs+='width: 40px;'; hs+='height: 40px;'; hs+=cssPrefix + 'transform-origin: 50% 0%;'; hs+=cssPrefix + 'transform: ' + parameterToTransform(this._full_screen.ggParameter) + ';'; hs+='opacity: 0.7;'; hs+='visibility: inherit;'; hs+='cursor: pointer;'; this._full_screen.setAttribute('style',hs); this._full_screen__img=document.createElement('img'); this._full_screen__img.setAttribute('src',basePath + 'images_1/full_screen.png'); this._full_screen__img.setAttribute('style','position: absolute;top: 0px;left: 0px;-webkit-user-drag:none;'); this._full_screen__img['ondragstart']=function() { return false; }; me.player.checkLoaded.push(this._full_screen__img); this._full_screen.appendChild(this._full_screen__img); this._full_screen.onclick=function () { me.player.toggleFullscreen(); } this._full_screen.onmouseover=function () { if (me.player.transitionsDisabled) { me._full_screen.style[domTransition]='none'; } else { me._full_screen.style[domTransition]='all 500ms ease-out 0ms'; } me._full_screen.ggParameter.sx=1;me._full_screen.ggParameter.sy=1; me._full_screen.style[domTransform]=parameterToTransform(me._full_screen.ggParameter); if (me.player.transitionsDisabled) { me._full_screen.style[domTransition]='none'; } else { me._full_screen.style[domTransition]='all 1000ms ease-out 0ms'; } me._full_screen.ggParameter.rx=0;me._full_screen.ggParameter.ry=-5; me._full_screen.style[domTransform]=parameterToTransform(me._full_screen.ggParameter); } this._full_screen.onmouseout=function () { if (me.player.transitionsDisabled) { me._full_screen.style[domTransition]='none'; } else { me._full_screen.style[domTransition]='all 500ms ease-out 0ms'; } me._full_screen.ggParameter.sx=0.9;me._full_screen.ggParameter.sy=0.9; me._full_screen.style[domTransform]=parameterToTransform(me._full_screen.ggParameter); if (me.player.transitionsDisabled) { me._full_screen.style[domTransition]='none'; } else { me._full_screen.style[domTransition]='all 1000ms ease-out 0ms'; } me._full_screen.ggParameter.rx=0;me._full_screen.ggParameter.ry=0; me._full_screen.style[domTransform]=parameterToTransform(me._full_screen.ggParameter); } this._schaltflchen.appendChild(this._full_screen); this._reset_view=document.createElement('div'); this._reset_view.ggId='reset_view'; this._reset_view.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; this._reset_view.ggVisible=true; this._reset_view.className='ggskin ggskin_button'; hs ='position:absolute;'; hs+='left: 220px;'; hs+='top: 6px;'; hs+='width: 40px;'; hs+='height: 40px;'; hs+=cssPrefix + 'transform-origin: 50% 0%;'; hs+=cssPrefix + 'transform: ' + parameterToTransform(this._reset_view.ggParameter) + ';'; hs+='opacity: 0.7;'; hs+='visibility: inherit;'; hs+='cursor: pointer;'; this._reset_view.setAttribute('style',hs); this._reset_view__img=document.createElement('img'); this._reset_view__img.setAttribute('src',basePath + 'images_1/reset_view.png'); this._reset_view__img.setAttribute('style','position: absolute;top: 0px;left: 0px;-webkit-user-drag:none;'); this._reset_view__img['ondragstart']=function() { return false; }; me.player.checkLoaded.push(this._reset_view__img); this._reset_view.appendChild(this._reset_view__img); this._reset_view.onclick=function () { me.player.moveToDefaultView(2); } this._reset_view.onmouseover=function () { if (me.player.transitionsDisabled) { me._reset_view.style[domTransition]='none'; } else { me._reset_view.style[domTransition]='all 500ms ease-out 0ms'; } me._reset_view.ggParameter.sx=1;me._reset_view.ggParameter.sy=1; me._reset_view.style[domTransform]=parameterToTransform(me._reset_view.ggParameter); if (me.player.transitionsDisabled) { me._reset_view.style[domTransition]='none'; } else { me._reset_view.style[domTransition]='all 1000ms ease-out 0ms'; } me._reset_view.ggParameter.rx=0;me._reset_view.ggParameter.ry=-5; me._reset_view.style[domTransform]=parameterToTransform(me._reset_view.ggParameter); } this._reset_view.onmouseout=function () { if (me.player.transitionsDisabled) { me._reset_view.style[domTransition]='none'; } else { me._reset_view.style[domTransition]='all 500ms ease-out 0ms'; } me._reset_view.ggParameter.sx=0.9;me._reset_view.ggParameter.sy=0.9; me._reset_view.style[domTransform]=parameterToTransform(me._reset_view.ggParameter); if (me.player.transitionsDisabled) { me._reset_view.style[domTransition]='none'; } else { me._reset_view.style[domTransition]='all 1000ms ease-out 0ms'; } me._reset_view.ggParameter.rx=0;me._reset_view.ggParameter.ry=0; me._reset_view.style[domTransform]=parameterToTransform(me._reset_view.ggParameter); } this._schaltflchen.appendChild(this._reset_view); this._zoom_out=document.createElement('div'); this._zoom_out.ggId='zoom_out'; this._zoom_out.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; this._zoom_out.ggVisible=true; this._zoom_out.className='ggskin ggskin_button'; hs ='position:absolute;'; hs+='left: 180px;'; hs+='top: 6px;'; hs+='width: 40px;'; hs+='height: 40px;'; hs+=cssPrefix + 'transform-origin: 50% 0%;'; hs+=cssPrefix + 'transform: ' + parameterToTransform(this._zoom_out.ggParameter) + ';'; hs+='opacity: 0.7;'; hs+='visibility: inherit;'; hs+='cursor: pointer;'; this._zoom_out.setAttribute('style',hs); this._zoom_out__img=document.createElement('img'); this._zoom_out__img.setAttribute('src',basePath + 'images_1/zoom_out.png'); this._zoom_out__img.setAttribute('style','position: absolute;top: 0px;left: 0px;-webkit-user-drag:none;'); this._zoom_out__img['ondragstart']=function() { return false; }; me.player.checkLoaded.push(this._zoom_out__img); this._zoom_out.appendChild(this._zoom_out__img); this._zoom_out.onmouseover=function () { if (me.player.transitionsDisabled) { me._zoom_out.style[domTransition]='none'; } else { me._zoom_out.style[domTransition]='all 500ms ease-out 0ms'; } me._zoom_out.ggParameter.sx=1;me._zoom_out.ggParameter.sy=1; me._zoom_out.style[domTransform]=parameterToTransform(me._zoom_out.ggParameter); if (me.player.transitionsDisabled) { me._zoom_out.style[domTransition]='none'; } else { me._zoom_out.style[domTransition]='all 1000ms ease-out 0ms'; } me._zoom_out.ggParameter.rx=0;me._zoom_out.ggParameter.ry=-5; me._zoom_out.style[domTransform]=parameterToTransform(me._zoom_out.ggParameter); } this._zoom_out.onmouseout=function () { if (me.player.transitionsDisabled) { me._zoom_out.style[domTransition]='none'; } else { me._zoom_out.style[domTransition]='all 500ms ease-out 0ms'; } me._zoom_out.ggParameter.sx=0.9;me._zoom_out.ggParameter.sy=0.9; me._zoom_out.style[domTransform]=parameterToTransform(me._zoom_out.ggParameter); if (me.player.transitionsDisabled) { me._zoom_out.style[domTransition]='none'; } else { me._zoom_out.style[domTransition]='all 1000ms ease-out 0ms'; } me._zoom_out.ggParameter.rx=0;me._zoom_out.ggParameter.ry=0; me._zoom_out.style[domTransform]=parameterToTransform(me._zoom_out.ggParameter); me.elementMouseDown['zoom_out']=false; } this._zoom_out.onmousedown=function () { me.elementMouseDown['zoom_out']=true; } this._zoom_out.onmouseup=function () { me.elementMouseDown['zoom_out']=false; } this._zoom_out.ontouchend=function () { me.elementMouseDown['zoom_out']=false; } this._schaltflchen.appendChild(this._zoom_out); this._zoom_in=document.createElement('div'); this._zoom_in.ggId='zoom_in'; this._zoom_in.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; this._zoom_in.ggVisible=true; this._zoom_in.className='ggskin ggskin_button'; hs ='position:absolute;'; hs+='left: 140px;'; hs+='top: 6px;'; hs+='width: 40px;'; hs+='height: 40px;'; hs+=cssPrefix + 'transform-origin: 50% 0%;'; hs+=cssPrefix + 'transform: ' + parameterToTransform(this._zoom_in.ggParameter) + ';'; hs+='opacity: 0.7;'; hs+='visibility: inherit;'; hs+='cursor: pointer;'; this._zoom_in.setAttribute('style',hs); this._zoom_in__img=document.createElement('img'); this._zoom_in__img.setAttribute('src',basePath + 'images_1/zoom_in.png'); this._zoom_in__img.setAttribute('style','position: absolute;top: 0px;left: 0px;-webkit-user-drag:none;'); this._zoom_in__img['ondragstart']=function() { return false; }; me.player.checkLoaded.push(this._zoom_in__img); this._zoom_in.appendChild(this._zoom_in__img); this._zoom_in.onmouseover=function () { if (me.player.transitionsDisabled) { me._zoom_in.style[domTransition]='none'; } else { me._zoom_in.style[domTransition]='all 500ms ease-out 0ms'; } me._zoom_in.ggParameter.sx=1;me._zoom_in.ggParameter.sy=1; me._zoom_in.style[domTransform]=parameterToTransform(me._zoom_in.ggParameter); if (me.player.transitionsDisabled) { me._zoom_in.style[domTransition]='none'; } else { me._zoom_in.style[domTransition]='all 1000ms ease-out 0ms'; } me._zoom_in.ggParameter.rx=0;me._zoom_in.ggParameter.ry=-5; me._zoom_in.style[domTransform]=parameterToTransform(me._zoom_in.ggParameter); } this._zoom_in.onmouseout=function () { if (me.player.transitionsDisabled) { me._zoom_in.style[domTransition]='none'; } else { me._zoom_in.style[domTransition]='all 500ms ease-out 0ms'; } me._zoom_in.ggParameter.sx=0.9;me._zoom_in.ggParameter.sy=0.9; me._zoom_in.style[domTransform]=parameterToTransform(me._zoom_in.ggParameter); if (me.player.transitionsDisabled) { me._zoom_in.style[domTransition]='none'; } else { me._zoom_in.style[domTransition]='all 1000ms ease-out 0ms'; } me._zoom_in.ggParameter.rx=0;me._zoom_in.ggParameter.ry=0; me._zoom_in.style[domTransform]=parameterToTransform(me._zoom_in.ggParameter); me.elementMouseDown['zoom_in']=false; } this._zoom_in.onmousedown=function () { me.elementMouseDown['zoom_in']=true; } this._zoom_in.onmouseup=function () { me.elementMouseDown['zoom_in']=false; } this._zoom_in.ontouchend=function () { me.elementMouseDown['zoom_in']=false; } this._schaltflchen.appendChild(this._zoom_in); this._move_down=document.createElement('div'); this._move_down.ggId='move_down'; this._move_down.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; this._move_down.ggVisible=true; this._move_down.className='ggskin ggskin_button'; hs ='position:absolute;'; hs+='left: 100px;'; hs+='top: 6px;'; hs+='width: 40px;'; hs+='height: 40px;'; hs+=cssPrefix + 'transform-origin: 50% 0%;'; hs+=cssPrefix + 'transform: ' + parameterToTransform(this._move_down.ggParameter) + ';'; hs+='opacity: 0.7;'; hs+='visibility: inherit;'; hs+='cursor: pointer;'; this._move_down.setAttribute('style',hs); this._move_down__img=document.createElement('img'); this._move_down__img.setAttribute('src',basePath + 'images_1/move_down.png'); this._move_down__img.setAttribute('style','position: absolute;top: 0px;left: 0px;-webkit-user-drag:none;'); this._move_down__img['ondragstart']=function() { return false; }; me.player.checkLoaded.push(this._move_down__img); this._move_down.appendChild(this._move_down__img); this._move_down.onmouseover=function () { if (me.player.transitionsDisabled) { me._move_down.style[domTransition]='none'; } else { me._move_down.style[domTransition]='all 500ms ease-out 0ms'; } me._move_down.ggParameter.sx=1;me._move_down.ggParameter.sy=1; me._move_down.style[domTransform]=parameterToTransform(me._move_down.ggParameter); if (me.player.transitionsDisabled) { me._move_down.style[domTransition]='none'; } else { me._move_down.style[domTransition]='all 1000ms ease-out 0ms'; } me._move_down.ggParameter.rx=0;me._move_down.ggParameter.ry=-5; me._move_down.style[domTransform]=parameterToTransform(me._move_down.ggParameter); } this._move_down.onmouseout=function () { if (me.player.transitionsDisabled) { me._move_down.style[domTransition]='none'; } else { me._move_down.style[domTransition]='all 500ms ease-out 0ms'; } me._move_down.ggParameter.sx=0.9;me._move_down.ggParameter.sy=0.9; me._move_down.style[domTransform]=parameterToTransform(me._move_down.ggParameter); if (me.player.transitionsDisabled) { me._move_down.style[domTransition]='none'; } else { me._move_down.style[domTransition]='all 1000ms ease-out 0ms'; } me._move_down.ggParameter.rx=0;me._move_down.ggParameter.ry=0; me._move_down.style[domTransform]=parameterToTransform(me._move_down.ggParameter); me.elementMouseDown['move_down']=false; } this._move_down.onmousedown=function () { me.elementMouseDown['move_down']=true; } this._move_down.onmouseup=function () { me.elementMouseDown['move_down']=false; } this._move_down.ontouchend=function () { me.elementMouseDown['move_down']=false; } this._schaltflchen.appendChild(this._move_down); this._move_up=document.createElement('div'); this._move_up.ggId='move_up'; this._move_up.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; this._move_up.ggVisible=true; this._move_up.className='ggskin ggskin_button'; hs ='position:absolute;'; hs+='left: 60px;'; hs+='top: 6px;'; hs+='width: 40px;'; hs+='height: 40px;'; hs+=cssPrefix + 'transform-origin: 50% 0%;'; hs+=cssPrefix + 'transform: ' + parameterToTransform(this._move_up.ggParameter) + ';'; hs+='opacity: 0.7;'; hs+='visibility: inherit;'; hs+='cursor: pointer;'; this._move_up.setAttribute('style',hs); this._move_up__img=document.createElement('img'); this._move_up__img.setAttribute('src',basePath + 'images_1/move_up.png'); this._move_up__img.setAttribute('style','position: absolute;top: 0px;left: 0px;-webkit-user-drag:none;'); this._move_up__img['ondragstart']=function() { return false; }; me.player.checkLoaded.push(this._move_up__img); this._move_up.appendChild(this._move_up__img); this._move_up.onmouseover=function () { if (me.player.transitionsDisabled) { me._move_up.style[domTransition]='none'; } else { me._move_up.style[domTransition]='all 500ms ease-out 0ms'; } me._move_up.ggParameter.sx=1;me._move_up.ggParameter.sy=1; me._move_up.style[domTransform]=parameterToTransform(me._move_up.ggParameter); if (me.player.transitionsDisabled) { me._move_up.style[domTransition]='none'; } else { me._move_up.style[domTransition]='all 1000ms ease-out 0ms'; } me._move_up.ggParameter.rx=0;me._move_up.ggParameter.ry=-5; me._move_up.style[domTransform]=parameterToTransform(me._move_up.ggParameter); } this._move_up.onmouseout=function () { if (me.player.transitionsDisabled) { me._move_up.style[domTransition]='none'; } else { me._move_up.style[domTransition]='all 500ms ease-out 0ms'; } me._move_up.ggParameter.sx=0.9;me._move_up.ggParameter.sy=0.9; me._move_up.style[domTransform]=parameterToTransform(me._move_up.ggParameter); if (me.player.transitionsDisabled) { me._move_up.style[domTransition]='none'; } else { me._move_up.style[domTransition]='all 1000ms ease-out 0ms'; } me._move_up.ggParameter.rx=0;me._move_up.ggParameter.ry=0; me._move_up.style[domTransform]=parameterToTransform(me._move_up.ggParameter); me.elementMouseDown['move_up']=false; } this._move_up.onmousedown=function () { me.elementMouseDown['move_up']=true; } this._move_up.onmouseup=function () { me.elementMouseDown['move_up']=false; } this._move_up.ontouchend=function () { me.elementMouseDown['move_up']=false; } this._schaltflchen.appendChild(this._move_up); this._move_right=document.createElement('div'); this._move_right.ggId='move_right'; this._move_right.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; this._move_right.ggVisible=true; this._move_right.className='ggskin ggskin_button'; hs ='position:absolute;'; hs+='left: 20px;'; hs+='top: 6px;'; hs+='width: 40px;'; hs+='height: 40px;'; hs+=cssPrefix + 'transform-origin: 50% 0%;'; hs+=cssPrefix + 'transform: ' + parameterToTransform(this._move_right.ggParameter) + ';'; hs+='opacity: 0.7;'; hs+='visibility: inherit;'; hs+='cursor: pointer;'; this._move_right.setAttribute('style',hs); this._move_right__img=document.createElement('img'); this._move_right__img.setAttribute('src',basePath + 'images_1/move_right.png'); this._move_right__img.setAttribute('style','position: absolute;top: 0px;left: 0px;-webkit-user-drag:none;'); this._move_right__img['ondragstart']=function() { return false; }; me.player.checkLoaded.push(this._move_right__img); this._move_right.appendChild(this._move_right__img); this._move_right.onmouseover=function () { if (me.player.transitionsDisabled) { me._move_right.style[domTransition]='none'; } else { me._move_right.style[domTransition]='all 500ms ease-out 0ms'; } me._move_right.ggParameter.sx=1;me._move_right.ggParameter.sy=1; me._move_right.style[domTransform]=parameterToTransform(me._move_right.ggParameter); if (me.player.transitionsDisabled) { me._move_right.style[domTransition]='none'; } else { me._move_right.style[domTransition]='all 1000ms ease-out 0ms'; } me._move_right.ggParameter.rx=0;me._move_right.ggParameter.ry=-5; me._move_right.style[domTransform]=parameterToTransform(me._move_right.ggParameter); } this._move_right.onmouseout=function () { if (me.player.transitionsDisabled) { me._move_right.style[domTransition]='none'; } else { me._move_right.style[domTransition]='all 500ms ease-out 0ms'; } me._move_right.ggParameter.sx=0.9;me._move_right.ggParameter.sy=0.9; me._move_right.style[domTransform]=parameterToTransform(me._move_right.ggParameter); if (me.player.transitionsDisabled) { me._move_right.style[domTransition]='none'; } else { me._move_right.style[domTransition]='all 1000ms ease-out 0ms'; } me._move_right.ggParameter.rx=0;me._move_right.ggParameter.ry=0; me._move_right.style[domTransform]=parameterToTransform(me._move_right.ggParameter); me.elementMouseDown['move_right']=false; } this._move_right.onmousedown=function () { me.elementMouseDown['move_right']=true; } this._move_right.onmouseup=function () { me.elementMouseDown['move_right']=false; } this._move_right.ontouchend=function () { me.elementMouseDown['move_right']=false; } this._schaltflchen.appendChild(this._move_right); this._move_left=document.createElement('div'); this._move_left.ggId='move_left'; this._move_left.ggParameter={ rx:0,ry:0,a:0,sx:0.9,sy:0.9 }; this._move_left.ggVisible=true; this._move_left.className='ggskin ggskin_button'; hs ='position:absolute;'; hs+='left: -20px;'; hs+='top: 6px;'; hs+='width: 40px;'; hs+='height: 40px;'; hs+=cssPrefix + 'transform-origin: 50% 0%;'; hs+=cssPrefix + 'transform: ' + parameterToTransform(this._move_left.ggParameter) + ';'; hs+='opacity: 0.7;'; hs+='visibility: inherit;'; hs+='cursor: pointer;'; this._move_left.setAttribute('style',hs); this._move_left__img=document.createElement('img'); this._move_left__img.setAttribute('src',basePath + 'images_1/move_left.png'); this._move_left__img.setAttribute('style','position: absolute;top: 0px;left: 0px;-webkit-user-drag:none;'); this._move_left__img['ondragstart']=function() { return false; }; me.player.checkLoaded.push(this._move_left__img); this._move_left.appendChild(this._move_left__img); this._move_left.onmouseover=function () { if (me.player.transitionsDisabled) { me._move_left.style[domTransition]='none'; } else { me._move_left.style[domTransition]='all 500ms ease-out 0ms'; } me._move_left.ggParameter.sx=1;me._move_left.ggParameter.sy=1; me._move_left.style[domTransform]=parameterToTransform(me._move_left.ggParameter); if (me.player.transitionsDisabled) { me._move_left.style[domTransition]='none'; } else { me._move_left.style[domTransition]='all 1000ms ease-out 0ms'; } me._move_left.ggParameter.rx=0;me._move_left.ggParameter.ry=-5; me._move_left.style[domTransform]=parameterToTransform(me._move_left.ggParameter); } this._move_left.onmouseout=function () { if (me.player.transitionsDisabled) { me._move_left.style[domTransition]='none'; } else { me._move_left.style[domTransition]='all 500ms ease-out 0ms'; } me._move_left.ggParameter.sx=0.9;me._move_left.ggParameter.sy=0.9; me._move_left.style[domTransform]=parameterToTransform(me._move_left.ggParameter); if (me.player.transitionsDisabled) { me._move_left.style[domTransition]='none'; } else { me._move_left.style[domTransition]='all 1000ms ease-out 0ms'; } me._move_left.ggParameter.rx=0;me._move_left.ggParameter.ry=0; me._move_left.style[domTransform]=parameterToTransform(me._move_left.ggParameter); me.elementMouseDown['move_left']=false; } this._move_left.onmousedown=function () { me.elementMouseDown['move_left']=true; } this._move_left.onmouseup=function () { me.elementMouseDown['move_left']=false; } this._move_left.ontouchend=function () { me.elementMouseDown['move_left']=false; } this._schaltflchen.appendChild(this._move_left); this.divSkin.appendChild(this._schaltflchen); this._svg_22=document.createElement('div'); this._svg_22.ggId='Svg 22'; this._svg_22.ggParameter={ rx:0,ry:0,a:0,sx:1,sy:1 }; this._svg_22.ggVisible=true; this._svg_22.className='ggskin ggskin_svg'; this._svg_22.ggUpdatePosition=function() { this.style[domTransition]='none'; if (this.parentNode) { w=this.parentNode.offsetWidth; this.style.left=(-113 + w) + 'px'; } } hs ='position:absolute;'; hs+='left: -113px;'; hs+='top: -57px;'; hs+='width: 113px;'; hs+='height: 95px;'; hs+=cssPrefix + 'transform-origin: 100% 0%;'; hs+='opacity: 0.8;'; hs+='visibility: inherit;'; hs+='cursor: pointer;'; this._svg_22.setAttribute('style',hs); this._svg_22__img=document.createElement('img'); this._svg_22__img.setAttribute('src',basePath + 'images_1/svg_22.png'); this._svg_22__img.setAttribute('style','position: absolute;top: 0px;left: 0px;width: 113px;height: 95px;-webkit-user-drag:none;'); this._svg_22__img['ondragstart']=function() { return false; }; this._svg_22.appendChild(this._svg_22__img); this._svg_22.onclick=function () { me.player.openUrl("http:\/\/www.arzamas3d.ru",(me.player.getPercentLoaded()*100000.0).toFixed(0)+"lank"); } this.divSkin.appendChild(this._svg_22); this._bild_141=document.createElement('div'); this._bild_141.ggId='Bild 141'; this._bild_141.ggParameter={ rx:0,ry:0,a:0,sx:0,sy:0 }; this._bild_141.ggVisible=true; this._bild_141.className='ggskin ggskin_image'; this._bild_141.ggUpdatePosition=function() { this.style[domTransition]='none'; if (this.parentNode) { w=this.parentNode.offsetWidth; this.style.left=(-245 + w/2) + 'px'; h=this.parentNode.offsetHeight; this.style.top=(-180 + h/2) + 'px'; } } hs ='position:absolute;'; hs+='left: -245px;'; hs+='top: -180px;'; hs+='width: 500px;'; hs+='height: 380px;'; hs+=cssPrefix + 'transform-origin: 50% 50%;'; hs+=cssPrefix + 'transform: ' + parameterToTransform(this._bild_141.ggParameter) + ';'; hs+='opacity: 0.9;'; hs+='visibility: inherit;'; hs+='cursor: pointer;'; this._bild_141.setAttribute('style',hs); this._bild_141__img=document.createElement('img'); this._bild_141__img.setAttribute('src',basePath + 'images_1/bild_141.png'); this._bild_141__img.setAttribute('style','position: absolute;top: 0px;left: 0px;-webkit-user-drag:none;'); this._bild_141__img['ondragstart']=function() { return false; }; me.player.checkLoaded.push(this._bild_141__img); this._bild_141.appendChild(this._bild_141__img); this._bild_141.onclick=function () { flag=me._bild_141.ggScaleActive; if (me.player.transitionsDisabled) { me._bild_141.style[domTransition]='none'; } else { me._bild_141.style[domTransition]='all 500ms ease-out 0ms'; } if (flag) { me._bild_141.ggParameter.sx=0;me._bild_141.ggParameter.sy=0; me._bild_141.style[domTransform]=parameterToTransform(me._bild_141.ggParameter); } else { me._bild_141.ggParameter.sx=0;me._bild_141.ggParameter.sy=0; me._bild_141.style[domTransform]=parameterToTransform(me._bild_141.ggParameter); } me._bild_141.ggScaleActive=!flag; } this.divSkin.appendChild(this._bild_141); this.divSkin.ggUpdateSize=function(w,h) { me.updateSize(me.divSkin); } this.divSkin.ggViewerInit=function() { } this.divSkin.ggLoaded=function() { me._laden.style[domTransition]='none'; me._laden.style.visibility='hidden'; me._laden.ggVisible=false; me._loading_text.style[domTransition]='none'; me._loading_text.style.visibility='hidden'; me._loading_text.ggVisible=false; me._loading_bar.style[domTransition]='none'; me._loading_bar.style.visibility='hidden'; me._loading_bar.ggVisible=false; } this.divSkin.ggReLoaded=function() { me._laden.style[domTransition]='none'; me._laden.style.visibility='inherit'; me._laden.ggVisible=true; me._loading_text.style[domTransition]='none'; me._loading_text.style.visibility='inherit'; me._loading_text.ggVisible=true; me._loading_text.style[domTransition]='none'; me._loading_text.style.visibility='inherit'; me._loading_text.ggVisible=true; } this.divSkin.ggEnterFullscreen=function() { } this.divSkin.ggExitFullscreen=function() { } this.skinTimerEvent(); }; this.hotspotProxyClick=function(id) { } this.hotspotProxyOver=function(id) { } this.hotspotProxyOut=function(id) { } this.changeActiveNode=function(id) { var newMarker=new Array(); var i,j; var tags=me.player.userdata.tags; for (i=0;i