
(function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol;
//Edge symbol: 'stage'
(function(symbolName){Symbol.bindElementAction(compId,symbolName,"document","compositionReady",function(sym,e){var time=0;sym.getSymbol("timeMc").$("btnNextStop").fadeOut(0);var headline;var headlinetxt=sym.getSymbol("styleHead").$("headlineTxt").css("pointer-events","none");var stand;var standtxt=sym.getSymbol("styleHead").$("standTxt").css("pointer-events","none");var source;var sourcetxt=sym.getSymbol("styleBase").$("sourceTxt").css("pointer-events","none");var menuIcon0;var menuIcon0txt=sym.getSymbol("styleHead").getSymbol("menuBtn0").$("txt").css("pointer-events","none");var menuIcon1;var menuIcon1txt=sym.getSymbol("styleHead").getSymbol("menuBtn1").$("txt").css("pointer-events","none");var menuTxt0;var menuTxt0txt=sym.getSymbol("styleHead").$("menuTxt0").css("pointer-events","none");var menuTxt1;var menuTxt1txt=sym.getSymbol("styleHead").$("menuTxt1").css("pointer-events","none");var timeTxt;var timeTxttxt=sym.getSymbol("timeMc").$("timeTxt").css("pointer-events","none");var total;var totaltxt=sym.getSymbol("timeMc").$("total").css({"background-color":"rgba(247,172,0,1)","padding":"6px"});var timeBub1;var timeBub1txt=sym.getSymbol("timeMc").$("timeBub1").css({"background-color":"rgba(247,172,0,1)","padding":"6px"});var timeBub2;var timeBub2txt=sym.getSymbol("timeMc").$("timeBub2").css({"background-color":"rgba(247,172,0,1)","padding":"6px"});var timeBub3;var timeBub3txt=sym.getSymbol("timeMc").$("timeBub3").css({"background-color":"rgba(247,172,0,1)","padding":"6px"});var timeBub4
var timeBub4txt=sym.getSymbol("timeMc").$("timeBub4").css({"background-color":"rgba(247,172,0,1)","padding":"6px"});var timeBub5;var timeBub5txt=sym.getSymbol("timeMc").$("timeBub5").css({"background-color":"rgba(247,172,0,1)","padding":"6px"});var txt=[];for(var t=0;t<64;t++){txt[t]=sym.getSymbol("txtMc").$("txt"+t).css("pointer-events","none");}
txt[0].css({"background-color":"rgba(0,0,0,1)","padding":"2px"});txt[64]=sym.getSymbol("timeMc").$("txt64").css("pointer-events","none");txt[65]=sym.getSymbol("timeMc").$("txt65").css("pointer-events","none");txt[66]=sym.getSymbol("timeMc").$("txt66").css("pointer-events","none");txt[67]=sym.getSymbol("timeMc").$("txt67").css("pointer-events","none");txt[68]=sym.$("txt68").css("pointer-events","none");txt[69]=sym.$("txt69").css("pointer-events","none");txt[70]=sym.getSymbol("timeMc").$("txt70").css("pointer-events","none");txt[71]=sym.getSymbol("timeMc").$("txt71").css("pointer-events","none");var txtArr=[];$.ajax({type:"GET",url:"GN31557.xml",dataType:"xml",success:function(xml){headline=$(xml).find('headline').text();headlinetxt.html(headline);stand=$(xml).find('stand').text();standtxt.html(stand);source=$(xml).find('source').text();sourcetxt.html(source);menuIcon0=$(xml).find('menuIcon0').text();menuIcon0txt.html(menuIcon0);menuIcon1=$(xml).find('menuIcon1').text();menuIcon1txt.html(menuIcon1);menuTxt0=$(xml).find('menuTxt0').text();menuTxt0txt.html(menuTxt0);menuTxt1=$(xml).find('menuTxt1').text();menuTxt1txt.html(menuTxt1);timeTxt=$(xml).find('txt'+time).text();timeTxttxt.html(timeTxt);total=$(xml).find('total').text();totaltxt.html(total);timeBub1=$(xml).find('timeBub1').text();timeBub1txt.html(timeBub1);timeBub2=$(xml).find('timeBub2').text();timeBub2txt.html(timeBub2);timeBub3=$(xml).find('timeBub3').text();timeBub3txt.html(timeBub3);timeBub4=$(xml).find('timeBub4').text();timeBub4txt.html(timeBub4);timeBub5=$(xml).find('timeBub5').text();timeBub5txt.html(timeBub5);for(var i=0;i<72;i++){txtArr[i]=$(xml).find('txt'+i).text();txt[i].html(txtArr[i]);sym.getSymbol("timeMc").$("total").animate({left:771-sym.getSymbol("timeMc").$("total").width()},200);sym.getSymbol("timeMc").$("timeBub1").animate({left:72-sym.getSymbol("timeMc").$("timeBub1").width()/2},0);sym.getSymbol("timeMc").$("timeBub2").animate({left:150-sym.getSymbol("timeMc").$("timeBub2").width()/2},0);sym.getSymbol("timeMc").$("timeBub3").animate({left:232-sym.getSymbol("timeMc").$("timeBub3").width()/2},0);sym.getSymbol("timeMc").$("timeBub4").animate({left:332-sym.getSymbol("timeMc").$("timeBub4").width()/2},0);sym.getSymbol("timeMc").$("timeBub5").animate({left:448-sym.getSymbol("timeMc").$("timeBub5").width()},0);sym.getSymbol("txtMc").$("txt7").empty();sym.getSymbol("txtMc").$("txt9").empty();sym.getSymbol("txtMc").$("txt11").empty();sym.getSymbol("txtMc").$("txt13").empty();sym.getSymbol("timeMc").$("txt67").empty();var st1="<div class='blackstrap'>"+txtArr[7]+"</div><div class='captionNote'>"+txtArr[8]+"</div>";var st2="<div class='blackstrap'>"+txtArr[9]+"</div><div class='captionNote'>"+txtArr[10]+"</div>";var st3="<div class='blackstrap'>"+txtArr[11]+"</div><div class='captionNote'>"+txtArr[12]+"</div>";var st4="<div class='blackstrap'>"+txtArr[13]+"</div><div class='captionNote'>"+txtArr[14]+"</div>";var st5="<div class='blackstrap'>"+txtArr[67]+"</div><div class='captionNote'>"+txtArr[68]+"</div>";sym.getSymbol("txtMc").$("txt7").append(st1);sym.getSymbol("txtMc").$("txt9").append(st2);sym.getSymbol("txtMc").$("txt11").append(st3);sym.getSymbol("txtMc").$("txt13").append(st4);sym.getSymbol("txtMc").$("txt67").append(st5);$('.blackstrap').css({'float':'left','font-size':'13px','font-weight':600,'background-color':'rgba(0,0,0,1)','color':'rgba(255,255,255,1)','padding-left':'4px','padding-right':'2px','padding-top':'2px','padding-bottom':'2px','margin-right':'5px'});$('.captionNote').css({'font-family':'pragmatica-web, sans-serif','font-size':'13px','padding-right':'0px','padding-left':'0px','padding-bottom':'5px','padding-top':'5px'});}}});menuArray=[];for(var h=0;h<2;h++){var menuBtnSymbols=sym.getSymbol("styleHead").getSymbol("menuBtn"+h);menuBtnSymbols.setVariable("menuId",h);menuArray.push(menuBtnSymbols);}
$.each(menuArray,function(count,menuInTheArray){var menuBtnItem=$(menuInTheArray);var menuBtnElement=menuInTheArray.getSymbolElement();menuBtnElement.bind("click",{menuId:count},menuBtnClick);menuBtnElement.bind("touchstart",{menuId:count},menuBtnClick);menuBtnElement.bind("mouseover",{menuId:count},menuShow);menuBtnElement.bind("mouseout",{menuId:count},menuHide);})
function resetmenu(){for(var h=0;h<menuArray.length;h++){var resetmenu_arr=["menuTxt0","menuTxt1"];$.each(resetmenu_arr,function(index,value){sym.getSymbol("styleHead").$(value).fadeOut(0);});menuArray[h].$("btnClick").fadeOut(0);menuArray[h].$("btnOver").fadeOut(0);}}
resetmenu();function menuBtnClick(e){resetmenu();var menuMenu_id=(e.data.menuId);sym.getSymbol("styleHead").getSymbol("menuBtn"+menuMenu_id).$("btnClick").fadeIn(0);sym.getSymbol("styleHead").$("menuTxt"+menuMenu_id).fadeIn(0);if(menuMenu_id==0){sym.$("timeMc").animate({opacity:0},400,function(){sym.$("timeMc").animate({left:800},0);});}
if(menuMenu_id==1){btnClick();sym.$("timeMc").animate({left:0},0,function(){sym.$("timeMc").animate({opacity:1},400);});sym.getSymbol("timeMc").play(1);}}
function menuShow(e){var menuMenu_id=(e.data.menuId);sym.getSymbol("styleHead").getSymbol("menuBtn"+menuMenu_id).$("btnOver").fadeIn(0);sym.getSymbol("styleHead").$("menuTxt"+menuMenu_id).fadeIn(0);}
function menuHide(e){var menuMenu_id=(e.data.menuId);sym.getSymbol("styleHead").getSymbol("menuBtn"+menuMenu_id).$("btnOver").fadeOut(0);sym.getSymbol("styleHead").$("menuTxt"+menuMenu_id).fadeOut(0);}
sym.getSymbol("styleHead").getSymbol("menuBtn0").$("btnClick").fadeIn(0);var itemArray=["redDots","yellowDots","khakiDots","greenDots","redLand","yellowLand","khakiLand","greenLand"];$.each(itemArray,function(index,value){sym.$(value).fadeOut(0);});sym.$("timeMc").animate({left:800},0);sym.getSymbol("btn0").$("btnMinus").fadeOut(0);sym.getSymbol("btn1").$("btnMinus").fadeOut(0);sym.getSymbol("btn2").$("btnMinus").fadeOut(0);sym.getSymbol("btn3").$("btnMinus").fadeOut(0);sym.getSymbol("btn0").$("btnOver").fadeOut(0);sym.getSymbol("btn1").$("btnOver").fadeOut(0);sym.getSymbol("btn2").$("btnOver").fadeOut(0);sym.getSymbol("btn3").$("btnOver").fadeOut(0);var toggle0=0;sym.$("btn0").on('touchstart click',function(e){e.stopPropagation();e.preventDefault();if(toggle0==0){sym.getSymbol("btn0").$("btnPlus").fadeOut(0);sym.getSymbol("btn0").$("btnMinus").fadeIn(0);sym.$("yellowDots").fadeIn(400);sym.$("yellowLand").fadeIn(400);toggle0=1;}else{sym.getSymbol("btn0").$("btnPlus").fadeIn(0);sym.getSymbol("btn0").$("btnMinus").fadeOut(0);sym.$("yellowDots").fadeOut(200);sym.$("yellowLand").fadeOut(200);toggle0=0;}});sym.$("btn0").mouseover(function(){sym.getSymbol("btn0").$("btnOver").fadeIn(200);});sym.$("btn0").mouseout(function(){sym.getSymbol("btn0").$("btnOver").fadeOut(200);});var toggle1=0;sym.$("btn1").on('touchstart click',function(e){e.stopPropagation();e.preventDefault();if(toggle1==0){sym.getSymbol("btn1").$("btnPlus").fadeOut(0);sym.getSymbol("btn1").$("btnMinus").fadeIn(0);sym.$("greenDots").fadeIn(400);sym.$("greenLand").fadeIn(400);toggle1=1;}else{sym.getSymbol("btn1").$("btnPlus").fadeIn(0);sym.getSymbol("btn1").$("btnMinus").fadeOut(0);sym.$("greenDots").fadeOut(200);sym.$("greenLand").fadeOut(200);toggle1=0;}});sym.$("btn1").mouseover(function(){sym.getSymbol("btn1").$("btnOver").fadeIn(200);});sym.$("btn1").mouseout(function(){sym.getSymbol("btn1").$("btnOver").fadeOut(200);});var toggle2=0;sym.$("btn2").on('touchstart click',function(e){e.stopPropagation();e.preventDefault();if(toggle2==0){sym.getSymbol("btn2").$("btnPlus").fadeOut(0);sym.getSymbol("btn2").$("btnMinus").fadeIn(0);sym.$("redDots").fadeIn(400);sym.$("redLand").fadeIn(400);toggle2=1;}else{sym.getSymbol("btn2").$("btnPlus").fadeIn(0);sym.getSymbol("btn2").$("btnMinus").fadeOut(0);sym.$("redDots").fadeOut(200);sym.$("redLand").fadeOut(200);toggle2=0;}});sym.$("btn2").mouseover(function(){sym.getSymbol("btn2").$("btnOver").fadeIn(200);});sym.$("btn2").mouseout(function(){sym.getSymbol("btn2").$("btnOver").fadeOut(200);});var toggle3=0;sym.$("btn3").on('touchstart click',function(e){e.stopPropagation();e.preventDefault();if(toggle3==0){sym.getSymbol("btn3").$("btnPlus").fadeOut(0);sym.getSymbol("btn3").$("btnMinus").fadeIn(0);sym.$("khakiDots").fadeIn(400);sym.$("khakiLand").fadeIn(400);toggle3=1;}else{sym.getSymbol("btn3").$("btnPlus").fadeIn(0);sym.getSymbol("btn3").$("btnMinus").fadeOut(0);sym.$("khakiDots").fadeOut(200);sym.$("khakiLand").fadeOut(200);toggle3=0;}});sym.$("btn3").mouseover(function(){sym.getSymbol("btn3").$("btnOver").fadeIn(200);});sym.$("btn3").mouseout(function(){sym.getSymbol("btn3").$("btnOver").fadeOut(200);});sym.getSymbol("timeMc").$("btnNext").on('touchstart click',function(e){e.stopPropagation();e.preventDefault();time++;btnClick();});sym.getSymbol("timeMc").$("btnNext").mouseover(function(){sym.getSymbol("timeMc").getSymbol("btnNext").$("btnNextOut").fadeOut(200);});sym.getSymbol("timeMc").$("btnNext").mouseout(function(){sym.getSymbol("timeMc").getSymbol("btnNext").$("btnNextOut").fadeIn(200);});sym.getSymbol("timeMc").$("btnBack").on('touchstart click',function(e){e.stopPropagation();e.preventDefault();time--;btnClick();});sym.getSymbol("timeMc").$("btnBack").mouseover(function(){sym.getSymbol("timeMc").getSymbol("btnBack").$("btnBackOut").fadeOut(200);});sym.getSymbol("timeMc").$("btnBack").mouseout(function(){sym.getSymbol("timeMc").getSymbol("btnBack").$("btnBackOut").fadeIn(200);});function btnClick(){var slideArray=["66","100","167","335","352","402","503","519","553","570","653"];sym.getSymbol("timeMc").$("pointTime").stop().animate({left:(slideArray[time])},600,'easeOutCubic');$.ajax({type:"GET",url:"GN31557.xml",dataType:"xml",success:function(xml){timeTxt=$(xml).find('txt'+(time+72)).text();timeTxttxt.html(timeTxt);}});if(time==0){sym.getSymbol("timeMc").$("btnBackStop").fadeIn(0);}else{sym.getSymbol("timeMc").$("btnBackStop").fadeOut(0);}
if(time==10){sym.getSymbol("timeMc").$("btnNextStop").fadeIn(0);}else{sym.getSymbol("timeMc").$("btnNextStop").fadeOut(0);}}
btnClick();});
//Edge binding end 

// VIDEO BTN 1 =========================================================

// VIDEO BTN 2 =========================================================
})("stage");
//Edge symbol end:'stage'

//=========================================================

//Edge symbol: 'StyleBase'
(function(symbolName){})("StyleBase");
//Edge symbol end:'StyleBase'

//=========================================================

//Edge symbol: 'styleHead_1'
(function(symbolName){})("styleHead");
//Edge symbol end:'styleHead'

//=========================================================

//Edge symbol: 'menuBtn_2'
(function(symbolName){})("menuBtn");
//Edge symbol end:'menuBtn'

//=========================================================

//Edge symbol: 'Preloader'
(function(symbolName){})("Preloader");
//Edge symbol end:'Preloader'

//=========================================================

//Edge symbol: 'plusMinusBtn_1'
(function(symbolName){})("plusMinusBtn_1");
//Edge symbol end:'plusMinusBtn_1'

//=========================================================

//Edge symbol: 'txtMc'
(function(symbolName){})("txtMc");
//Edge symbol end:'txtMc'

//=========================================================

//Edge symbol: 'deathMc'
(function(symbolName){})("timeMc");
//Edge symbol end:'timeMc'

//=========================================================

//Edge symbol: 'btnNext'
(function(symbolName){})("btnNext");
//Edge symbol end:'btnNext'

//=========================================================

//Edge symbol: 'btnBack'
(function(symbolName){})("btnBack");
//Edge symbol end:'btnBack'
})(jQuery,AdobeEdge,"GraphicNews31557");