TODO add more init settings/variables here */
/* post xml parsing vars i.e. get(startscene);*/
var vars = {};
vars.idletime = 2;
vars.currScene = "track-view";
vars.projectId = "63e4a09564e0c83dd4a59e78";
vars.fancamId = "63e4a09564e0c83dd4a59e78"; // backwards compatable
vars.APIPATH = "https://nascar.fancam.com/api";
vars.THEMEPATH = "https://s3.amazonaws.com/in3sixty-themes/in3sixty/basic-fancam";
vars.PUBLICPATH = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/public";
vars.PROJECTPATH = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78";
vars.STARTSCENE = "track-view";
vars.NOCACHE = "3005";
vars.RAND = "3609";
vars.visibility = "live";
vars.event = {"name":"2023 DAYTONA 500","shortname":"2023 DAYTONA 500","date":"2023-02-19T00:00:00.000Z","category":"Other","venue":"Daytona International Speedway","city":"Daytona Beach","country":"USA","featuring":"Daytona500","keywords":"","dateSearchable":"19/02/2023 02/19/2023 02-19-2023 2023-02-19 Sunday 19th February 2023"};
vars.relatedProjects = [];
vars.relatedProjects[0] = { name:"2024 DAYTONA 500", shortname:"2024 DAYTONA 500", url:"https://nascar.fancam.com/20240219", date:localizeDateWithTime("2024-02-19T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[1] = { name:"2023 DAYTONA 500", shortname:"2023 DAYTONA 500", url:"https://nascar.fancam.com/20230219", date:localizeDateWithTime("2023-02-19T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[2] = { name:"2022 DAYTONA 500", shortname:"2022 DAYTONA 500", url:"https://nascar.fancam.com/20220220", date:localizeDateWithTime("2022-02-20T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[3] = { name:"2022 Clash at the Coliseum", shortname:"2022 Clash at the Coliseum", url:"https://nascar.fancam.com/20220206", date:localizeDateWithTime("2022-02-06T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[4] = { name:"2021 DAYTONA 500", shortname:"2021 DAYTONA 500", url:"https://nascar.fancam.com/20210203", date:localizeDateWithTime("2021-02-14T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[5] = { name:"2020 DAYTONA 500", shortname:"2020 DAYTONA 500", url:"https://nascar.fancam.com/20200217", date:localizeDateWithTime("2020-02-17T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[6] = { name:"2017 DAYTONA 500", shortname:"2017 DAYTONA 500", url:"https://nascar.fancam.com/20170226", date:localizeDateWithTime("2017-02-26T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[7] = { name:"2016 DAYTONA 500", shortname:"2016 DAYTONA 500", url:"https://nascar.fancam.com/20160221", date:localizeDateWithTime("2016-02-21T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[8] = { name:"2015 DAYTONA 500", shortname:"2015 DAYTONA 500", url:"https://nascar.fancam.com/20150222", date:localizeDateWithTime("2015-02-22T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[9] = { name:"2014 DAYTONA 500", shortname:"2014 DAYTONA 500", url:"https://nascar.fancam.com/20140223", date:localizeDateWithTime("2014-02-23T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[10] = { name:"2011 DAYTONA 500 ", shortname:"2011 DAYTONA 500 ", url:"https://nascar.fancam.com/20110220", date:localizeDateWithTime("2011-02-20T00:00:00+00:00",12), visibility:"live" };
vars.query = {};
vars.query.sp = "false";
vars.query.s = "track-view";
/* ---> TODO add more startup settings/variables here */
/* stored options */
vars.options = {};
vars.options.show_splash_onstart = true; // type=boolean
vars.options.show_splash_automatically_hours_before_next_game = decodeSingleQuoteSafeString('48');// type=string
vars.options.more_fancams_enabled = true; // type=boolean
vars.options.share_view_enabled = true; // type=boolean
vars.options.ecard_enabled = true; // type=boolean
vars.options.video_booth_enabled = true; // type=boolean
vars.options.wally_comp_enabled = true; // type=boolean
vars.options.webvr_enabled = true; // type=boolean
vars.options.webvr_texts_enabled = false; // type=boolean
vars.options.banner_enabled = true; // type=boolean
vars.options.banner_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/logo-20230209072619.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.banner_website_link = decodeSingleQuoteSafeString('');// type=string
vars.options.side_banner_enabled = true; // type=boolean
vars.options.side_banner_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/banner-20230209072624.jpg?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/6018e4125fece30c81bbadd7/favicon-20230209072630.png');// type=favicon
vars.options.favicon_html = decodeSingleQuoteSafeString('
');// type=string
vars.options.email_header_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/logo-20230209072633.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 = "0xffffff" ;// 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 = "0xffffff" ;// type=color
vars.options.footer_icon_color = "0xffffff" ;// 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 = "0xef4135" ;// type=color
vars.options.btn_txt_color = "0xffffff" ;// type=color
vars.options.btn_color = "0xef4135" ;// type=color
vars.options.btn_color_hover = "0x000000" ;// type=color
vars.options.btn_color_disabled = "0xee1101" ;// type=color
vars.options.btn_color_disabled_hover = "0xeea236" ;// type=color
vars.options.splash_btn_txt = "0xef4135" ;// type=color
vars.options.splash_btn_color = "0xffffff" ;// type=color
vars.options.splash_active_color = "0x00b2f0" ;// type=color
vars.options.splash_btn_txt_hover = "0xffffff" ;// type=color
vars.options.splash_btn_color_hover = "0xef4135" ;// type=color
vars.options.splash_btn_cs_color = "0xef4135" ;// type=color
vars.options.splash_btn_cs_txt = "0xffffff" ;// type=color
vars.options.menu_txt_color = "0xffffff" ;// type=color
vars.options.menu_main_btn_color = "0xef4135" ;// type=color
vars.options.menu_btn_color = "0xef4135" ;// type=color
vars.options.menu_bg_color = "0x000000" ;// type=color
vars.options.menu_close_color = "0xef4135" ;// type=color
vars.options.menu_divider_color = "0x000000" ;// type=color
vars.options.header_bg_color = "0x000000" ;// type=color
vars.options.popup_bg_color = "0x1a1a1a" ;// 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 = false; // type=boolean
vars.options.multitags_enabled = false; // type=boolean
vars.options.sharetagtofacebook = false; // type=boolean
vars.options.ecardpopup = true; // type=boolean
vars.options.neutral_tag_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/me-20230209073549.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('2');// 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('5');// type=string
vars.options.tags_per_update = decodeSingleQuoteSafeString('5');// type=string
vars.options.character_team1_hat1_overlay = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/banner-popup-20230209074031.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_hat1_overlay_icon = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/blank-20210202062753.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_hat2_overlay = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/pop-up_1-20230220054329.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_hat2_overlay_icon = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/pop-up_2-20230220054351.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_shirt1_overlay = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/pop-up_3-20230220054425.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_shirt1_overlay_icon = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/hoodie-icon-1-20210202062947.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_shirt2_overlay = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/body-template-2-20210202062951.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_shirt2_overlay_icon = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/hoodie-icon-2-20210202062959.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_hat1_overlay = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/blank-20210202062840.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_hat1_overlay_icon = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/blank-20210202062843.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_hat2_overlay = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/blank-20210202062917.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_hat2_overlay_icon = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/blank-20210202062920.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_shirt1_overlay = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/blank-20210202062924.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_shirt1_overlay_icon = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/blank-20210202062929.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_shirt2_overlay = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/blank-20210202062931.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_shirt2_overlay_icon = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/blank-20210202062935.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/5e40ead67b00415c6de27718/interface-20200211082811.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 = false; // type=boolean
vars.options.menu_buttons_width = decodeSingleQuoteSafeString('185');// type=string
vars.options.vr_audio_background_enabled = false; // type=boolean
vars.options.vr_audio_background_file = ""; // type=file unescaped
vars.options.vr_audio_background_volume = decodeSingleQuoteSafeString('0.4');// type=string
vars.options.video1_enabled = true; // type=boolean
vars.options.video_url_1 = decodeSingleQuoteSafeString('-ZcA2A-ITzM');// type=string
vars.options.video_image_1 = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/videoThumbnail_1-20230220143816.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.video2_enabled = true; // type=boolean
vars.options.video_url_2 = decodeSingleQuoteSafeString('TCo7qAgkKM8');// type=string
vars.options.video_image_2 = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/videoThumbnail_2-20230220143906.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.video3_enabled = true; // type=boolean
vars.options.video_url_3 = decodeSingleQuoteSafeString('iT-t1RcgFYI');// type=string
vars.options.video_image_3 = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/videoThumbnail_3-20230220144002.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.video4_enabled = true; // type=boolean
vars.options.video_url_4 = decodeSingleQuoteSafeString('gLp6352xt5I');// type=string
vars.options.video_image_4 = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/videoThumbnail_4-20230220144053.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/6018e4125fece30c81bbadd7/comp_object-20230209072240.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.comp_prize = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5e40ead67b00415c6de27718/comp_object_prize-20200214092233.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.mob_comp_btn_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/comp_object-20230209072245.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 = true; // type=boolean
vars.options.address_enabled = true; // type=boolean
vars.options.address_lines_enabled = false; // type=boolean
vars.options.state_enabled = false; // type=boolean
vars.options.city_enabled = false; // type=boolean
vars.options.zip_code_enabled = true; // type=boolean
vars.options.address_country_enabled = false; // type=boolean
vars.options.comp_disable_emails = false; // 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('10.19');// type=string
vars.options.comp_hotspot_1_atv = decodeSingleQuoteSafeString('8.58');// type=string
vars.options.comp_hotspot_1_scale = decodeSingleQuoteSafeString('0.015');// 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** font-size:25px; text-transform:uppercase; font-weight:700;**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(featuresBtn_nextY, 110 ); **u000d****u000a** **u000d****u000a** if(device.mobile == true,**u000d****u000a** set(plugin[shareBtn].css, font-size:50px; margin:0px; color:#ffffff );**u000d****u000a** set(plugin[shareBtn].width,60);**u000d****u000a** txtadd(plugin[fancam_title_text].css, get("data[header-title-style-mobi].content") , get(main_font) , get(header_txt_color) );**u000d****u000a** set(plugin[brand_logo].y,20);**u000d****u000a** set(plugin[fancam_title_text].visible,false);**u000d****u000a** txtadd(plugin[comp_title].css, get("data[new-main-title-text-for-mobi].content") , get(main_font) , get(title_txt_color) );**u000d****u000a** ,**u000d****u000a** set(plugin[shareBtn].css, font-size:26px; margin:0px; color:#ffffff );**u000d****u000a** set(plugin[shareBtn].width,50);**u000d****u000a** txtadd(plugin[fancam_title_text].css, get("data[header-title-style].content") , get(main_font) , get(header_txt_color) );**u000d****u000a** set(plugin[fancam_title_text].visible,true);**u000d****u000a** txtadd(plugin[comp_title].css, get("data[title-txt-style].content") , get(main_font) , get(title_txt_color) );**u000d****u000a** set(plugin[fancam_title_text].x,50);**u000d****u000a** );**u000d****u000a****u000d****u000a** if(options.share_view_enabled == true,**u000d****u000a** set(plugin[shareBtn].align,topleft);**u000d****u000a** set(plugin[shareBtn].y,0); **u000d****u000a** );**u000d****u000a****u000d****u000a** **u000d****u000a** addplugin(top_banner);**u000d****u000a** set(plugin[top_banner].url, "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/620b3c571b5c0f0c82af8f81/Top_Banner-20220215062103.png?v=%$NOCACHE%");**u000d****u000a** set(plugin[top_banner].parent,plugin[header_container] );**u000d****u000a** set(plugin[top_banner].zorder,1);**u000d****u000a** set(plugin[top_banner].align,top);**u000d****u000a** set(plugin[top_banner].x,0);**u000d****u000a** set(plugin[top_banner].y,0);**u000d****u000a** set(plugin[top_banner].enabled,false);**u000d****u000a** set(plugin[top_banner].handcursor,false);**u000d****u000a** set(plugin[top_banner].scale,1);**u000d****u000a** set(plugin[top_banner].height,100%);**u000d****u000a** **u000d****u000a** if(device.mobile == true,**u000d****u000a** set(plugin[top_banner].width,600%);**u000d****u000a** ,**u000d****u000a** set(plugin[top_banner].width,200%);**u000d****u000a** );**u000d****u000a** set(plugin[top_banner].alpha,1);**u000d****u000a** set(plugin[top_banner].visible,true);**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a** **u000d****u000a****u000d****u000a** set(plugin[menuBtn].align,topright);**u000d****u000a** set(plugin[menuBtn].visible,true); **u000d****u000a****u000d****u000a** set(plugin[btn_hide_menu].visible,true);**u000d****u000a****u000d****u000a** set(layer[menuScrollarea_base].align, topright);**u000d****u000a** set(layer[menuScrollarea_base].zorder, 10);**u000d****u000a** set(layer[menuScrollarea_base].y, 0); **u000d****u000a** **u000d****u000a****u000d****u000a** set(layer[menuScrollarea_base].bgalpha, 1);**u000d****u000a** **u000d****u000a****u000d****u000a** if(device.mobile, **u000d****u000a** set(plugin[btn_moreFC_menu].backgroundalpha, 1);**u000d****u000a** set(plugin[btn_video_menu].backgroundalpha, 1);**u000d****u000a** set(plugin[btn_ecard_menu].backgroundalpha, 1);**u000d****u000a** set(plugin[btn_comp_menu].backgroundalpha, 1);**u000d****u000a** set(plugin[btn_scene_switcher_menu].backgroundalpha, 1);**u000d****u000a** set(plugin[btn_remove_tag_menu].backgroundalpha, 1);**u000d****u000a** set(plugin[btn_terms_conditions_menu].backgroundalpha, 1);**u000d****u000a** ); **u000d****u000a****u000d****u000a****u000d****u000a** set(plugin[shareBtn].align,left);**u000d****u000a** set(plugin[shareBtn].parent, header_container);**u000d****u000a** set(plugin[shareBtn].height, get(plugin[header_black_strip].height));**u000d****u000a** set(plugin[shareBtn].onover, set(plugin[shareBtn].css, font-size:24px; margin:0px; color:#ffffff ); );**u000d****u000a** set(plugin[shareBtn].onout, set(plugin[shareBtn].css, font-size:26px; margin:0px; color:#ffffff ); );**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a** if(options.side_banner_enabled == true,**u000d****u000a****u000d****u000a** set(plugin[btn_side_banner_menu].enabled,false);**u000d****u000a** set(plugin[btn_side_banner_menu].onclick, removeActiveActions(); openCompetition(); **u000d****u000a** js(xml_log(competition,brand-interface-opened,,1)); );**u000d****u000a****u000d****u000a** set(plugin[compMap_object_1].bgcolor, 0xef4135);**u000d****u000a****u000d****u000a** if(device.mobile == 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** ,**u000d****u000a** set(plugin[btn_side_banner_menu].y,185);**u000d****u000a** set(plugin[btn_side_banner_menu].height,175);**u000d****u000a** set(plugin[btn_remove_tag_menu].y,365);**u000d****u000a** set(plugin[btn_terms_conditions_menu].y,426);**u000d****u000a** );**u000d****u000a** ,**u000d****u000a****u000d****u000a** );**u000d****u000a****u000d****u000a** set(plugin[side_banner_button_image].enabled,false);**u000d****u000a** set(plugin[side_banner_button_image].onclick, openCompetition(); xml_log(competition, comp-popup-called, ); ); **u000d****u000a****u000d****u000a****u000d****u000a** removeplugin(competition_btn_icon);**u000d****u000a** removeplugin(competition_btn);**u000d****u000a** removeplugin(mob_comp_btn);**u000d****u000a** removeplugin(mob_comp_btn_image);**u000d****u000a** removeplugin(mob_comp_btn_txt);**u000d****u000a** removeplugin(competition_btn);**u000d****u000a** removeplugin(comp_button_icon);**u000d****u000a** removeplugin(comp_trophy_icon);**u000d****u000a** removeplugin(fancam_title_text);**u000d****u000a** removeplugin(videoBooth_btn);**u000d****u000a** removeplugin(videoBooth_btn_icon);**u000d****u000a** removeplugin(btn_video_menu);**u000d****u000a****u000d****u000a** **u000d****u000a****u000d****u000a** removeplugin(fullScreenBtn);**u000d****u000a** removeplugin(competition_btn);**u000d****u000a** removeplugin(btn_comp_menu);**u000d****u000a** **u000d****u000a** **u000d****u000a** **u000d****u000a** **u000d****u000a**
**u000d****u000a** **u000d****u000a**if (options.wally_comp_enabled == true,**u000d****u000a** set(plugin[comp_button_icon].x,240);**u000d****u000a** set(plugin[side_banner_button_image].y,170);**u000d****u000a** set(plugin[mob_comp_btn].width, 110);**u000d****u000a** **u000d****u000a** set(plugin[mob_comp_btn].backgroundcolor, 0xef4135);**u000d****u000a** set(plugin[mob_comp_btn].backgroundalpha, 1);**u000d****u000a** set(plugin[mob_comp_btn].border, false);**u000d****u000a** set(plugin[mob_comp_btn].borderwidth, 2);**u000d****u000a** set(plugin[mob_comp_btn].bordercolor, 0xffffff);**u000d****u000a** set(plugin[mob_comp_btn].roundedge, 8);**u000d****u000a** set(plugin[mob_comp_btn].onover, set(plugin[mob_comp_btn].backgroundcolor,0x000000);**u000d****u000a** set(plugin[mob_comp_btn].border, true); );**u000d****u000a** set(plugin[mob_comp_btn].onout, set(plugin[mob_comp_btn].backgroundcolor, 0xef4135);**u000d****u000a** set(plugin[mob_comp_btn].border, false););**u000d****u000a** set(plugin[mob_comp_btn].ondown, hit(););**u000d****u000a****u000d****u000a** set(layer[comp_button_icon].bordercolor, 0xffffff);**u000d****u000a** set(layer[comp_button_icon].borderalpha,1);**u000d****u000a** set(layer[comp_button_icon].border, false);**u000d****u000a** set(layer[comp_button_icon].background, true);**u000d****u000a** set(layer[comp_button_icon].backgroundcolor, 0xef4135);**u000d****u000a** set(layer[comp_button_icon].backgroundalpha, 1);**u000d****u000a** set(layer[comp_button_icon].roundedge, 8);**u000d****u000a** set(layer[comp_button_icon].onover, set(layer[comp_button_icon].backgroundcolor, 0x000000);**u000d****u000a** set(layer[comp_button_icon].border, true); );**u000d****u000a** set(layer[comp_button_icon].onout, set(layer[comp_button_icon].backgroundcolor, 0xef4135); **u000d****u000a** set(layer[comp_button_icon].border, false););**u000d****u000a** ,**u000d****u000a**);**u000d****u000a** **u000d****u000a** **u000d****u000a****u000d****u000a** **u000d****u000a****u000d****u000a**
**u000d****u000a** addplugin(load_menu);**u000d****u000a** set(plugin[load_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** txtadd(plugin[load_menu].html, [div style="text-align:center;"][div class="fa fa-bars"][/div][/div] ); **u000d****u000a** if(device.mobile == true, **u000d****u000a** txtadd(plugin[load_menu].css, get("data[icon-btn-mobi].content") , get(header_icon_color) );**u000d****u000a** set(plugin[load_menu].width,100);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[load_menu].css, get("data[icon-btn].content") , get(header_icon_color) );**u000d****u000a** set(plugin[load_menu].width,70);**u000d****u000a** );**u000d****u000a** set(plugin[load_menu].parent, header_container);**u000d****u000a** set(plugin[load_menu].padding,"0 0 0 0");**u000d****u000a** set(plugin[load_menu].align,right);**u000d****u000a** set(plugin[load_menu].zorder,5);**u000d****u000a** set(plugin[load_menu].x,0);**u000d****u000a** set(plugin[load_menu].y,0);**u000d****u000a** set(plugin[load_menu].enabled,true);**u000d****u000a** set(plugin[load_menu].alpha,1);**u000d****u000a** set(plugin[load_menu].scale,1);**u000d****u000a** set(plugin[load_menu].height, get(plugin[header_container].height) );**u000d****u000a** set(plugin[load_menu].vcenter,true);**u000d****u000a** set(plugin[load_menu].background, false);**u000d****u000a** set(plugin[load_menu].backgroundcolor, 0x0839c);**u000d****u000a** set(plugin[load_menu].backgroundalpha, 1);**u000d****u000a** set(plugin[load_menu].border, false);**u000d****u000a** set(plugin[load_menu].borderwidth, 0);**u000d****u000a** set(plugin[load_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[load_menu].borderalpha, 0);**u000d****u000a** set(plugin[load_menu].roundedge, 0);**u000d****u000a** set(plugin[load_menu].visible,true);**u000d****u000a** set(plugin[load_menu].onover, txtadd(plugin[load_menu].css, get("data[icon-btn-hover].content") , get(header_icon_color) );**u000d****u000a** );**u000d****u000a** set(plugin[load_menu].onout, txtadd(plugin[load_menu].css, get("data[icon-btn].content") , get(header_icon_color) ); **u000d****u000a** );**u000d****u000a** set(plugin[load_menu].ondown, hit(); );**u000d****u000a** set(plugin[load_menu].onclick, removeActiveActions(); **u000d****u000a** showMenu();**u000d****u000a** );**u000d****u000a** **u000d****u000a** set(layer[menuScrollarea_base].align, topright);**u000d****u000a** **u000d****u000a** **u000d****u000a****u000d****u000a** **u000d****u000a**
**u000d****u000a** trace(**u0027**showTaggingInterface_new**u0027**);**u000d****u000a****u000d****u000a** set(plugin[moreFCsList].visible,true);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** trace(**u0027**hideTaggingInterface_NEW**u0027**);**u000d****u000a****u000d****u000a** set(plugin[moreFCsList].visible,false);**u000d****u000a****u000d****u000a****u000d****u000a** **u000d****u000a**
**u000d****u000a****u000d****u000a** if(tutSlide3 == true,**u000d****u000a****u000d****u000a** if(options.share_view_enabled == true,**u000d****u000a** set(plugin[shareBtn].align,topleft);**u000d****u000a** set(plugin[shareBtn].y,25); **u000d****u000a** );**u000d****u000a****u000d****u000a** set(plugin[menuBtn].align,topright);**u000d****u000a** if(device.mobile, set(plugin[menuBtn].y,0); , set(plugin[menuBtn].y,0); );**u000d****u000a****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** 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** set(plugin[title_tut_shareUsing].width, 250 ); **u000d****u000a****u000d****u000a** );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** loadInterfaceUpdates();**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** addplugin(player_popup_base);**u000d****u000a** set(plugin[player_popup_base].type, container);**u000d****u000a** set(plugin[player_popup_base].zorder, 999999);**u000d****u000a** set(plugin[player_popup_base].align, center);**u000d****u000a** set(plugin[player_popup_base].width, 100%);**u000d****u000a** set(plugin[player_popup_base].height, 100%);**u000d****u000a** set(plugin[player_popup_base].bgcolor, 0x000000);**u000d****u000a** set(plugin[player_popup_base].bgalpha, 0.5);**u000d****u000a** set(plugin[player_popup_base].bgcapture, true);**u000d****u000a** set(plugin[player_popup_base].handcursor, true);**u000d****u000a** set(plugin[player_popup_base].alpha, 1);**u000d****u000a** set(plugin[player_popup_base].maskchildren, true);**u000d****u000a** set(plugin[player_popup_base].enable, true);**u000d****u000a** set(plugin[player_popup_base].visible, false);**u000d****u000a** set(plugin[player_popup_base].onclick, closeNascarPopup(););**u000d****u000a****u000d****u000a** addplugin(player_popup_frame_img);**u000d****u000a** set(plugin[player_popup_frame_img].parent,player_popup_base);**u000d****u000a** set(plugin[player_popup_frame_img].url,**u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/banner-popup-20230209074031.jpg?v=%$NOCACHE%**u0027**);**u000d****u000a** set(plugin[player_popup_frame_img].zorder,100);**u000d****u000a** set(plugin[player_popup_frame_img].align,center);**u000d****u000a** set(plugin[player_popup_frame_img].x,0);**u000d****u000a** set(plugin[player_popup_frame_img].y,0);**u000d****u000a** set(plugin[player_popup_frame_img].enabled,true);**u000d****u000a** set(plugin[player_popup_frame_img].alpha,0);**u000d****u000a** if(device.mobile, set(plugin[player_popup_frame_img].scale,1);**u000d****u000a** ,**u000d****u000a** set(plugin[player_popup_frame_img].scale,0.8);**u000d****u000a** );**u000d****u000a** set(plugin[player_popup_frame_img].visible,true);**u000d****u000a** set(plugin[player_popup_frame_img].onclick, closeNascarPopup();**u000d****u000a** xml_log(comp, banner-popup-closed ); );**u000d****u000a****u000d****u000a** addplugin(player_popup_frame_img_one);**u000d****u000a** set(plugin[player_popup_frame_img_one].parent,player_popup_base);**u000d****u000a** set(plugin[player_popup_frame_img_one].url,**u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/pop-up_1-20230220054329.jpg?v=996**u0027**);**u000d****u000a** set(plugin[player_popup_frame_img_one].zorder,100);**u000d****u000a** set(plugin[player_popup_frame_img_one].align,center);**u000d****u000a** set(plugin[player_popup_frame_img_one].x,0);**u000d****u000a** set(plugin[player_popup_frame_img_one].y,0);**u000d****u000a** set(plugin[player_popup_frame_img_one].enabled,true);**u000d****u000a** set(plugin[player_popup_frame_img_one].alpha,0);**u000d****u000a** if(device.mobile, set(plugin[player_popup_frame_img_one].scale,1);**u000d****u000a** ,**u000d****u000a** set(plugin[player_popup_frame_img_one].scale,0.8);**u000d****u000a** );**u000d****u000a** set(plugin[player_popup_frame_img_one].visible,true);**u000d****u000a** set(plugin[player_popup_frame_img_one].onclick, closeNascarPopup();**u000d****u000a** xml_log(comp, banner-popup-closed ); );**u000d****u000a****u000d****u000a** addplugin(player_popup_frame_img_two);**u000d****u000a** set(plugin[player_popup_frame_img_two].parent,player_popup_base);**u000d****u000a** set(plugin[player_popup_frame_img_two].url,**u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/pop-up_2-20230220054351.jpg?v=996**u0027**);**u000d****u000a** set(plugin[player_popup_frame_img_two].zorder,100);**u000d****u000a** set(plugin[player_popup_frame_img_two].align,center);**u000d****u000a** set(plugin[player_popup_frame_img_two].x,0);**u000d****u000a** set(plugin[player_popup_frame_img_two].y,0);**u000d****u000a** set(plugin[player_popup_frame_img_two].enabled,true);**u000d****u000a** set(plugin[player_popup_frame_img_two].alpha,0);**u000d****u000a** if(device.mobile, set(plugin[player_popup_frame_img_two].scale,1);**u000d****u000a** ,**u000d****u000a** set(plugin[player_popup_frame_img_two].scale,0.8);**u000d****u000a** );**u000d****u000a** set(plugin[player_popup_frame_img_two].visible,true);**u000d****u000a** set(plugin[player_popup_frame_img_two].onclick, closeNascarPopup();**u000d****u000a** xml_log(comp, banner-popup-closed ); );**u000d****u000a****u000d****u000a** addplugin(player_popup_frame_img_three);**u000d****u000a** set(plugin[player_popup_frame_img_three].parent,player_popup_base);**u000d****u000a** set(plugin[player_popup_frame_img_three].url,**u0027**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/pop-up_3-20230220054425.jpg?v=996**u0027**);**u000d****u000a** set(plugin[player_popup_frame_img_three].zorder,100);**u000d****u000a** set(plugin[player_popup_frame_img_three].align,center);**u000d****u000a** set(plugin[player_popup_frame_img_three].x,0);**u000d****u000a** set(plugin[player_popup_frame_img_three].y,0);**u000d****u000a** set(plugin[player_popup_frame_img_three].enabled,true);**u000d****u000a** set(plugin[player_popup_frame_img_three].alpha,0);**u000d****u000a** if(device.mobile, set(plugin[player_popup_frame_img_three].scale,1);**u000d****u000a** ,**u000d****u000a** set(plugin[player_popup_frame_img_three].scale,0.8);**u000d****u000a** );**u000d****u000a** set(plugin[player_popup_frame_img_three].visible,true);**u000d****u000a** set(plugin[player_popup_frame_img_three].onclick, closeNascarPopup();**u000d****u000a** xml_log(comp, banner-popup-closed ); );**u000d****u000a****u000d****u000a** addplugin(player_popup__close);**u000d****u000a** set(plugin[player_popup__close].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** if(device.mobile, txtadd(plugin[player_popup__close].css, get("data[cancel-style-mobi].content") , get(btn_close_color) );**u000d****u000a** set(plugin[player_popup__close].html, [div style="text-align:center; font-size:40px; color:#ffffff;"][div class="fa fa-times"][/div][/div] ); **u000d****u000a** set(plugin[player_popup__close].width,80);**u000d****u000a** set(plugin[player_popup__close].height,80);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[player_popup__close].css, get("data[cancel-style].content") , get(btn_close_color) );**u000d****u000a** set(plugin[player_popup__close].html, [div style="text-align:center; font-size:30px; color:#ffffff;"][div class="fa fa-times"][/div][/div] ); **u000d****u000a** set(plugin[player_popup__close].width,50);**u000d****u000a** set(plugin[player_popup__close].height,50); **u000d****u000a** );**u000d****u000a** set(plugin[player_popup__close].parent, player_popup_frame_img);**u000d****u000a** set(plugin[player_popup__close].padding,"0 0 0 0");**u000d****u000a** set(plugin[player_popup__close].align,topright);**u000d****u000a** set(plugin[player_popup__close].zorder,999999);**u000d****u000a** set(plugin[player_popup__close].enabled,true);**u000d****u000a** set(plugin[player_popup__close].x,0);**u000d****u000a** set(plugin[player_popup__close].y,0);**u000d****u000a** set(plugin[player_popup__close].alpha,1);**u000d****u000a** set(plugin[player_popup__close].scale,1);**u000d****u000a** set(plugin[player_popup__close].vcenter,true);**u000d****u000a** set(plugin[player_popup__close].background, false);**u000d****u000a** set(plugin[player_popup__close].border, false);**u000d****u000a** set(plugin[player_popup__close].visible,true);**u000d****u000a** set(plugin[player_popup__close].onover, );**u000d****u000a** set(plugin[player_popup__close].onout, );**u000d****u000a** set(plugin[player_popup__close].ondown, hit(); );**u000d****u000a** set(plugin[player_popup__close].onclick, closeNascarPopup(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[player_popup_base].visible, false);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[player_popup_base].visible, true);**u000d****u000a** set(plugin[player_popup_frame_img].alpha,1);**u000d****u000a** set(plugin[player_popup_frame_img_one].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_two].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_three].alpha,0);**u000d****u000a** set(plugin[player_popup__close].parent, player_popup_frame_img);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[player_popup_base].visible, true);**u000d****u000a** set(plugin[player_popup_frame_img].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_one].alpha,1);**u000d****u000a** set(plugin[player_popup_frame_img_two].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_three].alpha,0);**u000d****u000a** set(plugin[player_popup__close].parent, player_popup_frame_img_one);**u000d****u000a****u000d****u000a** delayedcall(4, closeNascarPopup(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[player_popup_base].visible, true);**u000d****u000a** set(plugin[player_popup_frame_img].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_one].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_two].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_three].alpha,1);**u000d****u000a** set(plugin[player_popup__close].parent, player_popup_frame_img_three);**u000d****u000a****u000d****u000a** delayedcall(4, closeNascarPopup(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[player_popup_base].visible, true);**u000d****u000a** set(plugin[player_popup_frame_img].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_one].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_two].alpha,1);**u000d****u000a** set(plugin[player_popup_frame_img_three].alpha,0);**u000d****u000a** set(plugin[player_popup__close].parent, player_popup_frame_img_two);**u000d****u000a****u000d****u000a** delayedcall(4, closeNascarPopup(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[player_popup_base].visible, true);**u000d****u000a** set(plugin[player_popup_frame_img].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_one].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_two].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_three].alpha,1);**u000d****u000a** set(plugin[player_popup__close].parent, player_popup_frame_img_three);**u000d****u000a****u000d****u000a** delayedcall(4, closeNascarPopup(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[player_popup_base].visible, true);**u000d****u000a** set(plugin[player_popup_frame_img].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_one].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_two].alpha,1);**u000d****u000a** set(plugin[player_popup_frame_img_three].alpha,0);**u000d****u000a** set(plugin[player_popup__close].parent, player_popup_frame_img_two);**u000d****u000a****u000d****u000a** delayedcall(4, closeNascarPopup(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[player_popup_base].visible, true);**u000d****u000a** set(plugin[player_popup_frame_img].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_one].alpha,1);**u000d****u000a** set(plugin[player_popup_frame_img_two].alpha,0);**u000d****u000a** set(plugin[player_popup_frame_img_three].alpha,0);**u000d****u000a** set(plugin[player_popup__close].parent, player_popup_frame_img_one);**u000d****u000a****u000d****u000a** delayedcall(4, closeNascarPopup(); );**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** js(CompDetailsPopup.show( , simpleCompFindDummyTreasure)); **u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** xml_log(competition, entry-popup-openned, ); **u000d****u000a** js(fc.treasures.foundTreasure(**u0027**defualt**u0027**, 1 , compWelcomeBackMessage, , get(options.comp_disable_emails) )); **u000d****u000a** **u000d****u000a****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**https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5eaedd67f250e26bc9036a4b/black-block-20200504090003.jpg?v=528**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,true);**u000d****u000a** set(hotspot[%1].distorted,true);**u000d****u000a** set(hotspot[%1].visible,true);**u000d****u000a** set(hotspot[%1].alpha,0);**u000d****u000a** set(hotspot[%1].zoom,true);**u000d****u000a** set(hotspot[%1].onclick, %7);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** **u000d****u000a****u000d****u000a** **u000d****u000a** loadBlackHotspotsMain(**u0027**hidden_player_popup_link_one**u0027**, -82.01, 2.4, 2.5, 7, 0, **u0027**removeActiveActions(); openVideoBooth_Cindric(); xml_log(videobooth, Cindric_video_openned);;**u0027**);**u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**hidden_player_popup_link_two**u0027**, -69.25, 3.2, 2.5, 5.5, 0, **u0027**removeActiveActions(); openVideoBooth_Keselowski(); xml_log(videobooth, Keselowski_video_openned);**u0027**);**u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**hidden_player_popup_link_three**u0027**, -2.35, 10.5, 6, 10, 0, **u0027**removeActiveActions(); openVideoBooth_Kelleher(); xml_log(video-booth, Kelleher_video_openned);**u0027**);**u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**hidden_player_popup_link_four**u0027**, -60.03, 4.52, 2.4, 4, 0, **u0027**removeActiveActions(); openVideoBooth_Blaney(); xml_log(videobooth, Blaney_video_openned);**u0027**);**u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**hidden_player_popup_link_five**u0027**, -101.62, 3.22, 2.5, 5.5, 0, **u0027**removeActiveActions(); openVideoBooth_Reddick(); xml_log(videobooth, Riddick_video_openned);**u0027**);**u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**hidden_player_popup_link_six**u0027**, -76.22, -0.49, 2.5, 4.2, 0, **u0027**removeActiveActions(); openVideoBooth_Bubba(); xml_log(videobooth, Bubba_video_openned);**u0027**);**u000d****u000a****u000d****u000a****u000d****u000a** **u000d****u000a** **u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**thunderbird_popup_link_one**u0027**, 92.1, -10.2, 16, 7, 0, **u0027**removeActiveActions(); openVideoBooth_Thunderbirds(); xml_log(videobooth, thunderbird_videobooth_openned);**u0027**);**u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**thunderbird_popup_link_two**u0027**, 79.6, -11.6, 15, 18, 0, **u0027**removeActiveActions(); openVideoBooth_Thunderbirds(); xml_log(videobooth, thunderbird_videobooth_openned);**u0027**);**u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**thunderbird_popup_link_three**u0027**, 85.88, -17.7, 13, 16, 0, **u0027**removeActiveActions(); openVideoBooth_Thunderbirds(); xml_log(videobooth, thunderbird_videobooth_openned);**u0027**);**u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**thunderbird_popup_link_four**u0027**, 92.4, -21.5, 16, 16, 0, **u0027**removeActiveActions(); openVideoBooth_Thunderbirds(); xml_log(videobooth, thunderbird_videobooth_openned);**u0027**);**u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**thunderbird_popup_link_five**u0027**, 100.1, -16, 14, 14, 0, **u0027**removeActiveActions(); openVideoBooth_Thunderbirds(); xml_log(videobooth, thunderbird_videobooth_openned);**u0027**);**u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**thunderbird_popup_link_six**u0027**, 102.1, -10.6, 14, 17, 0, **u0027**removeActiveActions(); openVideoBooth_Thunderbirds(); xml_log(videobooth, thunderbird_videobooth_openned);**u0027**);**u000d****u000a****u000d****u000a****u000d****u000a** **u000d****u000a** loadBlackHotspotsMain(**u0027**sponsor_logos_popup_one**u0027**, -15.96, 6.3, 29, 7, 0, **u0027**removeActiveActions(); showSponsorLogoPopupAdventHealth(); xml_log(sponsorLogo, AdventHealth_popup_openned);**u0027**); **u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**sponsor_logos_popup_two**u0027**, 136.15, 1.78, 2.4, 2, 0, **u0027**removeActiveActions(); showSponsorLogoPopupAxalta(); xml_log(sponsorLogo, Axalta_popup_openned);**u0027**);**u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**sponsor_logos_popup_three**u0027**, -103.1, 8.2, 20, 11, 0, **u0027**removeActiveActions(); showSponsorLogoPopupChevrolet(); xml_log(sponsorLogo, Chevrolet_popup_openned);**u0027**); **u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**sponsor_logos_popup_four**u0027**, -174.65, -0.5, 4, 3, 0, **u0027**removeActiveActions(); showSponsorLogoPopupSunoco(); xml_log(sponsorLogo, Sunoco_popup_openned);**u0027**); **u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**sponsor_logos_popup_five**u0027**, -56.5, -1.95, 9, 2.5, 0, **u0027**removeActiveActions(); showSponsorLogoPopupToyota(); xml_log(sponsorLogo, Toyota_popup_openned);**u0027**); **u000d****u000a****u000d****u000a** loadBlackHotspotsMain(**u0027**sponsor_logos_popup_six**u0027**, -67.72, 8, 21, 11, 0, **u0027**removeActiveActions(); showSponsorLogoPopupFox(); xml_log(sponsorLogo, Fox_popup_openned);**u0027**); **u000d****u000a****u000d****u000a****u000d****u000a** **u000d****u000a** loadBlackHotspotsMain(**u0027**hidden_trophy_hotspot**u0027**, -2.53, 7.6, 14, 12, 0, **u0027**removeActiveActions(); simpleCompGetUserDetails(); xml_log(competition, comp-popup-called,); **u0027**);**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a****u000d****u000a** tween(plugin[videoContainer].y, -500, 0.3);**u000d****u000a** tween(plugin[videoContainer].alpha, 0, 0.3);**u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0 , 0.3 , default , set(plugin[video_scrollarea_base].visible, false); );**u000d****u000a****u000d****u000a** webvideo_stop();**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a****u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0.5 , 0.3);**u000d****u000a** set(plugin[video_scrollarea_base].visible, true);**u000d****u000a****u000d****u000a** set(plugin[videoScrollarea_base].visible,true);**u000d****u000a** set(plugin[video_arrow_right].visible,true);**u000d****u000a** set(plugin[video_arrow_left].visible,true);**u000d****u000a** set(plugin[video_counter].visible,true);**u000d****u000a****u000d****u000a** if(device.mobile == true, set(plugin[videoContainer].height, 710);**u000d****u000a** ,**u000d****u000a** set(plugin[videoContainer].height, 620);**u000d****u000a** );**u000d****u000a****u000d****u000a** delayedcall(0.1, tween(plugin[videoContainer].y, -50 , 0.3); **u000d****u000a** tween(plugin[videoContainer].alpha, 1 , 0.3);**u000d****u000a** );**u000d****u000a****u000d****u000a** setup_video1();**u000d****u000a****u000d****u000a** set(plugin[video_arrow_left].visible,false);**u000d****u000a****u000d****u000a** videoScrollX();**u000d****u000a****u000d****u000a** xml_log(video-booth, interface-opened , , );**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0.5 , 0.3);**u000d****u000a** set(plugin[video_scrollarea_base].visible, true);**u000d****u000a****u000d****u000a** set(plugin[videoScrollarea_base].visible,false);**u000d****u000a** set(plugin[video_arrow_right].visible,false);**u000d****u000a** set(plugin[video_arrow_left].visible,false);**u000d****u000a** set(plugin[video_counter].visible,false);**u000d****u000a****u000d****u000a** if(device.mobile == true, set(plugin[videoContainer].height, 610);**u000d****u000a** ,**u000d****u000a** set(plugin[videoContainer].height, 520);**u000d****u000a** );**u000d****u000a****u000d****u000a** delayedcall(0.1, tween(plugin[videoContainer].y, -50 , 0.3); **u000d****u000a** tween(plugin[videoContainer].alpha, 1 , 0.3);**u000d****u000a** );**u000d****u000a****u000d****u000a** setup_video_Cindric();**u000d****u000a** videoScrollX();**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** **u000d****u000a** webvideo_open(eighteen, **u0027**lmAWyxWINZ4**u0027**);**u000d****u000a** set(plugin[video_title].html, [div style="text-align:left;"] Austin Cindric[/div]);**u000d****u000a** set(plugin[video_subtitle].html,[div style="text-align:left;"] [/div]);**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0.5 , 0.3);**u000d****u000a** set(plugin[video_scrollarea_base].visible, true);**u000d****u000a****u000d****u000a** set(plugin[videoScrollarea_base].visible,false);**u000d****u000a** set(plugin[video_arrow_right].visible,false);**u000d****u000a** set(plugin[video_arrow_left].visible,false);**u000d****u000a** set(plugin[video_counter].visible,false);**u000d****u000a****u000d****u000a** if(device.mobile == true, set(plugin[videoContainer].height, 610);**u000d****u000a** ,**u000d****u000a** set(plugin[videoContainer].height, 520);**u000d****u000a** );**u000d****u000a****u000d****u000a** delayedcall(0.1, tween(plugin[videoContainer].y, -50 , 0.3); **u000d****u000a** tween(plugin[videoContainer].alpha, 1 , 0.3);**u000d****u000a** );**u000d****u000a****u000d****u000a** setup_video_Keselowski();**u000d****u000a** videoScrollX();**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** **u000d****u000a** webvideo_open(thirteen, **u0027**PF8T3b3Y5PE**u0027**);**u000d****u000a** set(plugin[video_title].html, [div style="text-align:left;"] Brad Keselowski [/div]);**u000d****u000a** set(plugin[video_subtitle].html,[div style="text-align:left;"] [/div]);**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0.5 , 0.3);**u000d****u000a** set(plugin[video_scrollarea_base].visible, true);**u000d****u000a****u000d****u000a** set(plugin[videoScrollarea_base].visible,false);**u000d****u000a** set(plugin[video_arrow_right].visible,false);**u000d****u000a** set(plugin[video_arrow_left].visible,false);**u000d****u000a** set(plugin[video_counter].visible,false);**u000d****u000a****u000d****u000a** if(device.mobile == true, set(plugin[videoContainer].height, 610);**u000d****u000a** ,**u000d****u000a** set(plugin[videoContainer].height, 520);**u000d****u000a** );**u000d****u000a****u000d****u000a** delayedcall(0.1, tween(plugin[videoContainer].y, -50 , 0.3); **u000d****u000a** tween(plugin[videoContainer].alpha, 1 , 0.3);**u000d****u000a** );**u000d****u000a****u000d****u000a** setup_video_Kelleher();**u000d****u000a** videoScrollX();**u000d****u000a** **u000d****u000a****u000d****u000a**
**u000d****u000a** **u000d****u000a** webvideo_open(five, **u0027**5Dt7Y3pRyuo**u0027**);**u000d****u000a** set(plugin[video_title].html, [div style="text-align:left;"] Frank Kelleher [/div]);**u000d****u000a** set(plugin[video_subtitle].html,[div style="text-align:left;"] [/div]);**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0.5 , 0.3);**u000d****u000a** set(plugin[video_scrollarea_base].visible, true);**u000d****u000a****u000d****u000a** set(plugin[videoScrollarea_base].visible,false);**u000d****u000a** set(plugin[video_arrow_right].visible,false);**u000d****u000a** set(plugin[video_arrow_left].visible,false);**u000d****u000a** set(plugin[video_counter].visible,false);**u000d****u000a****u000d****u000a** if(device.mobile == true, set(plugin[videoContainer].height, 610);**u000d****u000a** ,**u000d****u000a** set(plugin[videoContainer].height, 520);**u000d****u000a** );**u000d****u000a****u000d****u000a** delayedcall(0.1, tween(plugin[videoContainer].y, -50 , 0.3); **u000d****u000a** tween(plugin[videoContainer].alpha, 1 , 0.3);**u000d****u000a** );**u000d****u000a****u000d****u000a** setup_video_Blaney();**u000d****u000a** videoScrollX();**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** **u000d****u000a** webvideo_open(fourtyfour, **u0027**Hxqd9NNxrr4**u0027**);**u000d****u000a** set(plugin[video_title].html, [div style="text-align:left;"] Ryan Blaney[/div]);**u000d****u000a** set(plugin[video_subtitle].html,[div style="text-align:left;"] [/div]);**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0.5 , 0.3);**u000d****u000a** set(plugin[video_scrollarea_base].visible, true);**u000d****u000a****u000d****u000a** set(plugin[videoScrollarea_base].visible,false);**u000d****u000a** set(plugin[video_arrow_right].visible,false);**u000d****u000a** set(plugin[video_arrow_left].visible,false);**u000d****u000a** set(plugin[video_counter].visible,false);**u000d****u000a****u000d****u000a** if(device.mobile == true, set(plugin[videoContainer].height, 610);**u000d****u000a** ,**u000d****u000a** set(plugin[videoContainer].height, 520);**u000d****u000a** );**u000d****u000a****u000d****u000a** delayedcall(0.1, tween(plugin[videoContainer].y, -50 , 0.3); **u000d****u000a** tween(plugin[videoContainer].alpha, 1 , 0.3);**u000d****u000a** );**u000d****u000a****u000d****u000a** setup_video_Reddick();**u000d****u000a** videoScrollX();**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** **u000d****u000a** webvideo_open(eleven, **u0027**ZxFuX-bNr2k**u0027**);**u000d****u000a** set(plugin[video_title].html, [div style="text-align:left;"] Tyler Reddick [/div]);**u000d****u000a** set(plugin[video_subtitle].html,[div style="text-align:left;"] [/div]);**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0.5 , 0.3);**u000d****u000a** set(plugin[video_scrollarea_base].visible, true);**u000d****u000a****u000d****u000a** set(plugin[videoScrollarea_base].visible,false);**u000d****u000a** set(plugin[video_arrow_right].visible,false);**u000d****u000a** set(plugin[video_arrow_left].visible,false);**u000d****u000a** set(plugin[video_counter].visible,false);**u000d****u000a****u000d****u000a** if(device.mobile == true, set(plugin[videoContainer].height, 610);**u000d****u000a** ,**u000d****u000a** set(plugin[videoContainer].height, 520);**u000d****u000a** );**u000d****u000a****u000d****u000a****u000d****u000a** delayedcall(0.1, tween(plugin[videoContainer].y, -50 , 0.3); **u000d****u000a** tween(plugin[videoContainer].alpha, 1 , 0.3);**u000d****u000a** );**u000d****u000a****u000d****u000a** setup_video_Bubba();**u000d****u000a** videoScrollX();**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** **u000d****u000a** webvideo_open(fourtyfour, **u0027**ORqtMsAK1jw**u0027**);**u000d****u000a** set(plugin[video_title].html, [div style="text-align:left;"] Bubba Wallace [/div]);**u000d****u000a** set(plugin[video_subtitle].html,[div style="text-align:left;"] [/div]);**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0.5 , 0.3);**u000d****u000a** set(plugin[video_scrollarea_base].visible, true);**u000d****u000a****u000d****u000a** delayedcall(0.1, tween(plugin[videoContainer].y, -50 , 0.3); **u000d****u000a** tween(plugin[videoContainer].alpha, 1 , 0.3);**u000d****u000a** );**u000d****u000a****u000d****u000a** setup_video_ThunderbirdOne();**u000d****u000a** videoScrollX();**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** **u000d****u000a** webvideo_open(fourtyfour, **u0027**-ZcA2A-ITzM**u0027**);**u000d****u000a** set(plugin[video_title].html, [div style="text-align:left;"] Thunderbird One [/div]);**u000d****u000a** set(plugin[video_subtitle].html,[div style="text-align:left;"] [/div]);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0.5 , 0.3);**u000d****u000a** set(plugin[video_scrollarea_base].visible, true);**u000d****u000a****u000d****u000a** delayedcall(0.1, tween(plugin[videoContainer].y, -50 , 0.3); **u000d****u000a** tween(plugin[videoContainer].alpha, 1 , 0.3);**u000d****u000a** );**u000d****u000a****u000d****u000a** setup_video_ThunderbirdFive();**u000d****u000a** videoScrollX();**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** **u000d****u000a** webvideo_open(fourtyfour, **u0027**TCo7qAgkKM8**u0027**);**u000d****u000a** set(plugin[video_title].html, [div style="text-align:left;"] Thunderbird Five[/div]);**u000d****u000a** set(plugin[video_subtitle].html,[div style="text-align:left;"] [/div]);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0.5 , 0.3);**u000d****u000a** set(plugin[video_scrollarea_base].visible, true);**u000d****u000a****u000d****u000a** delayedcall(0.1, tween(plugin[videoContainer].y, -50 , 0.3); **u000d****u000a** tween(plugin[videoContainer].alpha, 1 , 0.3);**u000d****u000a** );**u000d****u000a****u000d****u000a** setup_video_ThunderbirdSix();**u000d****u000a** videoScrollX();**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** **u000d****u000a** webvideo_open(fourtyfour, **u0027**iT-t1RcgFYI**u0027**);**u000d****u000a** set(plugin[video_title].html, [div style="text-align:left;"] Thunderbird Six [/div]);**u000d****u000a** set(plugin[video_subtitle].html,[div style="text-align:left;"] [/div]);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** tween(plugin[video_scrollarea_base].bgalpha, 0.5 , 0.3);**u000d****u000a** set(plugin[video_scrollarea_base].visible, true);**u000d****u000a****u000d****u000a** delayedcall(0.1, tween(plugin[videoContainer].y, -50 , 0.3); **u000d****u000a** tween(plugin[videoContainer].alpha, 1 , 0.3);**u000d****u000a** );**u000d****u000a****u000d****u000a** setup_video_Diamond();**u000d****u000a** videoScrollX();**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** **u000d****u000a** webvideo_open(fourtyfour, **u0027**gLp6352xt5I**u0027**);**u000d****u000a** set(plugin[video_title].html, [div style="text-align:left;"] Diamond [/div]);**u000d****u000a** set(plugin[video_subtitle].html,[div style="text-align:left;"] [/div]);**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** oninterrupt( showNascarPopup(); );**u000d****u000a** **u000d****u000a** ifnot(initialPos, **u000d****u000a** lookto(-85.479, 1.42, 56.431 ,tween(easeOutInSine,3)); **u000d****u000a** lookto(-85.479, 1.42, 26.4381 ,tween(easeOutInSine,3));**u000d****u000a** ,**u000d****u000a** );**u000d****u000a** **u000d****u000a** showNascarPopup();**u000d****u000a**');// type=string
vars.options.on_scene_loaded_custom_xml = decodeSingleQuoteSafeString('');// type=string
vars.options.on_scene_loaded_end_custom_xml = decodeSingleQuoteSafeString('loadWestViewHotspots();**u000d****u000a**getLookToValues();');// 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('loadInterfaceUpdates();**u000d****u000a**override_tutContainer_update();**u000d****u000a**Ifcompetitionbuttonisenabled();**u000d****u000a**LoadMainMenu();**u000d****u000a****u000d****u000a**loadBlackHotspotsMain();**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**if(device.mobile,**u000d****u000a** showTaggingInterface_new();**u000d****u000a** ,**u000d****u000a** hideTaggingInterface_new();**u000d****u000a**);**u000d****u000a****u000d****u000a**');// type=string
vars.options.on_window_resized_xml = decodeSingleQuoteSafeString('if(device.mobile == true,**u000d****u000a** set(plugin[shareBtn].css, font-size:50px; margin:0px; color:#ffffff );**u000d****u000a** set(plugin[shareBtn].width,60);**u000d****u000a** set(plugin[brand_logo].y,20);**u000d****u000a** set(plugin[fancam_title_text].visible,false);**u000d****u000a** set(plugin[btn_side_banner_menu].visible,true);**u000d****u000a** set(plugin[btn_ecard_menu].y,205);**u000d****u000a** set(layer[btn_side_banner_menu].height, 680);**u000d****u000a** set(layer[btn_side_banner_menu].y, 310);**u000d****u000a** set(plugin[btn_remove_tag_menu].y,991);**u000d****u000a** set(plugin[btn_terms_conditions_menu].y,1092)**u000d****u000a** ,**u000d****u000a** set(plugin[shareBtn].css, font-size:26px; margin:0px; color:#ffffff );**u000d****u000a** set(plugin[shareBtn].width,50);**u000d****u000a** set(plugin[fancam_title_text].x,50);**u000d****u000a** set(plugin[btn_side_banner_menu].visible,false);**u000d****u000a** set(plugin[btn_remove_tag_menu].y,190);**u000d****u000a** set(plugin[btn_terms_conditions_menu].y,251);**u000d****u000a** set(plugin[btn_ecard_menu].y,121);**u000d****u000a** set(layer[devider_banner_menu].visible, false); **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
vars.options.coming_soon_header = "%$THEMEPATH%/assets/img/logo.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.coming_soon_logo = "%$THEMEPATH%/assets/img/logo.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.coming_soon_background = "%$THEMEPATH%/assets/img/logo.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.coming_soon_footer = "%$THEMEPATH%/assets/img/logo.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.signup_captcha_enabled = true; // type=boolean
/* in an application browser (Facebook/Twitter) */
/*
* i18n (international) strings for krpano.
*/
vars.i18n = {};
vars.i18n.en = {};
vars.i18n.en.site_title = decodeSingleQuoteSafeString('2023 Daytona 500 Fancam');// type=string
vars.i18n.en.site_description = decodeSingleQuoteSafeString('Add your digital cutout to the Daytona 500 Fancam!');// type=string
vars.i18n.en.share_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/63e4a09564e0c83dd4a59e78/shareimage-20230222093001.jpg"; // type=image unescaped
vars.i18n.en.site_title_fb = decodeSingleQuoteSafeString('2023 Daytona 500 Fancam');// type=string
vars.i18n.en.site_description_fb = decodeSingleQuoteSafeString('Add your cutout to the Daytona 500 Fancam!');// type=string
vars.i18n.en.site_title_twtr = decodeSingleQuoteSafeString('2023 Daytona 500 Fancam');// type=string
vars.i18n.en.site_description_twtr = decodeSingleQuoteSafeString('Add your cutout to the Daytona 500 Fancam!');// type=string
vars.i18n.en.twtr_tweet_text = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.twtr_tweet_hashtags = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.twtr_handle = decodeSingleQuoteSafeString('#fancam #daytona500');// type=string
vars.i18n.en.share_title_email = decodeSingleQuoteSafeString('2023 Daytona 500 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 Daytona 500 Fancam!');// type=string
vars.i18n.en.string_splash_notify = decodeSingleQuoteSafeString('Signup to get notified when it**u0027**s live!');// type=string
vars.i18n.en.string_splash_success = decodeSingleQuoteSafeString('We have received your email address and will notify you as soon as the fancam goes live.');// 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/6018e4125fece30c81bbadd7/site-loader-20230209072156.gif?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_default_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/ecardShareFrame-20230209072202.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_screen_image = "%$THEMEPATH%/assets/img/sharefancam_frame_en.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_sview_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/ecardShareFrame-20230209072208.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_tview_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/ecardShareFrame-20230209072212.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.ecard_frame = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/ecard_frame-20230209072219.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_ecard_view_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/ecardShareFrame-20230209072222.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.string_tagyourself_button = decodeSingleQuoteSafeString('[div style=**u0027**font-size:27px; text-align:center;**u0027**] TAG[/div] [div style=**u0027**font-size:27px; text-align:center;**u0027**] YOURSELF [/div]');// type=string
vars.i18n.en.string_tagyourself_button_mobile = decodeSingleQuoteSafeString('[div style=**u0027**font-size:40px; text-align:center;**u0027**] TAG[/div] [div style=**u0027**font-size:31px; text-align:center;**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('More Fancams');// 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('MY PROFILE');// 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('MMMM DD, YYYY');// type=string
vars.i18n.en.string_webvrtexts = decodeSingleQuoteSafeString('VR View');// type=string
vars.i18n.en.next_scene_title = decodeSingleQuoteSafeString('VIEW DAYTONA 500 PRE-RACE SHOW');// type=string
vars.i18n.en.previous_scene_title = decodeSingleQuoteSafeString('TRACK 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.coming_soon_header_image_enabled = false; // type=boolean
vars.i18n.en.coming_soon_logo_image_enabled = false; // type=boolean
vars.i18n.en.coming_soon_background_image_enabled = false; // type=boolean
vars.i18n.en.coming_soon_footer_image_enabled = false; // type=boolean
vars.i18n.en.show_close_button_when_live = false; // type=boolean
vars.i18n.en.custom_terms_of_service_enabled = false; // type=boolean
vars.i18n.en.string_terms_of_service = decodeSingleQuoteSafeString('Terms of service');// type=string
vars.i18n.en.string_get_notified_button = decodeSingleQuoteSafeString('Get Notified!');// type=string
vars.i18n.en.string_enter_your_email = decodeSingleQuoteSafeString('Enter your email');// type=string
vars.i18n.en.string_comp = decodeSingleQuoteSafeString('SWEEPSTAKES');// type=string
vars.i18n.en.string_comp_icon_title = decodeSingleQuoteSafeString('FIND[br] ME TO WIN!');// type=string
vars.i18n.en.string_comp_small_icon_title = decodeSingleQuoteSafeString('FIND[br] ME TO WIN!');// type=string
vars.i18n.en.string_comp_header = decodeSingleQuoteSafeString('Find the Harley J. Earl DAYTONA 500 Trophy in the crowd for a chance to win Tickets to the 2024 DAYTONA 500.');// type=string
vars.i18n.en.string_comp_info = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.string_comp_footnote = decodeSingleQuoteSafeString('You can use the tracker that will appear at the bottom of the screen to help you with your search. Click on the Prize 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 the TROPHY 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 found the Harley J. Earl Trophy! [br]Enter your details for a chance to win tickets to the 2024 Daytona 500!');// type=string
vars.i18n.en.string_comp_message_found_first_footnote = decodeSingleQuoteSafeString('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 entered to win tickets [br] to the 2024 Daytona 500.');// type=string
vars.i18n.en.string_comp_message_found_all_footnote = decodeSingleQuoteSafeString('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 have entered to win tickets to the 2024 Daytona 500. The winner will be notified via email.');// type=string
vars.i18n.en.string_comp_message_welcome_header = decodeSingleQuoteSafeString('Congratulations!');// type=string
vars.i18n.en.string_comp_message_welcome_text = decodeSingleQuoteSafeString('You have entered to win tickets to the 2024 Daytona 500. [br][br]The winner will be notified via 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.string_comp_address_header_text = decodeSingleQuoteSafeString('Enter your zipcode');// type=string
vars.i18n.en.string_comp_header_text = decodeSingleQuoteSafeString('Enter your details');// type=string
vars.i18n.en.comp_terms_cond_pdf = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/6018e4125fece30c81bbadd7/DIS_2023+Daytona+500+FanCam+Sweeps-20230209072544.pdf"; // type=image unescaped
vars.i18n.en.title_video1 = decodeSingleQuoteSafeString('Thunderbird Twelve');// type=string
vars.i18n.en.subtitle_video1 = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.title_video2 = decodeSingleQuoteSafeString('Thunderbird Five');// type=string
vars.i18n.en.subtitle_video2 = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.title_video3 = decodeSingleQuoteSafeString('Thunderbird Six');// type=string
vars.i18n.en.subtitle_video3 = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.title_video4 = decodeSingleQuoteSafeString('Diamond');// type=string
vars.i18n.en.subtitle_video4 = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.title_video5 = decodeSingleQuoteSafeString('Title of Video 5');// type=string
vars.i18n.en.subtitle_video5 = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.email_subscription_title = decodeSingleQuoteSafeString('You**u0027**ve successfully signed up.');// type=string
vars.i18n.en.email_subscription_body = decodeSingleQuoteSafeString('We will let you know as soon as it goes live.');// type=string
vars.i18n.en.email_subscription_from_name = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.email_subscription_subject = decodeSingleQuoteSafeString('');// 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('You cannot tag yourself here!');// 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', '/20230219/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:"prefer+webgl",
id:"panoSWFObject",
target:"panoDIV",
xml: "/20230219/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
*/