ERROR:



Javascript not activated





**u000d****u000a** set(plugin[comp_object_img].url,"get(options.comp_prize)"); **u000d****u000a** **u000d****u000a**if(device.mobile == true,**u000d****u000a** set(plugin[mob_comp_btn_txt].padding,**u0027**10 10 5 10**u0027**);**u000d****u000a** set(plugin[shareBtn].align,left);**u000d****u000a** set(plugin[menuBtn].align,right);**u000d****u000a** set(plugin[comp_subtitle].height,60);**u000d****u000a****u000d****u000a** set(plugin[comp_title].y, -17);**u000d****u000a** set(plugin[comp_object_img].y, 75);**u000d****u000a** **u000d****u000a** if(options.side_banner_enabled == true,**u000d****u000a** set(layer[btn_side_banner_menu].height, 270);**u000d****u000a** set(plugin[btn_side_banner_menu].y, 325);**u000d****u000a** set(plugin[btn_remove_tag_menu].y,620);**u000d****u000a** set(layer[devider_menu].y, 600);**u000d****u000a** set(plugin[btn_terms_conditions_menu].y,720);**u000d****u000a** set(layer[devider_banner_menu].y, 320);**u000d****u000a** ,**u000d****u000a** );**u000d****u000a** removeplugin(btn_comp_menu);**u000d****u000a** **u000d****u000a** set(plugin[compHeader].x,90);**u000d****u000a** set(plugin[compHeader].y,160);**u000d****u000a** set(plugin[comp_title].width,70%);**u000d****u000a** set(plugin[comp_title].y, -20);**u000d****u000a** set(plugin[comp_object_img].x,-265);**u000d****u000a** set(plugin[comp_object_img].scale,1);**u000d****u000a** set(plugin[comp_object_img].y,-140);**u000d****u000a** set(plugin[comp_footnote].x,265);**u000d****u000a** set(plugin[comp_footnote].width,290);**u000d****u000a** set(plugin[footnote_div_comp].y, -135);**u000d****u000a** set(plugin[footnote_div_comp].x, 0);**u000d****u000a** txtadd(plugin[comp_title].css, get("data[subtitle-txt-mobi].content") , get(main_font) , get(title_txt_color) );**u000d****u000a** ,**u000d****u000a** set(plugin[mob_comp_btn_txt].padding,**u0027**10 10 10 10**u0027**);**u000d****u000a** set(plugin[mob_comp_btn_txt].y,8);**u000d****u000a** set(plugin[shareBtn].align,right);**u000d****u000a** set(plugin[comp_subtitle].height, 30);**u000d****u000a** **u000d****u000a** set(plugin[compHeader].x,70);**u000d****u000a** set(plugin[compHeader].y,120);**u000d****u000a** set(plugin[comp_title].width,70%);**u000d****u000a** set(plugin[comp_title].y, -20);**u000d****u000a** set(plugin[comp_object_img].x,-205);**u000d****u000a** set(plugin[comp_object_img].scale,1);**u000d****u000a** set(plugin[comp_object_img].y,-140);**u000d****u000a** set(plugin[comp_footnote].x,205);**u000d****u000a** set(plugin[comp_footnote].width,200);**u000d****u000a** set(plugin[footnote_div_comp].y, -55);**u000d****u000a** set(plugin[footnote_div_comp].x, 0);**u000d****u000a** );**u000d****u000a** **u000d****u000a** set(plugin[title_div_compContainer].bgalpha, 0);**u000d****u000a****u000d****u000a** addplugin(footnote_div_comp);**u000d****u000a** set(plugin[footnote_div_comp].type, container);**u000d****u000a** set(plugin[footnote_div_comp].parent,compHeader);**u000d****u000a** set(plugin[footnote_div_comp].zorder, 10);**u000d****u000a** set(plugin[footnote_div_comp].align, bottom);**u000d****u000a** set(plugin[footnote_div_comp].width, 50%);**u000d****u000a** set(plugin[footnote_div_comp].height, 1);**u000d****u000a** set(plugin[footnote_div_comp].alpha, 1);**u000d****u000a** set(plugin[footnote_div_comp].y, 100);**u000d****u000a** set(plugin[footnote_div_comp].x, 150);**u000d****u000a** set(plugin[footnote_div_comp].bgcolor, 0xdcdcdc );**u000d****u000a** set(plugin[footnote_div_comp].bgalpha, 1);**u000d****u000a** set(plugin[footnote_div_comp].bgcapture, true);**u000d****u000a** set(plugin[footnote_div_comp].handcursor, false);**u000d****u000a** set(plugin[footnote_div_comp].enabled, true); **u000d****u000a** set(plugin[footnote_div_comp].visible, true); **u000d****u000a****u000d****u000a** **u000d****u000a** set(plugin[btn_side_banner_menu].onclick, removeActiveActions();**u000d****u000a** openCompetition(););**u000d****u000a** **u000d****u000a** **u000d****u000a****u000d****u000a** set(plugin[menuBtn].parent, header_container);**u000d****u000a** set(layer[menuScrollarea_base].align, right);**u000d****u000a** set(layer[menuScrollarea_base].x, -610);**u000d****u000a** set(layer[menuScrollarea_base].y, 0);**u000d****u000a** **u000d****u000a** removeplugin(competition_btn);**u000d****u000a** removeplugin(competition_btn_icon);**u000d****u000a** **u000d****u000a** set(plugin[side_banner_button_image].onclick, removeActiveActions();**u000d****u000a** openCompetition();**u000d****u000a** ); **u000d****u000a** **u000d****u000a** set(plugin[compMap_object_%1].bgcolor, get(options.btn_color_hover));**u000d****u000a** **u000d****u000a** set(plugin[comp_start_btn].backgroundcolor, 0xeebf1b);**u000d****u000a** set(plugin[comp_start_btn].onover, set(plugin[comp_start_btn].backgroundcolor, 0xeea236); );**u000d****u000a** set(plugin[comp_start_btn].onout, set(plugin[comp_start_btn].backgroundcolor, 0xeebf1b); );**u000d****u000a**

**u000d****u000a** **u000d****u000a**if(tutSlide3 == true,**u000d****u000a****u000d****u000a** if(device.mobile == true,**u000d****u000a** set(plugin[menuBtn].align,topright);**u000d****u000a** set(plugin[title_tut_moreOpt].visible,true);**u000d****u000a** set(plugin[title_tut_moreOpt].parent,menuBtn);**u000d****u000a** set(plugin[moreOptPointer].visible,true);**u000d****u000a** set(plugin[moreOptPointer].parent, menuBtn);**u000d****u000a** txtadd(plugin[title_tut_moreOpt].html, [div style="text-align:right;"] , get(options.string_moreoptionshere) , [/div]); **u000d****u000a** set(plugin[title_tut_moreOpt].align, bottomright );**u000d****u000a** **u000d****u000a** set(plugin[shareBtn].align,topleft);**u000d****u000a** txtadd(plugin[title_tut_shareUsing].html, [div style="text-align:left;"] , get(options.string_sharewhatyoufind) , [/div]); **u000d****u000a** set(plugin[title_tut_shareUsing].align, bottomleft );**u000d****u000a** );**u000d****u000a** **u000d****u000a** if(device.desktop == true,**u000d****u000a** set(plugin[shareBtn].align,topright);**u000d****u000a** txtadd(plugin[title_tut_shareUsing].html, [div style="text-align:right;"] , get(options.string_sharewhatyoufind) , [/div]); **u000d****u000a** set(plugin[title_tut_shareUsing].align, bottomright );**u000d****u000a** );**u000d****u000a** **u000d****u000a** ,**u000d****u000a** if(device.mobile == true,**u000d****u000a** set(plugin[menuBtn].align,right);**u000d****u000a** set(plugin[menuBtn].parent, header_container);**u000d****u000a** set(plugin[shareBtn].align,left)**u000d****u000a** ,**u000d****u000a** set(plugin[shareBtn].align,right);**u000d****u000a** set(plugin[shareBtn].parent,header_container);**u000d****u000a** );**u000d****u000a****u000d****u000a** );**u000d****u000a** **u000d****u000a**

**u000d****u000a** addplugin(mobilemlb_scene_switcher_btn);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].html,OPPOSITE VIEW);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].parent,header_container);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].zorder,15);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].enabled,true);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].visible,true);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].alpha,1);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].scale,1);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].vcenter,true);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].background, true);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].backgroundcolor, get(options.btn_color));**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].borderwidth, 2);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].bordercolor, 0xeebf1b);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].onover, set(plugin[mobilemlb_scene_switcher_btn].backgroundcolor, get(options.btn_color_hover)); );**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].onout, set(plugin[mobilemlb_scene_switcher_btn].backgroundcolor, get(options.btn_color)); );**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].onclick, removeActiveActions();**u000d****u000a** ChangeSceneName();**u000d****u000a** );**u000d****u000a****u000d****u000a** if(device.mobile == true,**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].x,227);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].y,100);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].width,235);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].height,50%);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].border, true);**u000d****u000a** txtadd(plugin[mobilemlb_scene_switcher_btn].css, get("data[scenes-mobile-switer-button].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].align,center);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].padding,0 0 0 0);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].roundedge, 10);**u000d****u000a** ,**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].x,20);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].width,get(leftMenuBtnWidth));**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].height,60%);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].border, false);**u000d****u000a** txtadd(plugin[mobilemlb_scene_switcher_btn].html, [div style="text-align: center;"], [/div] );**u000d****u000a** txtadd(plugin[mobilemlb_scene_switcher_btn].css, get("data[btn-txt-reg].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].align,left);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].y,155);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].roundedge, 5);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].padding, "0 15 0 45");**u000d****u000a** );**u000d****u000a**

**u000d****u000a** loadNextScene();**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].html,OPPOSITE VIEW);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].onclick, removeActiveActions();**u000d****u000a** ChangeSceneNameToMain();**u000d****u000a** );**u000d****u000a**

**u000d****u000a** removeBlackHotspotsEastView();**u000d****u000a** loadWestViewHotspots();**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].html,OPPOSITE VIEW);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].visible,false);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].visible,true);**u000d****u000a**

**u000d****u000a** removeBlackHotspotsWestView();**u000d****u000a** loadEastViewHotspots();**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].html,OPPOSITE VIEW);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].visible,false);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].visible,true);**u000d****u000a**

**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].html,OPPOSITE VIEW);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].onclick, removeActiveActions();**u000d****u000a** ChangeSceneName();**u000d****u000a** );**u000d****u000a** **u000d****u000a** loadPrevScene();**u000d****u000a**

**u000d****u000a** loadNextScene();**u000d****u000a** **u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].html,OPPOSITE VIEW);**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].onclick, removeActiveActions();**u000d****u000a** ChangeSceneNameToMain();**u000d****u000a** );**u000d****u000a**

**u000d****u000a** text-align:center; font-weight:700; font-size:22px; text-transform:uppercase; letter-spacing:0.5px;**u000d****u000a**

**u000d****u000a** addhotspot(viewFromHere_mainView_btn);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].url, "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d717614d4e0b963f92f3e84/viewHere_hotspot-20190916074228.png?v=%$NOCACHE%");**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].zorder,50);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].parent, header_container);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].align,center);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].edge,center);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].ath,-74.433);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].atv,3.765 );**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].scale,0.015);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].handcursor,true);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].enabled,true);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].alpha,1);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].keep,true);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].visible,false);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].zoom,true);**u000d****u000a** set(hotspot[viewFromHere_mainView_btn].onclick, loadNextScene(););**u000d****u000a****u000d****u000a****u000d****u000a** addhotspot(viewFromHere_secondView_btn);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].url, "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d717614d4e0b963f92f3e84/viewHere_hotspot-20190916074228.png?v=%$NOCACHE%");**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].parent, header_container);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].zorder,50);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].align,center);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].edge,center);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].ath,-73.292);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].atv,0.457);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].scale,0.02);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].handcursor,true);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].enabled,true);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].keep,true);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].alpha,1);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].visible,false);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].zoom,true);**u000d****u000a** set(hotspot[viewFromHere_secondView_btn].onclick, loadNextScene(););**u000d****u000a**

**u000d****u000a** debug(loadBlackHotspotsMain, %1, %2, %3, %4, %5, %6);**u000d****u000a** **u000d****u000a** addhotspot(%1);**u000d****u000a** set(hotspot[%1].url, **u0027**%7**u0027**);**u000d****u000a** set(hotspot[%1].zorder,50);**u000d****u000a** set(hotspot[%1].align,center);**u000d****u000a** set(hotspot[%1].ath,%2);**u000d****u000a** set(hotspot[%1].atv,%3);**u000d****u000a** set(hotspot[%1].width,%4);**u000d****u000a** set(hotspot[%1].height,%5);**u000d****u000a** set(hotspot[%1].rotate,%6);**u000d****u000a** set(hotspot[%1].handcursor,true);**u000d****u000a** set(hotspot[%1].enabled,false);**u000d****u000a** set(hotspot[%1].distorted,true);**u000d****u000a** set(hotspot[%1].visible,true);**u000d****u000a** set(hotspot[%1].alpha,1);**u000d****u000a** set(hotspot[%1].zoom,true);**u000d****u000a** set(hotspot[%1].onclick, );**u000d****u000a**

**u000d****u000a** **u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_one**u0027**, 107.033, 68.729, 500, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_two**u0027**, 106.187, 18.107, 500, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_three**u0027**, 107.289, -28.611, 500, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_four**u0027**, 66.162, -3.224, 500, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_five**u0027**, 43.5, 5, 300, 280, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_six**u0027**, 55, 42.754, 400, 515, -17.5, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_seven**u0027**, 155, 36.527, 400, 480, 14, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_eight**u0027**, 154, -3.516, 500, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_nine**u0027**, 77.417, 25.278, 100, 100, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_ten**u0027**, 35.297, -16.472, 148, 170, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_eleven**u0027**, 56.16, -33.345, 470, 200, -30, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_twelve**u0027**, 150, -35, 470, 200, 30, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_thirteen**u0027**, 99.918, -80.0, 1800, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_fourteen**u0027**, 195, -90, 1000, 720, 30, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_fifteen**u0027**, 101.484, -102, 1150, 800, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty-staging/5eafe8d56169f36a43a11470/black-cricle-20200504120223.png?v=493**u0027**);**u000d****u000a**

**u000d****u000a** **u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_sixteen**u0027**, 107.033, 64, 500, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_seventeen**u0027**, 106.187, 18.107, 500, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_eightteen**u0027**, 107.289, -28.611, 500, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_ninteen**u0027**, 66.162, -3.224, 500, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_twenty**u0027**, 43.5, 5, 300, 280, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_twentyone**u0027**, 55, 42.754, 400, 515, -17.5, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_twentytwo**u0027**, 155, 30, 400, 610, 14, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_twentythree**u0027**, 154, -3.516, 500, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_twentyfour**u0027**, 77.417, 25.278, 100, 100, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_twentyfive**u0027**, 35.297, -16.472, 148, 170, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_twentysix**u0027**, 56.16, -33.345, 470, 200, -30, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_twentyseven**u0027**, 150, -35, 470, 200, 30, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_twentyeight**u0027**, 99.918, -80.0, 1800, 500, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_twentynine**u0027**, 195, -90, 1000, 720, 30, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**u0027**);**u000d****u000a** loadBlackHotspotsMain(**u0027**led_hotspot_thirty**u0027**, 101.484, -102, 1150, 800, 0, **u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty-staging/5eafe8d56169f36a43a11470/black-cricle-20200504120223.png?v=493**u0027**);**u000d****u000a**

**u000d****u000a** removehotspot(led_hotspot_one);**u000d****u000a** removehotspot(led_hotspot_two);**u000d****u000a** removehotspot(led_hotspot_three);**u000d****u000a** removehotspot(led_hotspot_four);**u000d****u000a** removehotspot(led_hotspot_five);**u000d****u000a** removehotspot(led_hotspot_six);**u000d****u000a** removehotspot(led_hotspot_seven);**u000d****u000a** removehotspot(led_hotspot_eight);**u000d****u000a** removehotspot(led_hotspot_nine);**u000d****u000a** removehotspot(led_hotspot_ten);**u000d****u000a** removehotspot(led_hotspot_eleven);**u000d****u000a** removehotspot(led_hotspot_twelve);**u000d****u000a** removehotspot(led_hotspot_thirteen);**u000d****u000a** removehotspot(led_hotspot_fourteen);**u000d****u000a** removehotspot(led_hotspot_fifteen);**u000d****u000a**

**u000d****u000a** removehotspot(led_hotspot_sixteen);**u000d****u000a** removehotspot(led_hotspot_seventeen);**u000d****u000a** removehotspot(led_hotspot_eightteen);**u000d****u000a** removehotspot(led_hotspot_nineteen);**u000d****u000a** removehotspot(led_hotspot_twenty);**u000d****u000a** removehotspot(led_hotspot_twentyone);**u000d****u000a** removehotspot(led_hotspot_twentytwo);**u000d****u000a** removehotspot(led_hotspot_twentythree);**u000d****u000a** removehotspot(led_hotspot_twentyfour);**u000d****u000a** removehotspot(led_hotspot_twentyfive);**u000d****u000a** removehotspot(led_hotspot_twentysix);**u000d****u000a** removehotspot(led_hotspot_twentyseven);**u000d****u000a** removehotspot(led_hotspot_twentyeight);**u000d****u000a** removehotspot(led_hotspot_twentynine);**u000d****u000a** removehotspot(led_hotspot_thirty);**u000d****u000a**

TODO add more init settings/variables here */ /* post xml parsing vars i.e. get(startscene);*/ var vars = {}; vars.idletime = 2; vars.currScene = "east-view"; vars.projectId = "5d8a0087f5e35a0ccbc0b7bc"; vars.fancamId = "5d8a0087f5e35a0ccbc0b7bc"; // backwards compatable vars.APIPATH = "https://vikings.fancam.com/api"; vars.THEMEPATH = "https://s3.amazonaws.com/in3sixty-themes/basic-fancam"; vars.PUBLICPATH = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/public" vars.STARTSCENE = "east-view"; vars.NOCACHE = "9189"; vars.RAND = "4546"; vars.visibility = "live"; vars.event = {"name":"Vikings vs Lions","shortname":"vs Detroit Lions","date":"2019-12-08T00:00:00.000Z","category":"Football","venue":"US Bank Stadium","city":"Minneapolis, Minnesota","country":"USA","featuring":"Minnesota Vikings,Arizona Cardinals","keywords":""}; vars.relatedProjects = []; vars.relatedProjects[0] = { name:"Vikings Cutouts Fancam", shortname:"Vikings Cutouts Fancam", url:"https://vikings.fancam.com/2020" }; vars.relatedProjects[1] = { name:"Vikings vs Bears", shortname:"vs Chicago Bears", url:"https://vikings.fancam.com/20191229" }; vars.relatedProjects[2] = { name:"Vikings vs Packers", shortname:"Vikings vs Packers", url:"https://vikings.fancam.com/20191223" }; vars.relatedProjects[3] = { name:"Vikings vs Lions", shortname:"vs Detroit Lions", url:"https://vikings.fancam.com/20191208" }; vars.relatedProjects[4] = { name:"Vikings vs Broncos", shortname:"vs Denver Broncos", url:"https://vikings.fancam.com/20191117" }; vars.relatedProjects[5] = { name:"Vikings vs Redskins", shortname:"vs Washington Redskins", url:"https://vikings.fancam.com/20191024" }; vars.relatedProjects[6] = { name:"Minnesota Vikings vs Philadelphia Eagles", shortname:"vs Philadelphia Eagles", url:"https://vikings.fancam.com/20191013" }; vars.relatedProjects[7] = { name:"Minnesota Vikings vs Oakland Raiders", shortname:"vs Oakland Raiders", url:"https://vikings.fancam.com/20190922" }; vars.relatedProjects[8] = { name:"Minnesota Vikings vs Atlanta Falcons", shortname:"vs Atlanta Falcons", url:"https://vikings.fancam.com/20190908" }; vars.relatedProjects[9] = { name:"Minnesota Vikings vs Arizona Cardinals", shortname:"vs Arizona Cardinals", url:"https://vikings.fancam.com/20190824" }; vars.query = {}; vars.query.s = "east-view"; /* ---> TODO add more startup settings/variables here */ /* stored options */ vars.options = {}; vars.options.show_splash_onstart = false; // type=boolean vars.options.more_fancams_enabled = true; // type=boolean vars.options.share_view_enabled = true; // type=boolean vars.options.video_booth_enabled = false; // type=boolean vars.options.ecard_enabled = true; // type=boolean vars.options.wally_comp_enabled = false; // type=boolean vars.options.webvr_enabled = true; // type=boolean vars.options.banner_enabled = true; // type=boolean vars.options.banner_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d569ce16cd80677ef5aa560/logo-20190816125026.png?v=%$NOCACHE%"; // type=image unescaped vars.options.banner_website_link = decodeSingleQuoteSafeString('');// type=string vars.options.side_banner_enabled = false; // type=boolean vars.options.side_banner_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d8a0087f5e35a0ccbc0b7bc/side_banner-20191023074527-20191115182613-20191206211037.png?v=%$NOCACHE%"; // type=image unescaped vars.options.side_banner_website_link = decodeSingleQuoteSafeString('');// type=string vars.options.favicon_image = decodeSingleQuoteSafeString('https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d569ce16cd80677ef5aa560/fav-icon-20190816125515.png');// type=favicon vars.options.favicon_html = decodeSingleQuoteSafeString('');// type=string vars.options.email_header_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d569ce16cd80677ef5aa560/logo-20190816125405.png?v=%$NOCACHE%"; // type=image unescaped vars.options.login_facebook_enabled = true; // type=boolean vars.options.login_email_enabled = true; // type=boolean vars.options.login_share_enabled = false; // type=boolean vars.options.main_font_family = decodeSingleQuoteSafeString('Roboto');// type=string vars.options.main_font_url = decodeSingleQuoteSafeString('https://fonts.googleapis.com/css?family=Roboto:400,700');// type=string vars.options.second_font_family = decodeSingleQuoteSafeString('Open Sans');// type=string vars.options.second_font_url = decodeSingleQuoteSafeString('https://fonts.googleapis.com/css?family=Open+Sans:400,700');// type=string vars.options.loader_bg_color = "0x4e2683" ;// type=color vars.options.header_txt_color = "0xffffff" ;// type=color vars.options.title_txt_color = "0xffffff" ;// type=color vars.options.subtitle_txt_color = "0xffffff" ;// type=color vars.options.header_icon_color = "0xeebf1b" ;// type=color vars.options.footer_icon_color = "0xeebf1b" ;// type=color vars.options.footer_btn_bg_color = "0x000000" ;// type=color vars.options.footer_tag_color = "0xffffff" ;// type=color vars.options.btn_close_color = "0xffffff" ;// type=color vars.options.btn_close_color_hover = "0xeebf1b" ;// type=color vars.options.btn_txt_color = "0xffffff" ;// type=color vars.options.btn_color = "0x4e2683" ;// type=color vars.options.btn_color_hover = "0xeebf1b" ;// type=color vars.options.btn_color_disabled = "0xeebf1b" ;// type=color vars.options.btn_color_disabled_hover = "0xeea236" ;// type=color vars.options.splash_btn_txt = "0x4e2683" ;// type=color vars.options.splash_btn_color = "0xf0f0f0" ;// type=color vars.options.splash_active_color = "0xeebf1b" ;// type=color vars.options.splash_btn_txt_hover = "0xffffff" ;// type=color vars.options.splash_btn_color_hover = "0xeebf1b" ;// type=color vars.options.splash_btn_cs_color = "0xeebf1b" ;// type=color vars.options.splash_btn_cs_txt = "0xffffff" ;// type=color vars.options.menu_txt_color = "0xfffffff" ;// type=color vars.options.menu_main_btn_color = "0x4e2683" ;// type=color vars.options.menu_btn_color = "0x4e2683" ;// type=color vars.options.menu_bg_color = "0x4e2683" ;// type=color vars.options.menu_close_color = "0xffffff" ;// type=color vars.options.menu_divider_color = "0xffffff" ;// type=color vars.options.header_bg_color = "0x4e2683" ;// type=color vars.options.popup_bg_color = "0x462275" ;// type=color vars.options.popup_txt_color = "0xffffff" ;// type=color vars.options.backdrop_color = "0x000000" ;// type=color vars.options.tagging_enabled = true; // type=boolean vars.options.tagging_place_your_face = false; // type=boolean vars.options.tagging_disable_emails = true; // type=boolean vars.options.multitags_enabled = false; // type=boolean vars.options.sharetagtofacebook = false; // type=boolean vars.options.neutral_tag_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d569ce16cd80677ef5aa560/me-20190816124801.png?v=%$NOCACHE%"; // type=image unescaped vars.options.team1_tag_enabled = false; // type=boolean vars.options.team1_tag_image = "%$THEMEPATH%/assets/img/team_1.png?v=%$NOCACHE%"; // type=image unescaped vars.options.team2_tag_enabled = false; // type=boolean vars.options.team2_tag_image = "%$THEMEPATH%/assets/img/team_2.png?v=%$NOCACHE%"; // type=image unescaped vars.options.tagcounter_enabled = false; // type=boolean vars.options.tagcounter_min = decodeSingleQuoteSafeString('200');// type=string vars.options.tagging_disabled_scenes = decodeSingleQuoteSafeString('');// type=string vars.options.seperate_tags_per_scene = true; // type=boolean vars.options.place_your_face_tag_size = decodeSingleQuoteSafeString('5');// type=string vars.options.tags_load_mode = decodeSingleQuoteSafeString('mixed');// type=string vars.options.tag_sensitivity = decodeSingleQuoteSafeString('5');// type=string vars.options.tag_min_update_time = decodeSingleQuoteSafeString('2000');// type=string vars.options.tags_max = decodeSingleQuoteSafeString('50');// type=string vars.options.tags_max_fov = decodeSingleQuoteSafeString('50');// type=string vars.options.tags_fov_distance = decodeSingleQuoteSafeString('5');// type=string vars.options.tags_persistent = decodeSingleQuoteSafeString('50');// type=string vars.options.tags_per_update = decodeSingleQuoteSafeString('25');// type=string vars.options.character_team1_hat1_overlay = "%$THEMEPATH%/assets/img/face/head-team1-hat1.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team1_hat1_overlay_icon = "%$THEMEPATH%/assets/img/face/head-team1-hat1-icon.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team1_hat2_overlay = "%$THEMEPATH%/assets/img/face/head-team1-hat2.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team1_hat2_overlay_icon = "%$THEMEPATH%/assets/img/face/head-team1-hat2-icon.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team1_shirt1_overlay = "%$THEMEPATH%/assets/img/face/body-team1-shirt1.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team1_shirt1_overlay_icon = "%$THEMEPATH%/assets/img/face/body-team1-shirt1-icon.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team1_shirt2_overlay = "%$THEMEPATH%/assets/img/face/body-team1-shirt2.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team1_shirt2_overlay_icon = "%$THEMEPATH%/assets/img/face/body-team1-shirt2-icon.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team2_hat1_overlay = "%$THEMEPATH%/assets/img/face/head-team2-hat1.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team2_hat1_overlay_icon = "%$THEMEPATH%/assets/img/face/head-team2-hat1-icon.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team2_hat2_overlay = "%$THEMEPATH%/assets/img/face/head-team2-hat2.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team2_hat2_overlay_icon = "%$THEMEPATH%/assets/img/face/head-team2-hat2-icon.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team2_shirt1_overlay = "%$THEMEPATH%/assets/img/face/body-team2-shirt1.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team2_shirt1_overlay_icon = "%$THEMEPATH%/assets/img/face/body-team2-shirt1-icon.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team2_shirt2_overlay = "%$THEMEPATH%/assets/img/face/body-team2-shirt2.png?v=%$NOCACHE%"; // type=image unescaped vars.options.character_team2_shirt2_overlay_icon = "%$THEMEPATH%/assets/img/face/body-team2-shirt2-icon.png?v=%$NOCACHE%"; // type=image unescaped vars.options.scene_switcher_enabled = false; // type=boolean vars.options.scenes_in_menu_enabled = false; // type=boolean vars.options.scene_labels_enabled = false; // type=boolean vars.options.scene_slideshow_enabled = false; // type=boolean vars.options.same_view_position_for_scenes = false; // type=boolean vars.options.scene_switcher_menu_button = false; // type=boolean vars.options.scenes_slideshow_speed = decodeSingleQuoteSafeString('3');// type=string vars.options.scenes_slideshow_blend_time = decodeSingleQuoteSafeString('1.5');// type=string vars.options.interface_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d569ce16cd80677ef5aa560/interface-20190816125222.png?v=%$NOCACHE%"; // type=image unescaped vars.options.tutorial_zoom_image = "%$THEMEPATH%/assets/img/tutorial_zoom.png?v=%$NOCACHE%"; // type=image unescaped vars.options.tutorial_move_image = "%$THEMEPATH%/assets/img/tutorial_move.png?v=%$NOCACHE%"; // type=image unescaped vars.options.tutorial_mobi_image = "%$THEMEPATH%/assets/img/tutorial_mobile.png?v=%$NOCACHE%"; // type=image unescaped vars.options.menu_buttons_show_icons = true; // type=boolean vars.options.menu_buttons_width = decodeSingleQuoteSafeString('200');// type=string vars.options.vr_audio_background_enabled = true; // type=boolean vars.options.vr_audio_background_file = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d8a0087f5e35a0ccbc0b7bc/SKOL-20200504133611-20200505164102.mp3"; // type=file unescaped vars.options.vr_audio_background_volume = decodeSingleQuoteSafeString('0.4');// type=string vars.options.video1_enabled = false; // type=boolean vars.options.video_url_1 = decodeSingleQuoteSafeString('42oLZhRq3nA');// type=string vars.options.video_image_1 = "%$THEMEPATH%/assets/img/videoThumbnail_1.jpg?v=%$NOCACHE%"; // type=image unescaped vars.options.video2_enabled = false; // type=boolean vars.options.video_url_2 = decodeSingleQuoteSafeString('42oLZhRq3nA');// type=string vars.options.video_image_2 = "%$THEMEPATH%/assets/img/videoThumbnail_2.jpg?v=%$NOCACHE%"; // type=image unescaped vars.options.video3_enabled = false; // type=boolean vars.options.video_url_3 = decodeSingleQuoteSafeString('42oLZhRq3nA');// type=string vars.options.video_image_3 = "%$THEMEPATH%/assets/img/videoThumbnail_3.jpg?v=%$NOCACHE%"; // type=image unescaped vars.options.video4_enabled = false; // type=boolean vars.options.video_url_4 = decodeSingleQuoteSafeString('42oLZhRq3nA');// type=string vars.options.video_image_4 = "%$THEMEPATH%/assets/img/videoThumbnail_4.jpg?v=%$NOCACHE%"; // type=image unescaped vars.options.video5_enabled = false; // type=boolean vars.options.video_url_5 = decodeSingleQuoteSafeString('42oLZhRq3nA');// type=string vars.options.video_image_5 = "%$THEMEPATH%/assets/img/videoThumbnail_5.jpg?v=%$NOCACHE%"; // type=image unescaped vars.options.comp_hidden_object = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d8a0087f5e35a0ccbc0b7bc/comp_object-2-20191025130702-20191115182512-20191206210955.png?v=%$NOCACHE%"; // type=image unescaped vars.options.comp_prize = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d8a0087f5e35a0ccbc0b7bc/comp_object-20191022064521-20191025083703-20191115182514-20191206211000.png?v=%$NOCACHE%"; // type=image unescaped vars.options.mob_comp_btn_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d8a0087f5e35a0ccbc0b7bc/comp_object-20191022064521-20191025083703-20191115182514-20191206211004.png?v=%$NOCACHE%"; // type=image unescaped vars.options.age_gate_enabled = false; // type=boolean vars.options.age_gate_age = decodeSingleQuoteSafeString('21');// type=string vars.options.tel_number_enabled = false; // type=boolean vars.options.address_enabled = false; // type=boolean vars.options.address_country_enabled = false; // type=boolean vars.options.comp_disable_emails = true; // type=boolean vars.options.client_promotions_enabled = false; // type=boolean vars.options.client_link = false; // type=boolean vars.options.client_link_url = decodeSingleQuoteSafeString('');// type=string vars.options.comp_hotspot_1_enabled = true; // type=boolean vars.options.comp_hotspot_1_ath = decodeSingleQuoteSafeString('-36.461');// type=string vars.options.comp_hotspot_1_atv = decodeSingleQuoteSafeString('-3.698');// type=string vars.options.comp_hotspot_1_scale = decodeSingleQuoteSafeString('0.024');// type=string vars.options.comp_hotspot_1_crop = decodeSingleQuoteSafeString('0|0|300|300');// type=string vars.options.comp_hotspot_2_enabled = false; // type=boolean vars.options.comp_hotspot_2_ath = decodeSingleQuoteSafeString('-128.48');// type=string vars.options.comp_hotspot_2_atv = decodeSingleQuoteSafeString('-2.02');// type=string vars.options.comp_hotspot_2_scale = decodeSingleQuoteSafeString('0.04');// type=string vars.options.comp_hotspot_2_crop = decodeSingleQuoteSafeString('0|0|300|300');// type=string vars.options.comp_hotspot_3_enabled = false; // type=boolean vars.options.comp_hotspot_3_ath = decodeSingleQuoteSafeString('-118.48');// type=string vars.options.comp_hotspot_3_atv = decodeSingleQuoteSafeString('-2.02');// type=string vars.options.comp_hotspot_3_scale = decodeSingleQuoteSafeString('0.04');// type=string vars.options.comp_hotspot_3_crop = decodeSingleQuoteSafeString('0|0|300|300');// type=string vars.options.comp_hotspot_4_enabled = false; // type=boolean vars.options.comp_hotspot_4_ath = decodeSingleQuoteSafeString('-100.48');// type=string vars.options.comp_hotspot_4_atv = decodeSingleQuoteSafeString('-2.02');// type=string vars.options.comp_hotspot_4_scale = decodeSingleQuoteSafeString('0.04');// type=string vars.options.comp_hotspot_4_crop = decodeSingleQuoteSafeString('0|0|300|300');// type=string vars.options.comp_hotspot_5_enabled = false; // type=boolean vars.options.comp_hotspot_5_ath = decodeSingleQuoteSafeString('-100.48');// type=string vars.options.comp_hotspot_5_atv = decodeSingleQuoteSafeString('-2.02');// type=string vars.options.comp_hotspot_5_scale = decodeSingleQuoteSafeString('0.04');// type=string vars.options.comp_hotspot_5_crop = decodeSingleQuoteSafeString('0|0|300|300');// type=string vars.options.custom_actions_xml = decodeSingleQuoteSafeString('**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**');// type=string vars.options.on_scene_loaded_custom_xml = decodeSingleQuoteSafeString('get(currScene);**u000d****u000a**if(currScene == **u0027**west-view**u0027**, LoadWestView(); );**u000d****u000a**if(currScene == **u0027**east-view**u0027**, LoadEastView(); );**u000d****u000a****u000d****u000a**if(stagewidth LE 700,**u000d****u000a** set(plugin[mob_comp_btn_txt].padding,**u0027**10 10 5 10**u0027**);**u000d****u000a** ,**u000d****u000a** set(plugin[mob_comp_btn_txt].padding,**u0027**10 10 10 10**u0027**);**u000d****u000a**);**u000d****u000a****u000d****u000a**');// type=string vars.options.on_scene_loaded_end_custom_xml = decodeSingleQuoteSafeString('');// type=string vars.options.on_startup_custom_xml = decodeSingleQuoteSafeString('');// type=string vars.options.on_startup_end_custom_xml = decodeSingleQuoteSafeString('');// type=string vars.options.on_interface_loaded_xml = decodeSingleQuoteSafeString('loadnewinterface();**u000d****u000a**LoadMobileButtonSceneSwitcher();**u000d****u000a**loadViewHotspots();**u000d****u000a**openCompetition();');// type=string vars.options.on_window_resized_xml = decodeSingleQuoteSafeString('overrideTutorial();**u000d****u000a**if(device.mobile == true,**u000d****u000a** set(plugin[mob_comp_btn_txt].padding,**u0027**10 10 5 10**u0027**);**u000d****u000a** set(plugin[shareBtn].align,left);**u000d****u000a** set(plugin[menuBtn].align,right);**u000d****u000a****u000d****u000a** if(options.side_banner_enabled == true,**u000d****u000a** set(plugin[mobilemlb_scene_switcher_btn].visible,true);**u000d****u000a** set(layer[btn_side_banner_menu].height, 270);**u000d****u000a** set(plugin[btn_side_banner_menu].y, 325);**u000d****u000a** set(plugin[btn_remove_tag_menu].y,620);**u000d****u000a** set(layer[devider_menu].y, 600);**u000d****u000a** set(plugin[btn_terms_conditions_menu].y,720);**u000d****u000a** set(layer[devider_banner_menu].y, 320);**u000d****u000a** ,**u000d****u000a** );**u000d****u000a** removeplugin(btn_comp_menu);**u000d****u000a** **u000d****u000a** set(plugin[compHeader].x,90);**u000d****u000a** set(plugin[compHeader].y,160);**u000d****u000a** set(plugin[comp_title].width,70%);**u000d****u000a** set(plugin[comp_title].y, -20);**u000d****u000a** set(plugin[comp_object_img].x,-265);**u000d****u000a** set(plugin[comp_object_img].scale,1);**u000d****u000a** set(plugin[comp_object_img].y,-140);**u000d****u000a** set(plugin[comp_footnote].x,265);**u000d****u000a** set(plugin[comp_footnote].width,290);**u000d****u000a** set(plugin[footnote_div_comp].y, -135);**u000d****u000a** set(plugin[footnote_div_comp].x, 0);**u000d****u000a** txtadd(plugin[comp_title].css, get("data[subtitle-txt-mobi].content") , get(main_font) , get(title_txt_color) );**u000d****u000a** ,**u000d****u000a** set(plugin[mob_comp_btn_txt].padding,**u0027**10 10 10 10**u0027**);**u000d****u000a** set(plugin[compHeader].x,70);**u000d****u000a** set(plugin[compHeader].y,120);**u000d****u000a** set(plugin[comp_title].width,70%);**u000d****u000a** set(plugin[comp_title].y, -20);**u000d****u000a** set(plugin[comp_object_img].x,-205);**u000d****u000a** set(plugin[comp_object_img].scale,1);**u000d****u000a** set(plugin[comp_object_img].y,-140);**u000d****u000a** set(plugin[comp_footnote].x,205);**u000d****u000a** set(plugin[comp_footnote].width,200);**u000d****u000a** set(plugin[footnote_div_comp].y, -55);**u000d****u000a** set(plugin[footnote_div_comp].x, 0);**u000d****u000a** **u000d****u000a** set(plugin[shareBtn].align,right);**u000d****u000a**);');// type=string vars.options.head_html = decodeSingleQuoteSafeString('');// type=string vars.options.body_html = decodeSingleQuoteSafeString('');// type=string vars.options.footer_html = decodeSingleQuoteSafeString('');// type=string /* in an application browser (Facebook/Twitter) */ /* * i18n (international) strings for krpano. */ vars.i18n = {}; vars.i18n.en = {}; vars.i18n.en.site_title = decodeSingleQuoteSafeString('The Vikings Fancam');// type=string vars.i18n.en.site_description = decodeSingleQuoteSafeString('Explore the Vikings Fancam, and share what you find with the world!');// type=string vars.i18n.en.share_image = "%$AUTOIMAGE_STARTPOS%"; // type=image unescaped vars.i18n.en.site_title_fb = decodeSingleQuoteSafeString('The Vikings Fancam');// type=string vars.i18n.en.site_description_fb = decodeSingleQuoteSafeString('Explore the Vikings Fancam, and share what you find with the world!');// type=string vars.i18n.en.site_title_twtr = decodeSingleQuoteSafeString('The Vikings Fancam');// type=string vars.i18n.en.site_description_twtr = decodeSingleQuoteSafeString('Explore the Vikings Fancam, and share what you find with the world!');// type=string vars.i18n.en.twtr_handle = decodeSingleQuoteSafeString('#SKOL');// type=string vars.i18n.en.share_title_email = decodeSingleQuoteSafeString('The Vikings Fancam');// type=string vars.i18n.en.share_description_email = decodeSingleQuoteSafeString('Click on the link below to have a look at what I found in the Vikings Fancam!');// type=string vars.i18n.en.string_splash_notify = decodeSingleQuoteSafeString('');// type=string vars.i18n.en.string_character_texts_btn = decodeSingleQuoteSafeString('Character Selfie ');// type=string vars.i18n.en.string_cutout_texts_btn = decodeSingleQuoteSafeString('Custom Cutout');// type=string vars.i18n.en.siteloader_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d569ce16cd80677ef5aa560/site-loader-20190816135145.gif?v=%$NOCACHE%"; // type=image unescaped vars.i18n.en.overlay_default_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d89fbc1f5e35a0ccbc0a7f7/ecardShareFrame-20190924113902.png?v=%$NOCACHE%"; // type=image unescaped vars.i18n.en.overlay_sview_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d89fbc1f5e35a0ccbc0a7f7/ecardShareFrame-20190924113907.png?v=%$NOCACHE%"; // type=image unescaped vars.i18n.en.overlay_tview_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d89fbc1f5e35a0ccbc0a7f7/ecardShareFrame-20190924113910.png?v=%$NOCACHE%"; // type=image unescaped vars.i18n.en.ecard_frame = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d89fbc1f5e35a0ccbc0a7f7/ecard_frame-20190924113914.png?v=%$NOCACHE%"; // type=image unescaped vars.i18n.en.overlay_ecard_view_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d89fbc1f5e35a0ccbc0a7f7/ecardShareFrame-20190924113918.png?v=%$NOCACHE%"; // type=image unescaped vars.i18n.en.string_tagyourself_button = decodeSingleQuoteSafeString('TAG [br/] [div style=**u0027**font-size:20px;**u0027**] YOURSELF [/div]');// type=string vars.i18n.en.string_tagyourself_button_mobile = decodeSingleQuoteSafeString('TAG [br/] [div style=**u0027**font-size:30px;**u0027**] YOURSELF [/div]');// type=string vars.i18n.en.string_take_a_seat_button = decodeSingleQuoteSafeString('TAKE [br/] [div style=**u0027**font-size:20px;**u0027**] A SEAT [/div]');// type=string vars.i18n.en.string_take_a_seat_button_mobile = decodeSingleQuoteSafeString('TAKE [br/] [div style=**u0027**font-size:30px;**u0027**] A SEAT [/div]');// type=string vars.i18n.en.string_return_tot_fc_button = decodeSingleQuoteSafeString('RETURN TO [br/] [div style=**u0027**font-size:20px;**u0027**] FANCAM [/div]');// type=string vars.i18n.en.string_return_to_fc_button_mobile = decodeSingleQuoteSafeString('RETURN TO [br/] [div style=**u0027**font-size:30px;**u0027**] FANCAM [/div]');// type=string vars.i18n.en.more_fc_title = decodeSingleQuoteSafeString('VIEW OTHER GAMES');// type=string vars.i18n.en.more_scenes_title = decodeSingleQuoteSafeString('More Scenes');// type=string vars.i18n.en.string_videobooth = decodeSingleQuoteSafeString('Video Booth');// type=string vars.i18n.en.string_ecard = decodeSingleQuoteSafeString('Digital Postcard');// type=string vars.i18n.en.string_ecard_instruct = decodeSingleQuoteSafeString('Use the controls to find yourself and snap your selfie, then share it with friends!');// type=string vars.i18n.en.string_ecard_confirm = decodeSingleQuoteSafeString('Snap it!');// type=string vars.i18n.en.string_ecard_shared = decodeSingleQuoteSafeString('Share your Digital Postcard');// type=string vars.i18n.en.string_next = decodeSingleQuoteSafeString('Next');// type=string vars.i18n.en.string_cancel = decodeSingleQuoteSafeString('Cancel');// type=string vars.i18n.en.string_tag = decodeSingleQuoteSafeString('TAG');// type=string vars.i18n.en.string_showtags = decodeSingleQuoteSafeString('SHOW TAGS');// type=string vars.i18n.en.string_hidetags = decodeSingleQuoteSafeString('HIDE TAGS');// type=string vars.i18n.en.string_selectatag = decodeSingleQuoteSafeString('Select a tag [br/]to tag yourself!');// type=string vars.i18n.en.string_resend_email = decodeSingleQuoteSafeString('Resend Email');// type=string vars.i18n.en.string_sending_email = decodeSingleQuoteSafeString('Sending');// type=string vars.i18n.en.string_sent_email = decodeSingleQuoteSafeString('Sent');// type=string vars.i18n.en.string_error_sending_email = decodeSingleQuoteSafeString('Error Sending Email');// type=string vars.i18n.en.string_verify_email_address = decodeSingleQuoteSafeString('Please check your email to verify your tag');// type=string vars.i18n.en.string_tutorial = decodeSingleQuoteSafeString('TUTORIAL');// type=string vars.i18n.en.string_termsandconditions = decodeSingleQuoteSafeString('TERMS AND CONDITIONS');// type=string vars.i18n.en.string_removemytag = decodeSingleQuoteSafeString('REMOVE MY TAG');// type=string vars.i18n.en.string_viewthetutorial = decodeSingleQuoteSafeString('VIEW THE TUTORIAL');// type=string vars.i18n.en.string_tutorial_subtitle = decodeSingleQuoteSafeString('Let us show you around with our beginners guide.');// type=string vars.i18n.en.string_date_format = decodeSingleQuoteSafeString('MMM DD, YYYY');// type=string vars.i18n.en.next_scene_title = decodeSingleQuoteSafeString('opposite view');// type=string vars.i18n.en.previous_scene_title = decodeSingleQuoteSafeString('opposite view');// type=string vars.i18n.en.signup_optin_promotions_enabled = false; // type=boolean vars.i18n.en.string_signup_optin_promotions = decodeSingleQuoteSafeString('Please send me Team News and Promotions');// type=string vars.i18n.en.signup_optin_promotions_sponsor_enabled = false; // type=boolean vars.i18n.en.string_signup_optin_promotions_sponsor = decodeSingleQuoteSafeString('Please send me Sponsor News and Promotions');// type=string vars.i18n.en.signup_email_age_gate_enabled = false; // type=boolean vars.i18n.en.signup_email_age_gate_age = decodeSingleQuoteSafeString('13');// type=string vars.i18n.en.login_terms_of_use_url = decodeSingleQuoteSafeString('https://www.fancam.com/fancam-terms-and-conditions-privacy-policy/');// type=string vars.i18n.en.login_privacy_policy_url = decodeSingleQuoteSafeString('https://www.fancam.com/fancam-terms-and-conditions-privacy-policy/');// type=string vars.i18n.en.splash_screen_coming_soon_texts_enabled = false; // type=boolean vars.i18n.en.string_comp = decodeSingleQuoteSafeString('Where**u0027**s Viktor?');// type=string vars.i18n.en.string_comp_icon_title = decodeSingleQuoteSafeString('Find me to win!');// type=string vars.i18n.en.string_comp_small_icon_title = decodeSingleQuoteSafeString('Find me [br] to win!');// type=string vars.i18n.en.string_comp_header = decodeSingleQuoteSafeString('Locate the hidden Viktor in U.S. Bank Stadium for a chance to win an autographed player photo!');// type=string vars.i18n.en.string_comp_info = decodeSingleQuoteSafeString('');// type=string vars.i18n.en.string_comp_footnote = decodeSingleQuoteSafeString('Once you**u0027**ve found Viktor, click on him to secure your entry. [br] Good Luck!');// type=string vars.i18n.en.string_comp_start_btn = decodeSingleQuoteSafeString('Let**u0027**s Go!');// type=string vars.i18n.en.string_comp_optin_comp = decodeSingleQuoteSafeString('I agree to the terms and conditions ');// type=string vars.i18n.en.string_comp_optin_more = decodeSingleQuoteSafeString('Please send me promotional information');// type=string vars.i18n.en.string_comp_instructions_header = decodeSingleQuoteSafeString('Lets Go!');// type=string vars.i18n.en.string_comp_instructions = decodeSingleQuoteSafeString('Time to find Viktor hiding in the crowd! [br] You can use the tracker that will appear at the bottom of the screen to help you with your search. Click on Wall-E to secure your entry. [br] Good Luck!');// type=string vars.i18n.en.string_comp_message_found_header = decodeSingleQuoteSafeString('Congratulations!');// type=string vars.i18n.en.string_comp_message_found_text = decodeSingleQuoteSafeString('You have found Viktor and are now one step closer to winning amazing prizes!');// type=string vars.i18n.en.string_comp_message_found_first_footnote = decodeSingleQuoteSafeString('But first we**u0027**ll need to know more about you![br] Please fill in your details to enter.');// type=string vars.i18n.en.string_comp_message_found_more_footnote = decodeSingleQuoteSafeString('For each you find we**u0027**ll add a new entry into the draw for you![br] So the more you find the higher your chances of winning are.');// type=string vars.i18n.en.string_comp_message_found_all_header = decodeSingleQuoteSafeString('Congratulations!');// type=string vars.i18n.en.string_comp_message_found_all_text = decodeSingleQuoteSafeString('You have found Viktor and now one step closer to winning those amazing prizes!');// type=string vars.i18n.en.string_comp_message_found_all_footnote = decodeSingleQuoteSafeString('Thanks for playing![br] Winners will be notified via Email.');// type=string vars.i18n.en.string_comp_message_already_found_header = decodeSingleQuoteSafeString('Already Entered!');// type=string vars.i18n.en.string_comp_message_already_found_text = decodeSingleQuoteSafeString('You**u0027**ve already found this using this email address!');// type=string vars.i18n.en.string_comp_message_welcome_header = decodeSingleQuoteSafeString('Welcome Back!');// type=string vars.i18n.en.string_comp_message_welcome_text = decodeSingleQuoteSafeString('You have already found Viktor.[br] [br]Winners will be notified vie Email.');// type=string vars.i18n.en.string_comp_age_gate_text = decodeSingleQuoteSafeString('You must be over the age of 18 to enter the site');// type=string vars.i18n.en.comp_terms_cond_pdf = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5d8a0087f5e35a0ccbc0b7bc/Find-Viktor-Sweepstakes-Official-Rules-2019-20191206211641.pdf"; // type=image unescaped vars.i18n.en.title_video1 = decodeSingleQuoteSafeString('Title of Video 1');// type=string vars.i18n.en.subtitle_video1 = decodeSingleQuoteSafeString('Subtitle of Video 1');// type=string vars.i18n.en.title_video2 = decodeSingleQuoteSafeString('Title of Video 2');// type=string vars.i18n.en.subtitle_video2 = decodeSingleQuoteSafeString('Subtitle of Video 2');// type=string vars.i18n.en.title_video3 = decodeSingleQuoteSafeString('Title of Video 3');// type=string vars.i18n.en.subtitle_video3 = decodeSingleQuoteSafeString('Subtitle of Video 3');// type=string vars.i18n.en.title_video4 = decodeSingleQuoteSafeString('Title of Video 4');// type=string vars.i18n.en.subtitle_video4 = decodeSingleQuoteSafeString('Subtitle of Video 4');// type=string vars.i18n.en.title_video5 = decodeSingleQuoteSafeString('Title of Video 5');// type=string vars.i18n.en.subtitle_video5 = decodeSingleQuoteSafeString('Subtitle of Video 5');// type=string vars.i18n.en.email_subscription_body = decodeSingleQuoteSafeString('We will let you know know as soon as it goes live.');// type=string vars.i18n.en.email_tag_subject = decodeSingleQuoteSafeString('You found yourself in the crowd!');// type=string vars.i18n.en.email_take_seat_subject = decodeSingleQuoteSafeString('You**u0027**ve taken your seat!');// type=string vars.i18n.en.email_tag_header = decodeSingleQuoteSafeString('Congratulations! You**u0027**ve tagged yourself in');// type=string vars.i18n.en.email_take_seat_header = decodeSingleQuoteSafeString('Congratulations! You**u0027**ve found your seat in');// type=string vars.i18n.en.email_tag_body = decodeSingleQuoteSafeString('');// type=string vars.i18n.en.email_competition_body = decodeSingleQuoteSafeString('We will let you know if you**u0027**re a winner.');// type=string vars.i18n.en.email_verification_body = decodeSingleQuoteSafeString('We will let you know if you**u0027**re a winner.');// type=string vars.i18n.en.string_ok = decodeSingleQuoteSafeString('OK');// type=string vars.i18n.en.string_nothanks = decodeSingleQuoteSafeString('No, thanks!');// type=string vars.i18n.en.string_zoomusing = decodeSingleQuoteSafeString('Zoom using');// type=string vars.i18n.en.string_moveusing = decodeSingleQuoteSafeString('Move using');// type=string vars.i18n.en.string_zoomandexplore = decodeSingleQuoteSafeString('Zoom & Explore');// type=string vars.i18n.en.string_trackpadscroll = decodeSingleQuoteSafeString('Trackpad scroll');// type=string vars.i18n.en.string_mousetoscroll = decodeSingleQuoteSafeString('Mouse scroll');// type=string vars.i18n.en.string_keyboardkeys = decodeSingleQuoteSafeString('Keyboard keys');// type=string vars.i18n.en.string_spread = decodeSingleQuoteSafeString('Spread');// type=string vars.i18n.en.string_select = decodeSingleQuoteSafeString('Select');// type=string vars.i18n.en.string_no_tag_zone = decodeSingleQuoteSafeString('You can**u0027**t sit here');// type=string vars.i18n.en.string_failed_tagging_message = decodeSingleQuoteSafeString('Unable to use image, try another image');// type=string vars.i18n.en.string_tapanddrag = decodeSingleQuoteSafeString('Tap + Drag');// type=string vars.i18n.en.string_pinch = decodeSingleQuoteSafeString('Pinch');// type=string vars.i18n.en.string_orthesecontrols = decodeSingleQuoteSafeString('or these controls');// type=string vars.i18n.en.string_trackpressdrag = decodeSingleQuoteSafeString('Trackpad: Press + Drag');// type=string vars.i18n.en.string_mousepressdrag = decodeSingleQuoteSafeString('Mouse: Press + Drag');// type=string vars.i18n.en.string_keyboardarrowkeys = decodeSingleQuoteSafeString('Keyboard Arrow Keys');// type=string vars.i18n.en.string_tagyourselfusingthis = decodeSingleQuoteSafeString('Tag Yourself[br]Using This');// type=string vars.i18n.en.string_moreoptionshere = decodeSingleQuoteSafeString('More[br]Options[br]Here');// type=string vars.i18n.en.string_sharewhatyoufind = decodeSingleQuoteSafeString('Share What[br]You Find[br]Using This');// type=string vars.i18n.en.string_skip_tutorial = decodeSingleQuoteSafeString('Skip Tutorial');// type=string vars.i18n.en.string_enjoythefancam = decodeSingleQuoteSafeString('Enjoy the[br]Fancam');// type=string vars.i18n.en.string_sharethisview = decodeSingleQuoteSafeString('Share This View');// type=string vars.i18n.en.string_shareyourtag = decodeSingleQuoteSafeString('Share Your Tag');// type=string vars.languages = []; vars.languages[0] = { code:"en", name:"en" }; vars.lang = 'en'; /* LANGUAGE SWITCHER */ i18next .init({ resources: {'en' : { 'translation' : vars.i18n['en'] }}, lng: 'en', fallbackLng: 'en' }, function(err, t) { console.log('localising'); localize = locI18next.init(i18next); localize('[data-i18n]'); }); /* language switching */ function fc_changelang(lang, oncompleteaction){ console.log('changing language to ', lang); if ((lang === undefined )){ console.log('fc_changelang: undefined language "'+ lang + '"'); return; } function _updateCurrentOptions(opts){ } function _replaceQueryParam (param, newval, search) { var regex = new RegExp( '([?;&])' + param + '=[^&;]*([;&]?)'); var query = search.replace(regex, '$1' + param + '=' + newval + '$2'); if (!regex.test(query)){ query = (query.length > 2 ? (query + '&') : '?') + (newval ? param + '=' + newval : ''); } return query; } function _fetchOptionsForLang(lng, callback){ try { var x = new (XMLHttpRequest || ActiveXObject)('MSXML2.XMLHTTP.3.0'); x.open('GET', '/20191208/options.json' + '?lang=' + lng, 1); x.withCredentials = true; x.onreadystatechange = function () { if(this.readyState > 3){ if (this.status == 200 && this.responseText){ // console.log('resources loaded for "%s"', lng ); callback(JSON.parse(this.responseText)); } else{ console.log('error loading options for lang'); callback({}); } } }; x.send(); } catch (e) { console.log(e); } } function _applyOptions(lang, opts){ //console.log('_applyOptions for lang', lang, opts ); i18next.changeLanguage(lang); localize('[data-i18n]'); for(var key in opts){ // just override/store on top. if (opts.hasOwnProperty(key)) { //console.log(key, opts[key]); // convert any colors from hash to hex format 0x000 vars.options[key] = (typeof opts[key] === 'string') ? opts[key].replace(/^#([0-9a-f]{6}|[0-9a-f]{3})$/i, '0x\$1') : opts[key]; } } if (pano()){ // and update krpano pano().set('options', vars.options); pano().set('lang', lang); if (oncompleteaction !== undefined){ pano().call(oncompleteaction); } } if (vars.languages && vars.languages.length > 1){ window.history.replaceState({}, // update the main url /* don't change site title */null , window.location.pathname + _replaceQueryParam('lng',lang, window.location.search)); } } if (vars.i18n[lang] !== undefined){ //console.log('already have resources cached for', lang); _applyOptions(lang, vars.i18n[lang]); } else{ // console.log('caching new resources for', lang); _fetchOptionsForLang(lang, function(opts){ vars.i18n[lang] = opts; // cache i18next.addResources(lang, 'translation'/* TODO set the ns somewhere else*/, opts); //add to i18next _applyOptions(lang, opts); }); } } fc_changelang('en'); /* END LANGUAGE SWTICHER */ /* viewer */ embedpano({ html5:"only", id:"panoSWFObject", target:"panoDIV", xml: "/20191208/pano.xml", mobilescale:0.5, initVars:initVars, vars:vars, onready:_onPanoReady, onerror:_onPanoError }); // for backwards compatibility function fc_updateUrlQuery(atv, ath, fov, scene){ fc.updateUrlQuery(atv, ath, fov, scene); } /* TODO workaround, snapshot server not always receiving the events before 5 seconds, send many */ var loaded_evt_count = 0; var loaded_evt_max = 20; var loaded_timer_interval = 1500;//ms function _sendPanoLoadedEvt(){ // for the snapshot server.. var evt = document.createEvent("Event"); evt.initEvent("pano-loaded",true,true); document.dispatchEvent(evt); //console.log('sent pano loaded event'); loaded_evt_count++; if (loaded_evt_count < loaded_evt_max){ setTimeout(_sendPanoLoadedEvt,loaded_timer_interval); } } function fc_hideLoadingScreen(){ document.getElementById("panoDIV").style.visibility = 'visible'; document.body.style.background = 'none'; setTimeout(_sendPanoLoadedEvt,loaded_timer_interval); } function _onPanoError(message){ console.log('pano error'); _sendPanoLoadedEvt(); // nothing more to do.. } function _onPanoReady(krpano){ console.log('pano ready'); } /* TODO move these functions out to the js library. - END */