TODO add more init settings/variables here */
/* post xml parsing vars i.e. get(startscene);*/
var vars = {};
vars.idletime = 2;
vars.currScene = "main-view";
vars.projectId = "61483283f307690cdce759ae";
vars.fancamId = "61483283f307690cdce759ae"; // backwards compatable
vars.APIPATH = "https://cowboys.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/61483283f307690cdce759ae";
vars.STARTSCENE = "main-view";
vars.NOCACHE = "23";
vars.RAND = "7006";
vars.visibility = "live";
vars.event = {"keywords":"Miller Lite","featuring":"Dallas Cowboys,Philadelphia Eagles","country":"USA","city":"Arlington, Texas","venue":"AT&T STADIUM","category":"Football","date":"2021-09-27T00:00:00.000Z","shortname":"vs. Eagles","name":"Dallas Cowboys vs Philadelphia Eagles","dateSearchable":"27/09/2021 09/27/2021 09-27-2021 2021-09-27 Monday 27th September 2021"};
vars.relatedProjects = [];
vars.relatedProjects[0] = { name:"Dallas Cowboys vs Houston Texans", shortname:"vs. Houston", url:"https://cowboys.fancam.com/20241118", date:localizeDateWithTime("2024-11-18T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[1] = { name:"Dallas Cowboys vs Philadelphia Eagles", shortname:"vs. Philadelphia ", url:"https://cowboys.fancam.com/20241110", date:localizeDateWithTime("2024-11-10T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[2] = { name:"Dallas Cowboys vs Detriot Lions", shortname:"vs. Detriot", url:"https://cowboys.fancam.com/20241013", date:localizeDateWithTime("2024-10-13T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[3] = { name:"Dallas Cowboys vs Baltimore Ravens", shortname:"vs. Baltimore", url:"https://cowboys.fancam.com/20240922", date:localizeDateWithTime("2024-09-22T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[4] = { name:"Dallas Cowboys vs New Orleans Saints", shortname:"vs. New Orleans ", url:"https://cowboys.fancam.com/20240915", date:localizeDateWithTime("2024-09-15T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[5] = { name:"Dallas Cowboys vs Los Angeles Chargers", shortname:"vs. Los Angeles", url:"https://cowboys.fancam.com/20240824", date:localizeDateWithTime("2024-08-24T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[6] = { name:"Dallas Cowboys vs Green Bay Packers ", shortname:"vs. Packers", url:"https://cowboys.fancam.com/20240114", date:localizeDateWithTime("2024-01-14T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[7] = { name:"Dallas Cowboys vs Philadelphia Eagles ", shortname:"vs. Eagles", url:"https://cowboys.fancam.com/20231210", date:localizeDateWithTime("2023-12-10T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[8] = { name:"Dallas Cowboys vs Seattle Seahawks ", shortname:"vs. Seahawks", url:"https://cowboys.fancam.com/20231130", date:localizeDateWithTime("2023-11-30T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[9] = { name:"Dallas Cowboys vs Washington Commanders ", shortname:"vs. Commanders", url:"https://cowboys.fancam.com/20231123", date:localizeDateWithTime("2023-11-23T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[10] = { name:"Dallas Cowboys vs New York Giants ", shortname:"vs. Giants", url:"https://cowboys.fancam.com/20231112", date:localizeDateWithTime("2023-11-12T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[11] = { name:"Dallas Cowboys vs Los Angeles Rams ", shortname:"vs. Rams", url:"https://cowboys.fancam.com/20231029", date:localizeDateWithTime("2023-10-29T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[12] = { name:"Dallas Cowboys vs New England Patriots ", shortname:"vs. Patriots", url:"https://cowboys.fancam.com/20231001", date:localizeDateWithTime("2023-10-01T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[13] = { name:"Dallas Cowboys vs New York Jets ", shortname:"vs. Jets", url:"https://cowboys.fancam.com/20230917", date:localizeDateWithTime("2023-09-17T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[14] = { name:"Dallas Cowboys vs Las Vegas Raiders ", shortname:"vs. Raiders", url:"https://cowboys.fancam.com/20230826", date:localizeDateWithTime("2023-08-26T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[15] = { name:"Dallas Cowboys vs Jacksonville Jaguars ", shortname:"vs. Jaguars", url:"https://cowboys.fancam.com/20230812", date:localizeDateWithTime("2023-08-12T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[16] = { name:"Dallas Cowboys vs Philadelphia Eagles", shortname:"vs. Eagles", url:"https://cowboys.fancam.com/20221224", date:localizeDateWithTime("2022-12-24T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[17] = { name:"Dallas Cowboys vs Houston Texans", shortname:"vs. Texans", url:"https://cowboys.fancam.com/20221211", date:localizeDateWithTime("2022-12-11T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[18] = { name:"Dallas Cowboys vs Indianapolis Colts", shortname:"vs. Colts", url:"https://cowboys.fancam.com/20221204", date:localizeDateWithTime("2022-12-04T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[19] = { name:"Dallas Cowboys vs New York Giants", shortname:"vs. Giants", url:"https://cowboys.fancam.com/20221124", date:localizeDateWithTime("2022-11-24T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[20] = { name:"Dallas Cowboys vs Chicago Bears", shortname:"vs. Bears", url:"https://cowboys.fancam.com/20221030", date:localizeDateWithTime("2022-10-30T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[21] = { name:"Dallas Cowboys vs Detroit Lions", shortname:"vs. Lions", url:"https://cowboys.fancam.com/20221023", date:localizeDateWithTime("2022-10-23T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[22] = { name:"Dallas Cowboys vs Washington Commanders", shortname:"vs. Commanders", url:"https://cowboys.fancam.com/20221002", date:localizeDateWithTime("2022-10-02T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[23] = { name:"Dallas Cowboys vs Cincinnati Bengals", shortname:"vs. Bengals", url:"https://cowboys.fancam.com/20220918", date:localizeDateWithTime("2022-09-18T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[24] = { name:"Dallas Cowboys vs Tampa Bay Buccaneers", shortname:"vs. Buccaneers", url:"https://cowboys.fancam.com/20220911", date:localizeDateWithTime("2022-09-11T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[25] = { name:"Dallas Cowboys vs Seattle Seahawks", shortname:"vs. Seahawks", url:"https://cowboys.fancam.com/20220826", date:localizeDateWithTime("2022-08-26T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[26] = { name:"Dallas Cowboys vs Arizona Cardinals ", shortname:"vs. Cardinals", url:"https://cowboys.fancam.com/20220102", date:localizeDateWithTime("2022-01-02T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[27] = { name:"Dallas Cowboys vs Washington Football Team", shortname:"vs. Washington", url:"https://cowboys.fancam.com/20211226", date:localizeDateWithTime("2021-12-26T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[28] = { name:"Dallas Cowboys vs Las Vegas Raiders", shortname:"vs. Raiders", url:"https://cowboys.fancam.com/20211125", date:localizeDateWithTime("2021-11-25T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[29] = { name:"Dallas Cowboys vs Atlanta Falcons", shortname:"vs. Falcons", url:"https://cowboys.fancam.com/20211114", date:localizeDateWithTime("2021-11-14T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[30] = { name:"Dallas Cowboys vs Denver Broncos", shortname:"vs. Broncos", url:"https://cowboys.fancam.com/20211107", date:localizeDateWithTime("2021-11-07T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[31] = { name:"Dallas Cowboys vs New York Giants", shortname:"vs. Giants", url:"https://cowboys.fancam.com/20211010", date:localizeDateWithTime("2021-10-10T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[32] = { name:"Dallas Cowboys vs Carolina Panthers", shortname:"vs. Panthers", url:"https://cowboys.fancam.com/20211003", date:localizeDateWithTime("2021-10-03T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[33] = { name:"Dallas Cowboys vs Philadelphia Eagles", shortname:"vs. Eagles", url:"https://cowboys.fancam.com/20210927", date:localizeDateWithTime("2021-09-27T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[34] = { name:"Dallas Cowboys vs Jacksonville Jaguars", shortname:"vs. Jaguars", url:"https://cowboys.fancam.com/20210829", date:localizeDateWithTime("2021-08-29T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[35] = { name:"Dallas Cowboys vs Houston Texans", shortname:"vs. Texans", url:"https://cowboys.fancam.com/20210821", date:localizeDateWithTime("2021-08-21T00:00:00+00:00",12), visibility:"live" };
vars.query = {};
vars.query.s = "main-view";
/* ---> 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 = true; // 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/5fe1e52d0d8426714a151846/logo-20210810170351.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.banner_website_link = decodeSingleQuoteSafeString('https://www.dallascowboys.com');// 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/5d43e1b86cd80677ef5776b9/favicon-20190802073507.png');// type=favicon
vars.options.favicon_html = decodeSingleQuoteSafeString('
');// type=string
vars.options.email_header_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5fe1e52d0d8426714a151846/combined-logo-20210809165210.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('Montserrat');// type=string
vars.options.main_font_url = decodeSingleQuoteSafeString('https://fonts.googleapis.com/css2?family=Montserrat:wght@700');// type=string
vars.options.second_font_family = decodeSingleQuoteSafeString('Montserrat');// type=string
vars.options.second_font_url = decodeSingleQuoteSafeString('https://fonts.googleapis.com/css2?family=Montserrat:wght@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 = "0x002246" ;// type=color
vars.options.footer_btn_bg_color = "0xffffff" ;// type=color
vars.options.footer_tag_color = "0xffffff" ;// type=color
vars.options.btn_close_color = "0xffffff" ;// type=color
vars.options.btn_close_color_hover = "0xc59131" ;// type=color
vars.options.btn_txt_color = "0xffffff" ;// type=color
vars.options.btn_color = "0x002246" ;// type=color
vars.options.btn_color_hover = "0xc59131" ;// type=color
vars.options.btn_color_disabled = "0xc59131" ;// type=color
vars.options.btn_color_disabled_hover = "0x000f3d" ;// type=color
vars.options.splash_btn_txt = "0xffffff" ;// type=color
vars.options.splash_btn_color = "0x002246" ;// type=color
vars.options.splash_active_color = "0xc59131" ;// type=color
vars.options.splash_btn_txt_hover = "0xffffff" ;// type=color
vars.options.splash_btn_color_hover = "0xc59131" ;// type=color
vars.options.splash_btn_cs_color = "0xc59131" ;// 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 = "0x002246" ;// type=color
vars.options.menu_btn_color = "0x002246" ;// type=color
vars.options.menu_bg_color = "0x000000" ;// type=color
vars.options.menu_close_color = "0xffffff" ;// type=color
vars.options.menu_divider_color = "0xffffff" ;// type=color
vars.options.header_bg_color = "0xffffff" ;// type=color
vars.options.popup_bg_color = "0x000f3d" ;// 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 = false; // type=boolean
vars.options.neutral_tag_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/61234a601024170cb692cf72/me-20210826092006.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('putnam-club-suite');// type=string
vars.options.seperate_tags_per_scene = true; // type=boolean
vars.options.place_your_face_tag_size = decodeSingleQuoteSafeString('5');// type=string
vars.options.tags_load_mode = decodeSingleQuoteSafeString('mixed');// type=string
vars.options.tag_sensitivity = decodeSingleQuoteSafeString('5');// type=string
vars.options.tag_min_update_time = decodeSingleQuoteSafeString('2000');// type=string
vars.options.tags_max = decodeSingleQuoteSafeString('50');// type=string
vars.options.tags_max_fov = decodeSingleQuoteSafeString('50');// type=string
vars.options.tags_fov_distance = decodeSingleQuoteSafeString('5');// type=string
vars.options.tags_persistent = decodeSingleQuoteSafeString('50');// type=string
vars.options.tags_per_update = decodeSingleQuoteSafeString('25');// type=string
vars.options.character_team1_hat1_overlay = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5fe1e52d0d8426714a151846/combined-logo-white-20210809165754.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 = true; // 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/5fe1e52d0d8426714a151846/interface-20210809164926.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('230');// 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('https://www.youtube.com/watch?v=tTK7E0xnhhM');// type=string
vars.options.video_image_1 = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5c860f807c0ac77d29297ac5/videoThumbnail-20190802070937.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.video2_enabled = false; // type=boolean
vars.options.video_url_2 = decodeSingleQuoteSafeString('https://www.youtube.com/watch?v=A4oUTgBSFh0');// type=string
vars.options.video_image_2 = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5c860f807c0ac77d29297ac5/Screen+Shot+2019-03-11+at+10.37.38+AM-20190311083752.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.video3_enabled = false; // type=boolean
vars.options.video_url_3 = decodeSingleQuoteSafeString('https://www.youtube.com/watch?v=M9pBh0Ahma4');// type=string
vars.options.video_image_3 = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5c860f807c0ac77d29297ac5/Screen+Shot+2019-03-11+at+10.38.30+AM-20190311083841.png?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 = "%$THEMEPATH%/assets/img/comp_object.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 = false; // 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** text-align:center; font-weight:700; font-size:19px; text-transform:uppercase; letter-spacing:0.5px;**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** text-align:center; font-size:9px; text-transform:uppercase; padding:2px 0px 0px; letter-spacing:1px;**u000d****u000a** **u000d****u000a****u000d****u000a**
**u000d****u000a** text-align:center; font-size:9px; text-transform:uppercase; padding:2px 0px 0px; letter-spacing:1px;**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a****u000d****u000a****u000d****u000a**set(plugin[webvr_enterBtn].css, font-size:50px; margin:0px; color:#002246 );**u000d****u000a**set(plugin[webvr_enterBtn].onover, set(plugin[webvr_enterBtn].css, font-size:50px; margin:0px; color:#002246 ); );**u000d****u000a**set(plugin[webvr_enterBtn].onout, set(plugin[webvr_enterBtn].css, font-size:50px; margin:0px; color:#002246 ); );**u000d****u000a** **u000d****u000a**if(device.mobile == true,**u000d****u000a** set(plugin[header_container].y, 100);**u000d****u000a** set(plugin[header_container].height, 80);**u000d****u000a** ,**u000d****u000a** set(plugin[header_container].y, 40);**u000d****u000a** set(plugin[header_container].height, 60);**u000d****u000a**);**u000d****u000a****u000d****u000a** set(plugin[load_menu].y,0);**u000d****u000a** set(plugin[load_menu].parent, header_container);**u000d****u000a****u000d****u000a****u000d****u000a** addplugin(header_black_strip);**u000d****u000a** set(plugin[header_black_strip].type, container);**u000d****u000a** set(plugin[header_black_strip].zorder, 10);**u000d****u000a** set(plugin[header_black_strip].parent, plugin[header_container]);**u000d****u000a** set(plugin[header_black_strip].align, top);**u000d****u000a** set(plugin[header_black_strip].width, 100%);**u000d****u000a** if(device.mobile == true, set(plugin[header_black_strip].height, 100);**u000d****u000a** set(plugin[header_black_strip].y, -100);**u000d****u000a** ,**u000d****u000a** set(plugin[header_black_strip].height, 40);**u000d****u000a** set(plugin[header_black_strip].y, -40);**u000d****u000a** );**u000d****u000a** set(plugin[header_black_strip].alpha, 1);**u000d****u000a** set(plugin[header_black_strip].bgcolor, 0x002246 );**u000d****u000a** set(plugin[header_black_strip].bgalpha, 1);**u000d****u000a** set(plugin[header_black_strip].bgcapture, true);**u000d****u000a** set(plugin[header_black_strip].handcursor, false);**u000d****u000a** set(plugin[header_black_strip].enabled, true); **u000d****u000a** set(plugin[header_black_strip].visible, true); **u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a** if(device.mobile == true, set(plugin[shareBtn].css, font-size:50px; margin:0px; color:#ffffff );**u000d****u000a** set(plugin[shareBtn].width,60);**u000d****u000a** ,**u000d****u000a** set(plugin[shareBtn].css, font-size:26px; margin:0px; color:#ffffff );**u000d****u000a** set(plugin[shareBtn].width,50);**u000d****u000a** );**u000d****u000a** set(plugin[shareBtn].parent, header_black_strip);**u000d****u000a** set(plugin[shareBtn].align,left);**u000d****u000a** set(plugin[shareBtn].y,0);**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** setmoment(formatted_event_date, event.date, "MMM DD, YYYY");**u000d****u000a** toupper(formatted_event_date);**u000d****u000a** if(device.mobile == true, **u000d****u000a** txtadd(fancamNameStacked, get(formatted_event_date), **u0027**[br]**u0027**, calc(event.shortname ? event.shortname : event.name));**u000d****u000a** ,**u000d****u000a** txtadd(fancamNameStacked, get(formatted_event_date), **u0027** **u0027**, calc(event.shortname ? event.shortname : event.name));**u000d****u000a** );**u000d****u000a****u000d****u000a** set(plugin[fancam_title_text].html, get(fancamNameStacked));**u000d****u000a** set(plugin[fancam_title_text].parent,header_black_strip);**u000d****u000a** set(plugin[fancam_title_text].align,right);**u000d****u000a** **u000d****u000a** if(device.mobile == true, **u000d****u000a** txtadd(plugin[fancam_title_text].css, **u0027**get(main_font)**u0027** , **u0027**text-align:right; font-size:25px; letter-spacing:0.5px; color:#ffffff**u0027** );**u000d****u000a** set(plugin[fancam_title_text].x,25);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[fancam_title_text].css, **u0027**get(main_font)**u0027** , **u0027**text-align:right; font-size:16px; letter-spacing:0.5px; color:#ffffff**u0027** );**u000d****u000a** set(plugin[fancam_title_text].x,20);**u000d****u000a** );**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a** if(device.mobile == true,**u000d****u000a** set(plugin[brand_logo].scale,0.5);**u000d****u000a** set(plugin[brand_logo].y,1);**u000d****u000a** ,**u000d****u000a** set(plugin[brand_logo].scale,0.4);**u000d****u000a** );**u000d****u000a****u000d****u000a****u000d****u000a** addplugin(cowboyscombined_logo);**u000d****u000a** set(plugin[cowboyscombined_logo].zorder,40);**u000d****u000a** set(plugin[cowboyscombined_logo].y,0);**u000d****u000a** if(device.mobile == true,**u000d****u000a** set(plugin[cowboyscombined_logo].scale,0.55);**u000d****u000a** set(plugin[cowboyscombined_logo].x,10);**u000d****u000a** set(plugin[cowboyscombined_logo].parent,header_black_strip);**u000d****u000a** set(plugin[cowboyscombined_logo].align,center);**u000d****u000a** set(plugin[cowboyscombined_logo].url, "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5fe1e52d0d8426714a151846/combined-logo-white-20210809165754.png?v=%$NOCACHE%");**u000d****u000a** ,**u000d****u000a** set(plugin[cowboyscombined_logo].scale,0.3);**u000d****u000a** set(plugin[cowboyscombined_logo].x,10);**u000d****u000a** set(plugin[cowboyscombined_logo].parent,header_container);**u000d****u000a** set(plugin[cowboyscombined_logo].align,left);**u000d****u000a** set(plugin[cowboyscombined_logo].url, "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5fe1e52d0d8426714a151846/combined-logo-20210809165210.png?v=%$NOCACHE%");**u000d****u000a** );**u000d****u000a** set(plugin[cowboyscombined_logo].alpha,1);**u000d****u000a** set(plugin[cowboyscombined_logo].visible,true);**u000d****u000a** set(plugin[cowboyscombined_logo].enabled,false);**u000d****u000a** set(plugin[cowboyscombined_logo].handcursor,true);**u000d****u000a** set(plugin[cowboyscombined_logo].onclick, openurl(, _blank); **u000d****u000a** xml_log(other, brand-website-called, https://www.putnam.com/); );**u000d****u000a****u000d****u000a****u000d****u000a** removeplugin(fullScreenBtn);**u000d****u000a****u000d****u000a****u000d****u000a** set(plugin[menuBtn].align,right);**u000d****u000a** set(plugin[menuBtn].y,0);**u000d****u000a** set(plugin[menuBtn].visible,true);**u000d****u000a****u000d****u000a** set(plugin[btn_hide_menu].visible,false);**u000d****u000a****u000d****u000a** set(layer[menuScrollarea_base].align, topright);**u000d****u000a** set(layer[menuScrollarea_base].zorder, 5);**u000d****u000a** set(layer[menuScrollarea].y,120);**u000d****u000a****u000d****u000a****u000d****u000a** set(layer[menuScrollarea_base].bgalpha, 0.5);**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** **u000d****u000a** **u000d****u000a** **u000d****u000a** **u000d****u000a** **u000d****u000a** **u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**if (options.scene_switcher_menu_button == true,**u000d****u000a** addplugin(NextSceneButton);**u000d****u000a** set(plugin[NextSceneButton].url,"%HTMLPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[PreviousSceneButton].url,"%HTMLPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[NextSceneButton].parent, plugin[header_black_strip]);**u000d****u000a** set(plugin[NextSceneButton].html,NEXT SCENE 1/5);**u000d****u000a** set(plugin[NextSceneButton].zorder,15);**u000d****u000a** set(plugin[NextSceneButton].enabled,true);**u000d****u000a** set(plugin[NextSceneButton].alpha,1);**u000d****u000a** set(plugin[NextSceneButton].scale,1);**u000d****u000a** set(plugin[NextSceneButton].vcenter,true);**u000d****u000a** set(plugin[NextSceneButton].background, true);**u000d****u000a** set(plugin[NextSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[NextSceneButton].backgroundalpha, 1);**u000d****u000a** set(plugin[NextSceneButton].border, false);**u000d****u000a** set(plugin[NextSceneButton].bordercolor, 0xffffff);**u000d****u000a** set(plugin[NextSceneButton].borderalpha, 1);**u000d****u000a** set(plugin[NextSceneButton].roundedge, 5);**u000d****u000a** set(plugin[NextSceneButton].onover, set(plugin[NextSceneButton].backgroundcolor, 0xc59131); );**u000d****u000a** set(plugin[NextSceneButton].onout, set(plugin[NextSceneButton].backgroundcolor, 0x002246); );**u000d****u000a** set(plugin[NextSceneButton].ondown, hit(););**u000d****u000a** set(plugin[NextSceneButton].onclick, );**u000d****u000a** if(device.mobile,**u000d****u000a** set(plugin[NextSceneButton].width, 235);**u000d****u000a** set(plugin[NextSceneButton].height, 70);**u000d****u000a** txtadd(plugin[NextSceneButton].css, get("data[scenes-mobile-switer-button].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[NextSceneButton].x,0);**u000d****u000a** set(plugin[NextSceneButton].y,275);**u000d****u000a** set(plugin[NextSceneButton].align,topleft);**u000d****u000a** ,**u000d****u000a** set(plugin[NextSceneButton].x,70);**u000d****u000a** set(plugin[NextSceneButton].y,110);**u000d****u000a** set(plugin[NextSceneButton].width, 150);**u000d****u000a** set(plugin[NextSceneButton].height, 34);**u000d****u000a** txtadd(plugin[NextSceneButton].css, get("data[scenes-desktop-switer-button].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[NextSceneButton].align,topright);**u000d****u000a** );**u000d****u000a****u000d****u000a** addplugin(PreviousSceneButton);**u000d****u000a** set(plugin[PreviousSceneButton].url,"%HTMLPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[PreviousSceneButton].parent, plugin[header_black_strip]);**u000d****u000a** set(plugin[PreviousSceneButton].html,PREVIOUS SCENE);**u000d****u000a** set(plugin[PreviousSceneButton].zorder,15);**u000d****u000a** set(plugin[PreviousSceneButton].enabled,true);**u000d****u000a** set(plugin[PreviousSceneButton].alpha,1);**u000d****u000a** set(plugin[PreviousSceneButton].scale,1);**u000d****u000a** set(plugin[PreviousSceneButton].vcenter,true);**u000d****u000a** set(plugin[PreviousSceneButton].background, true);**u000d****u000a** set(plugin[PreviousSceneButton].backgroundcolor, 0x002246); **u000d****u000a** set(plugin[PreviousSceneButton].backgroundalpha, 1);**u000d****u000a** set(plugin[PreviousSceneButton].border, false);**u000d****u000a** set(plugin[PreviousSceneButton].bordercolor, 0xffffff);**u000d****u000a** set(plugin[PreviousSceneButton].borderalpha, 1);**u000d****u000a** set(plugin[PreviousSceneButton].roundedge, 5);**u000d****u000a** set(plugin[PreviousSceneButton].onover, set(plugin[PreviousSceneButton].backgroundcolor, 0xc59131); );**u000d****u000a** set(plugin[PreviousSceneButton].onout, set(plugin[PreviousSceneButton].backgroundcolor, 0x000f3d); );**u000d****u000a** set(plugin[PreviousSceneButton].ondown, hit(););**u000d****u000a** set(plugin[PreviousSceneButton].onclick, );**u000d****u000a****u000d****u000a** if(device.mobile, **u000d****u000a** txtadd(plugin[PreviousSceneButton].css, get("data[scenes-mobile-switer-button].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[PreviousSceneButton].width, 235);**u000d****u000a** set(plugin[PreviousSceneButton].height, 70);**u000d****u000a** set(plugin[PreviousSceneButton].x,0);**u000d****u000a** set(plugin[PreviousSceneButton].y,195);**u000d****u000a** set(plugin[PreviousSceneButton].align,topleft);**u000d****u000a** ,**u000d****u000a** set(plugin[PreviousSceneButton].x,230);**u000d****u000a** set(plugin[PreviousSceneButton].y,110);**u000d****u000a** txtadd(plugin[PreviousSceneButton].css, get("data[scenes-desktop-switer-button].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[PreviousSceneButton].width, 150);**u000d****u000a** set(plugin[PreviousSceneButton].height, 34);**u000d****u000a** set(plugin[PreviousSceneButton].align,topright);**u000d****u000a** );**u000d****u000a**);**u000d****u000a** **u000d****u000a****u000d****u000a** **u000d****u000a** **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** **u000d****u000a** );**u000d****u000a** if(device.mobile,**u000d****u000a** set(plugin[load_menu].y,100);**u000d****u000a** set(plugin[load_menu].align,topright);**u000d****u000a** ,**u000d****u000a** set(plugin[load_menu].y,40);**u000d****u000a** set(plugin[load_menu].align,topright);**u000d****u000a** );**u000d****u000a** set(plugin[title_tut_moreOpt].visible,true);**u000d****u000a** set(plugin[title_tut_moreOpt].parent,load_menu);**u000d****u000a** set(plugin[load_menu].parent, tutBlackBg);**u000d****u000a** set(plugin[moreOptPointer].visible,true);**u000d****u000a** set(plugin[moreOptPointer].parent, load_menu);**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** **u000d****u000a** ,**u000d****u000a****u000d****u000a** set(plugin[load_menu].y,0);**u000d****u000a** set(plugin[load_menu].parent, header_container);**u000d****u000a** );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** loadInterfaceUpdates();**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** addplugin(mobile_scene_switcher_btn);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[mobile_scene_switcher_btn].html, OPPOSITE VIEW);**u000d****u000a** if(device.mobile == true, **u000d****u000a** txtadd(plugin[mobile_scene_switcher_btn].css, get("data[scenes-mobile-switer-button].content") , get(main_font) , get(header_txt_color) );**u000d****u000a** set(plugin[mobile_scene_switcher_btn].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].x,30);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].y,90);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].width,235);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].height,70);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[mobile_scene_switcher_btn].css, get("data[scenes-desktop-switer-button].content") , get(main_font) , get(header_txt_color) );**u000d****u000a** set(plugin[mobile_scene_switcher_btn].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].x,70);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].y,0);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].width,150);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].height,28);**u000d****u000a** );**u000d****u000a** set(plugin[mobile_scene_switcher_btn].align,right);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].padding,0 0 0 0);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].parent,header_container);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].zorder,15);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].enabled,true);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].visible,true);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].alpha,1);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].scale,1);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].vcenter,true);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].roundedge, 5);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].background, true);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].border, false);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].bordercolor, 0x000f3d);**u000d****u000a** set(plugin[mobile_scene_switcher_btn].onover, set(plugin[mobile_scene_switcher_btn].backgroundcolor, 0xc59131););**u000d****u000a** set(plugin[mobile_scene_switcher_btn].onout, set(plugin[mobile_scene_switcher_btn].backgroundcolor, 0x002246);); **u000d****u000a** set(plugin[mobile_scene_switcher_btn].onclick, removeActiveActions(); ChangeSceneName(); );**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[NextSceneButton].html,NEXT SCENE - 1/5);**u000d****u000a** **u000d****u000a** set(plugin[PreviousSceneButton].enabled,false);**u000d****u000a** set(plugin[PreviousSceneButton].backgroundcolor, 0x002246);**u000d****u000a****u000d****u000a** set(plugin[NextSceneButton].enabled,true);**u000d****u000a** set(plugin[NextSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[NextSceneButton].onclick, goToScene(scene-2); );**u000d****u000a****u000d****u000a** set(plugin[mobile_scene_switcher_btn].onclick, goToScene(opposite-view); removeActiveActions(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[NextSceneButton].html,NEXT SCENE - 2/5);**u000d****u000a** **u000d****u000a** set(plugin[PreviousSceneButton].enabled,true);**u000d****u000a** set(plugin[PreviousSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[PreviousSceneButton].onclick, goToScene(main-view); );**u000d****u000a****u000d****u000a** set(plugin[NextSceneButton].enabled,true);**u000d****u000a** set(plugin[NextSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[NextSceneButton].onclick, goToScene(scene-3); );**u000d****u000a****u000d****u000a** set(plugin[mobile_scene_switcher_btn].onclick, goToScene(scene-7); removeActiveActions(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[NextSceneButton].html,NEXT SCENE - 3/5);**u000d****u000a** **u000d****u000a** set(plugin[PreviousSceneButton].enabled,true);**u000d****u000a** set(plugin[PreviousSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[PreviousSceneButton].onclick, goToScene(scene-2); );**u000d****u000a****u000d****u000a** set(plugin[NextSceneButton].enabled,true);**u000d****u000a** set(plugin[NextSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[NextSceneButton].onclick, goToScene(scene-4); );**u000d****u000a****u000d****u000a** set(plugin[mobile_scene_switcher_btn].onclick, goToScene(scene-8); removeActiveActions(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[NextSceneButton].html,NEXT SCENE - 4/5);**u000d****u000a** **u000d****u000a** set(plugin[PreviousSceneButton].enabled,true);**u000d****u000a** set(plugin[PreviousSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[PreviousSceneButton].onclick, goToScene(scene-3); );**u000d****u000a****u000d****u000a** set(plugin[NextSceneButton].enabled,true);**u000d****u000a** set(plugin[NextSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[NextSceneButton].onclick, goToScene(scene-5); );**u000d****u000a****u000d****u000a** set(plugin[mobile_scene_switcher_btn].onclick, goToScene(scene-9); removeActiveActions(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[NextSceneButton].html,NEXT SCENE - 5/5);**u000d****u000a** **u000d****u000a** set(plugin[PreviousSceneButton].enabled,true);**u000d****u000a** set(plugin[PreviousSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[PreviousSceneButton].onclick, goToScene(scene-4); );**u000d****u000a****u000d****u000a** set(plugin[NextSceneButton].enabled,false);**u000d****u000a** set(plugin[NextSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[NextSceneButton].onclick, goToScene(scene-6); );**u000d****u000a****u000d****u000a** set(plugin[mobile_scene_switcher_btn].onclick, goToScene(scene-10); removeActiveActions(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[NextSceneButton].html,NEXT SCENE - 1/5);**u000d****u000a** **u000d****u000a** set(plugin[PreviousSceneButton].enabled,false);**u000d****u000a** set(plugin[PreviousSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[PreviousSceneButton].onclick, goToScene(scene-9); );**u000d****u000a****u000d****u000a** set(plugin[NextSceneButton].enabled,true);**u000d****u000a** set(plugin[NextSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[NextSceneButton].onclick, goToScene(scene-7); );**u000d****u000a****u000d****u000a** set(plugin[mobile_scene_switcher_btn].onclick, goToScene(main-view); removeActiveActions(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[NextSceneButton].html,NEXT SCENE - 2/5);**u000d****u000a** **u000d****u000a** set(plugin[PreviousSceneButton].enabled,true);**u000d****u000a** set(plugin[PreviousSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[PreviousSceneButton].onclick, goToScene(opposite-view); );**u000d****u000a****u000d****u000a** set(plugin[NextSceneButton].enabled,true);**u000d****u000a** set(plugin[NextSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[NextSceneButton].onclick, goToScene(scene-8); );**u000d****u000a****u000d****u000a** set(plugin[mobile_scene_switcher_btn].onclick, goToScene(scene-2); removeActiveActions(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[NextSceneButton].html,NEXT SCENE - 3/5);**u000d****u000a** **u000d****u000a** set(plugin[PreviousSceneButton].enabled,true);**u000d****u000a** set(plugin[PreviousSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[PreviousSceneButton].onclick, goToScene(scene-7); );**u000d****u000a****u000d****u000a** set(plugin[NextSceneButton].enabled,true);**u000d****u000a** set(plugin[NextSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[NextSceneButton].onclick, goToScene(scene-9); );**u000d****u000a****u000d****u000a** set(plugin[mobile_scene_switcher_btn].onclick, goToScene(scene-3); removeActiveActions(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[NextSceneButton].html,NEXT SCENE - 4/5);**u000d****u000a** **u000d****u000a** set(plugin[PreviousSceneButton].enabled,true);**u000d****u000a** set(plugin[PreviousSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[PreviousSceneButton].onclick, goToScene(scene-8); );**u000d****u000a****u000d****u000a** set(plugin[NextSceneButton].enabled,true);**u000d****u000a** set(plugin[NextSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[NextSceneButton].onclick, goToScene(scene-10); );**u000d****u000a****u000d****u000a** set(plugin[mobile_scene_switcher_btn].onclick, goToScene(scene-4); removeActiveActions(); );**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** set(plugin[NextSceneButton].html,NEXT SCENE - 5/5);**u000d****u000a** **u000d****u000a** set(plugin[PreviousSceneButton].enabled,true);**u000d****u000a** set(plugin[PreviousSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[PreviousSceneButton].onclick, goToScene(scene-9); );**u000d****u000a****u000d****u000a** set(plugin[NextSceneButton].enabled,false);**u000d****u000a** set(plugin[NextSceneButton].backgroundcolor, 0x002246);**u000d****u000a** set(plugin[NextSceneButton].onclick, goToScene(scene-16); );**u000d****u000a****u000d****u000a** set(plugin[mobile_scene_switcher_btn].onclick, goToScene(scene-5); removeActiveActions(); );**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(footer_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(footer_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, true);**u000d****u000a** set(plugin[load_menu].backgroundcolor, 0xffffff);**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(footer_icon_color) );**u000d****u000a** );**u000d****u000a** set(plugin[load_menu].onout, txtadd(plugin[load_menu].css, get("data[icon-btn].content") , get(footer_icon_color) ); **u000d****u000a** );**u000d****u000a** set(plugin[load_menu].ondown, hit(); );**u000d****u000a** set(plugin[load_menu].onclick, removeActiveActions(); **u000d****u000a** showNewCustomMenu();**u000d****u000a** );**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a** **u000d****u000a**
**u000d****u000a** addlayer(menuScrollarea_base_right_side);**u000d****u000a** set(layer[menuScrollarea_base_right_side].type, container);**u000d****u000a** set(layer[menuScrollarea_base_right_side].zorder, 20);**u000d****u000a** set(layer[menuScrollarea_base_right_side].align, topright);**u000d****u000a** set(layer[menuScrollarea_base_right_side].x, -610);**u000d****u000a** set(layer[menuScrollarea_base_right_side].height, 100%);**u000d****u000a** set(layer[menuScrollarea_base_right_side].bgcolor, 0x002246 );**u000d****u000a** set(layer[menuScrollarea_base_right_side].bgalpha, 0.5);**u000d****u000a** set(layer[menuScrollarea_base_right_side].bgcapture, true);**u000d****u000a** set(layer[menuScrollarea_base_right_side].visible, true);**u000d****u000a** set(layer[menuScrollarea_base_right_side].maskchildren,true);**u000d****u000a** if(device.mobile,**u000d****u000a** set(layer[menuScrollarea_base_right_side].width, 380);**u000d****u000a** set(layer[menuScrollarea_base_right_side].y, 180);**u000d****u000a** ,**u000d****u000a** set(layer[menuScrollarea_base_right_side].width, 240);**u000d****u000a** set(layer[menuScrollarea_base_right_side].y, 100);**u000d****u000a** );**u000d****u000a** addlayer(NewCustommenuScrollarea);**u000d****u000a** set(layer[NewCustommenuScrollarea].url, "%$PUBLICPATH%/js/krpano/scrollarea.js");**u000d****u000a** set(layer[NewCustommenuScrollarea].parent,layer[menuScrollarea_base_right_side]);**u000d****u000a** set(layer[NewCustommenuScrollarea].align,top);**u000d****u000a** set(layer[NewCustommenuScrollarea].width,100%);**u000d****u000a** set(layer[NewCustommenuScrollarea].height,2000);**u000d****u000a** set(layer[NewCustommenuScrollarea].direction,v);**u000d****u000a** set(layer[NewCustommenuScrollarea].y,0);**u000d****u000a** set(layer[NewCustommenuScrollarea].visible,true);**u000d****u000a** set(layer[NewCustommenuScrollarea].maskchildren,true);**u000d****u000a** set(layer[NewCustommenuScrollarea].onloaded,setcenter(0,0););**u000d****u000a****u000d****u000a** if(device.mobile, set(featuresMenuBtn_nextY, 110); , set(featuresMenuBtn_nextY, get(layer[header_container].height)); ); **u000d****u000a****u000d****u000a** addlayer(devider_new_custom_menu_seven);**u000d****u000a** set(layer[devider_new_custom_menu_seven].type, container);**u000d****u000a** set(layer[devider_new_custom_menu_seven].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(layer[devider_new_custom_menu_seven].zorder, 10);**u000d****u000a** set(layer[devider_new_custom_menu_seven].align, top);**u000d****u000a** set(layer[devider_new_custom_menu_seven].width, 100%);**u000d****u000a** set(layer[devider_new_custom_menu_seven].height, 1);**u000d****u000a** set(layer[devider_new_custom_menu_seven].alpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_seven].y, get(featuresMenuBtn_nextY));**u000d****u000a** set(layer[devider_new_custom_menu_seven].bgcolor, get(options.menu_divider_color) );**u000d****u000a** set(layer[devider_new_custom_menu_seven].bgalpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_seven].bgcapture, true);**u000d****u000a** set(layer[devider_new_custom_menu_seven].handcursor, false);**u000d****u000a** set(layer[devider_new_custom_menu_seven].enabled, false); **u000d****u000a** set(layer[devider_new_custom_menu_seven].visible, true);**u000d****u000a****u000d****u000a** if (relatedProjects OR options.more_fancams_enabled == true,**u000d****u000a** removeplugin(btn_moreFC_new_custom_menu);**u000d****u000a** addplugin(btn_moreFC_new_custom_menu);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].html, get(options.more_fc_title) );**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].align,top);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].zorder,5);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].x,0);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** if(device.mobile,**u000d****u000a** txtadd(plugin[btn_moreFC_new_custom_menu].css, get("data[menu-subj-btns-mobi].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 100);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].height,100);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].padding,0 0 0 40);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[btn_moreFC_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 61);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].height,60);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].padding,0 0 0 20);**u000d****u000a** );**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].enabled,true);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].alpha,1);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].scale,1);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].width,100%);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].vcenter,true);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].background, true);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].backgroundcolor, get(options.menu_main_btn_color));**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].border, false);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].borderwidth, 1);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].borderalpha, 0.5);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].roundedge, 0);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].visible,true);**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].ondown, hit(); );**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].onover, set(plugin[btn_moreFC_new_custom_menu].backgroundalpha, 1);**u000d****u000a** txtadd(plugin[btn_moreFC_new_custom_menu].css, get("data[menu-subj-btns-hover].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].onout, set(plugin[btn_moreFC_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** txtadd(plugin[btn_moreFC_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_moreFC_new_custom_menu].onclick, hideNewCutstomMenu();**u000d****u000a** js(**u0027**RelatedPopup.show();**u0027**); **u000d****u000a** );**u000d****u000a** );**u000d****u000a** **u000d****u000a** addlayer(devider_new_custom_menu_five);**u000d****u000a** set(layer[devider_new_custom_menu_five].type, container);**u000d****u000a** set(layer[devider_new_custom_menu_five].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(layer[devider_new_custom_menu_five].zorder, 10);**u000d****u000a** set(layer[devider_new_custom_menu_five].align, top);**u000d****u000a** set(layer[devider_new_custom_menu_five].width, 100%);**u000d****u000a** set(layer[devider_new_custom_menu_five].height, 1);**u000d****u000a** set(layer[devider_new_custom_menu_five].alpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_five].y, get(featuresMenuBtn_nextY));**u000d****u000a** set(layer[devider_new_custom_menu_five].bgcolor, get(options.menu_divider_color) );**u000d****u000a** set(layer[devider_new_custom_menu_five].bgalpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_five].bgcapture, true);**u000d****u000a** set(layer[devider_new_custom_menu_five].handcursor, false);**u000d****u000a** set(layer[devider_new_custom_menu_five].enabled, false); **u000d****u000a** set(layer[devider_new_custom_menu_five].visible, true);**u000d****u000a****u000d****u000a** addplugin(btn_share_new_custom_menu);**u000d****u000a** set(plugin[btn_share_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_share_new_custom_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[btn_share_new_custom_menu].html, SHARE THIS VIEW);**u000d****u000a** set(plugin[btn_share_new_custom_menu].align,top);**u000d****u000a** set(plugin[btn_share_new_custom_menu].zorder,5);**u000d****u000a** set(plugin[btn_share_new_custom_menu].x,0);**u000d****u000a** set(plugin[btn_share_new_custom_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** if(device.mobile,**u000d****u000a** txtadd(plugin[btn_share_new_custom_menu].css, get("data[menu-subj-btns-mobi].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 100);**u000d****u000a** set(plugin[btn_share_new_custom_menu].height,100);**u000d****u000a** set(plugin[btn_share_new_custom_menu].padding,0 0 0 40);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[btn_share_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 61);**u000d****u000a** set(plugin[btn_share_new_custom_menu].height,60);**u000d****u000a** set(plugin[btn_share_new_custom_menu].padding,0 0 0 20);**u000d****u000a** );**u000d****u000a** set(plugin[btn_share_new_custom_menu].enabled,true);**u000d****u000a** set(plugin[btn_share_new_custom_menu].alpha,1);**u000d****u000a** set(plugin[btn_share_new_custom_menu].scale,1);**u000d****u000a** set(plugin[btn_share_new_custom_menu].width,100%);**u000d****u000a** set(plugin[btn_share_new_custom_menu].vcenter,true);**u000d****u000a** set(plugin[btn_share_new_custom_menu].background, true);**u000d****u000a** set(plugin[btn_share_new_custom_menu].backgroundcolor, get(options.menu_main_btn_color));**u000d****u000a** set(plugin[btn_share_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** set(plugin[btn_share_new_custom_menu].border, false);**u000d****u000a** set(plugin[btn_share_new_custom_menu].borderwidth, 1);**u000d****u000a** set(plugin[btn_share_new_custom_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[btn_share_new_custom_menu].borderalpha, 0);**u000d****u000a** set(plugin[btn_share_new_custom_menu].roundedge, 0);**u000d****u000a** set(plugin[btn_share_new_custom_menu].visible,true);**u000d****u000a** set(plugin[btn_share_new_custom_menu].ondown, hit(); );**u000d****u000a** set(plugin[btn_share_new_custom_menu].onover, set(plugin[btn_share_new_custom_menu].backgroundalpha, 1);**u000d****u000a** txtadd(plugin[btn_share_new_custom_menu].css, get("data[menu-subj-btns-hover].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_share_new_custom_menu].onout, set(plugin[btn_share_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** txtadd(plugin[btn_share_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_share_new_custom_menu].onclick, hideNewCutstomMenu();**u000d****u000a** ifnot(inapp, js(SharePopup.show(**u0027**view**u0027** , get(option.string_sharethisview) , onShareSuccessAction , onShareFailureAction, 1)););**u000d****u000a** if(inapp.facebook,**u000d****u000a** jscall(fc.share({**u0027**network**u0027** : **u0027**facebook**u0027**,**u000d****u000a** **u0027**context**u0027** : **u0027**view**u0027**,**u000d****u000a** **u0027**zoomfactor**u0027** : 1,**u000d****u000a** **u0027**success_action**u0027**:**u0027**onShareSuccessAction**u0027**}));**u000d****u000a** );**u000d****u000a** if(inapp.twitter,**u000d****u000a** jscall(fc.share({**u0027**network**u0027** : **u0027**twitter**u0027**,**u000d****u000a** **u0027**context**u0027** : **u0027**view**u0027**,**u000d****u000a** **u0027**zoomfactor**u0027** : 1,**u000d****u000a** **u0027**success_action**u0027**:**u0027**onShareSuccessAction**u0027**,**u000d****u000a** **u0027**failure_action**u0027**:**u0027**onShareFailureAction**u0027**}));**u000d****u000a** );**u000d****u000a** xml_log(share-this-view, share-interface-opened, , ); **u000d****u000a** );**u000d****u000a** **u000d****u000a** addlayer(devider_new_custom_menu_two);**u000d****u000a** set(layer[devider_new_custom_menu_two].type, container);**u000d****u000a** set(layer[devider_new_custom_menu_two].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(layer[devider_new_custom_menu_two].zorder, 10);**u000d****u000a** set(layer[devider_new_custom_menu_two].align, top);**u000d****u000a** set(layer[devider_new_custom_menu_two].width, 100%);**u000d****u000a** set(layer[devider_new_custom_menu_two].height, 1);**u000d****u000a** set(layer[devider_new_custom_menu_two].alpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_two].y, get(featuresMenuBtn_nextY));**u000d****u000a** set(layer[devider_new_custom_menu_two].bgcolor, get(options.menu_divider_color) );**u000d****u000a** set(layer[devider_new_custom_menu_two].bgalpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_two].bgcapture, true);**u000d****u000a** set(layer[devider_new_custom_menu_two].handcursor, false);**u000d****u000a** set(layer[devider_new_custom_menu_two].enabled, false); **u000d****u000a** set(layer[devider_new_custom_menu_two].visible, true);**u000d****u000a****u000d****u000a****u000d****u000a** if (options.video_booth_enabled == true,**u000d****u000a** removeplugin(btn_video_new_custom_menu);**u000d****u000a** addplugin(btn_video_new_custom_menu);**u000d****u000a** set(plugin[btn_video_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_video_new_custom_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[btn_video_new_custom_menu].html, get(options.string_videobooth) );**u000d****u000a** set(plugin[btn_video_new_custom_menu].align,top);**u000d****u000a** set(plugin[btn_video_new_custom_menu].zorder,5);**u000d****u000a** set(plugin[btn_video_new_custom_menu].x,0);**u000d****u000a** set(plugin[btn_video_new_custom_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** if(device.mobile,**u000d****u000a** txtadd(plugin[btn_video_new_custom_menu].css, get("data[menu-subj-btns-mobi].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 100);**u000d****u000a** set(plugin[btn_video_new_custom_menu].height,100);**u000d****u000a** set(plugin[btn_video_new_custom_menu].padding,0 0 0 40);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[btn_video_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 61);**u000d****u000a** set(plugin[btn_video_new_custom_menu].height,60);**u000d****u000a** set(plugin[btn_video_new_custom_menu].padding,0 0 0 20);**u000d****u000a** );**u000d****u000a** set(plugin[btn_video_new_custom_menu].enabled,true);**u000d****u000a** set(plugin[btn_video_new_custom_menu].alpha,1);**u000d****u000a** set(plugin[btn_video_new_custom_menu].scale,1);**u000d****u000a** set(plugin[btn_video_new_custom_menu].width,100%);**u000d****u000a** set(plugin[btn_video_new_custom_menu].vcenter,true);**u000d****u000a** set(plugin[btn_video_new_custom_menu].background, true);**u000d****u000a** set(plugin[btn_video_new_custom_menu].backgroundcolor, get(options.menu_main_btn_color));**u000d****u000a** set(plugin[btn_video_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** set(plugin[btn_video_new_custom_menu].border, false);**u000d****u000a** set(plugin[btn_video_new_custom_menu].borderwidth, 1);**u000d****u000a** set(plugin[btn_video_new_custom_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[btn_video_new_custom_menu].borderalpha, 0);**u000d****u000a** set(plugin[btn_video_new_custom_menu].roundedge, 0);**u000d****u000a** set(plugin[btn_video_new_custom_menu].visible,true);**u000d****u000a** set(plugin[btn_video_new_custom_menu].ondown, hit(); );**u000d****u000a** set(plugin[btn_video_new_custom_menu].onover, set(plugin[btn_video_new_custom_menu].backgroundalpha, 1);**u000d****u000a** txtadd(plugin[btn_video_new_custom_menu].css, get("data[menu-subj-btns-hover].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_video_new_custom_menu].onout, set(plugin[btn_video_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** txtadd(plugin[btn_video_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_video_new_custom_menu].onclick, hideNewCutstomMenu();**u000d****u000a** removeActiveActions();**u000d****u000a** openVideoBooth();**u000d****u000a** );**u000d****u000a** );**u000d****u000a****u000d****u000a** addlayer(devider_new_custom_menu_three);**u000d****u000a** set(layer[devider_new_custom_menu_three].type, container);**u000d****u000a** set(layer[devider_new_custom_menu_three].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(layer[devider_new_custom_menu_three].zorder, 10);**u000d****u000a** set(layer[devider_new_custom_menu_three].align, top);**u000d****u000a** set(layer[devider_new_custom_menu_three].width, 100%);**u000d****u000a** set(layer[devider_new_custom_menu_three].height, 1);**u000d****u000a** set(layer[devider_new_custom_menu_three].alpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_three].y, get(featuresMenuBtn_nextY));**u000d****u000a** set(layer[devider_new_custom_menu_three].bgcolor, get(options.menu_divider_color) );**u000d****u000a** set(layer[devider_new_custom_menu_three].bgalpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_three].bgcapture, true);**u000d****u000a** set(layer[devider_new_custom_menu_three].handcursor, false);**u000d****u000a** set(layer[devider_new_custom_menu_three].enabled, false); **u000d****u000a** set(layer[devider_new_custom_menu_three].visible, true);**u000d****u000a****u000d****u000a** if (options.ecard_enabled == true,**u000d****u000a** addplugin(btn_ecard_new_custom_menu);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].html, get(options.string_ecard) );**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].align,top);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].zorder,5);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].x,0);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** if(device.mobile,**u000d****u000a** txtadd(plugin[btn_ecard_new_custom_menu].css, get("data[menu-subj-btns-mobi].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 100);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].height,100);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].padding,0 0 0 40);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[btn_ecard_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 61);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].height,60);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].padding,0 0 0 20);**u000d****u000a** );**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].enabled,true);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].alpha,1);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].scale,1);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].width,100%);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].vcenter,true);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].background, true);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].backgroundcolor, get(options.menu_main_btn_color));**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].border, false);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].borderwidth, 1);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].borderalpha, 0);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].roundedge, 0);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].visible,true);**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].ondown, hit(); );**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].onover, set(plugin[btn_ecard_new_custom_menu].backgroundalpha, 1);**u000d****u000a** txtadd(plugin[btn_ecard_new_custom_menu].css, get("data[menu-subj-btns-hover].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].onout, set(plugin[btn_ecard_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** txtadd(plugin[btn_ecard_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_ecard_new_custom_menu].onclick, hideNewCutstomMenu();**u000d****u000a** removeActiveActions();**u000d****u000a** openECard();**u000d****u000a** );**u000d****u000a** );**u000d****u000a****u000d****u000a** **u000d****u000a****u000d****u000a** if (options.wally_comp_enabled == true,**u000d****u000a** removeplugin(btn_comp_new_custom_menu);**u000d****u000a** addplugin(btn_comp_new_custom_menu);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[btn_comp_new_custom_menu].html, get(options.string_comp) );**u000d****u000a** set(plugin[btn_comp_new_custom_menu].align,top);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].zorder,5);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].x,0);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** if(device.mobile,**u000d****u000a** txtadd(plugin[btn_comp_new_custom_menu].css, get("data[menu-subj-btns-mobi].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 100);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].height,100);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].padding,0 0 0 40);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[btn_comp_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 61);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].height,60);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].padding,0 0 0 20);**u000d****u000a** );**u000d****u000a** set(plugin[btn_comp_new_custom_menu].enabled,true);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].alpha,1);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].scale,1);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].width,100%);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].vcenter,true);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].background, true);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].backgroundcolor, get(options.menu_main_btn_color));**u000d****u000a** set(plugin[btn_comp_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].border, false);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].borderwidth, 1);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].borderalpha, 0);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].roundedge, 0);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].visible,true);**u000d****u000a** set(plugin[btn_comp_new_custom_menu].ondown, hit(); );**u000d****u000a** set(plugin[btn_comp_new_custom_menu].onover, set(plugin[btn_comp_new_custom_menu].backgroundalpha, 1);**u000d****u000a** txtadd(plugin[btn_comp_new_custom_menu].css, get("data[menu-subj-btns-hover].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_comp_new_custom_menu].onout, set(plugin[btn_comp_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** txtadd(plugin[btn_comp_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_comp_new_custom_menu].onclick, hideNewCutstomMenu();**u000d****u000a** removeActiveActions();**u000d****u000a** openCompetition();**u000d****u000a** );**u000d****u000a** );**u000d****u000a****u000d****u000a** **u000d****u000a** **u000d****u000a** **u000d****u000a** addlayer(devider_new_custom_menu_six);**u000d****u000a** set(layer[devider_new_custom_menu_six].type, container);**u000d****u000a** set(layer[devider_new_custom_menu_six].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(layer[devider_new_custom_menu_six].zorder, 10);**u000d****u000a** set(layer[devider_new_custom_menu_six].align, top);**u000d****u000a** set(layer[devider_new_custom_menu_six].width, 100%);**u000d****u000a** set(layer[devider_new_custom_menu_six].height, 1);**u000d****u000a** set(layer[devider_new_custom_menu_six].alpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_six].y, get(featuresMenuBtn_nextY));**u000d****u000a** set(layer[devider_new_custom_menu_six].bgcolor, get(options.menu_divider_color) );**u000d****u000a** set(layer[devider_new_custom_menu_six].bgalpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_six].bgcapture, true);**u000d****u000a** set(layer[devider_new_custom_menu_six].handcursor, false);**u000d****u000a** set(layer[devider_new_custom_menu_six].enabled, false); **u000d****u000a** set(layer[devider_new_custom_menu_six].visible, true);**u000d****u000a****u000d****u000a****u000d****u000a** addplugin(btn_webvr_new_custom_menu);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].html, VR VIEW );**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].align,top);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].zorder,5);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].x,0);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** if(device.mobile,**u000d****u000a** txtadd(plugin[btn_webvr_new_custom_menu].css, get("data[menu-subj-btns-mobi].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 100);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].height,100);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].padding,0 0 0 40);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].visible,true);**u000d****u000a** set(layer[devider_new_custom_menu_four].visible, true);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[btn_webvr_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 61);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].height,60);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].padding,0 0 0 20);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].visible,false);**u000d****u000a** set(layer[devider_new_custom_menu_four].visible, false);**u000d****u000a** );**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].enabled,true);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].alpha,1);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].scale,1);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].width,100%);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].vcenter,true);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].background, true);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].backgroundcolor, get(options.menu_main_btn_color));**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].border, false);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].borderwidth, 1);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].borderalpha, 0);**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].roundedge, 0);**u000d****u000a** **u000d****u000a** set(plugin[btn_webvr_new_custom_menu].ondown, hit(); );**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].onover, set(plugin[btn_webvr_new_custom_menu].backgroundalpha, 1);**u000d****u000a** txtadd(plugin[btn_webvr_new_custom_menu].css, get("data[menu-subj-btns-hover].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].onout, set(plugin[btn_webvr_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** txtadd(plugin[btn_webvr_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_webvr_new_custom_menu].onclick, hideNewCutstomMenu();**u000d****u000a** removeActiveActions();**u000d****u000a** webvr.enterVR();**u000d****u000a** plugin[tags].hidetags();**u000d****u000a** showWebvrMenu();**u000d****u000a** xml_log(webvr, webvr-interface-opened, , ); **u000d****u000a** );**u000d****u000a****u000d****u000a** addlayer(devider_new_custom_menu_four);**u000d****u000a** set(layer[devider_new_custom_menu_four].type, container);**u000d****u000a** set(layer[devider_new_custom_menu_four].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(layer[devider_new_custom_menu_four].zorder, 10);**u000d****u000a** set(layer[devider_new_custom_menu_four].align, top);**u000d****u000a** set(layer[devider_new_custom_menu_four].width, 100%);**u000d****u000a** set(layer[devider_new_custom_menu_four].height, 1);**u000d****u000a** set(layer[devider_new_custom_menu_four].alpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_four].y, get(featuresMenuBtn_nextY));**u000d****u000a** set(layer[devider_new_custom_menu_four].bgcolor, get(options.menu_divider_color) );**u000d****u000a** set(layer[devider_new_custom_menu_four].bgalpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu_four].bgcapture, true);**u000d****u000a** set(layer[devider_new_custom_menu_four].handcursor, false);**u000d****u000a** set(layer[devider_new_custom_menu_four].enabled, false); **u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a** if(options.side_banner_enabled == true,**u000d****u000a** **u000d****u000a** addlayer(devider_banner_new_custom_menu);**u000d****u000a** set(layer[devider_banner_new_custom_menu].type, container);**u000d****u000a** set(layer[devider_banner_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(layer[devider_banner_new_custom_menu].zorder, 10);**u000d****u000a** set(layer[devider_banner_new_custom_menu].align, top);**u000d****u000a** set(layer[devider_banner_new_custom_menu].width, 100%);**u000d****u000a** set(layer[devider_banner_new_custom_menu].height, 1);**u000d****u000a** set(layer[devider_banner_new_custom_menu].alpha, 1);**u000d****u000a** set(layer[devider_banner_new_custom_menu].y, get(featuresMenuBtn_nextY));**u000d****u000a** add(featuresMenuBtn_nextY, 1);**u000d****u000a** set(layer[devider_banner_new_custom_menu].bgcolor, get(options.menu_divider_color) );**u000d****u000a** set(layer[devider_banner_new_custom_menu].bgalpha, 1);**u000d****u000a** set(layer[devider_banner_new_custom_menu].bgcapture, true);**u000d****u000a** set(layer[devider_banner_new_custom_menu].handcursor, false);**u000d****u000a** set(layer[devider_banner_new_custom_menu].enabled, false); **u000d****u000a** set(layer[devider_banner_new_custom_menu].visible, true); **u000d****u000a****u000d****u000a** removeplugin(btn_side_banner_new_custom_menu);**u000d****u000a** addplugin(btn_side_banner_new_custom_menu);**u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].url,get(options.side_banner_image));**u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].align,topleft);**u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].zorder,15);**u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].x,0);**u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** **u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].enabled,true);**u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].alpha,1);**u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].width,prop);**u000d****u000a** if(device.mobile,**u000d****u000a** set(layer[btn_side_banner_new_custom_menu].height, 740);**u000d****u000a** ,**u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].height,480);**u000d****u000a** );**u000d****u000a** **u000d****u000a** add(featuresMenuBtn_nextY, get(plugin[btn_side_banner_new_custom_menu].height));**u000d****u000a****u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].visible,true);**u000d****u000a** set(plugin[btn_side_banner_new_custom_menu].onclick, openurl( get(options.side_banner_website_link), _blank); **u000d****u000a** xml_log(other, brand-website-called, get(options.side_banner_website_link), ); );**u000d****u000a** );**u000d****u000a****u000d****u000a****u000d****u000a** addlayer(devider_new_custom_menu);**u000d****u000a** set(layer[devider_new_custom_menu].type, container);**u000d****u000a** set(layer[devider_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(layer[devider_new_custom_menu].zorder, 10);**u000d****u000a** set(layer[devider_new_custom_menu].align, top);**u000d****u000a** set(layer[devider_new_custom_menu].width, 100%);**u000d****u000a** set(layer[devider_new_custom_menu].height, 1);**u000d****u000a** set(layer[devider_new_custom_menu].alpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu].y, get(featuresMenuBtn_nextY));**u000d****u000a** set(layer[devider_new_custom_menu].bgcolor, get(options.menu_divider_color) );**u000d****u000a** set(layer[devider_new_custom_menu].bgalpha, 1);**u000d****u000a** set(layer[devider_new_custom_menu].bgcapture, true);**u000d****u000a** set(layer[devider_new_custom_menu].handcursor, false);**u000d****u000a** set(layer[devider_new_custom_menu].enabled, false); **u000d****u000a** set(layer[devider_new_custom_menu].visible, true); **u000d****u000a****u000d****u000a** add(featuresMenuBtn_nextY, 10);**u000d****u000a** **u000d****u000a** **u000d****u000a** if(options.tagging_enabled == true,**u000d****u000a** removeplugin(btn_remove_tag_new_customm_menu);**u000d****u000a** addplugin(btn_remove_tag_new_customm_menu);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].html, get(options.string_removemytag));**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].align,top);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].zorder,5);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].x,0);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** if(device.mobile,**u000d****u000a** txtadd(plugin[btn_remove_tag_new_customm_menu].css, get("data[menu-subj-btns-mobi].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 100);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].height,100);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].padding,0 0 0 40);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[btn_remove_tag_new_customm_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** add(featuresMenuBtn_nextY, 61);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].height,60);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].padding,0 0 0 20);**u000d****u000a** );**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].enabled,true);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].alpha,1);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].scale,1);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].width,100%);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].vcenter,true);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].background, true);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].backgroundcolor, get(options.menu_btn_color));**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].backgroundalpha, 0.7);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].border, false);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].borderwidth, 1);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].borderalpha, 0);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].roundedge, 0);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].visible,true);**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].onover, set(plugin[btn_remove_tag_new_customm_menu].backgroundalpha, 1);**u000d****u000a** txtadd(plugin[btn_remove_tag_new_customm_menu].css, get("data[menu-subj-btns-hover].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].onout, set(plugin[btn_remove_tag_new_customm_menu].backgroundalpha, 0.7);**u000d****u000a** txtadd(plugin[btn_remove_tag_new_customm_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].ondown, hit(); );**u000d****u000a** set(plugin[btn_remove_tag_new_customm_menu].onclick, hideNewCutstomMenu();**u000d****u000a** openurl( **u0027**/profile**u0027**, _blank); **u000d****u000a** xml_log(other, remove-my-tag-requested, ,); **u000d****u000a** );**u000d****u000a** );**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a** removeplugin(btn_terms_conditions_new_custom_menu);**u000d****u000a** addplugin(btn_terms_conditions_new_custom_menu);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].html,get(options.string_termsandconditions) );**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].align,top);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].zorder,5);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].x,0);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** if(device.mobile,**u000d****u000a** txtadd(plugin[btn_terms_conditions_new_custom_menu].css, get("data[menu-subj-btns-mobi].content") , get(menu_txt_color) , get(main_font));**u000d****u000a** add(featuresMenuBtn_nextY, 100);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].height,100);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].padding,0 0 0 40);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[btn_terms_conditions_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** add(featuresMenuBtn_nextY, 61);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].height,60);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].padding,0 0 0 20);**u000d****u000a** );**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].enabled,true);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].alpha,1);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].scale,1);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].width,100%);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].vcenter,true);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].background, true);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].backgroundcolor, get(options.menu_btn_color));**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].border, false);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].borderwidth, 1);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].borderalpha, 0);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].roundedge, 0);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].visible,true);**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].onover, set(plugin[btn_terms_conditions_new_custom_menu].backgroundalpha, 1);**u000d****u000a** txtadd(plugin[btn_terms_conditions_new_custom_menu].css, get("data[menu-subj-btns-hover].content") , get(menu_txt_color) , get(main_font) ); **u000d****u000a** );**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].onout, set(plugin[btn_terms_conditions_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** txtadd(plugin[btn_terms_conditions_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].ondown, hit(); );**u000d****u000a** set(plugin[btn_terms_conditions_new_custom_menu].onclick, openurl(**u0027**http://www.fancam.com/fancam-terms-and-conditions-privacy-policy/**u0027**,_blank);**u000d****u000a** xml_log(other, terms-and-conditions-called, ,);**u000d****u000a** );**u000d****u000a****u000d****u000a** **u000d****u000a** **u000d****u000a** set(layer[NewCustommenuScrollarea].height, get(featuresMenuBtn_nextY));**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a** **u000d****u000a** **u000d****u000a**
**u000d****u000a** tween(layer[menuScrollarea_base_right_side].x, 0,1);**u000d****u000a****u000d****u000a** set(layer[load_menu].onclick,hideNewCutstomMenu(); );**u000d****u000a** **u000d****u000a** set(plugin[menuBtn].onclick, removeActiveActions(); **u000d****u000a** hideNewCutstomMenu();**u000d****u000a** **u000d****u000a****u000d****u000a**
**u000d****u000a** tween(plugin[load_menu].alpha, 1, 0.5);**u000d****u000a** **u000d****u000a** tween(layer[menuScrollarea_base_right_side].x, -600,1);**u000d****u000a** set(plugin[load_menu].onclick, removeActiveActions(); **u000d****u000a** showNewCustomMenu();**u000d****u000a** );**u000d****u000a** **u000d****u000a****u000d****u000a****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_agegate_popup);**u000d****u000a** set(plugin[new_agegate_popup].type, container);**u000d****u000a** set(plugin[new_agegate_popup].zorder, 100);**u000d****u000a** set(plugin[new_agegate_popup].align, center);**u000d****u000a** if(device.mobile,**u000d****u000a** set(plugin[new_agegate_popup].width, 650);**u000d****u000a** set(plugin[new_agegate_popup].height, 250);**u000d****u000a** set(plugin[new_agegate_popup].bgroundedge, 20);**u000d****u000a** ,**u000d****u000a** **u000d****u000a** set(plugin[new_agegate_popup].width, 350);**u000d****u000a** set(plugin[new_agegate_popup].height, 150);**u000d****u000a** set(plugin[new_agegate_popup].bgroundedge, 10);**u000d****u000a** );**u000d****u000a** set(plugin[new_agegate_popup].x, 0);**u000d****u000a** set(plugin[new_agegate_popup].y, 0);**u000d****u000a** set(plugin[new_agegate_popup].bgcolor, get(options.popup_bg_color));**u000d****u000a** set(plugin[new_agegate_popup].bgcapture, true);**u000d****u000a** set(plugin[new_agegate_popup].bgalpha, 1);**u000d****u000a** set(plugin[new_agegate_popup].bgborder, 1 0x000000 0);**u000d****u000a** set(plugin[new_agegate_popup].alpha, 1);**u000d****u000a** set(plugin[new_agegate_popup].enabled, true);**u000d****u000a** set(plugin[new_agegate_popup].handcursor, false);**u000d****u000a** set(plugin[new_agegate_popup].visible, true);**u000d****u000a****u000d****u000a** addplugin(new_agegate_popup_title);**u000d****u000a** set(plugin[new_agegate_popup_title].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[new_agegate_popup_title].html, [div style="text-align: center;"] ARE YOU OVER 21?);**u000d****u000a** if(device.mobile, txtadd(plugin[new_agegate_popup_title].css, get("data[title-txt-mobi].content") , get(title_txt_color) , get(main_font));**u000d****u000a** set(plugin[new_agegate_popup_title].height,80);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[new_agegate_popup_title].css, get("data[title-txt].content") , get(title_txt_color) , get(main_font));**u000d****u000a** set(plugin[new_agegate_popup_title].height,60);**u000d****u000a** ); **u000d****u000a** set(plugin[new_agegate_popup_title].parent,new_agegate_popup);**u000d****u000a** set(plugin[new_agegate_popup_title].align,top);**u000d****u000a** set(plugin[new_agegate_popup_title].zorder,5);**u000d****u000a** set(plugin[new_agegate_popup_title].x,0);**u000d****u000a** set(plugin[new_agegate_popup_title].y,10);**u000d****u000a** set(plugin[new_agegate_popup_title].enabled,false);**u000d****u000a** set(plugin[new_agegate_popup_title].alpha,1);**u000d****u000a** set(plugin[new_agegate_popup_title].scale,1);**u000d****u000a** set(plugin[new_agegate_popup_title].width,85%);**u000d****u000a** set(plugin[new_agegate_popup_title].vcenter,true);**u000d****u000a** set(plugin[new_agegate_popup_title].background, false);**u000d****u000a** set(plugin[new_agegate_popup_title].border, false);**u000d****u000a** set(plugin[new_agegate_popup_title].visible,true);**u000d****u000a****u000d****u000a** addplugin(new_agegate_popup_button_yes);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[new_agegate_popup_button_yes].html, [div style="text-align: center;"] YES );**u000d****u000a** if(device.mobile, txtadd(plugin[new_agegate_popup_button_yes].css, get("data[btn-txt-reg-mobi].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[new_agegate_popup_button_yes].height, 60);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].width, 45%);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].roundedge, 10);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[new_agegate_popup_button_yes].css, get("data[btn-txt-reg].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[new_agegate_popup_button_yes].height, 40);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].width, 45%);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].roundedge, 5);**u000d****u000a** );**u000d****u000a** set(plugin[new_agegate_popup_button_yes].parent,new_agegate_popup);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].align,bottomleft);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].zorder,25);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].x,10);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].y,20);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].enabled,true);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].alpha,1);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].scale,1);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].vcenter,true);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].visible,true);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].background, true);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].backgroundcolor, get(options.btn_color));**u000d****u000a** set(plugin[new_agegate_popup_button_yes].backgroundalpha, 1);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].border, false);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].bordercolor, 0xffffff);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].borderalpha, 1);**u000d****u000a** set(plugin[new_agegate_popup_button_yes].onover, set(plugin[new_agegate_popup_button_yes].backgroundcolor, get(options.btn_color_hover)); );**u000d****u000a** set(plugin[new_agegate_popup_button_yes].onout, set(plugin[new_agegate_popup_button_yes].backgroundcolor, get(options.btn_color)); );**u000d****u000a** set(plugin[new_agegate_popup_button_yes].ondown, hit(););**u000d****u000a** set(plugin[new_agegate_popup_button_yes].onclick, set(plugin[agegate_simiple_background].visible, false);**u000d****u000a** set(plugin[new_agegate_popup].visible, false);**u000d****u000a** getLookToValues();**u000d****u000a** xml_log(agegate, yes-button-clicked, ,););**u000d****u000a****u000d****u000a** addplugin(new_agegate_popup_button_no);**u000d****u000a** set(plugin[new_agegate_popup_button_no].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[new_agegate_popup_button_no].html, [div style="text-align: center;"] NO);**u000d****u000a** if(device.mobile, txtadd(plugin[new_agegate_popup_button_no].css, get("data[btn-txt-reg-mobi].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[new_agegate_popup_button_no].height, 60);**u000d****u000a** set(plugin[new_agegate_popup_button_no].width, 45%);**u000d****u000a** set(plugin[new_agegate_popup_button_no].roundedge, 10);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[new_agegate_popup_button_no].css, get("data[btn-txt-reg].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[new_agegate_popup_button_no].height, 40);**u000d****u000a** set(plugin[new_agegate_popup_button_no].width, 45%);**u000d****u000a** set(plugin[new_agegate_popup_button_no].roundedge, 5);**u000d****u000a** );**u000d****u000a** set(plugin[new_agegate_popup_button_no].parent,new_agegate_popup);**u000d****u000a** set(plugin[new_agegate_popup_button_no].align,bottomright);**u000d****u000a** set(plugin[new_agegate_popup_button_no].zorder,25);**u000d****u000a** set(plugin[new_agegate_popup_button_no].x,10);**u000d****u000a** set(plugin[new_agegate_popup_button_no].y,20);**u000d****u000a** set(plugin[new_agegate_popup_button_no].enabled,true);**u000d****u000a** set(plugin[new_agegate_popup_button_no].alpha,1);**u000d****u000a** set(plugin[new_agegate_popup_button_no].scale,1);**u000d****u000a** set(plugin[new_agegate_popup_button_no].vcenter,true);**u000d****u000a** set(plugin[new_agegate_popup_button_no].visible,true);**u000d****u000a** set(plugin[new_agegate_popup_button_no].background, true);**u000d****u000a** set(plugin[new_agegate_popup_button_no].backgroundcolor, get(options.btn_color));**u000d****u000a** set(plugin[new_agegate_popup_button_no].backgroundalpha, 1);**u000d****u000a** set(plugin[new_agegate_popup_button_no].border, false);**u000d****u000a** set(plugin[new_agegate_popup_button_no].bordercolor, 0xffffff);**u000d****u000a** set(plugin[new_agegate_popup_button_no].borderalpha, 1);**u000d****u000a** set(plugin[new_agegate_popup_button_no].onover, set(plugin[new_agegate_popup_button_no].backgroundcolor, get(options.btn_color_hover)); );**u000d****u000a** set(plugin[new_agegate_popup_button_no].onout, set(plugin[new_agegate_popup_button_no].backgroundcolor, get(options.btn_color)); );**u000d****u000a** set(plugin[new_agegate_popup_button_no].ondown, hit(););**u000d****u000a** set(plugin[new_agegate_popup_button_no].onclick, openurl(**u0027**http://www.fancam.com/**u0027**, _self);**u000d****u000a** xml_log(agegate, no-button-clicked, ,) );**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** oninterrupt( break(); );**u000d****u000a** **u000d****u000a** ifnot(initialPos, **u000d****u000a** lookto(-178.744, 19.536, 52.538 ,tween(easeInOutQuad,5));**u000d****u000a** ,**u000d****u000a** );**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**');// type=string
vars.options.on_scene_loaded_custom_xml = decodeSingleQuoteSafeString('get(currScene);**u000d****u000a**if(currScene == **u0027**main-view**u0027**,setupSceneDefualt(););**u000d****u000a**if(currScene == **u0027**scene-2**u0027**, setupSceneTwo(););**u000d****u000a**if(currScene == **u0027**scene-3**u0027**, setupSceneThree(););**u000d****u000a**if(currScene == **u0027**scene-4**u0027**, setupSceneFour(););**u000d****u000a**if(currScene == **u0027**scene-5**u0027**, setupSceneFive(););**u000d****u000a**if(currScene == **u0027**opposite-view**u0027**,setupSceneEleven(););**u000d****u000a**if(currScene == **u0027**scene-7**u0027**,setupSceneTwelve(););**u000d****u000a**if(currScene == **u0027**scene-8**u0027**,setupSceneThirteen(););**u000d****u000a**if(currScene == **u0027**scene-9**u0027**,setupSceneFourteen(););**u000d****u000a**if(currScene == **u0027**scene-10**u0027**,setupSceneFifteen(););');// type=string
vars.options.on_scene_loaded_end_custom_xml = decodeSingleQuoteSafeString('');// type=string
vars.options.on_startup_custom_xml = decodeSingleQuoteSafeString('');// type=string
vars.options.on_startup_end_custom_xml = decodeSingleQuoteSafeString('');// type=string
vars.options.on_interface_loaded_xml = decodeSingleQuoteSafeString('loadInterfaceUpdates();**u000d****u000a****u000d****u000a**override_tutContainer_update();**u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**loadSideNewCustomMenu();**u000d****u000a**LoadMainMenu();**u000d****u000a****u000d****u000a**AgeGateActive();**u000d****u000a****u000d****u000a**removeplugin(menuBtn);**u000d****u000a**removeplugin(webvr_enterBtn);');// type=string
vars.options.on_window_resized_xml = decodeSingleQuoteSafeString('if(device.mobile == true, **u000d****u000a** set(layer[menuScrollarea].y,120);**u000d****u000a** set(plugin[brand_logo].y,1);**u000d****u000a** set(plugin[brand_logo].scale,0.5);**u000d****u000a** set(plugin[webvr_enterBtn].y,0);**u000d****u000a** set(plugin[fancam_title_text].x,25);**u000d****u000a** set(plugin[cowboyscombined_logo].scale,0.55);**u000d****u000a** ,**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('Cowboys Miller Lite Fancam');// type=string
vars.i18n.en.site_description = decodeSingleQuoteSafeString('Explore the Cowboys Miller Lite Fancam and share what you find with the world.');// type=string
vars.i18n.en.share_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/61234a601024170cb692cf72/shareimage-20210920070359.png"; // type=image unescaped
vars.i18n.en.site_title_fb = decodeSingleQuoteSafeString('Cowboys Fancams');// type=string
vars.i18n.en.site_description_fb = decodeSingleQuoteSafeString('Explore the Cowboys Miller Lite Fancam and share what you find with the world!');// type=string
vars.i18n.en.site_title_twtr = decodeSingleQuoteSafeString('Cowboys Fancam');// type=string
vars.i18n.en.site_description_twtr = decodeSingleQuoteSafeString('Explore the Cowboys Miller Lite Fancam 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('#ItsMillerTime');// type=string
vars.i18n.en.share_title_email = decodeSingleQuoteSafeString('Cowboys Fancam');// type=string
vars.i18n.en.share_description_email = decodeSingleQuoteSafeString('Explore the Cowboys Miller Lite Fancam and share what you find with the world!');// 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/5d43e1b86cd80677ef5776b9/site-loader-new-20190802080440.gif?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_default_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/61234a601024170cb692cf72/ecardShareFrame-20210920070403.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/61234a601024170cb692cf72/ecardShareFrame-20210920070406.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_tview_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/61234a601024170cb692cf72/ecardShareFrame-20210920070409.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.ecard_frame = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5fe1e52d0d8426714a151846/ecard_frame-20210809164708.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_ecard_view_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/61234a601024170cb692cf72/ecardShareFrame-20210920070413.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.string_tagyourself_button = decodeSingleQuoteSafeString('TAG [div style=**u0027**font-size:20px;**u0027**] YOURSELF [/div]');// type=string
vars.i18n.en.string_tagyourself_button_mobile = decodeSingleQuoteSafeString('TAG [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('[div style=**u0027**font-size:20px;**u0027**] RETURN TO [/div] [div style=**u0027**font-size:30px;**u0027**] FANCAM [/div]');// type=string
vars.i18n.en.string_return_to_fc_button_mobile = decodeSingleQuoteSafeString('[div style=**u0027**font-size:25px;**u0027**] RETURN TO [/div] [div style=**u0027**font-size:40px;**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 SELFIE');// 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('opposite view');// type=string
vars.i18n.en.previous_scene_title = decodeSingleQuoteSafeString('opposite view');// type=string
vars.i18n.en.signup_optin_promotions_enabled = false; // type=boolean
vars.i18n.en.string_signup_optin_promotions = decodeSingleQuoteSafeString('Please send me Team News and Promotions');// type=string
vars.i18n.en.signup_optin_promotions_sponsor_enabled = false; // type=boolean
vars.i18n.en.string_signup_optin_promotions_sponsor = decodeSingleQuoteSafeString('Please send me Sponsor News and Promotions');// type=string
vars.i18n.en.signup_email_age_gate_enabled = false; // type=boolean
vars.i18n.en.signup_email_age_gate_age = decodeSingleQuoteSafeString('13');// type=string
vars.i18n.en.login_terms_of_use_url = decodeSingleQuoteSafeString('https://www.fancam.com/fancam-terms-and-conditions-privacy-policy/');// type=string
vars.i18n.en.login_privacy_policy_url = decodeSingleQuoteSafeString('https://www.fancam.com/fancam-terms-and-conditions-privacy-policy/');// type=string
vars.i18n.en.splash_screen_coming_soon_texts_enabled = false; // type=boolean
vars.i18n.en.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('Let’s toast to our Cowboys');// type=string
vars.i18n.en.subtitle_video1 = decodeSingleQuoteSafeString('With the beer brewed by fans, for fans.');// type=string
vars.i18n.en.title_video2 = decodeSingleQuoteSafeString('Koch Following Draw With Atlanta');// type=string
vars.i18n.en.subtitle_video2 = decodeSingleQuoteSafeString('Alan Koch discusses FC Cincinnati**u0027**s draw against Atlanta United FC.');// type=string
vars.i18n.en.title_video3 = decodeSingleQuoteSafeString('Greg Garza on his Return to Atlanta');// type=string
vars.i18n.en.subtitle_video3 = decodeSingleQuoteSafeString('Greg Garza talks about returning to his "second home" tonight, how the atmosphere at Mercedes-Benz Stadium plays into the match and more.');// 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('Cannot tag here, try another position');// 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', '/20210927/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: "/20210927/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
*/