TODO add more init settings/variables here */
/* post xml parsing vars i.e. get(startscene);*/
var vars = {};
vars.idletime = 2;
vars.currScene = "san-francisco";
vars.projectId = "5e78ace571cb753b69aceaf1";
vars.fancamId = "5e78ace571cb753b69aceaf1"; // backwards compatable
vars.APIPATH = "https://sanfrancisco.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/5e78ace571cb753b69aceaf1";
vars.STARTSCENE = "san-francisco";
vars.NOCACHE = "9058";
vars.RAND = "5699";
vars.visibility = "live";
vars.event = {"keywords":"","featuring":"Budlight","country":"USA","city":"California","venue":"San Francisco","category":"Other","date":"2016-01-26T00:00:00.000Z","shortname":"San Francisco City Cam","name":"San Francisco City Cam","dateSearchable":"26/01/2016 01/26/2016 01-26-2016 2016-01-26 Tuesday 26th January 2016"};
vars.query = {};
vars.query.s = "san-francisco";
/* ---> TODO add more startup settings/variables here */
/* stored options */
vars.options = {};
vars.options.show_splash_onstart = false; // type=boolean
vars.options.show_splash_automatically_hours_before_next_game = decodeSingleQuoteSafeString('48');// type=string
vars.options.more_fancams_enabled = false; // type=boolean
vars.options.share_view_enabled = true; // type=boolean
vars.options.ecard_enabled = false; // type=boolean
vars.options.video_booth_enabled = false; // type=boolean
vars.options.wally_comp_enabled = false; // 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/5e78ace571cb753b69aceaf1/logo-20200325131109.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 = "%$THEMEPATH%/assets/img/side_banner.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/5e78ace571cb753b69aceaf1/ms-icon-310x310-20200323125527.png');// type=favicon
vars.options.favicon_html = decodeSingleQuoteSafeString('
');// type=string
vars.options.email_header_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5e78ace571cb753b69aceaf1/logo-email-20200325131113.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 = "0x0042b0" ;// 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 = "0x139be3" ;// type=color
vars.options.footer_tag_color = "0xffffff" ;// type=color
vars.options.btn_close_color = "0xffffff" ;// type=color
vars.options.btn_close_color_hover = "0xffffff" ;// type=color
vars.options.btn_txt_color = "0xffffff" ;// type=color
vars.options.btn_color = "0x139be3" ;// type=color
vars.options.btn_color_hover = "0x0042b0" ;// type=color
vars.options.btn_color_disabled = "0xf36f20" ;// type=color
vars.options.btn_color_disabled_hover = "0xeea236" ;// type=color
vars.options.splash_btn_txt = "0xea7125" ;// type=color
vars.options.splash_btn_color = "0xf0f0f0" ;// type=color
vars.options.splash_active_color = "0xea7125" ;// type=color
vars.options.splash_btn_txt_hover = "0xffffff" ;// type=color
vars.options.splash_btn_color_hover = "0xea7125" ;// type=color
vars.options.splash_btn_cs_color = "0xea7125" ;// 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 = "0x0042b0" ;// type=color
vars.options.menu_btn_color = "0x0042b0" ;// type=color
vars.options.menu_bg_color = "0x0042b0" ;// type=color
vars.options.menu_close_color = "0xffffff" ;// type=color
vars.options.menu_divider_color = "0x139be3" ;// type=color
vars.options.header_bg_color = "0x0042b0" ;// type=color
vars.options.popup_bg_color = "0x0042b0" ;// type=color
vars.options.popup_txt_color = "0x313131" ;// type=color
vars.options.backdrop_color = "0x000000" ;// type=color
vars.options.tagging_enabled = false; // 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 = false; // type=boolean
vars.options.neutral_tag_image = "%$THEMEPATH%/assets/img/neutral.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('san-francisco, superbowl-city, union-square-north, union-square-south, bud-light-hotel ');// type=string
vars.options.seperate_tags_per_scene = false; // 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 = true; // 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/5e78ace571cb753b69aceaf1/interface-20200323133041.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('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 = 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/5e78ace571cb753b69aceaf1/hotspots2-20200327101718.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.comp_prize = "%$THEMEPATH%/assets/img/comp_prize.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.mob_comp_btn_image = "%$THEMEPATH%/assets/img/comp_prize.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_lines_enabled = false; // type=boolean
vars.options.state_enabled = false; // type=boolean
vars.options.city_enabled = false; // type=boolean
vars.options.zip_code_enabled = false; // 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('-108.48');// type=string
vars.options.comp_hotspot_1_atv = decodeSingleQuoteSafeString('-2.02');// type=string
vars.options.comp_hotspot_1_scale = decodeSingleQuoteSafeString('0.04');// 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** removeplugin(ui_userguide_text);**u000d****u000a** removeplugin(ui_userguide_icon);**u000d****u000a** removeplugin(fancam_title_text);**u000d****u000a** removeplugin(menuBtn);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** if(device.mobile == true,**u000d****u000a** set(plugin[brand_logo].scale,0.7);**u000d****u000a** set(plugin[brand_logo].y,0);**u000d****u000a** set(plugin[webvr_enterBtn].y,0);**u000d****u000a****u000d****u000a** set(layer[other_events_background].width,100%);**u000d****u000a** set(layer[other_events_background].height,100);**u000d****u000a** set(layer[other_events_background].y,100);**u000d****u000a****u000d****u000a** set(layer[other_events_sanfran].css,"text-align:center; color:#149ce1; font-family:helvetica; font-size:19px;");**u000d****u000a** set(layer[other_events_sanfran].width,190);**u000d****u000a** set(layer[other_events_sanfran].height,50);**u000d****u000a** set(layer[other_events_sanfran].x,10);**u000d****u000a****u000d****u000a** set(layer[other_events_superbowlcity].css,"text-align:center; color:#149ce1; font-family:helvetica; font-size:19px;");**u000d****u000a** set(layer[other_events_superbowlcity].width,150);**u000d****u000a** set(layer[other_events_superbowlcity].height,50);**u000d****u000a** set(layer[other_events_superbowlcity].x,415);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare].css,"text-align:center; color:#149ce1; font-family:helvetica; font-size:19px;");**u000d****u000a** set(layer[other_events_unionsquare].width,190);**u000d****u000a** set(layer[other_events_unionsquare].height,50);**u000d****u000a** set(layer[other_events_unionsquare].x,210);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare_other_view].css,"text-align:center; color:#149ce1; font-family:helvetica; font-size:19px;");**u000d****u000a** set(layer[other_events_unionsquare_other_view].width,160);**u000d****u000a** set(layer[other_events_unionsquare_other_view].height,50);**u000d****u000a** set(layer[other_events_unionsquare_other_view].y,100);**u000d****u000a** set(layer[other_events_unionsquare_other_view].x,-70);**u000d****u000a** set(layer[other_events_unionsquare_other_view].alpha,1);**u000d****u000a****u000d****u000a** set(layer[other_events_hotel].css,"text-align:center; color:#149ce1; font-family:helvetica; font-size:19px;");**u000d****u000a** set(layer[other_events_hotel].width,150);**u000d****u000a** set(layer[other_events_hotel].height,50);**u000d****u000a** set(layer[other_events_hotel].x,600);**u000d****u000a** ,**u000d****u000a** set(plugin[brand_logo].scale,0.42);**u000d****u000a** set(plugin[brand_logo].y,0);**u000d****u000a****u000d****u000a** set(layer[other_events_background].width,420);**u000d****u000a** set(layer[other_events_background].height,50);**u000d****u000a** set(layer[other_events_background].y,60);**u000d****u000a****u000d****u000a** set(layer[other_events_sanfran].width,100);**u000d****u000a** set(layer[other_events_sanfran].height,50);**u000d****u000a** set(layer[other_events_sanfran].x,10);**u000d****u000a****u000d****u000a** set(layer[other_events_superbowlcity].width,100);**u000d****u000a** set(layer[other_events_superbowlcity].height,50);**u000d****u000a** set(layer[other_events_superbowlcity].x,215);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare].width,100);**u000d****u000a** set(layer[other_events_unionsquare].height,50);**u000d****u000a** set(layer[other_events_unionsquare].x,115);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare_other_view].width,110);**u000d****u000a** set(layer[other_events_unionsquare_other_view].height,40);**u000d****u000a** set(layer[other_events_unionsquare_other_view].x,-43);**u000d****u000a** set(layer[other_events_unionsquare_other_view].y,51);**u000d****u000a** set(layer[other_events_unionsquare_other_view].alpha,0.5);**u000d****u000a****u000d****u000a** set(layer[other_events_hotel].width,100);**u000d****u000a** set(layer[other_events_hotel].height,50);**u000d****u000a** set(layer[other_events_hotel].x,315);**u000d****u000a** );**u000d****u000a****u000d****u000a** addlayer(other_events_background);**u000d****u000a** set(layer[other_events_background].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(layer[other_events_background].css,"text-align:center; color:#0042b0; font-family:helvetica; font-size:12px;");**u000d****u000a** set(layer[other_events_background].align,top);**u000d****u000a** set(layer[other_events_background].zorder,1);**u000d****u000a** set(layer[other_events_background].x,0);**u000d****u000a** set(layer[other_events_background].enabled,true);**u000d****u000a** set(layer[other_events_background].alpha,1);**u000d****u000a** set(layer[other_events_background].scale,1);**u000d****u000a** set(layer[other_events_background].vcenter,true);**u000d****u000a** set(layer[other_events_background].background, true);**u000d****u000a** set(layer[other_events_background].backgroundcolor, 0xFFFFFF);**u000d****u000a** set(layer[other_events_background].backgroundalpha, 1);**u000d****u000a** set(layer[other_events_background].border, true);**u000d****u000a** set(layer[other_events_background].borderwidth, 0.5);**u000d****u000a** set(layer[other_events_background].bordercolor, 0x0383c4);**u000d****u000a** set(layer[other_events_background].borderalpha, 1);**u000d****u000a** set(layer[other_events_background].roundedge, 5);**u000d****u000a** set(layer[other_events_background].visible, true);**u000d****u000a** set(layer[other_events_background].onover, );**u000d****u000a** set(layer[other_events_background].onout, );**u000d****u000a****u000d****u000a** addlayer(other_events_sanfran);**u000d****u000a** set(layer[other_events_sanfran].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** txtadd(layer[other_events_sanfran].css, get(main_font) , "color:#149ce1; text-align:center; font-size:12px;" );**u000d****u000a** set(layer[other_events_sanfran].html,SAN FRANCISCO);**u000d****u000a** set(layer[other_events_sanfran].parent,layer[other_events_background]);**u000d****u000a** set(layer[other_events_sanfran].align,left);**u000d****u000a** set(layer[other_events_sanfran].zorder,15);**u000d****u000a** set(layer[other_events_sanfran].y,0);**u000d****u000a** set(layer[other_events_sanfran].enabled,true);**u000d****u000a** set(layer[other_events_sanfran].alpha,1);**u000d****u000a** set(layer[other_events_sanfran].scale,1);**u000d****u000a** set(layer[other_events_sanfran].vcenter,true);**u000d****u000a** set(layer[other_events_sanfran].background, false);**u000d****u000a** set(layer[other_events_sanfran].backgroundcolor, 0xFF0000);**u000d****u000a** set(layer[other_events_sanfran].backgroundalpha, 1);**u000d****u000a** set(layer[other_events_sanfran].border, false);**u000d****u000a** set(layer[other_events_sanfran].visible, true);**u000d****u000a** set(layer[other_events_sanfran].onover, set(layer[other_events_sanfran].alpha, 1););**u000d****u000a** set(layer[other_events_sanfran].onout, set(layer[other_events_sanfran].alpha, 0.5););**u000d****u000a** set(layer[other_events_sanfran].onclick, setupForSanFranciscoSpotstwo();**u000d****u000a** goToScene(san-francisco););**u000d****u000a****u000d****u000a** addlayer(other_events_superbowlcity);**u000d****u000a** set(layer[other_events_superbowlcity].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** txtadd(layer[other_events_superbowlcity].css, get(main_font) , "color:#149ce1; text-align:center; font-size:12px;" );**u000d****u000a** set(layer[other_events_superbowlcity].html,SUPER BOWL CITY);**u000d****u000a** set(layer[other_events_superbowlcity].parent,layer[other_events_background]);**u000d****u000a** set(layer[other_events_superbowlcity].align,left);**u000d****u000a** set(layer[other_events_superbowlcity].zorder,15);**u000d****u000a** set(layer[other_events_superbowlcity].y,0);**u000d****u000a** set(layer[other_events_superbowlcity].enabled,true);**u000d****u000a** set(layer[other_events_superbowlcity].alpha,0.5);**u000d****u000a** set(layer[other_events_superbowlcity].scale,1);**u000d****u000a** set(layer[other_events_superbowlcity].vcenter,true);**u000d****u000a** set(layer[other_events_superbowlcity].background, false);**u000d****u000a** set(layer[other_events_superbowlcity].backgroundcolor, 0xFF0000);**u000d****u000a** set(layer[other_events_superbowlcity].backgroundalpha, 0);**u000d****u000a** set(layer[other_events_superbowlcity].border, false);**u000d****u000a** set(layer[other_events_superbowlcity].visible, true);**u000d****u000a** set(layer[other_events_superbowlcity].onover, set(layer[other_events_superbowlcity].alpha, 1););**u000d****u000a** set(layer[other_events_superbowlcity].onout, set(layer[other_events_superbowlcity].alpha, 0.5););**u000d****u000a** set(layer[other_events_superbowlcity].onclick, setupForSuperbowlCitySpotstwo();**u000d****u000a** goToScene(superbowl-city););**u000d****u000a****u000d****u000a** addlayer(other_events_unionsquare);**u000d****u000a** set(layer[other_events_unionsquare].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** txtadd(layer[other_events_unionsquare].css, get(main_font) , "color:#149ce1; text-align:center; font-size:12px;" );**u000d****u000a** set(layer[other_events_unionsquare].html,UNION SQUARE);**u000d****u000a** set(layer[other_events_unionsquare].parent,layer[other_events_background]);**u000d****u000a** set(layer[other_events_unionsquare].align,left);**u000d****u000a** set(layer[other_events_unionsquare].zorder,15);**u000d****u000a** set(layer[other_events_unionsquare].y,0);**u000d****u000a** set(layer[other_events_unionsquare].enabled,true);**u000d****u000a** set(layer[other_events_unionsquare].alpha,0.5);**u000d****u000a** set(layer[other_events_unionsquare].scale,1);**u000d****u000a** set(layer[other_events_unionsquare].vcenter,true);**u000d****u000a** set(layer[other_events_unionsquare].background, false);**u000d****u000a** set(layer[other_events_unionsquare].backgroundcolor, 0xFF0000);**u000d****u000a** set(layer[other_events_unionsquare].backgroundalpha, 0);**u000d****u000a** set(layer[other_events_unionsquare].border, false);**u000d****u000a** set(layer[other_events_unionsquare].visible, true);**u000d****u000a** set(layer[other_events_unionsquare].onover, set(layer[other_events_unionsquare].alpha, 1););**u000d****u000a** set(layer[other_events_unionsquare].onout, set(layer[other_events_unionsquare].alpha, 0.5););**u000d****u000a** set(layer[other_events_unionsquare].onclick, setupForUnionSquarenorthSpotstwo();**u000d****u000a** goToScene(union-square-north););**u000d****u000a****u000d****u000a** addlayer(other_events_unionsquare_other_view);**u000d****u000a** set(layer[other_events_unionsquare_other_view].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** txtadd(layer[other_events_unionsquare_other_view].css, get(main_font) , "color:#149ce1; text-align:center; font-size:12px;" );**u000d****u000a** set(layer[other_events_unionsquare_other_view].parent,layer[other_events_background]);**u000d****u000a** set(layer[other_events_unionsquare_other_view].html,OTHER VIEW);**u000d****u000a** set(layer[other_events_unionsquare_other_view].align,top);**u000d****u000a** set(layer[other_events_unionsquare_other_view].zorder,1);**u000d****u000a** set(layer[other_events_unionsquare_other_view].enabled,true);**u000d****u000a** set(layer[other_events_unionsquare_other_view].alpha,0.5);**u000d****u000a** set(layer[other_events_unionsquare_other_view].scale,1);**u000d****u000a** set(layer[other_events_unionsquare_other_view].vcenter,true);**u000d****u000a** set(layer[other_events_unionsquare_other_view].background, true);**u000d****u000a** set(layer[other_events_unionsquare_other_view].backgroundcolor, 0xFFFFFF);**u000d****u000a** set(layer[other_events_unionsquare_other_view].backgroundalpha, 1);**u000d****u000a** set(layer[other_events_unionsquare_other_view].border, true);**u000d****u000a** set(layer[other_events_unionsquare_other_view].borderwidth, 0.5);**u000d****u000a** set(layer[other_events_unionsquare_other_view].bordercolor, 0x0383c4);**u000d****u000a** set(layer[other_events_unionsquare_other_view].borderalpha, 1);**u000d****u000a** set(layer[other_events_unionsquare_other_view].roundedge, 5);**u000d****u000a** set(layer[other_events_unionsquare_other_view].visible, false);**u000d****u000a** set(layer[other_events_unionsquare_other_view].onover, set(layer[other_events_unionsquare_other_view].alpha, 1););**u000d****u000a** set(layer[other_events_unionsquare_other_view].onout, set(layer[other_events_unionsquare_other_view].alpha, 0.5););**u000d****u000a** set(layer[other_events_unionsquare_other_view].onclick, setupForUnionSquareSouthSpotstwo();**u000d****u000a** goToScene(union-square-south); );**u000d****u000a****u000d****u000a** addlayer(other_events_hotel);**u000d****u000a** set(layer[other_events_hotel].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** txtadd(layer[other_events_hotel].css, get(main_font) , "color:#149ce1; text-align:center; font-size:12px;" );**u000d****u000a** set(layer[other_events_hotel].html,BUD LIGHT HOTEL);**u000d****u000a** set(layer[other_events_hotel].parent,layer[other_events_background]);**u000d****u000a** set(layer[other_events_hotel].align,left);**u000d****u000a** set(layer[other_events_hotel].zorder,15);**u000d****u000a** set(layer[other_events_hotel].y,0);**u000d****u000a** set(layer[other_events_hotel].enabled,true);**u000d****u000a** set(layer[other_events_hotel].alpha,0.5);**u000d****u000a** set(layer[other_events_hotel].scale,1);**u000d****u000a** set(layer[other_events_hotel].vcenter,true);**u000d****u000a** set(layer[other_events_hotel].background, false);**u000d****u000a** set(layer[other_events_hotel].backgroundcolor, 0xFF0000);**u000d****u000a** set(layer[other_events_hotel].backgroundalpha, 1);**u000d****u000a** set(layer[other_events_hotel].border, false);**u000d****u000a** set(layer[other_events_hotel].visible, true);**u000d****u000a** set(layer[other_events_hotel].onover, set(layer[other_events_hotel].alpha, 1););**u000d****u000a** set(layer[other_events_hotel].onout, set(layer[other_events_hotel].alpha, 0.5););**u000d****u000a** set(layer[other_events_hotel].onclick, setupForBudLightHotelSpotstwo();**u000d****u000a** goToScene(bud-light-hotel);); **u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(hotspot[hotspot_union_square].visible,true);**u000d****u000a** set(hotspot[hotspot_superbowl_city].visible,true);**u000d****u000a** set(hotspot[hotspot_party_hq].visible,true);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(hotspot[hotspot_union_square].visible,false);**u000d****u000a** set(hotspot[hotspot_superbowl_city].visible,false);**u000d****u000a** set(hotspot[hotspot_party_hq].visible,false);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** addhotspot(hotspot_union_square);**u000d****u000a** set(hotspot[hotspot_union_square].url, "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5e78ace571cb753b69aceaf1/hotspots2-20200327101718.png?v=979");**u000d****u000a** set(hotspot[hotspot_union_square].zorder,1);**u000d****u000a** set(hotspot[hotspot_union_square].align,center);**u000d****u000a** set(hotspot[hotspot_union_square].ath,-141);**u000d****u000a** set(hotspot[hotspot_union_square].atv,-7);**u000d****u000a** set(hotspot[hotspot_union_square].crop,0|0|500|1000);**u000d****u000a** set(hotspot[hotspot_union_square].distorted,true);**u000d****u000a** set(hotspot[hotspot_union_square].zoom,true);**u000d****u000a** set(hotspot[hotspot_union_square].handcursor,true);**u000d****u000a** set(hotspot[hotspot_union_square].enabled,true);**u000d****u000a** set(hotspot[hotspot_union_square].alpha,1);**u000d****u000a** set(hotspot[hotspot_union_square].scale,0.15);**u000d****u000a** set(hotspot[hotspot_union_square].visible,false);**u000d****u000a** set(hotspot[hotspot_union_square].onclick, setupForUnionSquarenorthSpotstwo(); **u000d****u000a** goToScene(union-square-north););**u000d****u000a****u000d****u000a** addhotspot(hotspot_superbowl_city);**u000d****u000a** set(hotspot[hotspot_superbowl_city].url, "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5e78ace571cb753b69aceaf1/hotspots2-20200327101718.png?v=979");**u000d****u000a** set(hotspot[hotspot_superbowl_city].zorder,1);**u000d****u000a** set(hotspot[hotspot_superbowl_city].align,center);**u000d****u000a** set(hotspot[hotspot_superbowl_city].ath,174);**u000d****u000a** set(hotspot[hotspot_superbowl_city].atv,-3);**u000d****u000a** set(hotspot[hotspot_superbowl_city].crop,500|0|500|1000);**u000d****u000a** set(hotspot[hotspot_superbowl_city].distorted,true);**u000d****u000a** set(hotspot[hotspot_superbowl_city].zoom,true);**u000d****u000a** set(hotspot[hotspot_superbowl_city].handcursor,true);**u000d****u000a** set(hotspot[hotspot_superbowl_city].enabled,true);**u000d****u000a** set(hotspot[hotspot_superbowl_city].alpha,1);**u000d****u000a** set(hotspot[hotspot_superbowl_city].scale,0.15);**u000d****u000a** set(hotspot[hotspot_superbowl_city].visible,false);**u000d****u000a** set(hotspot[hotspot_superbowl_city].onclick, setupForSuperbowlCitySpotstwo();**u000d****u000a** goToScene(superbowl-city); ); **u000d****u000a****u000d****u000a** addhotspot(hotspot_party_hq);**u000d****u000a** set(hotspot[hotspot_party_hq].url, "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5e78ace571cb753b69aceaf1/hotspots2-20200327101718.png?v=979");**u000d****u000a** set(hotspot[hotspot_party_hq].zorder,1);**u000d****u000a** set(hotspot[hotspot_party_hq].align,center);**u000d****u000a** set(hotspot[hotspot_party_hq].ath,-149);**u000d****u000a** set(hotspot[hotspot_party_hq].atv,-1);**u000d****u000a** set(hotspot[hotspot_party_hq].crop,1500|0|500|1000);**u000d****u000a** set(hotspot[hotspot_party_hq].distorted,true);**u000d****u000a** set(hotspot[hotspot_party_hq].zoom,true);**u000d****u000a** set(hotspot[hotspot_party_hq].handcursor,true);**u000d****u000a** set(hotspot[hotspot_party_hq].enabled,true);**u000d****u000a** set(hotspot[hotspot_party_hq].alpha,1);**u000d****u000a** set(hotspot[hotspot_party_hq].scale,0.15);**u000d****u000a** set(hotspot[hotspot_party_hq].visible,false);**u000d****u000a** set(hotspot[hotspot_party_hq].onclick, setupForBudLightHotelSpotstwo(); **u000d****u000a** goToScene(bud-light-hotel);); **u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** showHotspots();**u000d****u000a** set(layer[other_events_unionsquare_other_view].visible, false);**u000d****u000a** **u000d****u000a** txtadd(layer[other_events_superbowlcity].css, "text-decoration:none;" );**u000d****u000a** txtadd(layer[other_events_sanfran].css, "text-decoration:underline;" );**u000d****u000a** txtadd(layer[other_events_unionsquare].css, "text-decoration:none;" );**u000d****u000a** txtadd(layer[other_events_hotel].css, "text-decoration:none;" );**u000d****u000a****u000d****u000a** set(layer[other_events_sanfran].alpha,1);**u000d****u000a** set(layer[other_events_sanfran].onover, set(layer[other_events_sanfran].alpha, 1););**u000d****u000a** set(layer[other_events_sanfran].onout, set(layer[other_events_sanfran].alpha, 1););**u000d****u000a** set(layer[other_events_sanfran].enabled,false);**u000d****u000a****u000d****u000a** set(layer[other_events_superbowlcity].alpha, 0.5);**u000d****u000a** set(layer[other_events_superbowlcity].onover, set(layer[other_events_superbowlcity].alpha, 1););**u000d****u000a** set(layer[other_events_superbowlcity].onout, set(layer[other_events_superbowlcity].alpha, 0.5););**u000d****u000a** set(layer[other_events_superbowlcity].enabled,true);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare].alpha,0.5);**u000d****u000a** set(layer[other_events_unionsquare].onover, set(layer[other_events_unionsquare].alpha, 1););**u000d****u000a** set(layer[other_events_unionsquare].onout, set(layer[other_events_unionsquare].alpha, 0.5););**u000d****u000a** set(layer[other_events_unionsquare].enabled,true);**u000d****u000a****u000d****u000a** set(layer[other_events_hotel].alpha,0.5);**u000d****u000a** set(layer[other_events_hotel].onover, set(layer[other_events_hotel].alpha, 1););**u000d****u000a** set(layer[other_events_hotel].onout, set(layer[other_events_hotel].alpha, 0.5););**u000d****u000a** set(layer[other_events_hotel].enabled,true);**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** hideHotspots();**u000d****u000a** set(layer[other_events_unionsquare_other_view].visible, false);**u000d****u000a****u000d****u000a** txtadd(layer[other_events_superbowlcity].css, "text-decoration:underline;" );**u000d****u000a** txtadd(layer[other_events_sanfran].css, "text-decoration:none;" );**u000d****u000a** txtadd(layer[other_events_unionsquare].css, "text-decoration:none;" );**u000d****u000a** txtadd(layer[other_events_hotel].css, "text-decoration:none;" );**u000d****u000a****u000d****u000a** set(layer[other_events_sanfran].alpha,0.5);**u000d****u000a** set(layer[other_events_sanfran].onover, set(layer[other_events_sanfran].alpha, 1););**u000d****u000a** set(layer[other_events_sanfran].onout, set(layer[other_events_sanfran].alpha, 0.5););**u000d****u000a** set(layer[other_events_sanfran].enabled,true);**u000d****u000a****u000d****u000a** set(layer[other_events_superbowlcity].alpha, 1);**u000d****u000a** set(layer[other_events_superbowlcity].onover, set(layer[other_events_superbowlcity].alpha, 1););**u000d****u000a** set(layer[other_events_superbowlcity].onout, set(layer[other_events_superbowlcity].alpha, 1););**u000d****u000a** set(layer[other_events_superbowlcity].enabled,true);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare].alpha,0.5);**u000d****u000a** set(layer[other_events_unionsquare].onover, set(layer[other_events_unionsquare].alpha, 1););**u000d****u000a** set(layer[other_events_unionsquare].onout, set(layer[other_events_unionsquare].alpha, 0.5););**u000d****u000a****u000d****u000a** set(layer[other_events_hotel].alpha,0.5);**u000d****u000a** set(layer[other_events_hotel].onover, set(layer[other_events_hotel].alpha, 1););**u000d****u000a** set(layer[other_events_hotel].onout, set(layer[other_events_hotel].alpha, 0.5););**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** hideHotspots();**u000d****u000a** set(layer[other_events_unionsquare_other_view].visible, true);**u000d****u000a****u000d****u000a** txtadd(layer[other_events_superbowlcity].css, "text-decoration:none;" );**u000d****u000a** txtadd(layer[other_events_sanfran].css, "text-decoration:none;" );**u000d****u000a** txtadd(layer[other_events_unionsquare].css, "text-decoration:underline;" );**u000d****u000a** txtadd(layer[other_events_hotel].css, "text-decoration:none;" );**u000d****u000a****u000d****u000a** set(layer[other_events_sanfran].alpha,0.5);**u000d****u000a** set(layer[other_events_sanfran].onover, set(layer[other_events_sanfran].alpha, 1););**u000d****u000a** set(layer[other_events_sanfran].onout, set(layer[other_events_sanfran].alpha, 0.5););**u000d****u000a** set(layer[other_events_sanfran].enabled,true);**u000d****u000a****u000d****u000a** set(layer[other_events_superbowlcity].alpha, 0.5);**u000d****u000a** set(layer[other_events_superbowlcity].onover, set(layer[other_events_superbowlcity].alpha, 1););**u000d****u000a** set(layer[other_events_superbowlcity].onout, set(layer[other_events_superbowlcity].alpha, 0.5););**u000d****u000a** set(layer[other_events_superbowlcity].enabled,true);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare].alpha,1);**u000d****u000a** set(layer[other_events_unionsquare].onover, set(layer[other_events_unionsquare].alpha, 1););**u000d****u000a** set(layer[other_events_unionsquare].onout, set(layer[other_events_unionsquare].alpha, 1););**u000d****u000a** set(layer[other_events_unionsquare].enabled,false);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare_other_view].onclick, setupForUnionSquareSouthSpotstwo();**u000d****u000a** goToScene(union-square-south); );**u000d****u000a****u000d****u000a** set(layer[other_events_hotel].alpha,0.5);**u000d****u000a** set(layer[other_events_hotel].onover, set(layer[other_events_hotel].alpha, 1););**u000d****u000a** set(layer[other_events_hotel].onout, set(layer[other_events_hotel].alpha, 0.5););**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** hideHotspots();**u000d****u000a** set(layer[other_events_unionsquare_other_view].visible, true);**u000d****u000a****u000d****u000a** txtadd(layer[other_events_superbowlcity].css, "text-decoration:none;" );**u000d****u000a** txtadd(layer[other_events_sanfran].css, "text-decoration:none;" );**u000d****u000a** txtadd(layer[other_events_unionsquare].css, "text-decoration:underline;" );**u000d****u000a** txtadd(layer[other_events_hotel].css, "text-decoration:none;" );**u000d****u000a****u000d****u000a** set(layer[other_events_sanfran].alpha,0.5);**u000d****u000a** set(layer[other_events_sanfran].onover, set(layer[other_events_sanfran].alpha, 1););**u000d****u000a** set(layer[other_events_sanfran].onout, set(layer[other_events_sanfran].alpha, 0.5););**u000d****u000a** set(layer[other_events_sanfran].enabled,true);**u000d****u000a****u000d****u000a** set(layer[other_events_superbowlcity].alpha, 0.5);**u000d****u000a** set(layer[other_events_superbowlcity].onover, set(layer[other_events_superbowlcity].alpha, 1););**u000d****u000a** set(layer[other_events_superbowlcity].onout, set(layer[other_events_superbowlcity].alpha, 0.5););**u000d****u000a** set(layer[other_events_superbowlcity].enabled,true);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare].alpha,1);**u000d****u000a** set(layer[other_events_unionsquare].onover, set(layer[other_events_unionsquare].alpha, 1););**u000d****u000a** set(layer[other_events_unionsquare].onout, set(layer[other_events_unionsquare].alpha, 1););**u000d****u000a** set(layer[other_events_superbowlcity].enabled,false);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare_other_view].onclick, setupForUnionSquareSouthSpotstwo();**u000d****u000a** goToScene(union-square-north); );**u000d****u000a****u000d****u000a** set(layer[other_events_hotel].alpha,0.5);**u000d****u000a** set(layer[other_events_hotel].onover, set(layer[other_events_hotel].alpha, 1););**u000d****u000a** set(layer[other_events_hotel].onout, set(layer[other_events_hotel].alpha, 0.5););**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** hideHotspots();**u000d****u000a** set(layer[other_events_unionsquare_other_view].visible, false);**u000d****u000a****u000d****u000a** txtadd(layer[other_events_superbowlcity].css, "text-decoration:none;" );**u000d****u000a** txtadd(layer[other_events_sanfran].css, "text-decoration:none;" );**u000d****u000a** txtadd(layer[other_events_unionsquare].css, "text-decoration:none;" );**u000d****u000a** txtadd(layer[other_events_hotel].css, "text-decoration:underline;" );**u000d****u000a****u000d****u000a** set(layer[other_events_sanfran].alpha,0.5);**u000d****u000a** set(layer[other_events_sanfran].onover, set(layer[other_events_sanfran].alpha, 1););**u000d****u000a** set(layer[other_events_sanfran].onout, set(layer[other_events_sanfran].alpha, 0.5););**u000d****u000a** set(layer[other_events_sanfran].enabled,true);**u000d****u000a****u000d****u000a** set(layer[other_events_superbowlcity].alpha, 0.5);**u000d****u000a** set(layer[other_events_superbowlcity].onover, set(layer[other_events_superbowlcity].alpha, 1););**u000d****u000a** set(layer[other_events_superbowlcity].onout, set(layer[other_events_superbowlcity].alpha, 0.5););**u000d****u000a** set(layer[other_events_superbowlcity].enabled,true);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare].alpha,0.5);**u000d****u000a** set(layer[other_events_unionsquare].onover, set(layer[other_events_unionsquare].alpha, 1););**u000d****u000a** set(layer[other_events_unionsquare].onout, set(layer[other_events_unionsquare].alpha, 0.5););**u000d****u000a** set(layer[other_events_unionsquare].enabled,true);**u000d****u000a****u000d****u000a** set(layer[other_events_hotel].alpha,1);**u000d****u000a** set(layer[other_events_hotel].onover, set(layer[other_events_hotel].alpha, 1););**u000d****u000a** set(layer[other_events_hotel].onout, set(layer[other_events_hotel].alpha, 1););**u000d****u000a** set(layer[other_events_hotel].enabled,false);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** addplugin(agegate_simiple_background);**u000d****u000a** set(plugin[agegate_simiple_background].type, container);**u000d****u000a** set(plugin[agegate_simiple_background].zorder, 10);**u000d****u000a** set(plugin[agegate_simiple_background].align, center);**u000d****u000a** set(plugin[agegate_simiple_background].x, 0);**u000d****u000a** set(plugin[agegate_simiple_background].y, 0);**u000d****u000a** set(plugin[agegate_simiple_background].width, 100%);**u000d****u000a** set(plugin[agegate_simiple_background].height, 100%);**u000d****u000a** set(plugin[agegate_simiple_background].bgcolor, 0x000000);**u000d****u000a** set(plugin[agegate_simiple_background].bgcapture, true);**u000d****u000a** set(plugin[agegate_simiple_background].bgalpha, 0.8);**u000d****u000a** set(plugin[agegate_simiple_background].bgborder, 0 0x000000 0);**u000d****u000a** set(plugin[agegate_simiple_background].bgroundedge, 0);**u000d****u000a** set(plugin[agegate_simiple_background].alpha, 1);**u000d****u000a** set(plugin[agegate_simiple_background].enabled, true);**u000d****u000a** set(plugin[agegate_simiple_background].handcursor, false);**u000d****u000a** set(plugin[agegate_simiple_background].visible, true);**u000d****u000a****u000d****u000a** addplugin(new_marc_agegate_popup);**u000d****u000a** set(plugin[new_marc_agegate_popup].type, container);**u000d****u000a** set(plugin[new_marc_agegate_popup].zorder, 100);**u000d****u000a** set(plugin[new_marc_agegate_popup].align, center);**u000d****u000a** if(device.mobile,**u000d****u000a** set(plugin[new_marc_agegate_popup].width, 650);**u000d****u000a** set(plugin[new_marc_agegate_popup].height, 250);**u000d****u000a** set(plugin[new_marc_agegate_popup].bgroundedge, 20);**u000d****u000a** ,**u000d****u000a** **u000d****u000a** set(plugin[new_marc_agegate_popup].width, 350);**u000d****u000a** set(plugin[new_marc_agegate_popup].height, 150);**u000d****u000a** set(plugin[new_marc_agegate_popup].bgroundedge, 10);**u000d****u000a** );**u000d****u000a** set(plugin[new_marc_agegate_popup].x, 0);**u000d****u000a** set(plugin[new_marc_agegate_popup].y, 0);**u000d****u000a** set(plugin[new_marc_agegate_popup].bgcolor, get(options.popup_bg_color));**u000d****u000a** set(plugin[new_marc_agegate_popup].bgcapture, true);**u000d****u000a** set(plugin[new_marc_agegate_popup].bgalpha, 1);**u000d****u000a** set(plugin[new_marc_agegate_popup].bgborder, 1 0x000000 0);**u000d****u000a** set(plugin[new_marc_agegate_popup].alpha, 1);**u000d****u000a** set(plugin[new_marc_agegate_popup].enabled, true);**u000d****u000a** set(plugin[new_marc_agegate_popup].handcursor, false);**u000d****u000a** set(plugin[new_marc_agegate_popup].visible, true);**u000d****u000a****u000d****u000a** addplugin(new_marc_agegate_popup_title);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[new_marc_agegate_popup_title].html, [div style="text-align: center;"] ARE YOU OVER 21?);**u000d****u000a** if(device.mobile, txtadd(plugin[new_marc_agegate_popup_title].css, get("data[title-txt-mobi].content") , get(title_txt_color) , get(main_font));**u000d****u000a** set(plugin[new_marc_agegate_popup_title].height,80);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[new_marc_agegate_popup_title].css, get("data[title-txt].content") , get(title_txt_color) , get(main_font));**u000d****u000a** set(plugin[new_marc_agegate_popup_title].height,60);**u000d****u000a** ); **u000d****u000a** set(plugin[new_marc_agegate_popup_title].parent,new_marc_agegate_popup);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].align,top);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].zorder,5);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].x,0);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].y,10);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].enabled,false);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].alpha,1);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].scale,1);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].width,85%);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].vcenter,true);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].background, false);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].border, false);**u000d****u000a** set(plugin[new_marc_agegate_popup_title].visible,true);**u000d****u000a****u000d****u000a** addplugin(new_marc_agegate_popup_button_yes);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** txtadd(plugin[new_marc_agegate_popup_button_yes].html, [div style="text-align: center;"] YES );**u000d****u000a** if(device.mobile, txtadd(plugin[new_marc_agegate_popup_button_yes].css, get("data[btn-txt-reg-mobi].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].height, 60);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].width, 45%);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].roundedge, 10);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[new_marc_agegate_popup_button_yes].css, get("data[btn-txt-reg].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].height, 40);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].width, 45%);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].roundedge, 5);**u000d****u000a** );**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].parent,new_marc_agegate_popup);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].align,bottomleft);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].zorder,25);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].x,10);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].y,20);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].enabled,true);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].alpha,1);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].scale,1);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].vcenter,true);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].visible,true);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].background, true);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].backgroundcolor, get(options.btn_color));**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].backgroundalpha, 1);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].border, true);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].bordercolor, 0xffffff);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].borderalpha, 1);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].onover, set(plugin[new_marc_agegate_popup_button_yes].backgroundcolor, get(options.btn_color_hover)); );**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].onout, set(plugin[new_marc_agegate_popup_button_yes].backgroundcolor, get(options.btn_color)); );**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].ondown, hit(););**u000d****u000a** set(plugin[new_marc_agegate_popup_button_yes].onclick, set(plugin[agegate_simiple_background].visible, false);**u000d****u000a** set(plugin[new_marc_agegate_popup].visible, false);**u000d****u000a** getLookToValues(););**u000d****u000a****u000d****u000a** addplugin(new_marc_agegate_popup_button_no);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** txtadd(plugin[new_marc_agegate_popup_button_no].html, [div style="text-align: center;"] NO);**u000d****u000a** if(device.mobile, txtadd(plugin[new_marc_agegate_popup_button_no].css, get("data[btn-txt-reg-mobi].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].height, 60);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].width, 45%);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].roundedge, 10);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[new_marc_agegate_popup_button_no].css, get("data[btn-txt-reg].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].height, 40);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].width, 45%);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].roundedge, 5);**u000d****u000a** );**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].parent,new_marc_agegate_popup);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].align,bottomright);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].zorder,25);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].x,10);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].y,20);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].enabled,true);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].alpha,1);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].scale,1);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].vcenter,true);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].visible,true);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].background, true);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].backgroundcolor, get(options.btn_color));**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].backgroundalpha, 1);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].border, true);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].bordercolor, 0xffffff);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].borderalpha, 1);**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].onover, set(plugin[new_marc_agegate_popup_button_no].backgroundcolor, get(options.btn_color_hover)); );**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].onout, set(plugin[new_marc_agegate_popup_button_no].backgroundcolor, get(options.btn_color)); );**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].ondown, hit(););**u000d****u000a** set(plugin[new_marc_agegate_popup_button_no].onclick, openurl(**u0027**http://www.fancam.com/**u0027**, _self););**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** oninterrupt( break(); );**u000d****u000a** **u000d****u000a** ifnot(initialPos, **u000d****u000a** lookto(11.157, -1.426, 116.309 ,tween(easeInOutQuad,3));**u000d****u000a** ,**u000d****u000a** );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a****u000d****u000a**
**u000d****u000a** if(view.fov LE 20, hideHotspots(); , showHotspots );**u000d****u000a****u000d****u000a**');// type=string
vars.options.on_scene_loaded_custom_xml = decodeSingleQuoteSafeString('');// type=string
vars.options.on_scene_loaded_end_custom_xml = decodeSingleQuoteSafeString('get(currScene);**u000d****u000a** if(currScene == **u0027**san-francisco**u0027**, setupForSanFranciscoSpotstwo(); );**u000d****u000a** if(currScene == **u0027**superbowl-city**u0027**, setupForSuperbowlCitySpotstwo(); ); **u000d****u000a** if(currScene == **u0027**union-square-north**u0027**, setupForUnionSquarenorthSpotstwo(); );**u000d****u000a** if(currScene == **u0027**union-square-south**u0027**, setupForUnionSquareSouthSpotstwo(); );**u000d****u000a** if(currScene == **u0027**bud-light-hotel**u0027**, setupForBudLightHotelSpotstwo(); );');// 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**removeUI();**u000d****u000a**loadHotspot();**u000d****u000a**AgeGateActive();');// type=string
vars.options.on_window_resized_xml = decodeSingleQuoteSafeString('if(device.mobile == true,**u000d****u000a** set(plugin[brand_logo].scale,0.7);**u000d****u000a** set(plugin[brand_logo].y,0);**u000d****u000a** set(plugin[webvr_enterBtn].y,0);**u000d****u000a****u000d****u000a** set(layer[other_events_background].width,100%);**u000d****u000a** set(layer[other_events_background].height,100);**u000d****u000a** set(layer[other_events_background].y,100);**u000d****u000a****u000d****u000a** set(layer[other_events_sanfran].css,"text-align:center; color:#149ce1; font-family:helvetica; font-size:19px;");**u000d****u000a** set(layer[other_events_sanfran].width,190);**u000d****u000a** set(layer[other_events_sanfran].height,50);**u000d****u000a** set(layer[other_events_sanfran].x,10);**u000d****u000a****u000d****u000a** set(layer[other_events_superbowlcity].css,"text-align:center; color:#149ce1; font-family:helvetica; font-size:19px;");**u000d****u000a** set(layer[other_events_superbowlcity].width,150);**u000d****u000a** set(layer[other_events_superbowlcity].height,50);**u000d****u000a** set(layer[other_events_superbowlcity].x,415);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare].css,"text-align:center; color:#149ce1; font-family:helvetica; font-size:19px;");**u000d****u000a** set(layer[other_events_unionsquare].width,190);**u000d****u000a** set(layer[other_events_unionsquare].height,50);**u000d****u000a** set(layer[other_events_unionsquare].x,210);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare_other_view].css,"text-align:center; color:#149ce1; font-family:helvetica; font-size:19px;");**u000d****u000a** set(layer[other_events_unionsquare_other_view].width,160);**u000d****u000a** set(layer[other_events_unionsquare_other_view].height,50);**u000d****u000a** set(layer[other_events_unionsquare_other_view].y,100);**u000d****u000a** set(layer[other_events_unionsquare_other_view].x,-70);**u000d****u000a** set(layer[other_events_unionsquare_other_view].alpha,1);**u000d****u000a****u000d****u000a** set(layer[other_events_hotel].css,"text-align:center; color:#149ce1; font-family:helvetica; font-size:19px;");**u000d****u000a** set(layer[other_events_hotel].width,150);**u000d****u000a** set(layer[other_events_hotel].height,50);**u000d****u000a** set(layer[other_events_hotel].x,600);**u000d****u000a** ,**u000d****u000a** set(plugin[brand_logo].scale,0.42);**u000d****u000a** set(plugin[brand_logo].y,0);**u000d****u000a****u000d****u000a** set(layer[other_events_background].width,420);**u000d****u000a** set(layer[other_events_background].height,50);**u000d****u000a** set(layer[other_events_background].y,60);**u000d****u000a****u000d****u000a** set(layer[other_events_sanfran].width,100);**u000d****u000a** set(layer[other_events_sanfran].height,50);**u000d****u000a** set(layer[other_events_sanfran].x,10);**u000d****u000a****u000d****u000a** set(layer[other_events_superbowlcity].width,100);**u000d****u000a** set(layer[other_events_superbowlcity].height,50);**u000d****u000a** set(layer[other_events_superbowlcity].x,215);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare].width,100);**u000d****u000a** set(layer[other_events_unionsquare].height,50);**u000d****u000a** set(layer[other_events_unionsquare].x,115);**u000d****u000a****u000d****u000a** set(layer[other_events_unionsquare_other_view].width,110);**u000d****u000a** set(layer[other_events_unionsquare_other_view].height,40);**u000d****u000a** set(layer[other_events_unionsquare_other_view].x,-43);**u000d****u000a** set(layer[other_events_unionsquare_other_view].y,51);**u000d****u000a** set(layer[other_events_unionsquare_other_view].alpha,0.5);**u000d****u000a****u000d****u000a** set(layer[other_events_hotel].width,100);**u000d****u000a** set(layer[other_events_hotel].height,50);**u000d****u000a** set(layer[other_events_hotel].x,315);**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('San Francisco City Cam presented by Bud LIght');// type=string
vars.i18n.en.site_description = decodeSingleQuoteSafeString('Incredible, ultra high resolution, 360°, interactive image! Explore every part of it and share what you find with the world.');// type=string
vars.i18n.en.share_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5e78ace571cb753b69aceaf1/view_share_image_1453368949306-20200323125520.jpg"; // type=image unescaped
vars.i18n.en.site_title_fb = decodeSingleQuoteSafeString('San Francisco City Cam presented by Bud LIght');// type=string
vars.i18n.en.site_description_fb = decodeSingleQuoteSafeString('Explore every part of this incredible, ultra high resolution, interactive, 360° image and share what you find with the world!');// type=string
vars.i18n.en.site_title_twtr = decodeSingleQuoteSafeString('San Francisco City Cam presented by Bud LIght');// type=string
vars.i18n.en.site_description_twtr = decodeSingleQuoteSafeString('Explore every part of this incredible, ultra high resolution, interactive, 360° image and share what you find with the world!');// 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');// type=string
vars.i18n.en.share_title_email = decodeSingleQuoteSafeString('San Francisco City Cam presented by Bud LIght');// type=string
vars.i18n.en.share_description_email = decodeSingleQuoteSafeString('Click on the link below to have a look at what I found on this incredible, ultra high resolution, interactive, 360° image!');// type=string
vars.i18n.en.string_splash_notify = decodeSingleQuoteSafeString('');// 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/5e78ace571cb753b69aceaf1/site-loader-20200323125607.gif?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_default_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5e78ace571cb753b69aceaf1/ecardShareFrame-20200323125611.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/5e78ace571cb753b69aceaf1/ecardShareFrame-20200323125615.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_tview_image = "%$THEMEPATH%/assets/img/sharetag_frame_en.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.ecard_frame = "%$THEMEPATH%/assets/img/ecard_snap_frame_en.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_ecard_view_image = "%$THEMEPATH%/assets/img/ecard_frame_en.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('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('MMM DD, YYYY');// type=string
vars.i18n.en.string_webvrtexts = decodeSingleQuoteSafeString('VR View');// type=string
vars.i18n.en.next_scene_title = decodeSingleQuoteSafeString('Next Scenes');// type=string
vars.i18n.en.previous_scene_title = decodeSingleQuoteSafeString('Previous Scenes');// 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('Competition');// 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('FIND WALL-E & YOU COULD WIN!');// type=string
vars.i18n.en.string_comp_info = decodeSingleQuoteSafeString('Find him hiding in the crowd to be entered to win amazing prizes!');// 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 Wall-E 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 Wall-E 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 Wall-E 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 Wall-E.[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.string_comp_address_header_text = decodeSingleQuoteSafeString('Enter your address');// type=string
vars.i18n.en.string_comp_header_text = decodeSingleQuoteSafeString('Enter your details');// type=string
vars.i18n.en.comp_terms_cond_pdf = "%$THEMEPATH%/assets/img/comp_terms_en.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_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('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', '/2016/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: "/2016/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
*/