
(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 clickEventType=('ontouchstart'in document.documentElement?"touchstart":"click");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 txt=[];for(var i=0;i<346;i++){txt[i]=sym.$("txt"+i).css({"pointer-events":"none"});}
txt[34]=sym.getSymbol("peopleOverMc").$("txt34").css({"pointer-events":"none","padding":"12px","height":"auto","border-width":"0px","border-radius":"5px"});txt[35]=sym.getSymbol("pieChartMc").$("txt35").css({"pointer-events":"none"});txt[36]=sym.getSymbol("pieChartMc").$("txt36").css({"pointer-events":"none"});txt[37]=sym.getSymbol("pieChartMc").$("txt37").css({"pointer-events":"none"});txt[38]=sym.getSymbol("pieChartMc").$("txt38").css({"pointer-events":"none"});txt[39]=sym.getSymbol("pieChartMc").$("txt39").css({"pointer-events":"none"});var txtArr=[];$.ajax({type:"GET",url:"GN32440.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);var fontSize=$(xml).find('fontSize').text();for(var i=0;i<45;i++){txtArr[i]=$(xml).find('txt'+i).text();txt[i].html(txtArr[i]);txt[i].css({'font-size':fontSize});}}});for(var b=0;b<12;b++){sym.getSymbol("colsMc").$("col"+b).fadeOut(0);}
sym.$("peopleOverMc").stop().animate({opacity:0},0);sym.$("pieChartMc").fadeOut(0);sym.$("btnsMc").fadeOut(0);sym.getSymbol("btnsMc").getSymbol("toggleBtn2").$("btnClick").fadeOut(0);auxArray=[];for(var a=0;a<12;a++){var auxBtnSymbols=sym.getSymbol("menuBtnsMc").getSymbol("menuBtn"+a);auxBtnSymbols.setVariable("auxId",a);auxArray.push(auxBtnSymbols);}
$.each(auxArray,function(count,auxInTheArray){var auxBtnItem=$(auxInTheArray);var auxBtnElement=auxInTheArray.getSymbolElement();auxBtnElement.bind(clickEventType,{auxId:count},auxBtnClick);auxBtnElement.bind("mouseover",{auxId:count},auxBtnShow);auxBtnElement.bind("mouseout",{auxId:count},auxBtnHide);})
var clicked=12;var btnNo=0;function auxBtnClick(e){var auxAux_id=(e.data.auxId);btnNo=auxAux_id;closeChart();if(sym.getSymbol("menuBtnsMc").getSymbol("menuBtn"+auxAux_id).$("btnPlus").is(":visible")){sym.getSymbol("menuBtnsMc").getSymbol("menuBtn"+auxAux_id).$("btnPlus").fadeOut(0);sym.getSymbol("colsMc").$("col"+auxAux_id).fadeIn(250);}else{sym.getSymbol("menuBtnsMc").getSymbol("menuBtn"+auxAux_id).$("btnPlus").fadeIn(0);sym.getSymbol("colsMc").$("col"+auxAux_id).fadeOut(250);}}
function auxBtnShow(e){var auxAux_id=(e.data.auxId);sym.getSymbol("menuBtnsMc").getSymbol("menuBtn"+auxAux_id).$("btnOver").fadeIn(0);}
function auxBtnHide(e){var auxAux_id=(e.data.auxId);sym.getSymbol("menuBtnsMc").getSymbol("menuBtn"+auxAux_id).$("btnOver").fadeOut(0);}
function closeChart(){sym.getSymbol("btnsMc").getSymbol("toggleBtn1").$("btnClick").fadeIn(0);sym.getSymbol("btnsMc").getSymbol("toggleBtn2").$("btnClick").fadeOut(0);sym.$("pieChartMc").fadeOut(100);sym.$("btnsMc").fadeOut(100);sym.getSymbol("toggleBtn").$("btnPlus").fadeIn(0);sym.$("peopleOverMc").stop().animate({opacity:0},100);sym.$("people").stop().animate({left:315,top:4,width:479,height:360},400,'easeOutCubic');}
sym.$("toggleBtn").on(clickEventType,function(e){e.stopPropagation();e.preventDefault();if(sym.getSymbol("toggleBtn").$("btnPlus").is(":visible")){sym.getSymbol("toggleBtn").$("btnPlus").fadeOut(0);sym.$("people").stop().animate({left:0,top:0,width:800,height:600},400,'easeOutCubic',function(){sym.$("peopleOverMc").stop().animate({opacity:1},300);sym.$("btnsMc").fadeIn(300);});}else{closeChart();}});sym.$("toggleBtn").mouseover(function(){sym.getSymbol("toggleBtn").$("btnOver").stop().animate({opacity:0.3},200);});sym.$("toggleBtn").mouseout(function(){sym.getSymbol("toggleBtn").$("btnOver").stop().animate({opacity:0},200);});sym.getSymbol("btnsMc").$("toggleBtn1").on(clickEventType,function(e){e.stopPropagation();e.preventDefault();sym.getSymbol("btnsMc").getSymbol("toggleBtn1").$("btnClick").fadeIn(0);sym.getSymbol("btnsMc").getSymbol("toggleBtn2").$("btnClick").fadeOut(0);sym.$("pieChartMc").fadeOut(100);});sym.getSymbol("btnsMc").$("toggleBtn1").mouseover(function(){sym.getSymbol("btnsMc").getSymbol("toggleBtn1").$("btnOut").fadeOut(0);});sym.getSymbol("btnsMc").$("toggleBtn1").mouseout(function(){sym.getSymbol("btnsMc").getSymbol("toggleBtn1").$("btnOut").fadeIn(0);});sym.getSymbol("btnsMc").$("toggleBtn2").on(clickEventType,function(e){e.stopPropagation();e.preventDefault();sym.getSymbol("btnsMc").getSymbol("toggleBtn2").$("btnClick").fadeIn(0);sym.getSymbol("btnsMc").getSymbol("toggleBtn1").$("btnClick").fadeOut(0);sym.$("pieChartMc").fadeIn(100);});sym.getSymbol("btnsMc").$("toggleBtn2").mouseover(function(){sym.getSymbol("btnsMc").getSymbol("toggleBtn2").$("btnOut").fadeOut(0);});sym.getSymbol("btnsMc").$("toggleBtn2").mouseout(function(){sym.getSymbol("btnsMc").getSymbol("toggleBtn2").$("btnOut").fadeIn(0);});});
//Edge binding end 

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

// VIDEO BTN 2 =========================================================
Symbol.bindTimelineAction(compId,symbolName,"Default Timeline","update",function(sym,e){var pos=sym.getPosition();if(pos==0){}else{}});
//Edge binding end
})("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: 'menuBtnsMc'
(function(symbolName){})("menuBtnsMc");
//Edge symbol end:'menuBtnsMc'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

//Edge symbol: 'Down-level'
(function(symbolName){})("Down-level");
//Edge symbol end:'Down-level'
})(jQuery,AdobeEdge,"GraphicNews32440");