
(function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol;
//Edge symbol: 'stage'
(function(symbolName){Symbol.bindElementAction(compId,symbolName,"document","compositionReady",function(sym,e){for(var i=0;i<3;i++){sym.getSymbol("btnsMc").getSymbol("menuBtn"+i).$("menuIcon").attr("src","images/menuIcon"+i+".png");}
var watchSun=0;var txtLoad=0;var headline;var headlinetxt=sym.getSymbol("styleHead").$("headlineTxt").css("pointer-events","none");var stand;var standtxt=sym.getSymbol("bgMc").$("standTxt").css("pointer-events","none");var source;var sourcetxt=sym.getSymbol("styleBase").$("sourceTxt").css("pointer-events","none");var txt=[];txt[0]=sym.getSymbol("bgMc").$("txt0").css("pointer-events","none");txt[1]=sym.getSymbol("bgMc").$("txt1").css("pointer-events","none");txt[2]=sym.getSymbol("bgMc").$("txt2").css("pointer-events","none");txt[3]=sym.getSymbol("bgMc").$("txt3").css("pointer-events","none");txt[4]=sym.getSymbol("bgMc").$("txt4").css("pointer-events","none");txt[5]=sym.getSymbol("bgMc").$("txt5").css("pointer-events","none");txt[6]=sym.getSymbol("bgMc").$("txt6").css("pointer-events","none");txt[7]=sym.getSymbol("bgMc").$("txt7").css({"background-color":"rgba(213,220,232,1)"});txt[8]=sym.getSymbol("bgMc").$("txt8").css("pointer-events","none");txt[9]=sym.getSymbol("bgMc").$("txt9").css("pointer-events","none");txt[10]=sym.getSymbol("pointMc").$("txt10").css("pointer-events","none");txt[11]=sym.getSymbol("pointMc").$("txt11").css("pointer-events","none");txt[12]=sym.$("txt12").css({"border-width":"1px","border-style":"solid","border-color":"rgba(255,255,255,1)","background-color":"rgba(227,6,19,0.9)","border-radius":"4px","padding":"8px"});txt[13]=sym.$("txt0").css("pointer-events","none");txt[14]=sym.$("txt0").css("pointer-events","none");txt[15]=sym.$("txt0").css("pointer-events","none");var txtArr=[];$.ajax({type:"GET",url:"GN31580.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);for(var i=0;i<16;i++){txtArr[i]=$(xml).find('txt'+i).text();txt[i].html(txtArr[i]);}}});sym.$("point1").fadeOut(0);sym.$("point2").fadeOut(0);menuArray=[];for(var h=0;h<3;h++){var menuBtnSymbols=sym.getSymbol("btnsMc").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++){menuArray[h].$("btnClick").fadeOut(0);menuArray[h].$("btnOver").fadeOut(0);}}
resetmenu();function menuBtnClick(e){sym.$("point0").fadeOut(0);sym.$("point1").fadeOut(0);sym.$("point2").fadeOut(0);resetmenu();var menuMenu_id=(e.data.menuId);sym.getSymbol("btnsMc").getSymbol("menuBtn"+menuMenu_id).$("btnClick").fadeIn(0);if(menuMenu_id==0){sym.$("point0").fadeIn(200);if(watchSun==0){sym.getSymbol("watchMc").$("watchColo").fadeOut(300);sym.getSymbol("btnsMc").getSymbol("menuBtn0").$("menuIcon").attr("src","images/menuIcon3.png");watchSun=1;txtLoad=13;}else{sym.getSymbol("watchMc").$("watchColo").fadeIn(300);sym.getSymbol("btnsMc").getSymbol("menuBtn0").$("menuIcon").attr("src","images/menuIcon0.png");watchSun=0;txtLoad=12;}}
if(menuMenu_id==1){sym.$("point1").fadeIn(200);sym.$("handMc").animate({left:486},1000,'easeInOutCubic',function(){sym.getSymbol("handMc").play(1);sym.getSymbol("watchMc").play(1);sym.$("handMc").delay(1500).animate({left:550},1000,'easeInOutCubic');});txtLoad=14;}
if(menuMenu_id==2){sym.$("point2").fadeIn(200);txtLoad=15;}
$.ajax({type:"GET",url:"GN31580.xml",dataType:"xml",success:function(xml){txtArr[12]=$(xml).find('txt12').text();txt[12].html(txtArr[txtLoad]);}});}
function menuShow(e){var menuMenu_id=(e.data.menuId);sym.getSymbol("btnsMc").getSymbol("menuBtn"+menuMenu_id).$("btnOver").fadeIn(0);}
function menuHide(e){var menuMenu_id=(e.data.menuId);sym.getSymbol("btnsMc").getSymbol("menuBtn"+menuMenu_id).$("btnOver").fadeOut(0);}});
//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: 'btnRnd'
(function(symbolName){})("btnRnd");
//Edge symbol end:'btnRnd'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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