TODO add more init settings/variables here */
/* post xml parsing vars i.e. get(startscene);*/
var vars = {};
vars.idletime = 2;
vars.currScene = "main-scene";
vars.projectId = "5bd98eaae87eb6301547c17c";
vars.fancamId = "5bd98eaae87eb6301547c17c"; // backwards compatable
vars.APIPATH = "https://newyorkrangers.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/5bd98eaae87eb6301547c17c";
vars.STARTSCENE = "main-scene";
vars.NOCACHE = "4630";
vars.RAND = "9000";
vars.visibility = "live";
vars.event = {"keywords":"Northwell Health ,Lennox Hill health,MSG,NY Rangers","featuring":"New York Rangers ","country":"USA","city":"New York","venue":"Madison Square Garden","category":"Ice Hockey","date":"2018-03-30T00:00:00.000Z","shortname":"Lightning vs Rangers ","name":"Lightning vs Rangers ","dateSearchable":"30/03/2018 03/30/2018 03-30-2018 2018-03-30 Friday 30th March 2018"};
vars.relatedProjects = [];
vars.relatedProjects[0] = { name:"Lightning vs Rangers ", shortname:"Lightning vs Rangers ", url:"https://newyorkrangers.fancam.com/20180330", date:localizeDateWithTime("2018-03-30T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[1] = { name:"Capitals vs Rangers ", shortname:"Capitals vs Rangers ", url:"https://newyorkrangers.fancam.com/20180326", date:localizeDateWithTime("2018-03-26T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[2] = { name:"Sabres vs Rangers ", shortname:"Sabres vs Rangers ", url:"https://newyorkrangers.fancam.com/20180324", date:localizeDateWithTime("2018-03-24T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[3] = { name:"Blue Jackets vs Rangers ", shortname:"Blue Jackets vs Rangers ", url:"https://newyorkrangers.fancam.com/20180320", date:localizeDateWithTime("2018-03-20T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[4] = { name:"Penguins vs Rangers ", shortname:"Penguins vs Rangers ", url:"https://newyorkrangers.fancam.com/20180314", date:localizeDateWithTime("2018-03-14T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[5] = { name:"Hurricanes vs Rangers ", shortname:"Hurricanes vs Rangers ", url:"https://newyorkrangers.fancam.com/20180312", date:localizeDateWithTime("2018-03-12T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[6] = { name:"Jets vs Rangers ", shortname:"Jets vs Rangers ", url:"https://newyorkrangers.fancam.com/20180306", date:localizeDateWithTime("2018-03-06T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[7] = { name:"Red Wings vs Rangers ", shortname:"Red Wings vs Rangers ", url:"https://newyorkrangers.fancam.com/20180225", date:localizeDateWithTime("2018-02-25T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[8] = { name:"Wild vs Rangers ", shortname:"Wild vs Rangers ", url:"https://newyorkrangers.fancam.com/20180223", date:localizeDateWithTime("2018-02-23T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[9] = { name:"Flyers vs Rangers ", shortname:"Flyers vs Rangers ", url:"https://newyorkrangers.fancam.com/20180218", date:localizeDateWithTime("2018-02-18T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[10] = { name:"Flames vs Rangers ", shortname:"Flames vs Rangers ", url:"https://newyorkrangers.fancam.com/20180209", date:localizeDateWithTime("2018-02-09T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[11] = { name:"Bruins vs Rangers ", shortname:"Bruins vs Rangers ", url:"https://newyorkrangers.fancam.com/20180207", date:localizeDateWithTime("2018-02-07T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[12] = { name:"Leafs vs Rangers ", shortname:"Leafs vs Rangers ", url:"https://newyorkrangers.fancam.com/20180201", date:localizeDateWithTime("2018-02-01T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[13] = { name:"Sabres vs Rangers ", shortname:"Sabres vs Rangers ", url:"https://newyorkrangers.fancam.com/20180118", date:localizeDateWithTime("2018-01-18T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[14] = { name:"Flyers vs Rangers ", shortname:"Flyers vs Rangers ", url:"https://newyorkrangers.fancam.com/20180116", date:localizeDateWithTime("2018-01-16T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[15] = { name:"Islanders vs Rangers ", shortname:"Islanders vs Rangers ", url:"https://newyorkrangers.fancam.com/20180113", date:localizeDateWithTime("2018-01-13T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[16] = { name:"Blackhawks vs Rangers ", shortname:"Blackhawks vs Rangers ", url:"https://newyorkrangers.fancam.com/20180103", date:localizeDateWithTime("2018-01-03T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[17] = { name:"Capitals vs Rangers ", shortname:"Capitals vs Rangers ", url:"https://newyorkrangers.fancam.com/20171227", date:localizeDateWithTime("2017-12-27T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[18] = { name:"Leafs vs Rangers ", shortname:"Leafs vs Rangers ", url:"https://newyorkrangers.fancam.com/20171223", date:localizeDateWithTime("2017-12-23T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[19] = { name:"Ducks vs Rangers ", shortname:"Ducks vs Rangers ", url:"https://newyorkrangers.fancam.com/20171219", date:localizeDateWithTime("2017-12-19T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[20] = { name:"Kings vs Rangers ", shortname:"Kings vs Rangers ", url:"https://newyorkrangers.fancam.com/20171215", date:localizeDateWithTime("2017-12-15T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[21] = { name:"Stars vs Rangers ", shortname:"Stars vs Rangers ", url:"https://newyorkrangers.fancam.com/20171211", date:localizeDateWithTime("2017-12-11T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[22] = { name:"Devils vs Rangers ", shortname:"Devils vs Rangers ", url:"https://newyorkrangers.fancam.com/20171209", date:localizeDateWithTime("2017-12-09T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[23] = { name:"Hurricanes vs Rangers ", shortname:"Hurricanes vs Rangers ", url:"https://newyorkrangers.fancam.com/20171201", date:localizeDateWithTime("2017-12-01T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[24] = { name:"Panthers vs Rangers ", shortname:"Panthers vs Rangers ", url:"https://newyorkrangers.fancam.com/20171128", date:localizeDateWithTime("2017-11-28T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[25] = { name:"Canucks vs Rangers ", shortname:"Canucks vs Rangers ", url:"https://newyorkrangers.fancam.com/20171126", date:localizeDateWithTime("2017-11-26T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[26] = { name:"Wings vs Rangers ", shortname:"Wings vs Rangers ", url:"https://newyorkrangers.fancam.com/20171124", date:localizeDateWithTime("2017-11-24T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[27] = { name:"Senators vs Rangers ", shortname:"Senators vs Rangers ", url:"https://newyorkrangers.fancam.com/20171119", date:localizeDateWithTime("2017-11-19T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[28] = { name:"Oilers vs Rangers ", shortname:"Oilers vs Rangers ", url:"https://newyorkrangers.fancam.com/20171111", date:localizeDateWithTime("2017-11-11T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[29] = { name:"Bruins vs Rangers ", shortname:"Bruins vs Rangers ", url:"https://newyorkrangers.fancam.com/20171108", date:localizeDateWithTime("2017-11-08T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[30] = { name:"Jackets vs Rangers ", shortname:"Jackets vs Rangers ", url:"https://newyorkrangers.fancam.com/20171106", date:localizeDateWithTime("2017-11-06T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[31] = { name:"Knights vs Rangers ", shortname:"Knights vs Rangers ", url:"https://newyorkrangers.fancam.com/20171031", date:localizeDateWithTime("2017-10-31T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[32] = { name:"Coyotes vs Rangers ", shortname:"Coyotes vs Rangers ", url:"https://newyorkrangers.fancam.com/20171026", date:localizeDateWithTime("2017-10-26T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[33] = { name:"Sharks vs Rangers ", shortname:"Sharks vs Rangers ", url:"https://newyorkrangers.fancam.com/20171023", date:localizeDateWithTime("2017-10-23T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[34] = { name:"Predators vs Rangers ", shortname:"Predators vs Rangers ", url:"https://newyorkrangers.fancam.com/20171021", date:localizeDateWithTime("2017-10-21T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[35] = { name:"Islanders vs Rangers ", shortname:"Islanders vs Rangers ", url:"https://newyorkrangers.fancam.com/20171019", date:localizeDateWithTime("2017-10-19T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[36] = { name:"Penguins vs Rangers ", shortname:"Penguins vs Rangers ", url:"https://newyorkrangers.fancam.com/20171017", date:localizeDateWithTime("2017-10-17T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[37] = { name:"Devils vs Rangers ", shortname:"Devils vs Rangers ", url:"https://newyorkrangers.fancam.com/20171014", date:localizeDateWithTime("2017-10-14T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[38] = { name:"Blues vs Rangers", shortname:"Blues vs Rangers ", url:"https://newyorkrangers.fancam.com/20171010", date:localizeDateWithTime("2017-10-10T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[39] = { name:"Canadiens vs Rangers ", shortname:"Canadiens vs Rangers ", url:"https://newyorkrangers.fancam.com/20171008", date:localizeDateWithTime("2017-10-08T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[40] = { name:"Avalanche vs Rangers ", shortname:"Avalanche vs Rangers ", url:"https://newyorkrangers.fancam.com/20171005", date:localizeDateWithTime("2017-10-05T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[41] = { name:"Senators vs Rangers ", shortname:"Senators vs Rangers ", url:"https://newyorkrangers.fancam.com/20170509", date:localizeDateWithTime("2017-05-09T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[42] = { name:"Senators vs Rangers ", shortname:"Senators vs Rangers ", url:"https://newyorkrangers.fancam.com/20170504", date:localizeDateWithTime("2017-05-04T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[43] = { name:"Senators vs Rangers ", shortname:"Senators vs Rangers ", url:"https://newyorkrangers.fancam.com/20170502", date:localizeDateWithTime("2017-05-02T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[44] = { name:"Canadiens vs Rangers ", shortname:"Canadiens vs Rangers ", url:"https://newyorkrangers.fancam.com/20170422", date:localizeDateWithTime("2017-04-22T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[45] = { name:"Canadiens vs Rangers ", shortname:"Canadiens vs Rangers ", url:"https://newyorkrangers.fancam.com/20170418", date:localizeDateWithTime("2017-04-18T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[46] = { name:"Canadiens vs Rangers ", shortname:"Canadiens vs Rangers ", url:"https://newyorkrangers.fancam.com/20170416", date:localizeDateWithTime("2017-04-16T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[47] = { name:"Penguins vs Rangers ", shortname:"Penguins vs Rangers ", url:"https://newyorkrangers.fancam.com/20170409", date:localizeDateWithTime("2017-04-09T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[48] = { name:"Flyers vs Rangers ", shortname:"Flyers vs Rangers ", url:"https://newyorkrangers.fancam.com/20170402", date:localizeDateWithTime("2017-04-02T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[49] = { name:"Penguins vs Rangers ", shortname:"Penguins vs Rangers ", url:"https://newyorkrangers.fancam.com/20170331", date:localizeDateWithTime("2017-03-31T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[50] = { name:"Islanders vs Rangers ", shortname:"Islander vs Rangers ", url:"https://newyorkrangers.fancam.com/20170322", date:localizeDateWithTime("2017-03-22T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[51] = { name:"Panthers vs Rangers ", shortname:"Panthers vs Rangers ", url:"https://newyorkrangers.fancam.com/20170317", date:localizeDateWithTime("2017-03-17T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[52] = { name:"Lightning vs Rangers ", shortname:"Lightning vs Rangers ", url:"https://newyorkrangers.fancam.com/20170313", date:localizeDateWithTime("2017-03-13T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[53] = { name:"Canadiens vs Rangers ", shortname:"Canadiens vs Rangers ", url:"https://newyorkrangers.fancam.com/20170304", date:localizeDateWithTime("2017-03-04T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[54] = { name:"Rangers vs Penguins", shortname:"Rangers vs Penguins", url:"https://newyorkrangers.fancam.com/20160421", date:localizeDateWithTime("2016-04-21T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[55] = { name:"Rangers vs Penguins", shortname:"Rangers vs Penguins", url:"https://newyorkrangers.fancam.com/20160419", date:localizeDateWithTime("2016-04-19T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[56] = { name:"Rangers vs Red Wings", shortname:"Rangers vs Red Wings", url:"https://newyorkrangers.fancam.com/20160409", date:localizeDateWithTime("2016-04-09T00:00:00+00:00",12), visibility:"live" };
vars.relatedProjects[57] = { name:"Rangers vs Blue Jackets", shortname:"Rangers vs Blue Jackets", url:"https://newyorkrangers.fancam.com/20151010", date:localizeDateWithTime("2015-10-10T00:00:00+00:00",12), visibility:"live" };
vars.query = {};
vars.query.s = "main-scene";
/* ---> 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 = true; // type=boolean
vars.options.share_view_enabled = true; // type=boolean
vars.options.ecard_enabled = false; // type=boolean
vars.options.video_booth_enabled = false; // type=boolean
vars.options.wally_comp_enabled = false; // type=boolean
vars.options.webvr_enabled = true; // type=boolean
vars.options.webvr_texts_enabled = false; // type=boolean
vars.options.banner_enabled = true; // type=boolean
vars.options.banner_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/logo-20181031113026.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.banner_website_link = decodeSingleQuoteSafeString('https://www.northwell.edu/');// 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/5bd98eaae87eb6301547c17c/ms-icon-310x310-20181031111719.png');// type=favicon
vars.options.favicon_html = decodeSingleQuoteSafeString('
');// type=string
vars.options.email_header_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/logo@2x-20181031111733.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('Josefin Sans, sans-serif');// type=string
vars.options.main_font_url = decodeSingleQuoteSafeString('https://fonts.googleapis.com/css?family=Josefin+Sans:600"');// type=string
vars.options.second_font_family = decodeSingleQuoteSafeString('Open Sans');// type=string
vars.options.second_font_url = decodeSingleQuoteSafeString('https://fonts.googleapis.com/css?family=Open+Sans:400,700');// type=string
vars.options.loader_bg_color = "0xffffff" ;// type=color
vars.options.header_txt_color = "0xffffff" ;// type=color
vars.options.title_txt_color = "0xffffff" ;// type=color
vars.options.subtitle_txt_color = "0xffffff" ;// type=color
vars.options.header_icon_color = "0x000000" ;// type=color
vars.options.footer_icon_color = "0xffffff" ;// type=color
vars.options.footer_btn_bg_color = "0x0161ab" ;// type=color
vars.options.footer_tag_color = "0xffffff" ;// type=color
vars.options.btn_close_color = "0xffffff" ;// type=color
vars.options.btn_close_color_hover = "0xe3393f" ;// type=color
vars.options.btn_txt_color = "0xffffff" ;// type=color
vars.options.btn_color = "0x0161ab" ;// type=color
vars.options.btn_color_hover = "0xe3393f" ;// type=color
vars.options.btn_color_disabled = "0x0161ab" ;// type=color
vars.options.btn_color_disabled_hover = "rgba(1, 72, 127, 0.99)" ;// type=color
vars.options.splash_btn_txt = "0xffffff" ;// type=color
vars.options.splash_btn_color = "0x0161ab" ;// type=color
vars.options.splash_active_color = "0xe3393f" ;// type=color
vars.options.splash_btn_txt_hover = "0x0161ab" ;// type=color
vars.options.splash_btn_color_hover = "0xffffff" ;// type=color
vars.options.splash_btn_cs_color = "0xe3393f" ;// 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 = "0x0161ab" ;// type=color
vars.options.menu_btn_color = "0x0161ab" ;// 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 = "0x000000" ;// type=color
vars.options.popup_bg_color = "0xbec0c2" ;// 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 = true; // type=boolean
vars.options.ecardpopup = false; // type=boolean
vars.options.neutral_tag_image = "%$THEMEPATH%/assets/img/neutral.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.team1_tag_enabled = false; // type=boolean
vars.options.team1_tag_image = "%$THEMEPATH%/assets/img/team_1.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.team2_tag_enabled = false; // type=boolean
vars.options.team2_tag_image = "%$THEMEPATH%/assets/img/team_2.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.tagcounter_enabled = false; // type=boolean
vars.options.tagcounter_min = decodeSingleQuoteSafeString('200');// type=string
vars.options.tagging_disabled_scenes = decodeSingleQuoteSafeString('');// type=string
vars.options.seperate_tags_per_scene = true; // type=boolean
vars.options.place_your_face_tag_size = decodeSingleQuoteSafeString('5');// type=string
vars.options.tags_load_mode = decodeSingleQuoteSafeString('mixed');// type=string
vars.options.tag_sensitivity = decodeSingleQuoteSafeString('5');// type=string
vars.options.tag_min_update_time = decodeSingleQuoteSafeString('2000');// type=string
vars.options.tags_max = decodeSingleQuoteSafeString('50');// type=string
vars.options.tags_max_fov = decodeSingleQuoteSafeString('50');// type=string
vars.options.tags_fov_distance = decodeSingleQuoteSafeString('5');// type=string
vars.options.tags_persistent = decodeSingleQuoteSafeString('50');// type=string
vars.options.tags_per_update = decodeSingleQuoteSafeString('25');// type=string
vars.options.character_team1_hat1_overlay = "%$THEMEPATH%/assets/img/face/head-team1-hat1.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_hat1_overlay_icon = "%$THEMEPATH%/assets/img/face/head-team1-hat1-icon.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_hat2_overlay = "%$THEMEPATH%/assets/img/face/head-team1-hat2.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_hat2_overlay_icon = "%$THEMEPATH%/assets/img/face/head-team1-hat2-icon.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_shirt1_overlay = "%$THEMEPATH%/assets/img/face/body-team1-shirt1.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_shirt1_overlay_icon = "%$THEMEPATH%/assets/img/face/body-team1-shirt1-icon.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_shirt2_overlay = "%$THEMEPATH%/assets/img/face/body-team1-shirt2.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team1_shirt2_overlay_icon = "%$THEMEPATH%/assets/img/face/body-team1-shirt2-icon.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_hat1_overlay = "%$THEMEPATH%/assets/img/face/head-team2-hat1.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_hat1_overlay_icon = "%$THEMEPATH%/assets/img/face/head-team2-hat1-icon.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_hat2_overlay = "%$THEMEPATH%/assets/img/face/head-team2-hat2.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_hat2_overlay_icon = "%$THEMEPATH%/assets/img/face/head-team2-hat2-icon.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_shirt1_overlay = "%$THEMEPATH%/assets/img/face/body-team2-shirt1.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_shirt1_overlay_icon = "%$THEMEPATH%/assets/img/face/body-team2-shirt1-icon.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_shirt2_overlay = "%$THEMEPATH%/assets/img/face/body-team2-shirt2.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.character_team2_shirt2_overlay_icon = "%$THEMEPATH%/assets/img/face/body-team2-shirt2-icon.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.scene_switcher_enabled = false; // type=boolean
vars.options.scenes_in_menu_enabled = true; // type=boolean
vars.options.scene_labels_enabled = false; // type=boolean
vars.options.scene_slideshow_enabled = false; // type=boolean
vars.options.same_view_position_for_scenes = false; // type=boolean
vars.options.scene_switcher_menu_button = false; // type=boolean
vars.options.scenes_slideshow_speed = decodeSingleQuoteSafeString('3');// type=string
vars.options.scenes_slideshow_blend_time = decodeSingleQuoteSafeString('1.5');// type=string
vars.options.interface_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/interface-20181029110552-20181031112022.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.tutorial_zoom_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/desk-tutorial-2-20181106094559.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.tutorial_move_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/desk-tutorial-1-20181106094604.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.tutorial_mobi_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/mobile-tut-20181106094609.png?v=%$NOCACHE%"; // type=image unescaped
vars.options.menu_buttons_show_icons = false; // type=boolean
vars.options.menu_buttons_width = decodeSingleQuoteSafeString('200');// type=string
vars.options.vr_audio_background_enabled = false; // type=boolean
vars.options.vr_audio_background_file = ""; // type=file unescaped
vars.options.vr_audio_background_volume = decodeSingleQuoteSafeString('0.4');// type=string
vars.options.video1_enabled = false; // type=boolean
vars.options.video_url_1 = decodeSingleQuoteSafeString('42oLZhRq3nA');// type=string
vars.options.video_image_1 = "%$THEMEPATH%/assets/img/videoThumbnail_1.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.video2_enabled = false; // type=boolean
vars.options.video_url_2 = decodeSingleQuoteSafeString('42oLZhRq3nA');// type=string
vars.options.video_image_2 = "%$THEMEPATH%/assets/img/videoThumbnail_2.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.video3_enabled = false; // type=boolean
vars.options.video_url_3 = decodeSingleQuoteSafeString('42oLZhRq3nA');// type=string
vars.options.video_image_3 = "%$THEMEPATH%/assets/img/videoThumbnail_3.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.video4_enabled = false; // type=boolean
vars.options.video_url_4 = decodeSingleQuoteSafeString('42oLZhRq3nA');// type=string
vars.options.video_image_4 = "%$THEMEPATH%/assets/img/videoThumbnail_4.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.video5_enabled = false; // type=boolean
vars.options.video_url_5 = decodeSingleQuoteSafeString('42oLZhRq3nA');// type=string
vars.options.video_image_5 = "%$THEMEPATH%/assets/img/videoThumbnail_5.jpg?v=%$NOCACHE%"; // type=image unescaped
vars.options.comp_hidden_object = "%$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 = true; // type=boolean
vars.options.comp_hotspot_1_ath = decodeSingleQuoteSafeString('-108.48');// type=string
vars.options.comp_hotspot_1_atv = decodeSingleQuoteSafeString('-2.02');// type=string
vars.options.comp_hotspot_1_scale = decodeSingleQuoteSafeString('0.04');// type=string
vars.options.comp_hotspot_1_crop = decodeSingleQuoteSafeString('0|0|300|300');// type=string
vars.options.comp_hotspot_2_enabled = false; // type=boolean
vars.options.comp_hotspot_2_ath = decodeSingleQuoteSafeString('-128.48');// type=string
vars.options.comp_hotspot_2_atv = decodeSingleQuoteSafeString('-2.02');// type=string
vars.options.comp_hotspot_2_scale = decodeSingleQuoteSafeString('0.04');// type=string
vars.options.comp_hotspot_2_crop = decodeSingleQuoteSafeString('0|0|300|300');// type=string
vars.options.comp_hotspot_3_enabled = false; // type=boolean
vars.options.comp_hotspot_3_ath = decodeSingleQuoteSafeString('-118.48');// type=string
vars.options.comp_hotspot_3_atv = decodeSingleQuoteSafeString('-2.02');// type=string
vars.options.comp_hotspot_3_scale = decodeSingleQuoteSafeString('0.04');// type=string
vars.options.comp_hotspot_3_crop = decodeSingleQuoteSafeString('0|0|300|300');// type=string
vars.options.comp_hotspot_4_enabled = false; // type=boolean
vars.options.comp_hotspot_4_ath = decodeSingleQuoteSafeString('-100.48');// type=string
vars.options.comp_hotspot_4_atv = decodeSingleQuoteSafeString('-2.02');// type=string
vars.options.comp_hotspot_4_scale = decodeSingleQuoteSafeString('0.04');// type=string
vars.options.comp_hotspot_4_crop = decodeSingleQuoteSafeString('0|0|300|300');// type=string
vars.options.comp_hotspot_5_enabled = false; // type=boolean
vars.options.comp_hotspot_5_ath = decodeSingleQuoteSafeString('-100.48');// type=string
vars.options.comp_hotspot_5_atv = decodeSingleQuoteSafeString('-2.02');// type=string
vars.options.comp_hotspot_5_scale = decodeSingleQuoteSafeString('0.04');// type=string
vars.options.comp_hotspot_5_crop = decodeSingleQuoteSafeString('0|0|300|300');// type=string
vars.options.custom_actions_xml = decodeSingleQuoteSafeString('**u000d****u000a**
**u000d****u000a** removeplugin(shareBtn);**u000d****u000a** removeplugin(menuBtn);**u000d****u000a** removeplugin(ui_remove_tag_icon);**u000d****u000a** removeplugin(ui_remove_tag_text);**u000d****u000a** **u000d****u000a** set(plugin[fancam_logo].align,bottomright);**u000d****u000a** set(plugin[terms_and_conditions].align,bottomright);**u000d****u000a** **u000d****u000a** set(plugin[ui_tag_txt].onover, set(plugin[ui_tagYourself].crop,400|2|400|200); );**u000d****u000a** set(plugin[ui_tag_txt].onout, set(plugin[ui_tagYourself].crop,0|2|400|200); );**u000d****u000a****u000d****u000a****u000d****u000a** set(plugin[brand_logo].align,left);**u000d****u000a** if(device.mobile == true,**u000d****u000a** set(plugin[brand_logo].y,91);**u000d****u000a** ,**u000d****u000a** set(plugin[brand_logo].y,90);**u000d****u000a** );**u000d****u000a** **u000d****u000a****u000d****u000a** addplugin(team_logo);**u000d****u000a** set(plugin[team_logo].url, "https://s3.amazonaws.com/in3sixty-project-media/in3sixty-staging/5bcf1980ce554208aec9cc85/teamlogo-20181029101018.png?v=%$NOCACHE%");**u000d****u000a** set(plugin[team_logo].zorder,5);**u000d****u000a** set(plugin[team_logo].parent,header_container);**u000d****u000a** set(plugin[team_logo].align,topright);**u000d****u000a** set(plugin[team_logo].y,60);**u000d****u000a** set(plugin[team_logo].alpha,1);**u000d****u000a** set(plugin[team_logo].visible,true);**u000d****u000a** set(plugin[team_logo].enabled,true);**u000d****u000a** set(plugin[team_logo].handcursor,true);**u000d****u000a** set(plugin[team_logo].onclick, openurl(**u0027**https://www.nhl.com/rangers**u0027**,_blank); js(xml_log(Brand, Rangers Logo, via Fancam,1)); );**u000d****u000a** if(device.mobile == true, **u000d****u000a** set(plugin[team_logo].scale,0.23);**u000d****u000a** set(plugin[team_logo].y,110);**u000d****u000a** ,**u000d****u000a** set(plugin[team_logo].scale,0.18);**u000d****u000a** set(plugin[team_logo].x,10);**u000d****u000a** );**u000d****u000a** **u000d****u000a** **u000d****u000a****u000d****u000a** set(plugin[header_container].bgalpha, 0.7);**u000d****u000a** if(device.mobile == true, **u000d****u000a** set(plugin[header_container].height, 100);**u000d****u000a** ,**u000d****u000a** set(plugin[header_container].height, 50);**u000d****u000a** );**u000d****u000a** **u000d****u000a****u000d****u000a** set(layer[comp_button_icon].roundedge, 8);**u000d****u000a** set(layer[comp_button_icon].bordercolor, 0xffffff);**u000d****u000a** set(layer[comp_button_icon].borderalpha,1);**u000d****u000a** set(layer[comp_button_icon].borderwidth,1);**u000d****u000a** set(layer[comp_button_icon].height, 33);**u000d****u000a** **u000d****u000a****u000d****u000a** txtadd(NewTitleFancamNameStacked, calc(event.shortname ? event.shortname : event.name) , **u0027**[br]**u0027**, get(formatted_event_date));**u000d****u000a** set(plugin[fancam_title_text].html, get(NewTitleFancamNameStacked));**u000d****u000a** if(device.mobile == true, **u000d****u000a** txtadd(plugin[fancam_title_text].css, get("data[top-header-Mobile-bar-style].content") , get(main_font) , get(header_txt_color) );**u000d****u000a** set(plugin[fancam_title_text].align,left);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[fancam_title_text].css, get("data[top-header-bar-style].content") , get(main_font) , get(header_txt_color) );**u000d****u000a** set(plugin[fancam_title_text].align,center);**u000d****u000a** );**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** if(device.mobile == true, txtadd(plugin[menuBtn].css, get("data[icon-btn-mobi].content") , get(header_icon_color) );**u000d****u000a** set(plugin[menuBtn].width,100);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[menuBtn].css, get("data[icon-btn].content") , get(header_icon_color) );**u000d****u000a** set(plugin[menuBtn].width,50);**u000d****u000a** );**u000d****u000a** **u000d****u000a** set(plugin[btn_hide_menu].visible,true);**u000d****u000a** **u000d****u000a** set(layer[menuScrollarea_base].align, topright);**u000d****u000a** set(layer[menuScrollarea_base].zorder, 10);**u000d****u000a** if(device.mobile == true, **u000d****u000a** set(layer[menuScrollarea_base].y, 80); **u000d****u000a** , **u000d****u000a** set(layer[menuScrollarea_base].y, 0); **u000d****u000a** );**u000d****u000a** **u000d****u000a****u000d****u000a** set(layer[menuScrollarea_base].bgalpha, 1);**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_cshonditions_menu].backgroundalpha, 1);**u000d****u000a** **u000d****u000a** ); **u000d****u000a** **u000d****u000a****u000d****u000a** txtadd(plugin[moreFCsList].html, [div style="text-align: center;"] , get(options.more_fc_title) , [/div] );**u000d****u000a** txtadd(plugin[moreFCsList].css, get("data[btn-txt-reg].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[moreFCsList].align,right);**u000d****u000a** set(plugin[moreFCsList].x,90);**u000d****u000a** set(plugin[moreFCsList].y,0);**u000d****u000a** set(plugin[moreFCsList].width, 120);**u000d****u000a** set(plugin[moreFCsList].padding, "0 15"); **u000d****u000a** set(plugin[moreFCsList].height, 33);**u000d****u000a** set(plugin[moreFCsList].backgroundcolor, 0x0161ab);**u000d****u000a** set(plugin[moreFCsList].border, true);**u000d****u000a** set(plugin[moreFCsList].roundedge, 8);**u000d****u000a** set(plugin[moreFCsList].bordercolor, 0xffffff);**u000d****u000a** set(plugin[moreFCsList].borderalpha, 1);**u000d****u000a** set(plugin[moreFCsList].borderwidth, 1);**u000d****u000a** set(plugin[moreFCsList].onover, set(plugin[moreFCsList].backgroundcolor, 0xe3393f);**u000d****u000a** );**u000d****u000a** set(plugin[moreFCsList].onout, set(plugin[moreFCsList].backgroundcolor, 0x0161ab);**u000d****u000a** );**u000d****u000a** **u000d****u000a****u000d****u000a** if(device.mobile == true, **u000d****u000a** addplugin(NewMoreFancams);**u000d****u000a** set(plugin[NewMoreFancams].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[NewMoreFancams].parent,header_container);**u000d****u000a** txtadd(plugin[NewMoreFancams].html, [div style="text-align: center;"] , get(options.more_fc_title) , [/div] );**u000d****u000a** txtadd(plugin[NewMoreFancams].css, get("data[All-games-button-texts].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[NewMoreFancams].align,right);**u000d****u000a** set(plugin[NewMoreFancams].zorder,15);**u000d****u000a** set(plugin[NewMoreFancams].x,130);**u000d****u000a** set(plugin[NewMoreFancams].y,0);**u000d****u000a** set(plugin[NewMoreFancams].enabled,true);**u000d****u000a** set(plugin[NewMoreFancams].alpha,1);**u000d****u000a** set(plugin[NewMoreFancams].scale,1);**u000d****u000a** set(plugin[NewMoreFancams].width, 160);**u000d****u000a** set(plugin[NewMoreFancams].padding, "0 15");**u000d****u000a** set(plugin[NewMoreFancams].height, 60);**u000d****u000a** **u000d****u000a** set(plugin[NewMoreFancams].vcenter,true);**u000d****u000a** set(plugin[NewMoreFancams].visible,true);**u000d****u000a** set(plugin[NewMoreFancams].background, true);**u000d****u000a** set(plugin[NewMoreFancams].backgroundcolor, 0x0161ab);**u000d****u000a** set(plugin[NewMoreFancams].backgroundalpha, 1);**u000d****u000a** set(plugin[NewMoreFancams].border, true);**u000d****u000a** set(plugin[NewMoreFancams].bordercolor,0xffffff);**u000d****u000a** set(plugin[NewMoreFancams].borderalpha, 1);**u000d****u000a** set(plugin[NewMoreFancams].borderwidth, 1);**u000d****u000a** set(plugin[NewMoreFancams].roundedge, 5);**u000d****u000a** set(plugin[NewMoreFancams].onover, set(plugin[NewMoreFancams].backgroundcolor,0xe3393f););**u000d****u000a** set(plugin[NewMoreFancams].onout, set(plugin[NewMoreFancams].backgroundcolor,0x0161ab););**u000d****u000a** set(plugin[NewMoreFancams].ondown, hit(););**u000d****u000a** set(plugin[NewMoreFancams].onclick, removeActiveActions(); js(**u0027**RelatedPopup.show();**u0027**); );**u000d****u000a**);**u000d****u000a** **u000d****u000a****u000d****u000a** removeplugin(fullScreenBtn);**u000d****u000a** **u000d****u000a****u000d****u000a** addplugin(NewShareButton);**u000d****u000a** set(plugin[NewShareButton].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[NewShareButton].parent,header_container);**u000d****u000a** txtadd(plugin[NewShareButton].html,[div style="text-align: center;"] , SHARE, [/div]);**u000d****u000a** txtadd(plugin[NewShareButton].css, get("data[btn-txt-reg].content"), get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[NewShareButton].align,left);**u000d****u000a** set(plugin[NewShareButton].zorder,15);**u000d****u000a** set(plugin[NewShareButton].x,20);**u000d****u000a** set(plugin[NewShareButton].y,0);**u000d****u000a** set(plugin[NewShareButton].enabled,true);**u000d****u000a** set(plugin[NewShareButton].alpha,1);**u000d****u000a** set(plugin[NewShareButton].scale,1);**u000d****u000a** set(plugin[NewShareButton].width, 100);**u000d****u000a** if (options.NewShareButton,**u000d****u000a** set(plugin[NewShareButton].padding, "0 15 0 45");**u000d****u000a** ,**u000d****u000a** set(plugin[NewShareButton].padding, "0 15");**u000d****u000a** ); **u000d****u000a** set(plugin[NewShareButton].height, 33);**u000d****u000a** **u000d****u000a**if(device.mobile == true,**u000d****u000a** set(plugin[NewShareButton].visible,false);**u000d****u000a** ,**u000d****u000a** set(plugin[NewShareButton].visible,true);**u000d****u000a**);**u000d****u000a** set(plugin[NewShareButton].vcenter,true);**u000d****u000a** set(plugin[NewShareButton].background, true);**u000d****u000a** set(plugin[NewShareButton].backgroundcolor, 0x0161ab);**u000d****u000a** set(plugin[NewShareButton].backgroundalpha, 1);**u000d****u000a** set(plugin[NewShareButton].border, true);**u000d****u000a** set(plugin[NewShareButton].bordercolor, 0xffffff);**u000d****u000a** set(plugin[NewShareButton].borderalpha, 1);**u000d****u000a** set(plugin[NewShareButton].borderwidth, 1);**u000d****u000a** set(plugin[NewShareButton].roundedge, 5); **u000d****u000a** set(plugin[NewShareButton].onover, set(plugin[NewShareButton].backgroundcolor, 0x9e29b5); );**u000d****u000a** set(plugin[NewShareButton].onout, set(plugin[NewShareButton].backgroundcolor, 0x0161ab););**u000d****u000a** set(plugin[NewShareButton].ondown, hit(););**u000d****u000a** set(plugin[NewShareButton].onclick, 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** **u000d****u000a** **u000d****u000a** **u000d****u000a****u000d****u000a**
**u000d****u000a** addplugin(load_menu);**u000d****u000a** set(plugin[load_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** txtadd(plugin[load_menu].html, [div style="text-align:center;"][div class="fa fa-bars"][/div][/div] ); **u000d****u000a** if(device.mobile == true, **u000d****u000a** txtadd(plugin[load_menu].css, get("data[icon-btn-mobi].content") , get(header_icon_color) );**u000d****u000a** set(plugin[load_menu].width,100);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[load_menu].css, get("data[icon-btn].content") , get(header_icon_color) );**u000d****u000a** set(plugin[load_menu].width,70);**u000d****u000a** );**u000d****u000a** set(plugin[load_menu].parent, header_container);**u000d****u000a** set(plugin[load_menu].padding,"0 0 0 0");**u000d****u000a** set(plugin[load_menu].align,right);**u000d****u000a** set(plugin[load_menu].zorder,5);**u000d****u000a** set(plugin[load_menu].x,0);**u000d****u000a** set(plugin[load_menu].y,0);**u000d****u000a** set(plugin[load_menu].enabled,true);**u000d****u000a** set(plugin[load_menu].alpha,1);**u000d****u000a** set(plugin[load_menu].scale,1);**u000d****u000a** set(plugin[load_menu].height, get(plugin[header_container].height) );**u000d****u000a** set(plugin[load_menu].vcenter,true);**u000d****u000a** set(plugin[load_menu].background, 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(header_icon_color) );**u000d****u000a** );**u000d****u000a** set(plugin[load_menu].onout, txtadd(plugin[load_menu].css, get("data[icon-btn].content") , get(header_icon_color) ); **u000d****u000a** );**u000d****u000a** set(plugin[load_menu].ondown, hit(); );**u000d****u000a** set(plugin[load_menu].onclick, removeActiveActions(); **u000d****u000a** showNewCustomMenu();**u000d****u000a** );**u000d****u000a** **u000d****u000a** **u000d****u000a****u000d****u000a**
**u000d****u000a** text-align:center; font-weight:700; font-size:22px; letter-spacing:0.5px;**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** text-align:center; font-weight:700; font-size:12px; letter-spacing:0.5px;**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** text-align:left; font-weight:700; font-size:20px; text-transform:uppercase; letter-spacing:0.5px;**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[NewShareButton].align,topleft);**u000d****u000a** set(plugin[NewShareButton].y,10);**u000d****u000a** set(plugin[NewShareButton].parent,tutBlackBg);**u000d****u000a** set(plugin[shareSocialfPointer].parent,NewShareButton);**u000d****u000a** set(plugin[title_tut_shareUsing].parent,NewShareButton);**u000d****u000a** );**u000d****u000a** **u000d****u000a** if(device.mobile == true,**u000d****u000a** set(plugin[brand_logo].y,91);**u000d****u000a** ,**u000d****u000a** set(plugin[brand_logo].y,90);**u000d****u000a** );**u000d****u000a** set(plugin[load_menu].align,topright);**u000d****u000a** set(plugin[load_menu].parent,tutBlackBg);**u000d****u000a** set(plugin[title_tut_moreOpt].parent,load_menu);**u000d****u000a** set(plugin[moreOptPointer].parent,load_menu);**u000d****u000a** if(device.mobile, set(plugin[load_menu].y,0); , set(plugin[load_menu].y,0); );**u000d****u000a** **u000d****u000a** txtadd(plugin[title_tut_moreOpt].html, [div style="text-align:right;"] , get(options.string_moreoptionshere) , [/div]); **u000d****u000a** set(plugin[title_tut_moreOpt].align, bottomright );**u000d****u000a** **u000d****u000a** txtadd(plugin[title_tut_shareUsing].html, [div style="text-align:left;"] , get(options.string_sharewhatyoufind) , [/div]); **u000d****u000a** set(plugin[title_tut_shareUsing].align, bottomleft );**u000d****u000a** ,**u000d****u000a** set(plugin[load_menu].parent,header_container);**u000d****u000a** **u000d****u000a** if(device.mobile == true,**u000d****u000a** set(plugin[brand_logo].y,91);**u000d****u000a** ,**u000d****u000a** set(plugin[brand_logo].y,90);**u000d****u000a** );**u000d****u000a** );**u000d****u000a** **u000d****u000a** **u000d****u000a**
**u000d****u000a** LoadNewInterfaceStyle();**u000d****u000a** set(plugin[load_menu].parent,header_container);**u000d****u000a** **u000d****u000a****u000d****u000a** **u000d****u000a**
**u000d****u000a** if (options.wally_comp_enabled == true,**u000d****u000a** set(plugin[comp_button_icon].x,225); **u000d****u000a** );**u000d****u000a** **u000d****u000a** **u000d****u000a** **u000d****u000a**
**u000d****u000a** set(layer[follow_client_container].visible, true);**u000d****u000a** js(xml_log(Follow Rangers, Open, Options Popup,1));**u000d****u000a** **u000d****u000a** **u000d****u000a**
**u000d****u000a** set(layer[follow_client_container].visible, false);**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** addlayer(follow_client_container);**u000d****u000a** set(layer[follow_client_container].type, container);**u000d****u000a** set(layer[follow_client_container].zorder, 70);**u000d****u000a** set(layer[follow_client_container].align, center);**u000d****u000a** set(layer[follow_client_container].width, 100%);**u000d****u000a** set(layer[follow_client_container].height, 100%);**u000d****u000a** set(layer[follow_client_container].y,0);**u000d****u000a** set(layer[follow_client_container].bgcolor, 0x000000);**u000d****u000a** set(layer[follow_client_container].bgalpha, 0.7);**u000d****u000a** set(layer[follow_client_container].bgcapture, true);**u000d****u000a** set(layer[follow_client_container].enabled, true);**u000d****u000a** set(layer[follow_client_container].handcursor, false);**u000d****u000a** set(layer[follow_client_container].visible, false);**u000d****u000a** set(layer[follow_client_container].maskchildren,true);**u000d****u000a****u000d****u000a****u000d****u000a** addplugin(follow_client_title);**u000d****u000a** set(plugin[follow_client_title].url,"%HTMLPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** txtadd(plugin[follow_client_title].css, get("data[title-txt].content") , get(header_txt_color) , get(main_font));**u000d****u000a** set(plugin[follow_client_title].parent, layer[follow_client_container] );**u000d****u000a** txtadd(plugin[follow_client_title].html, [div style="text-align:center;"] ,FOLLOW NY RANGERS , [/div]);**u000d****u000a** set(plugin[follow_client_title].align,center);**u000d****u000a** set(plugin[follow_client_title].zorder,1000000);**u000d****u000a** set(plugin[follow_client_title].x,0);**u000d****u000a** set(plugin[follow_client_title].y,-80);**u000d****u000a** set(plugin[follow_client_title].enabled,true);**u000d****u000a** set(plugin[follow_client_title].alpha,1);**u000d****u000a** set(plugin[follow_client_title].scale,1);**u000d****u000a** set(plugin[follow_client_title].width,380);**u000d****u000a** set(plugin[follow_client_title].autoheight,true);**u000d****u000a** set(plugin[follow_client_title].vcenter,true);**u000d****u000a** set(plugin[follow_client_title].background, false);**u000d****u000a** set(plugin[follow_client_title].backgroundcolor, 0xffffff);**u000d****u000a** set(plugin[follow_client_title].backgroundalpha, 1);**u000d****u000a** set(plugin[follow_client_title].border, false);**u000d****u000a** set(plugin[follow_client_title].bordercolor, 0xffffff);**u000d****u000a** set(plugin[follow_client_title].borderalpha, 1);**u000d****u000a** set(plugin[follow_client_title].roundedge, 0);**u000d****u000a** set(plugin[follow_client_title].visible,true);**u000d****u000a****u000d****u000a** **u000d****u000a** removeplugin(follow_client_close);**u000d****u000a** addplugin(follow_client_close);**u000d****u000a** set(plugin[follow_client_close].url,"%HTMLPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** txtadd(plugin[follow_client_close].css, get("data[cancel-style].content") , get(btn_close_color) );**u000d****u000a** set(plugin[follow_client_close].parent,follow_client_title);**u000d****u000a** set(plugin[follow_client_close].html, [div style="text-align:center;"][div class="fa fa-times"][/div][/div] ); **u000d****u000a** set(plugin[follow_client_close].align,topright);**u000d****u000a** set(plugin[follow_client_close].zorder,15);**u000d****u000a** set(plugin[follow_client_close].x,-10);**u000d****u000a** set(plugin[follow_client_close].y,-25);**u000d****u000a** set(plugin[follow_client_close].enabled,true);**u000d****u000a** set(plugin[follow_client_close].alpha,1);**u000d****u000a** set(plugin[follow_client_close].scale,1);**u000d****u000a** set(plugin[follow_client_close].width,30);**u000d****u000a** set(plugin[follow_client_close].height,30);**u000d****u000a** set(plugin[follow_client_close].vcenter,true);**u000d****u000a** set(plugin[follow_client_close].background, false);**u000d****u000a** set(plugin[follow_client_close].backgroundcolor, 0x000000);**u000d****u000a** set(plugin[follow_client_close].backgroundalpha, 1);**u000d****u000a** set(plugin[follow_client_close].border, false);**u000d****u000a** set(plugin[follow_client_close].borderwidth, 1);**u000d****u000a** set(plugin[follow_client_close].bordercolor, 0xffffff);**u000d****u000a** set(plugin[follow_client_close].borderalpha, 1);**u000d****u000a** set(plugin[follow_client_close].roundedge, 0);**u000d****u000a** set(plugin[follow_client_close].ondown, hit(); );**u000d****u000a** set(plugin[follow_client_close].onover, set(plugin[follow_client_close].css,"text-align:center; color:#ff0000; font-family:helvetica; font-size:16px;"););**u000d****u000a** set(plugin[follow_client_close].onout, set(plugin[follow_client_close].css,"text-align:center; color:#ffffff; font-family:helvetica; font-size:16px;"););**u000d****u000a** set(plugin[follow_client_close].onclick, hideFollowClient();**u000d****u000a** js(xml_log(Follow Rangers, Close, Options Popup,1));**u000d****u000a** );**u000d****u000a****u000d****u000a** removeplugin(follow_client_facebook_btn);**u000d****u000a** addplugin(follow_client_facebook_btn);**u000d****u000a** set(layer[follow_client_facebook_btn].url,"%HTMLPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(layer[follow_client_facebook_btn].css,"text-align:center; color:#FFFFFF; font-family:helvetica; font-size:12px;");**u000d****u000a** set(layer[follow_client_facebook_btn].parent,follow_client_title);**u000d****u000a** set(layer[follow_client_facebook_btn].html,);**u000d****u000a** set(layer[follow_client_facebook_btn].align,center);**u000d****u000a** set(layer[follow_client_facebook_btn].zorder,9999999);**u000d****u000a** set(layer[follow_client_facebook_btn].x,-120);**u000d****u000a** set(layer[follow_client_facebook_btn].y,110);**u000d****u000a** set(layer[follow_client_facebook_btn].enabled,true);**u000d****u000a** set(layer[follow_client_facebook_btn].alpha,1);**u000d****u000a** set(layer[follow_client_facebook_btn].scale,1);**u000d****u000a** set(layer[follow_client_facebook_btn].width,90);**u000d****u000a** set(layer[follow_client_facebook_btn].height,90);**u000d****u000a** set(layer[follow_client_facebook_btn].vcenter,true);**u000d****u000a** set(layer[follow_client_facebook_btn].background, false);**u000d****u000a** set(layer[follow_client_facebook_btn].backgroundcolor, 0x3b5998);**u000d****u000a** set(layer[follow_client_facebook_btn].backgroundalpha, 1);**u000d****u000a** set(layer[follow_client_facebook_btn].border, true);**u000d****u000a** set(layer[follow_client_facebook_btn].borderwidth, 3);**u000d****u000a** set(layer[follow_client_facebook_btn].bordercolor, 0xffffff);**u000d****u000a** set(layer[follow_client_facebook_btn].borderalpha, 1);**u000d****u000a** set(layer[follow_client_facebook_btn].roundedge, 0);**u000d****u000a** set(layer[follow_client_facebook_btn].visible, true);**u000d****u000a** set(layer[follow_client_facebook_btn].onover, set(layer[follow_client_facebook_btn].background, true); );**u000d****u000a** set(layer[follow_client_facebook_btn].onout, set(layer[follow_client_facebook_btn].background, false); );**u000d****u000a** set(layer[follow_client_facebook_btn].ondown, hit(); ); **u000d****u000a** set(layer[follow_client_facebook_btn].onclick, **u000d****u000a** openurl(**u0027**https://www.facebook.com/nyrangers**u0027**,_blank);**u000d****u000a** js(xml_log(Follow Rangers, via FB, Clicked,1));**u000d****u000a** );**u000d****u000a** addplugin(follow_client_facebook_btn_image);**u000d****u000a** set(plugin[follow_client_facebook_btn_image].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[follow_client_facebook_btn_image].html, [div class="fab fa-facebook-f"][/div] );**u000d****u000a** txtadd(plugin[follow_client_facebook_btn_image].css, get("data[new-btn-txt-icon-desktop].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[follow_client_facebook_btn_image].parent,follow_client_facebook_btn);**u000d****u000a** set(plugin[follow_client_facebook_btn_image].zorder,15);**u000d****u000a** set(plugin[follow_client_facebook_btn_image].align,center);**u000d****u000a** set(plugin[follow_client_facebook_btn_image].alpha,1); **u000d****u000a** set(plugin[follow_client_facebook_btn_image].x,0);**u000d****u000a** set(plugin[follow_client_facebook_btn_image].y,0);**u000d****u000a** set(plugin[follow_client_facebook_btn_image].backgroundalpha, 0);**u000d****u000a** set(plugin[follow_client_facebook_btn_image].enabled,false);**u000d****u000a** set(plugin[follow_client_facebook_btn_image].visible,true);**u000d****u000a****u000d****u000a****u000d****u000a** removeplugin(follow_client_twitter_btn);**u000d****u000a** addplugin(follow_client_twitter_btn);**u000d****u000a** set(layer[follow_client_twitter_btn].url,"%HTMLPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(layer[follow_client_twitter_btn].css,"text-align:center; color:#FFFFFF; font-family:helvetica; font-size:12px;");**u000d****u000a** set(layer[follow_client_twitter_btn].parent,follow_client_title);**u000d****u000a** set(layer[follow_client_twitter_btn].html,);**u000d****u000a** set(layer[follow_client_twitter_btn].align,center);**u000d****u000a** set(layer[follow_client_twitter_btn].zorder,9999999);**u000d****u000a** set(layer[follow_client_twitter_btn].x,0);**u000d****u000a** set(layer[follow_client_twitter_btn].y,110);**u000d****u000a** set(layer[follow_client_twitter_btn].enabled,true);**u000d****u000a** set(layer[follow_client_twitter_btn].alpha,1);**u000d****u000a** set(layer[follow_client_twitter_btn].scale,1);**u000d****u000a** set(layer[follow_client_twitter_btn].width,90);**u000d****u000a** set(layer[follow_client_twitter_btn].height,90);**u000d****u000a** set(layer[follow_client_twitter_btn].vcenter,true);**u000d****u000a** set(layer[follow_client_twitter_btn].background, false);**u000d****u000a** set(layer[follow_client_twitter_btn].backgroundcolor, 0x1dcaff);**u000d****u000a** set(layer[follow_client_twitter_btn].backgroundalpha, 1);**u000d****u000a** set(layer[follow_client_twitter_btn].border, true);**u000d****u000a** set(layer[follow_client_twitter_btn].borderwidth, 3);**u000d****u000a** set(layer[follow_client_twitter_btn].bordercolor, 0xffffff);**u000d****u000a** set(layer[follow_client_twitter_btn].borderalpha, 1);**u000d****u000a** set(layer[follow_client_twitter_btn].roundedge, 0);**u000d****u000a** set(layer[follow_client_twitter_btn].visible, true);**u000d****u000a** set(layer[follow_client_twitter_btn].onover, set(layer[follow_client_twitter_btn].background, true); );**u000d****u000a** set(layer[follow_client_twitter_btn].onout, set(layer[follow_client_twitter_btn].background, false); );**u000d****u000a** set(layer[follow_client_twitter_btn].ondown, hit(););**u000d****u000a** set(layer[follow_client_twitter_btn].onclick, openurl(**u0027**https://twitter.com/nyrangers**u0027**,_blank);**u000d****u000a** js(xml_log(Follow Rangers, via Twitter, Clicked,1)); **u000d****u000a** );**u000d****u000a****u000d****u000a** addplugin(follow_client_twitter_btn_image);**u000d****u000a** set(plugin[follow_client_twitter_btn_image].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[follow_client_twitter_btn_image].html, [div class="fab fa-twitter"][/div] );**u000d****u000a** txtadd(plugin[follow_client_twitter_btn_image].css, get("data[new-btn-txt-icon-desktop].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[follow_client_twitter_btn_image].parent,follow_client_twitter_btn);**u000d****u000a** set(plugin[follow_client_twitter_btn_image].zorder,15);**u000d****u000a** set(plugin[follow_client_twitter_btn_image].align,center);**u000d****u000a** set(plugin[follow_client_twitter_btn_image].alpha,1); **u000d****u000a** set(plugin[follow_client_twitter_btn_image].x,0);**u000d****u000a** set(plugin[follow_client_twitter_btn_image].y,0);**u000d****u000a** set(plugin[follow_client_twitter_btn_image].backgroundalpha, 0);**u000d****u000a** set(plugin[follow_client_twitter_btn_image].enabled,false);**u000d****u000a** set(plugin[follow_client_twitter_btn_image].visible,true);**u000d****u000a****u000d****u000a** removeplugin(follow_client_insta_btn);**u000d****u000a** addplugin(follow_client_insta_btn);**u000d****u000a** set(layer[follow_client_insta_btn].url,"%HTMLPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(layer[follow_client_insta_btn].css,"text-align:center; color:#FFFFFF; font-family:helvetica; font-size:12px;");**u000d****u000a** set(layer[follow_client_insta_btn].parent,follow_client_title);**u000d****u000a** set(layer[follow_client_insta_btn].html,);**u000d****u000a** set(layer[follow_client_insta_btn].align,center);**u000d****u000a** set(layer[follow_client_insta_btn].zorder,9999999);**u000d****u000a** set(layer[follow_client_insta_btn].x,120);**u000d****u000a** set(layer[follow_client_insta_btn].y,110);**u000d****u000a** set(layer[follow_client_insta_btn].enabled,true);**u000d****u000a** set(layer[follow_client_insta_btn].alpha,1);**u000d****u000a** set(layer[follow_client_insta_btn].scale,1);**u000d****u000a** set(layer[follow_client_insta_btn].width,90);**u000d****u000a** set(layer[follow_client_insta_btn].height,90);**u000d****u000a** set(layer[follow_client_insta_btn].vcenter,true);**u000d****u000a** set(layer[follow_client_insta_btn].background, false);**u000d****u000a** set(layer[follow_client_insta_btn].backgroundcolor, 0x8e44a1);**u000d****u000a** set(layer[follow_client_insta_btn].backgroundalpha, 1);**u000d****u000a** set(layer[follow_client_insta_btn].border, true);**u000d****u000a** set(layer[follow_client_insta_btn].borderwidth, 3);**u000d****u000a** set(layer[follow_client_insta_btn].bordercolor, 0xffffff);**u000d****u000a** set(layer[follow_client_insta_btn].borderalpha, 1);**u000d****u000a** set(layer[follow_client_insta_btn].roundedge, 0);**u000d****u000a** set(layer[follow_client_insta_btn].visible, true);**u000d****u000a** set(layer[follow_client_insta_btn].onover, set(layer[follow_client_insta_btn].background, true); );**u000d****u000a** set(layer[follow_client_insta_btn].onout, set(layer[follow_client_insta_btn].background, false); );**u000d****u000a** set(layer[follow_client_insta_btn].ondown, hit(););**u000d****u000a** set(layer[follow_client_insta_btn].onclick, openurl(**u0027**https://www.instagram.com/nyrangers/**u0027**,_blank);**u000d****u000a** js(xml_log(Follow Rangers, via Instagram, Clicked,1)); **u000d****u000a** );**u000d****u000a** **u000d****u000a** addplugin(follow_client_insta_btn_image);**u000d****u000a** set(plugin[follow_client_insta_btn_image].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[follow_client_insta_btn_image].html, [div class="fab fa-instagram"][/div] );**u000d****u000a** txtadd(plugin[follow_client_insta_btn_image].css, get("data[new-btn-txt-icon-desktop].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** set(plugin[follow_client_insta_btn_image].parent,follow_client_insta_btn);**u000d****u000a** set(plugin[follow_client_insta_btn_image].zorder,15);**u000d****u000a** set(plugin[follow_client_insta_btn_image].align,center);**u000d****u000a** set(plugin[follow_client_insta_btn_image].alpha,1); **u000d****u000a** set(plugin[follow_client_insta_btn_image].x,0);**u000d****u000a** set(plugin[follow_client_insta_btn_image].y,0);**u000d****u000a** set(plugin[follow_client_insta_btn_image].backgroundalpha, 0);**u000d****u000a** set(plugin[follow_client_insta_btn_image].enabled,false);**u000d****u000a** set(plugin[follow_client_insta_btn_image].visible,true);**u000d****u000a** **u000d****u000a****u000d****u000a****u000d****u000a**if(device.mobile, **u000d****u000a** set(layer[follow_client_insta_btn].scale,1);**u000d****u000a** set(layer[follow_client_twitter_btn].scale,1);**u000d****u000a** set(layer[follow_client_facebook_btn].scale,1);**u000d****u000a** **u000d****u000a** txtadd(plugin[follow_client_title].css, get("data[title-txt-mobi].content") , get(header_txt_color) , get(main_font));**u000d****u000a** **u000d****u000a** txtadd(plugin[follow_client_close].css, get("data[cancel-style-mobi].content") , get(btn_close_color) );**u000d****u000a** **u000d****u000a** txtadd(plugin[follow_client_facebook_btn_image].css, get("data[new-btn-txt-icon-mobi].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** **u000d****u000a** txtadd(plugin[follow_client_insta_btn_image].css, get("data[new-btn-txt-icon-mobi].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** **u000d****u000a** txtadd(plugin[follow_client_twitter_btn_image].css, get("data[new-btn-txt-icon-mobi].content") , get(main_font) , get(btn_txt_color) );**u000d****u000a** **u000d****u000a** set(layer[follow_client_facebook_btn].x,-150);**u000d****u000a** set(layer[follow_client_insta_btn].x,150);**u000d****u000a** **u000d****u000a** set(layer[follow_client_insta_btn].width,110);**u000d****u000a** set(layer[follow_client_insta_btn].height,110);**u000d****u000a** **u000d****u000a** set(layer[follow_client_twitter_btn].width,110);**u000d****u000a** set(layer[follow_client_twitter_btn].height,110);**u000d****u000a** **u000d****u000a** set(layer[follow_client_facebook_btn].width,110);**u000d****u000a** set(layer[follow_client_facebook_btn].height,110);**u000d****u000a** **u000d****u000a** set(plugin[follow_client_close].x,-30);**u000d****u000a** set(plugin[follow_client_close].y,-35);**u000d****u000a****u000d****u000a** set(layer[follow_client_facebook_btn].background, true);**u000d****u000a** set(layer[follow_client_twitter_btn].background, true);**u000d****u000a** set(layer[follow_client_insta_btn].background, true);**u000d****u000a****u000d****u000a**);**u000d****u000a****u000d****u000a****u000d****u000a**
**u000d****u000a** font-size:30px; padding:0px 0px 0px;**u000d****u000a** **u000d****u000a** **u000d****u000a**
**u000d****u000a** font-size:40px; padding:0px 0px 10px;**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****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** 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, get(options.menu_bg_color) );**u000d****u000a** set(layer[menuScrollarea_base_right_side].bgalpha, 0.7);**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, 370);**u000d****u000a** set(layer[menuScrollarea_base_right_side].y, 100);**u000d****u000a** ,**u000d****u000a** set(layer[menuScrollarea_base_right_side].width, 240);**u000d****u000a** set(layer[menuScrollarea_base_right_side].y, 50);**u000d****u000a** );**u000d****u000a****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****u000d****u000a** if(device.mobile, set(featuresMenuBtn_nextY, 110); , set(featuresMenuBtn_nextY, get(layer[header_container].height)); ); **u000d****u000a****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** addplugin(btn_tagging_new_custom_menu);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].html, TAG YOURSELF);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].align,top);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].zorder,5);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].x,0);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** if(device.mobile,**u000d****u000a** txtadd(plugin[btn_tagging_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_tagging_new_custom_menu].height,100);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].padding,0 0 0 40);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[btn_tagging_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_tagging_new_custom_menu].height,60);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].padding,0 0 0 20);**u000d****u000a** );**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].enabled,true);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].alpha,1);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].scale,1);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].width,100%);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].vcenter,true);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].background, true);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].backgroundcolor, get(options.menu_main_btn_color));**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].border, false);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].borderwidth, 1);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].borderalpha, 0.5);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].roundedge, 0);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].visible,true);**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].ondown, hit(); );**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].onover, set(plugin[btn_tagging_new_custom_menu].backgroundalpha, 1);**u000d****u000a** txtadd(plugin[btn_tagging_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_tagging_new_custom_menu].onout, set(plugin[btn_tagging_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** txtadd(plugin[btn_tagging_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_tagging_new_custom_menu].onclick, hideNewCutstomMenu();**u000d****u000a** removeActiveActions();**u000d****u000a** login(navpanel_onLoginSuccessful, navpanel_onLoginFailure);**u000d****u000a** xml_log(tagging, tag-yourself-button-clicked, ,); **u000d****u000a** );**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.5);**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** add(featuresMenuBtn_nextY, 10);**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** addplugin(btn_follow_rangers_new_custom_menu);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].html, FOLLOW NY RANGERS);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].align,top);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].zorder,5);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].x,0);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** if(device.mobile,**u000d****u000a** txtadd(plugin[btn_follow_rangers_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_follow_rangers_new_custom_menu].height,100);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].padding,0 0 0 40);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[btn_follow_rangers_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_follow_rangers_new_custom_menu].height,60);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].padding,0 0 0 20);**u000d****u000a** );**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].enabled,true);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].alpha,1);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].scale,1);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].width,100%);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].vcenter,true);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].background, true);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].backgroundcolor, get(options.menu_main_btn_color));**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].border, false);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].borderwidth, 1);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].borderalpha, 0.5);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].roundedge, 0);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].visible,true);**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].ondown, hit(); );**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].onover, set(plugin[btn_follow_rangers_new_custom_menu].backgroundalpha, 1);**u000d****u000a** txtadd(plugin[btn_follow_rangers_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_follow_rangers_new_custom_menu].onout, set(plugin[btn_follow_rangers_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** txtadd(plugin[btn_follow_rangers_new_custom_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_follow_rangers_new_custom_menu].onclick, hideNewCutstomMenu();**u000d****u000a** showFollowClient();**u000d****u000a** xml_log(follow-nyrangers-social, follow-popup-opened, , ); **u000d****u000a** );**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.5);**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** 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.5);**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** if (options.scene_switcher_menu_button == true,**u000d****u000a** removeplugin(btn_scene_switcher_new_custom_menu);**u000d****u000a** addplugin(btn_scene_switcher_new_custom_menu);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].parent,layer[NewCustommenuScrollarea]);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].url,"%$THEMEPATH%/assets/swf/plugins/textfield.swf");**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].html, get(options.next_scene_title) );**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].align,top);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].zorder,5);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].x,0);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].y,get(featuresMenuBtn_nextY));**u000d****u000a** if(device.mobile,**u000d****u000a** txtadd(plugin[btn_scene_switcher_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_scene_switcher_new_custom_menu].height,100);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].padding,0 0 0 40);**u000d****u000a** ,**u000d****u000a** txtadd(plugin[btn_scene_switcher_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_scene_switcher_new_custom_menu].height,60);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].padding,0 0 0 20);**u000d****u000a** );**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].enabled,true);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].alpha,1);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].scale,1);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].width,100%);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].vcenter,true);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].background, true);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].backgroundcolor, get(options.menu_main_btn_color));**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].border, false);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].borderwidth, 1);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].bordercolor, 0xffffff);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].borderalpha, 0.5);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].roundedge, 0);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].visible,true);**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].ondown, hit(); );**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].onover, set(plugin[btn_scene_switcher_new_custom_menu].backgroundalpha, 1);**u000d****u000a** txtadd(plugin[btn_scene_switcher_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_scene_switcher_new_custom_menu].onout, set(plugin[btn_scene_switcher_new_custom_menu].backgroundalpha, 0.7);**u000d****u000a** txtadd(plugin[btn_scene_switcher_menu].css, get("data[menu-subj-btns].content") , get(menu_txt_color) , get(main_font)); **u000d****u000a** );**u000d****u000a** set(plugin[btn_scene_switcher_new_custom_menu].onclick, hideNewCutstomMenu();**u000d****u000a** removeActiveActions();**u000d****u000a** loadsecondscene();**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.5);**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**/home**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.5);**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****u000d****u000a****u000d****u000a** **u000d****u000a** **u000d****u000a** set(layer[NewCustommenuScrollarea].height, get(featuresMenuBtn_nextY));**u000d****u000a** ');// type=string
vars.options.on_scene_loaded_custom_xml = decodeSingleQuoteSafeString('');// 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('LoadNewInterfaceStyle();**u000d****u000a**LoadMainMenu();**u000d****u000a**loadFollowClient();**u000d****u000a**loadSideNewCustomMenu();**u000d****u000a**loadShareDialog();**u000d****u000a****u000d****u000a**Ifcompetitionbuttonisenabled();**u000d****u000a****u000d****u000a**overrideTutorial();**u000d****u000a**override_tutContainer_update();**u000d****u000a****u000d****u000a**');// type=string
vars.options.on_window_resized_xml = decodeSingleQuoteSafeString('if(stagewidth LE 550, **u000d****u000a** set(plugin[NewShareButton].visible,false);**u000d****u000a** set(plugin[brand_logo].y,91);**u000d****u000a** ,**u000d****u000a** set(plugin[NewShareButton].visible,true);**u000d****u000a** set(plugin[brand_logo].y,54);**u000d****u000a**);**u000d****u000a****u000d****u000a**if(device.mobile == true,**u000d****u000a** set(plugin[fancam_title_text].x,20);**u000d****u000a** set(plugin[brand_logo].y,91);**u000d****u000a** set(plugin[NewShareButton].visible,false);**u000d****u000a**,**u000d****u000a** set(plugin[fancam_title_text].x,0);**u000d****u000a** set(plugin[brand_logo].y,54);**u000d****u000a** set(plugin[NewShareButton].visible,true);**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('New York Rangers Fancam');// type=string
vars.i18n.en.site_description = decodeSingleQuoteSafeString('Every fan was captured at face level detail in this incredible, ultra high resolution 360 degree Fancam image of the Rangers game Explore every part of it and share what you find with the world on Facebook, Twitter and email.');// type=string
vars.i18n.en.share_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/NEW_share_image-20181112140607.jpg"; // type=image unescaped
vars.i18n.en.site_title_fb = decodeSingleQuoteSafeString('Madison Square Garden like you**u0027**ve never seen before!');// type=string
vars.i18n.en.site_description_fb = decodeSingleQuoteSafeString('Explore this ultra high-resolution 360 degree image of the Knics game. Share what you find with the world on Facebook, Twitter and email.');// type=string
vars.i18n.en.site_title_twtr = decodeSingleQuoteSafeString('Madison Square Garden like you**u0027**ve never seen before!');// type=string
vars.i18n.en.site_description_twtr = decodeSingleQuoteSafeString('Explore this ultra high-resolution 360 degree image of the Knics game. Share what you find with the world on Facebook, Twitter and email.');// 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('#Rangers #Fancam');// type=string
vars.i18n.en.share_title_email = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.share_description_email = decodeSingleQuoteSafeString('Click on the link below to have a look at what I found on this incredible, ultra high resolution, interactive, 360° image!');// type=string
vars.i18n.en.string_splash_notify = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.string_splash_success = decodeSingleQuoteSafeString('We have received your email address and will notify you as soon as the fancam goes live.');// type=string
vars.i18n.en.string_character_texts_btn = decodeSingleQuoteSafeString('Character Selfie ');// type=string
vars.i18n.en.string_cutout_texts_btn = decodeSingleQuoteSafeString('Custom Cutout');// type=string
vars.i18n.en.siteloader_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/site-loader-20181031111858.gif?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_default_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/shareViewFrame-20181112140638.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/5bd98eaae87eb6301547c17c/shareViewFrame-20181112140643.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_tview_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/shareViewFrame-20181112140648.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.ecard_frame = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/teamlogo-20181031111847.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.overlay_ecard_view_image = "https://s3.amazonaws.com/in3sixty-project-media/in3sixty/5bd98eaae87eb6301547c17c/shareViewFrame-20181112140656.png?v=%$NOCACHE%"; // type=image unescaped
vars.i18n.en.string_tagyourself_button = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.string_tagyourself_button_mobile = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.string_take_a_seat_button = decodeSingleQuoteSafeString('TAKE [br/] [div style=**u0027**font-size:20px;**u0027**] A SEAT [/div]');// type=string
vars.i18n.en.string_take_a_seat_button_mobile = decodeSingleQuoteSafeString('TAKE [br/] [div style=**u0027**font-size:30px;**u0027**] A SEAT [/div]');// type=string
vars.i18n.en.string_return_tot_fc_button = decodeSingleQuoteSafeString('RETURN TO [br/] [div style=**u0027**font-size:20px;**u0027**] FANCAM [/div]');// type=string
vars.i18n.en.string_return_to_fc_button_mobile = decodeSingleQuoteSafeString('RETURN TO [br/] [div style=**u0027**font-size:30px;**u0027**] FANCAM [/div]');// type=string
vars.i18n.en.more_fc_title = decodeSingleQuoteSafeString('ALL GAMES');// type=string
vars.i18n.en.more_scenes_title = decodeSingleQuoteSafeString('More Scenes');// type=string
vars.i18n.en.string_videobooth = decodeSingleQuoteSafeString('Video Booth');// type=string
vars.i18n.en.string_ecard = decodeSingleQuoteSafeString('Digital Postcard');// type=string
vars.i18n.en.string_ecard_instruct = decodeSingleQuoteSafeString('Use the controls to find yourself and snap your selfie, then share it with friends!');// type=string
vars.i18n.en.string_ecard_confirm = decodeSingleQuoteSafeString('Snap it!');// type=string
vars.i18n.en.string_ecard_shared = decodeSingleQuoteSafeString('Share your Digital Postcard');// type=string
vars.i18n.en.string_next = decodeSingleQuoteSafeString('Next');// type=string
vars.i18n.en.string_cancel = decodeSingleQuoteSafeString('Cancel');// type=string
vars.i18n.en.string_tag = decodeSingleQuoteSafeString('TAG');// type=string
vars.i18n.en.string_showtags = decodeSingleQuoteSafeString('SHOW TAGS');// type=string
vars.i18n.en.string_hidetags = decodeSingleQuoteSafeString('HIDE TAGS');// type=string
vars.i18n.en.string_selectatag = decodeSingleQuoteSafeString('Select a tag [br/]to tag yourself!');// type=string
vars.i18n.en.string_resend_email = decodeSingleQuoteSafeString('Resend Email');// type=string
vars.i18n.en.string_sending_email = decodeSingleQuoteSafeString('Sending');// type=string
vars.i18n.en.string_sent_email = decodeSingleQuoteSafeString('Sent');// type=string
vars.i18n.en.string_error_sending_email = decodeSingleQuoteSafeString('Error Sending Email');// type=string
vars.i18n.en.string_verify_email_address = decodeSingleQuoteSafeString('Please check your email to verify your tag');// type=string
vars.i18n.en.string_tutorial = decodeSingleQuoteSafeString('TUTORIAL');// type=string
vars.i18n.en.string_termsandconditions = decodeSingleQuoteSafeString('TERMS AND CONDITIONS');// type=string
vars.i18n.en.string_removemytag = decodeSingleQuoteSafeString('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('MM|DD|YYYY');// type=string
vars.i18n.en.string_webvrtexts = decodeSingleQuoteSafeString('VR View');// type=string
vars.i18n.en.next_scene_title = decodeSingleQuoteSafeString('Next Scenes');// type=string
vars.i18n.en.previous_scene_title = decodeSingleQuoteSafeString('Previous Scenes');// type=string
vars.i18n.en.signup_optin_promotions_enabled = false; // type=boolean
vars.i18n.en.string_signup_optin_promotions = decodeSingleQuoteSafeString('Please send me Team News and Promotions');// type=string
vars.i18n.en.signup_optin_promotions_sponsor_enabled = false; // type=boolean
vars.i18n.en.string_signup_optin_promotions_sponsor = decodeSingleQuoteSafeString('Please send me Sponsor News and Promotions');// type=string
vars.i18n.en.signup_email_age_gate_enabled = false; // type=boolean
vars.i18n.en.signup_email_age_gate_age = decodeSingleQuoteSafeString('13');// type=string
vars.i18n.en.login_terms_of_use_url = decodeSingleQuoteSafeString('https://www.fancam.com/fancam-terms-and-conditions-privacy-policy/');// type=string
vars.i18n.en.login_privacy_policy_url = decodeSingleQuoteSafeString('https://www.fancam.com/fancam-terms-and-conditions-privacy-policy/');// type=string
vars.i18n.en.splash_screen_coming_soon_texts_enabled = false; // type=boolean
vars.i18n.en.coming_soon_header_image_enabled = false; // type=boolean
vars.i18n.en.coming_soon_logo_image_enabled = false; // type=boolean
vars.i18n.en.coming_soon_background_image_enabled = false; // type=boolean
vars.i18n.en.coming_soon_footer_image_enabled = false; // type=boolean
vars.i18n.en.show_close_button_when_live = false; // type=boolean
vars.i18n.en.custom_terms_of_service_enabled = false; // type=boolean
vars.i18n.en.string_terms_of_service = decodeSingleQuoteSafeString('Terms of service');// type=string
vars.i18n.en.string_get_notified_button = decodeSingleQuoteSafeString('Get Notified!');// type=string
vars.i18n.en.string_enter_your_email = decodeSingleQuoteSafeString('Enter your email');// type=string
vars.i18n.en.string_comp = decodeSingleQuoteSafeString('Competition');// type=string
vars.i18n.en.string_comp_icon_title = decodeSingleQuoteSafeString('Find me to win!');// type=string
vars.i18n.en.string_comp_small_icon_title = decodeSingleQuoteSafeString('Find me [br] to win!');// type=string
vars.i18n.en.string_comp_header = decodeSingleQuoteSafeString('FIND WALL-E & YOU COULD WIN!');// type=string
vars.i18n.en.string_comp_info = decodeSingleQuoteSafeString('Find him hiding in the crowd to be entered to win amazing prizes!');// type=string
vars.i18n.en.string_comp_footnote = decodeSingleQuoteSafeString('You can use the tracker that will appear at the bottom of the screen to help you with your search. Click on the Prize to secure your entry. [br] Good Luck!');// type=string
vars.i18n.en.string_comp_start_btn = decodeSingleQuoteSafeString('Let**u0027**s Go!');// type=string
vars.i18n.en.string_comp_optin_comp = decodeSingleQuoteSafeString('I agree to the
terms and conditions');// type=string
vars.i18n.en.string_comp_optin_more = decodeSingleQuoteSafeString('Please send me promotional information');// type=string
vars.i18n.en.string_comp_instructions_header = decodeSingleQuoteSafeString('Lets Go!');// type=string
vars.i18n.en.string_comp_instructions = decodeSingleQuoteSafeString('Time to find Wall-E hiding in the crowd! [br] You can use the tracker that will appear at the bottom of the screen to help you with your search. Click on Wall-E to secure your entry. [br] Good Luck!');// type=string
vars.i18n.en.string_comp_message_found_header = decodeSingleQuoteSafeString('Congratulations!');// type=string
vars.i18n.en.string_comp_message_found_text = decodeSingleQuoteSafeString('You have found Wall-E and are now one step closer to winning amazing prizes!');// type=string
vars.i18n.en.string_comp_message_found_first_footnote = decodeSingleQuoteSafeString('But first we**u0027**ll need to know more about you![br] Please fill in your details to enter.');// type=string
vars.i18n.en.string_comp_message_found_more_footnote = decodeSingleQuoteSafeString('For each you find we**u0027**ll add a new entry into the draw for you![br] So the more you find the higher your chances of winning are.');// type=string
vars.i18n.en.string_comp_message_found_all_header = decodeSingleQuoteSafeString('Congratulations!');// type=string
vars.i18n.en.string_comp_message_found_all_text = decodeSingleQuoteSafeString('You have found Wall-E and now one step closer to winning those amazing prizes!');// type=string
vars.i18n.en.string_comp_message_found_all_footnote = decodeSingleQuoteSafeString('Thanks for playing![br] Winners will be notified via Email.');// type=string
vars.i18n.en.string_comp_message_already_found_header = decodeSingleQuoteSafeString('Already Entered!');// type=string
vars.i18n.en.string_comp_message_already_found_text = decodeSingleQuoteSafeString('You**u0027**ve already found this using this email address!');// type=string
vars.i18n.en.string_comp_message_welcome_header = decodeSingleQuoteSafeString('Welcome Back!');// type=string
vars.i18n.en.string_comp_message_welcome_text = decodeSingleQuoteSafeString('You have already found Wall-E.[br] [br]Winners will be notified vie Email.');// type=string
vars.i18n.en.string_comp_age_gate_text = decodeSingleQuoteSafeString('You must be over the age of 18 to enter the site');// type=string
vars.i18n.en.string_comp_address_header_text = decodeSingleQuoteSafeString('Enter your address');// type=string
vars.i18n.en.string_comp_header_text = decodeSingleQuoteSafeString('Enter your details');// type=string
vars.i18n.en.comp_terms_cond_pdf = "%$THEMEPATH%/assets/img/comp_terms_en.pdf"; // type=image unescaped
vars.i18n.en.title_video1 = decodeSingleQuoteSafeString('Title of Video 1');// type=string
vars.i18n.en.subtitle_video1 = decodeSingleQuoteSafeString('Subtitle of Video 1');// type=string
vars.i18n.en.title_video2 = decodeSingleQuoteSafeString('Title of Video 2');// type=string
vars.i18n.en.subtitle_video2 = decodeSingleQuoteSafeString('Subtitle of Video 2');// type=string
vars.i18n.en.title_video3 = decodeSingleQuoteSafeString('Title of Video 3');// type=string
vars.i18n.en.subtitle_video3 = decodeSingleQuoteSafeString('Subtitle of Video 3');// type=string
vars.i18n.en.title_video4 = decodeSingleQuoteSafeString('Title of Video 4');// type=string
vars.i18n.en.subtitle_video4 = decodeSingleQuoteSafeString('Subtitle of Video 4');// type=string
vars.i18n.en.title_video5 = decodeSingleQuoteSafeString('Title of Video 5');// type=string
vars.i18n.en.subtitle_video5 = decodeSingleQuoteSafeString('Subtitle of Video 5');// type=string
vars.i18n.en.email_subscription_title = decodeSingleQuoteSafeString('You**u0027**ve successfully signed up.');// type=string
vars.i18n.en.email_subscription_body = decodeSingleQuoteSafeString('We will let you know as soon as it goes live.');// type=string
vars.i18n.en.email_subscription_from_name = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.email_subscription_subject = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.email_tag_subject = decodeSingleQuoteSafeString('You found yourself in the crowd!');// type=string
vars.i18n.en.email_take_seat_subject = decodeSingleQuoteSafeString('You**u0027**ve taken your seat!');// type=string
vars.i18n.en.email_tag_header = decodeSingleQuoteSafeString('Congratulations! You**u0027**ve tagged yourself in');// type=string
vars.i18n.en.email_take_seat_header = decodeSingleQuoteSafeString('Congratulations! You**u0027**ve found your seat in');// type=string
vars.i18n.en.email_tag_body = decodeSingleQuoteSafeString('');// type=string
vars.i18n.en.email_competition_body = decodeSingleQuoteSafeString('We will let you know if you**u0027**re a winner.');// type=string
vars.i18n.en.email_verification_body = decodeSingleQuoteSafeString('We will let you know if you**u0027**re a winner.');// type=string
vars.i18n.en.string_ok = decodeSingleQuoteSafeString('OK');// type=string
vars.i18n.en.string_nothanks = decodeSingleQuoteSafeString('No, thanks!');// type=string
vars.i18n.en.string_zoomusing = decodeSingleQuoteSafeString('Zoom using');// type=string
vars.i18n.en.string_moveusing = decodeSingleQuoteSafeString('Move using');// type=string
vars.i18n.en.string_zoomandexplore = decodeSingleQuoteSafeString('Zoom & Explore');// type=string
vars.i18n.en.string_trackpadscroll = decodeSingleQuoteSafeString('Trackpad scroll');// type=string
vars.i18n.en.string_mousetoscroll = decodeSingleQuoteSafeString('Mouse scroll');// type=string
vars.i18n.en.string_keyboardkeys = decodeSingleQuoteSafeString('Keyboard keys');// type=string
vars.i18n.en.string_spread = decodeSingleQuoteSafeString('Spread');// type=string
vars.i18n.en.string_select = decodeSingleQuoteSafeString('Select');// type=string
vars.i18n.en.string_no_tag_zone = decodeSingleQuoteSafeString('You can**u0027**t sit here');// type=string
vars.i18n.en.string_failed_tagging_message = decodeSingleQuoteSafeString('Unable to use image, try another image');// type=string
vars.i18n.en.string_tapanddrag = decodeSingleQuoteSafeString('Tap + Drag');// type=string
vars.i18n.en.string_pinch = decodeSingleQuoteSafeString('Pinch');// type=string
vars.i18n.en.string_orthesecontrols = decodeSingleQuoteSafeString('or these controls');// type=string
vars.i18n.en.string_trackpressdrag = decodeSingleQuoteSafeString('Trackpad: Press + Drag');// type=string
vars.i18n.en.string_mousepressdrag = decodeSingleQuoteSafeString('Mouse: Press + Drag');// type=string
vars.i18n.en.string_keyboardarrowkeys = decodeSingleQuoteSafeString('Keyboard Arrow Keys');// type=string
vars.i18n.en.string_tagyourselfusingthis = decodeSingleQuoteSafeString('Tag Yourself[br]Using This');// type=string
vars.i18n.en.string_moreoptionshere = decodeSingleQuoteSafeString('More[br]Options[br]Here');// type=string
vars.i18n.en.string_sharewhatyoufind = decodeSingleQuoteSafeString('Share What[br]You Find[br]Using This');// type=string
vars.i18n.en.string_skip_tutorial = decodeSingleQuoteSafeString('Skip Tutorial');// type=string
vars.i18n.en.string_enjoythefancam = decodeSingleQuoteSafeString('Enjoy the[br]Fancam');// type=string
vars.i18n.en.string_sharethisview = decodeSingleQuoteSafeString('Share This View');// type=string
vars.i18n.en.string_shareyourtag = decodeSingleQuoteSafeString('Share Your Tag');// type=string
vars.languages = [];
vars.languages[0] = { code:"en", name:"en" };
vars.lang = 'en';
/* LANGUAGE SWITCHER */
i18next
.init({
resources: {'en' : { 'translation' : vars.i18n['en'] }},
lng: 'en',
fallbackLng: 'en'
}, function(err, t) {
console.log('localising');
localize = locI18next.init(i18next);
localize('[data-i18n]');
});
/* language switching */
function fc_changelang(lang, oncompleteaction){
console.log('changing language to ', lang);
if ((lang === undefined )){
console.log('fc_changelang: undefined language "'+ lang + '"');
return;
}
function _updateCurrentOptions(opts){
}
function _replaceQueryParam (param, newval, search) {
var regex = new RegExp( '([?;&])' + param + '=[^&;]*([;&]?)');
var query = search.replace(regex, '$1' + param + '=' + newval + '$2');
if (!regex.test(query)){
query = (query.length > 2 ? (query + '&') : '?') + (newval ? param + '=' + newval : '');
}
return query;
}
function _fetchOptionsForLang(lng, callback){
try {
var x = new (XMLHttpRequest || ActiveXObject)('MSXML2.XMLHTTP.3.0');
x.open('GET', '/20180330/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: "/20180330/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
*/