preloadSounds();
if (s !== null, if (startscene === null, set(startscene, get(s));); );
if (startscene === null,
set(startscene, pano28);
);
mainloadsceneStartup(get(startscene));
if (h !== null,
if (v !== null,
if (f !== null,
lookat(get(h), get(v), get(f));
,
lookat(get(h), get(v));
);
,
if (f !== null,
lookat(get(h), get(view.vlookat), get(f));
,
lookat(get(h), get(view.vlookat));
);
);
,
if (v !== null,
if (f !== null,
lookat(get(view.hlookat), get(v), get(f));
,
lookat(get(view.hlookat), get(v));
);
,
if (f !== null,
lookat(get(view.hlookat), get(view.vlookat), get(f));
);
);
);
if(hotspot[livepano32].ispaused,
set(hotspot[livepano32].stateVideo, 'playing');
);
if(%1,
if(hotspot[livepano32].pauseothersounds,
if(hotspot[livepano32].stateVideo == 'playing',
inc(videospots_playing);
pauseTourSoundsActions(true,true,true,true,true);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano32].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
,
if (tour_soundson,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano32].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
dec(videospots_playing);
resumeTourSoundsActions(true,true,true,true,true);
);
);
);
hotspot[livepano32].play();
animatevideospotloaderRectVideopetla(livepano32Loader, livepano32call);
stopvideospotloaderanimationRectVideopetla(livepano32Loader, livepano32call);
if(hotspot[livepano31].ispaused,
set(hotspot[livepano31].stateVideo, 'playing');
);
if (hotspot[livepano31].alpha == 0, set(hotspot[livepano31].alpha, 1););
if(%1,
if(hotspot[livepano31].pauseothersounds,
if(hotspot[livepano31].stateVideo == 'playing',
inc(videospots_playing);
pauseTourSoundsActions(true,true,true,true,true);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano31].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
,
if (tour_soundson,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano31].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
dec(videospots_playing);
resumeTourSoundsActions(true,true,true,true,true);
);
);
);
hotspot[livepano31].play();
animatevideospotloaderRectVideoakcja(livepano31Loader, livepano31call);
stopvideospotloaderanimationRectVideoakcja(livepano31Loader, livepano31call);
if(hotspot[livepano117].ispaused,
set(hotspot[livepano117].stateVideo, 'playing');
);
if (hotspot[livepano117].alpha == 0, set(hotspot[livepano117].alpha, 1););
if(%1,
if(hotspot[livepano117].pauseothersounds,
if(hotspot[livepano117].stateVideo == 'playing',
inc(videospots_playing);
pauseTourSoundsActions(true,true,true,true,true);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano117].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
,
if (tour_soundson,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano117].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
dec(videospots_playing);
resumeTourSoundsActions(true,true,true,true,true);
);
);
);
hotspot[livepano117].play();
animatevideospotloaderRectVideoakcja(livepano117Loader, livepano117call);
stopvideospotloaderanimationRectVideoakcja(livepano117Loader, livepano117call);
if(hotspot[livepano122].ispaused,
set(hotspot[livepano122].stateVideo, 'playing');
);
if (hotspot[livepano122].alpha == 0, set(hotspot[livepano122].alpha, 1););
if(%1,
if(hotspot[livepano122].pauseothersounds,
if(hotspot[livepano122].stateVideo == 'playing',
inc(videospots_playing);
pauseTourSoundsActions(true,true,true,true,true);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano122].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
,
if (tour_soundson,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano122].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
dec(videospots_playing);
resumeTourSoundsActions(true,true,true,true,true);
);
);
);
hotspot[livepano122].play();
animatevideospotloaderRectVideoakcja(livepano122Loader, livepano122call);
stopvideospotloaderanimationRectVideoakcja(livepano122Loader, livepano122call);
if(hotspot[livepano123].ispaused,
set(hotspot[livepano123].stateVideo, 'playing');
);
if (hotspot[livepano123].alpha == 0, set(hotspot[livepano123].alpha, 1););
if(%1,
if(hotspot[livepano123].pauseothersounds,
if(hotspot[livepano123].stateVideo == 'playing',
inc(videospots_playing);
pauseTourSoundsActions(true,true,true,true,true);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano123].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
,
if (tour_soundson,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano123].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
dec(videospots_playing);
resumeTourSoundsActions(true,true,true,true,true);
);
);
);
hotspot[livepano123].play();
animatevideospotloaderRectVideoakcja(livepano123Loader, livepano123call);
stopvideospotloaderanimationRectVideoakcja(livepano123Loader, livepano123call);
if(hotspot[livepano42].ispaused,
set(hotspot[livepano42].stateVideo, 'playing');
);
if (hotspot[livepano42].alpha == 0, set(hotspot[livepano42].alpha, 1););
if(%1,
if(hotspot[livepano42].pauseothersounds,
if(hotspot[livepano42].stateVideo == 'playing',
inc(videospots_playing);
pauseTourSoundsActions(true,true,true,true,true);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano42].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
,
if (tour_soundson,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano42].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
dec(videospots_playing);
resumeTourSoundsActions(true,true,true,true,true);
);
);
);
hotspot[livepano42].play();
animatevideospotloaderRectVideoakcja(livepano42Loader, livepano42call);
stopvideospotloaderanimationRectVideoakcja(livepano42Loader, livepano42call);
if(hotspot[livepano43].ispaused,
set(hotspot[livepano43].stateVideo, 'playing');
);
if (hotspot[livepano43].alpha == 0, set(hotspot[livepano43].alpha, 1););
if(%1,
if(hotspot[livepano43].pauseothersounds,
if(hotspot[livepano43].stateVideo == 'playing',
inc(videospots_playing);
pauseTourSoundsActions(true,true,true,true,true);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano43].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
,
if (tour_soundson,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano43].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
dec(videospots_playing);
resumeTourSoundsActions(true,true,true,true,true);
);
);
);
hotspot[livepano43].play();
animatevideospotloaderRectVideoakcja(livepano43Loader, livepano43call);
stopvideospotloaderanimationRectVideoakcja(livepano43Loader, livepano43call);
if(hotspot[livepano35].ispaused,
set(hotspot[livepano35].stateVideo, 'playing');
);
if(%1,
if(hotspot[livepano35].pauseothersounds,
if(hotspot[livepano35].stateVideo == 'playing',
inc(videospots_playing);
pauseTourSoundsActions(true,true,true,true,true);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano35].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
,
if (tour_soundson,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano35].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
dec(videospots_playing);
resumeTourSoundsActions(true,true,true,true,true);
);
);
);
hotspot[livepano35].play();
animatevideospotloaderRectVideopetla(livepano35Loader, livepano35call);
stopvideospotloaderanimationRectVideopetla(livepano35Loader, livepano35call);
if(hotspot[livepano124].ispaused,
set(hotspot[livepano124].stateVideo, 'playing');
);
if(%1,
if(hotspot[livepano124].pauseothersounds,
if(hotspot[livepano124].stateVideo == 'playing',
inc(videospots_playing);
pauseTourSoundsActions(true,true,true,true,true);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano124].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
,
if (tour_soundson,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano124].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
dec(videospots_playing);
resumeTourSoundsActions(true,true,true,true,true);
);
);
);
hotspot[livepano124].play();
animatevideospotloaderRectVideopetla(livepano124Loader, livepano124call);
stopvideospotloaderanimationRectVideopetla(livepano124Loader, livepano124call);
if(hotspot[livepano132].ispaused,
set(hotspot[livepano132].stateVideo, 'playing');
);
if(%1,
if(hotspot[livepano132].pauseothersounds,
if(hotspot[livepano132].stateVideo == 'playing',
inc(videospots_playing);
pauseTourSoundsActions(true,true,true,true,true);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano132].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
,
if (tour_soundson,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano132].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
dec(videospots_playing);
resumeTourSoundsActions(true,true,true,true,true);
);
);
);
hotspot[livepano132].play();
animatevideospotloaderRectVideopetla(livepano132Loader, livepano132call);
stopvideospotloaderanimationRectVideopetla(livepano132Loader, livepano132call);
if(hotspot[livepano148].ispaused,
set(hotspot[livepano148].stateVideo, 'playing');
);
if (hotspot[livepano148].alpha == 0, set(hotspot[livepano148].alpha, 1););
if(%1,
if(hotspot[livepano148].pauseothersounds,
if(hotspot[livepano148].stateVideo == 'playing',
inc(videospots_playing);
pauseTourSoundsActions(true,true,true,true,true);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano148].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
,
if (tour_soundson,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano148].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
dec(videospots_playing);
resumeTourSoundsActions(true,true,true,true,true);
);
);
);
hotspot[livepano148].play();
animatevideospotloaderRectVideoakcja(livepano148Loader, livepano148call);
stopvideospotloaderanimationRectVideoakcja(livepano148Loader, livepano148call);
if (hotspot[livepano32Loader] !== null,
set(hotspot[livepano32Loader].activated, false);
set(hotspot[livepano32Loader].visible, false);
);
if (hotspot[livepano32] !== null,
set(hotspot[livepano32].visible, false);
ifnot(hotspot[livepano32].alpha == 0,
if (hotspot[livepano32].isvideoready,
if(hotspot[livepano32].stateVideo == 'playing',
dec(videospots_playing);
onclicklivepano32(false);
if(hotspot[livepano32].pauseothersounds,
resumeTourSoundsActions(false,true,true,true,true);
);
);
);
);
);
if (hotspot[livepano31Loader] !== null,
set(hotspot[livepano31Loader].activated, false);
set(hotspot[livepano31Loader].visible, false);
);
if (hotspot[livepano31] !== null,
set(hotspot[livepano31].visible, false);
ifnot(hotspot[livepano31].alpha == 0,
if (hotspot[livepano31].isvideoready,
if(hotspot[livepano31].stateVideo == 'playing',
dec(videospots_playing);
onclicklivepano31(false);
if(hotspot[livepano31].pauseothersounds,
resumeTourSoundsActions(false,true,true,true,true);
);
);
);
);
);
if (hotspot[livepano117Loader] !== null,
set(hotspot[livepano117Loader].activated, false);
set(hotspot[livepano117Loader].visible, false);
);
if (hotspot[livepano117] !== null,
set(hotspot[livepano117].visible, false);
ifnot(hotspot[livepano117].alpha == 0,
if (hotspot[livepano117].isvideoready,
if(hotspot[livepano117].stateVideo == 'playing',
dec(videospots_playing);
onclicklivepano117(false);
if(hotspot[livepano117].pauseothersounds,
resumeTourSoundsActions(false,true,true,true,true);
);
);
);
);
);
if (hotspot[livepano122Loader] !== null,
set(hotspot[livepano122Loader].activated, false);
set(hotspot[livepano122Loader].visible, false);
);
if (hotspot[livepano122] !== null,
set(hotspot[livepano122].visible, false);
ifnot(hotspot[livepano122].alpha == 0,
if (hotspot[livepano122].isvideoready,
if(hotspot[livepano122].stateVideo == 'playing',
dec(videospots_playing);
onclicklivepano122(false);
if(hotspot[livepano122].pauseothersounds,
resumeTourSoundsActions(false,true,true,true,true);
);
);
);
);
);
if (hotspot[livepano123Loader] !== null,
set(hotspot[livepano123Loader].activated, false);
set(hotspot[livepano123Loader].visible, false);
);
if (hotspot[livepano123] !== null,
set(hotspot[livepano123].visible, false);
ifnot(hotspot[livepano123].alpha == 0,
if (hotspot[livepano123].isvideoready,
if(hotspot[livepano123].stateVideo == 'playing',
dec(videospots_playing);
onclicklivepano123(false);
if(hotspot[livepano123].pauseothersounds,
resumeTourSoundsActions(false,true,true,true,true);
);
);
);
);
);
if (hotspot[livepano42Loader] !== null,
set(hotspot[livepano42Loader].activated, false);
set(hotspot[livepano42Loader].visible, false);
);
if (hotspot[livepano42] !== null,
set(hotspot[livepano42].visible, false);
ifnot(hotspot[livepano42].alpha == 0,
if (hotspot[livepano42].isvideoready,
if(hotspot[livepano42].stateVideo == 'playing',
dec(videospots_playing);
onclicklivepano42(false);
if(hotspot[livepano42].pauseothersounds,
resumeTourSoundsActions(false,true,true,true,true);
);
);
);
);
);
if (hotspot[livepano43Loader] !== null,
set(hotspot[livepano43Loader].activated, false);
set(hotspot[livepano43Loader].visible, false);
);
if (hotspot[livepano43] !== null,
set(hotspot[livepano43].visible, false);
ifnot(hotspot[livepano43].alpha == 0,
if (hotspot[livepano43].isvideoready,
if(hotspot[livepano43].stateVideo == 'playing',
dec(videospots_playing);
onclicklivepano43(false);
if(hotspot[livepano43].pauseothersounds,
resumeTourSoundsActions(false,true,true,true,true);
);
);
);
);
);
if (hotspot[livepano35Loader] !== null,
set(hotspot[livepano35Loader].activated, false);
set(hotspot[livepano35Loader].visible, false);
);
if (hotspot[livepano35] !== null,
set(hotspot[livepano35].visible, false);
ifnot(hotspot[livepano35].alpha == 0,
if (hotspot[livepano35].isvideoready,
if(hotspot[livepano35].stateVideo == 'playing',
dec(videospots_playing);
onclicklivepano35(false);
if(hotspot[livepano35].pauseothersounds,
resumeTourSoundsActions(false,true,true,true,true);
);
);
);
);
);
if (hotspot[livepano124Loader] !== null,
set(hotspot[livepano124Loader].activated, false);
set(hotspot[livepano124Loader].visible, false);
);
if (hotspot[livepano124] !== null,
set(hotspot[livepano124].visible, false);
ifnot(hotspot[livepano124].alpha == 0,
if (hotspot[livepano124].isvideoready,
if(hotspot[livepano124].stateVideo == 'playing',
dec(videospots_playing);
onclicklivepano124(false);
if(hotspot[livepano124].pauseothersounds,
resumeTourSoundsActions(false,true,true,true,true);
);
);
);
);
);
if (hotspot[livepano132Loader] !== null,
set(hotspot[livepano132Loader].activated, false);
set(hotspot[livepano132Loader].visible, false);
);
if (hotspot[livepano132] !== null,
set(hotspot[livepano132].visible, false);
ifnot(hotspot[livepano132].alpha == 0,
if (hotspot[livepano132].isvideoready,
if(hotspot[livepano132].stateVideo == 'playing',
dec(videospots_playing);
onclicklivepano132(false);
if(hotspot[livepano132].pauseothersounds,
resumeTourSoundsActions(false,true,true,true,true);
);
);
);
);
);
if (hotspot[livepano148Loader] !== null,
set(hotspot[livepano148Loader].activated, false);
set(hotspot[livepano148Loader].visible, false);
);
if (hotspot[livepano148] !== null,
set(hotspot[livepano148].visible, false);
ifnot(hotspot[livepano148].alpha == 0,
if (hotspot[livepano148].isvideoready,
if(hotspot[livepano148].stateVideo == 'playing',
dec(videospots_playing);
onclicklivepano148(false);
if(hotspot[livepano148].pauseothersounds,
resumeTourSoundsActions(false,true,true,true,true);
);
);
);
);
);
if (hotspot[livepano32Loader] !== null,
set(hotspot[livepano32Loader].activated, true);
set(hotspot[livepano32Loader].visible, true);
);
if (hotspot[livepano32] !== null,
set(hotspot[livepano32].visible, true);
ifnot(hotspot[livepano32].alpha == 0,
if (hotspot[livepano32].isvideoready,
if(hotspot[livepano32].stateVideo == 'playing',
inc(videospots_playing);
onclicklivepano32(false);
if(hotspot[livepano32].pauseothersounds,
pauseTourSoundsActions(true,true,true,true,true);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano32].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
);
);
);
);
if (hotspot[livepano31Loader] !== null,
set(hotspot[livepano31Loader].activated, true);
set(hotspot[livepano31Loader].visible, true);
);
if (hotspot[livepano31] !== null,
set(hotspot[livepano31].visible, true);
ifnot(hotspot[livepano31].alpha == 0,
if (hotspot[livepano31].isvideoready,
if(hotspot[livepano31].stateVideo == 'playing',
inc(videospots_playing);
onclicklivepano31(false);
if(hotspot[livepano31].pauseothersounds,
pauseTourSoundsActions(true,true,true,true,true);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano31].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
);
);
);
);
if (hotspot[livepano117Loader] !== null,
set(hotspot[livepano117Loader].activated, true);
set(hotspot[livepano117Loader].visible, true);
);
if (hotspot[livepano117] !== null,
set(hotspot[livepano117].visible, true);
ifnot(hotspot[livepano117].alpha == 0,
if (hotspot[livepano117].isvideoready,
if(hotspot[livepano117].stateVideo == 'playing',
inc(videospots_playing);
onclicklivepano117(false);
if(hotspot[livepano117].pauseothersounds,
pauseTourSoundsActions(true,true,true,true,true);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano117].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
);
);
);
);
if (hotspot[livepano122Loader] !== null,
set(hotspot[livepano122Loader].activated, true);
set(hotspot[livepano122Loader].visible, true);
);
if (hotspot[livepano122] !== null,
set(hotspot[livepano122].visible, true);
ifnot(hotspot[livepano122].alpha == 0,
if (hotspot[livepano122].isvideoready,
if(hotspot[livepano122].stateVideo == 'playing',
inc(videospots_playing);
onclicklivepano122(false);
if(hotspot[livepano122].pauseothersounds,
pauseTourSoundsActions(true,true,true,true,true);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano122].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
);
);
);
);
if (hotspot[livepano123Loader] !== null,
set(hotspot[livepano123Loader].activated, true);
set(hotspot[livepano123Loader].visible, true);
);
if (hotspot[livepano123] !== null,
set(hotspot[livepano123].visible, true);
ifnot(hotspot[livepano123].alpha == 0,
if (hotspot[livepano123].isvideoready,
if(hotspot[livepano123].stateVideo == 'playing',
inc(videospots_playing);
onclicklivepano123(false);
if(hotspot[livepano123].pauseothersounds,
pauseTourSoundsActions(true,true,true,true,true);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano123].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
);
);
);
);
if (hotspot[livepano42Loader] !== null,
set(hotspot[livepano42Loader].activated, true);
set(hotspot[livepano42Loader].visible, true);
);
if (hotspot[livepano42] !== null,
set(hotspot[livepano42].visible, true);
ifnot(hotspot[livepano42].alpha == 0,
if (hotspot[livepano42].isvideoready,
if(hotspot[livepano42].stateVideo == 'playing',
inc(videospots_playing);
onclicklivepano42(false);
if(hotspot[livepano42].pauseothersounds,
pauseTourSoundsActions(true,true,true,true,true);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano42].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
);
);
);
);
if (hotspot[livepano43Loader] !== null,
set(hotspot[livepano43Loader].activated, true);
set(hotspot[livepano43Loader].visible, true);
);
if (hotspot[livepano43] !== null,
set(hotspot[livepano43].visible, true);
ifnot(hotspot[livepano43].alpha == 0,
if (hotspot[livepano43].isvideoready,
if(hotspot[livepano43].stateVideo == 'playing',
inc(videospots_playing);
onclicklivepano43(false);
if(hotspot[livepano43].pauseothersounds,
pauseTourSoundsActions(true,true,true,true,true);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano43].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
);
);
);
);
if (hotspot[livepano35Loader] !== null,
set(hotspot[livepano35Loader].activated, true);
set(hotspot[livepano35Loader].visible, true);
);
if (hotspot[livepano35] !== null,
set(hotspot[livepano35].visible, true);
ifnot(hotspot[livepano35].alpha == 0,
if (hotspot[livepano35].isvideoready,
if(hotspot[livepano35].stateVideo == 'playing',
inc(videospots_playing);
onclicklivepano35(false);
if(hotspot[livepano35].pauseothersounds,
pauseTourSoundsActions(true,true,true,true,true);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano35].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
);
);
);
);
if (hotspot[livepano124Loader] !== null,
set(hotspot[livepano124Loader].activated, true);
set(hotspot[livepano124Loader].visible, true);
);
if (hotspot[livepano124] !== null,
set(hotspot[livepano124].visible, true);
ifnot(hotspot[livepano124].alpha == 0,
if (hotspot[livepano124].isvideoready,
if(hotspot[livepano124].stateVideo == 'playing',
inc(videospots_playing);
onclicklivepano124(false);
if(hotspot[livepano124].pauseothersounds,
pauseTourSoundsActions(true,true,true,true,true);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano124].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
);
);
);
);
if (hotspot[livepano132Loader] !== null,
set(hotspot[livepano132Loader].activated, true);
set(hotspot[livepano132Loader].visible, true);
);
if (hotspot[livepano132] !== null,
set(hotspot[livepano132].visible, true);
ifnot(hotspot[livepano132].alpha == 0,
if (hotspot[livepano132].isvideoready,
if(hotspot[livepano132].stateVideo == 'playing',
inc(videospots_playing);
onclicklivepano132(false);
if(hotspot[livepano132].pauseothersounds,
pauseTourSoundsActions(true,true,true,true,true);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano132].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
);
);
);
);
if (hotspot[livepano148Loader] !== null,
set(hotspot[livepano148Loader].activated, true);
set(hotspot[livepano148Loader].visible, true);
);
if (hotspot[livepano148] !== null,
set(hotspot[livepano148].visible, true);
ifnot(hotspot[livepano148].alpha == 0,
if (hotspot[livepano148].isvideoready,
if(hotspot[livepano148].stateVideo == 'playing',
inc(videospots_playing);
onclicklivepano148(false);
if(hotspot[livepano148].pauseothersounds,
pauseTourSoundsActions(true,true,true,true,true);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano148].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
);
);
);
);
set(hotspot[spotpoint136].visible, false);
set(hotspot[spotpoint137].visible, false);
set(hotspot[spotpoint138].visible, false);
set(hotspot[spotpoint139].visible, false);
set(hotspot[spotpoint140].visible, false);
set(hotspot[spotpoint141].visible, false);
set(hotspot[spotpoint136].visible, true);
set(hotspot[spotpoint137].visible, true);
set(hotspot[spotpoint138].visible, true);
set(hotspot[spotpoint139].visible, true);
set(hotspot[spotpoint140].visible, true);
set(hotspot[spotpoint141].visible, true);
resumeTourSoundsActions(true,false,false,false,true);
if (tour_displayspots,
showpanopointspots();
showpanolivepanospots();
);
pauseTourSoundsActions(true,false,false,false,true);
hidepanopointspots();
hidepanolivepanospots();
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano32].volume, get(volume));set(hotspot[livepano31].volume, get(volume));set(hotspot[livepano117].volume, get(volume));set(hotspot[livepano122].volume, get(volume));set(hotspot[livepano123].volume, get(volume));set(hotspot[livepano42].volume, get(volume));set(hotspot[livepano43].volume, get(volume));set(hotspot[livepano35].volume, get(volume));set(hotspot[livepano124].volume, get(volume));set(hotspot[livepano132].volume, get(volume));set(hotspot[livepano148].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano32].volume, 0);set(hotspot[livepano31].volume, 0);set(hotspot[livepano117].volume, 0);set(hotspot[livepano122].volume, 0);set(hotspot[livepano123].volume, 0);set(hotspot[livepano42].volume, 0);set(hotspot[livepano43].volume, 0);set(hotspot[livepano35].volume, 0);set(hotspot[livepano124].volume, 0);set(hotspot[livepano132].volume, 0);set(hotspot[livepano148].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano32].volume, 0);set(hotspot[livepano31].volume, 0);set(hotspot[livepano117].volume, 0);set(hotspot[livepano122].volume, 0);set(hotspot[livepano123].volume, 0);set(hotspot[livepano42].volume, 0);set(hotspot[livepano43].volume, 0);set(hotspot[livepano35].volume, 0);set(hotspot[livepano124].volume, 0);set(hotspot[livepano132].volume, 0);set(hotspot[livepano148].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
if (tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano32].volume, get(volume));set(hotspot[livepano31].volume, get(volume));set(hotspot[livepano117].volume, get(volume));set(hotspot[livepano122].volume, get(volume));set(hotspot[livepano123].volume, get(volume));set(hotspot[livepano42].volume, get(volume));set(hotspot[livepano43].volume, get(volume));set(hotspot[livepano35].volume, get(volume));set(hotspot[livepano124].volume, get(volume));set(hotspot[livepano132].volume, get(volume));set(hotspot[livepano148].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano32].volume, 0);set(hotspot[livepano31].volume, 0);set(hotspot[livepano117].volume, 0);set(hotspot[livepano122].volume, 0);set(hotspot[livepano123].volume, 0);set(hotspot[livepano42].volume, 0);set(hotspot[livepano43].volume, 0);set(hotspot[livepano35].volume, 0);set(hotspot[livepano124].volume, 0);set(hotspot[livepano132].volume, 0);set(hotspot[livepano148].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds());
);
);
if(tour_soundson,
div(volume, tour_soundsvolume, 100);
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano32].volume, get(volume));set(hotspot[livepano31].volume, get(volume));set(hotspot[livepano117].volume, get(volume));set(hotspot[livepano122].volume, get(volume));set(hotspot[livepano123].volume, get(volume));set(hotspot[livepano42].volume, get(volume));set(hotspot[livepano43].volume, get(volume));set(hotspot[livepano35].volume, get(volume));set(hotspot[livepano124].volume, get(volume));set(hotspot[livepano132].volume, get(volume));set(hotspot[livepano148].volume, get(volume));
,
ifnot(device.ios,
js(kpanotour.Sounds.startVideosSounds(get(volume)));
);
);
,
if(device.flash OR (device.webgl AND !device.ios),
set(hotspot[livepano32].volume, 0);set(hotspot[livepano31].volume, 0);set(hotspot[livepano117].volume, 0);set(hotspot[livepano122].volume, 0);set(hotspot[livepano123].volume, 0);set(hotspot[livepano42].volume, 0);set(hotspot[livepano43].volume, 0);set(hotspot[livepano35].volume, 0);set(hotspot[livepano124].volume, 0);set(hotspot[livepano132].volume, 0);set(hotspot[livepano148].volume, 0);
,
ifnot(device.ios,
js(kpanotour.Sounds.stopVideosSounds(get(volume)));
);
);
);
if (device.html5,
ifnot (device.desktop,
set(hotspot[spotpoint136].zorder2, %1);
set(hotspot[spotpoint137].zorder2, %1);
set(hotspot[spotpoint138].zorder2, %1);
set(hotspot[spotpoint139].zorder2, %1);
set(hotspot[spotpoint140].zorder2, %1);
set(hotspot[spotpoint141].zorder2, %1);
);
);