
(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 headline;var headlinetxt=sym.$("headlineTxt").css("pointer-events","none");var stand;var standtxt=sym.$("standTxt").css("pointer-events","none");var source;var sourcetxt=sym.getSymbol("styleBase").$("sourceTxt").css("pointer-events","none");var txt=[];txt[0]=sym.getSymbol("roofMc").getSymbol("pointersMc").$("txt0").css("pointer-events","none");txt[1]=sym.getSymbol("roofMc").getSymbol("pointersMc").$("txt1").css("pointer-events","none");txt[2]=sym.getSymbol("roofMc").getSymbol("pointersMc").$("txt2").css("pointer-events","none");txt[3]=sym.getSymbol("roofMc").getSymbol("pointersMc").$("txt3").css("pointer-events","none");txt[4]=sym.getSymbol("roofMc").getSymbol("pointersMc").$("txt4").css("pointer-events","none");txt[5]=sym.getSymbol("roofMc").getSymbol("pointersMc").$("txt5").css("pointer-events","none");txt[6]=sym.getSymbol("roofMc").getSymbol("pointersMc").$("txt6").css("pointer-events","none");txt[7]=sym.getSymbol("roofMc").getSymbol("pointersMc").$("txt7").css("pointer-events","none");txt[8]=sym.getSymbol("roofMc").getSymbol("pointersMc").$("txt8").css("pointer-events","none");txt[9]=sym.$("txt9").css("pointer-events","none");var txtArr=[];$.ajax({type:"GET",url:"GN30977.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<9;i++){txtArr[i]=$(xml).find('txt'+i).text();txt[i].html(txtArr[i]);}}});sym.getSymbol("roofMc").$("btnBack").on('touchstart click',function(e){e.stopPropagation();e.preventDefault();scene=0;btnClick();sym.getSymbol("roofMc").getSymbol("btnBack").$("btnClick").fadeIn(200);});sym.getSymbol("roofMc").$("btnBack").mouseover(function(){sym.getSymbol("roofMc").getSymbol("btnBack").$("btnOver").fadeIn(200);});sym.getSymbol("roofMc").$("btnBack").mouseout(function(){sym.getSymbol("roofMc").getSymbol("btnBack").$("btnOver").fadeOut(200);});function btnClick(){sym.getSymbol("buildMc").play(0);sym.getSymbol("roofMc").stop(0);sym.$("buildMc").stop().animate({left:0},2000,'easeOutCubic');sym.$("roofMc").stop().animate({left:600},2000,'easeOutCubic');sym.getSymbol("roofMc").stop(0);sym.$("roofMc").animate({top:0,left:600},1500,'easeOutCubic');}
sym.$("roofMc").stop().animate({left:600,},0);sym.getSymbol("buildMc").play(1);});
//Edge binding end 

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

//Edge symbol: 'buildMc'
(function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",4000,function(sym,e){sym.stop();sym.getComposition().getStage().$("buildMc").stop().animate({left:-600,},2000,'easeOutCubic');sym.getComposition().getStage().$("roofMc").stop().animate({left:0,},2000,'easeOutCubic');sym.getComposition().getStage().getSymbol("roofMc").play(1);});
//Edge binding end
Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",9751,function(sym,e){sym.getComposition().getStage().getSymbol("roofMc").play();});
//Edge binding end
})("buildMc");
//Edge symbol end:'buildMc'

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

//Edge symbol: 'roof'
(function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",6000,function(sym,e){sym.stop();sym.getComposition().getStage().getSymbol("roofMc").$("bg").fadeOut(50)
sym.getComposition().getStage().$("buildMc").animate({left:0},2000,'easeOutCubic');sym.getComposition().getStage().$("roofMc").animate({top:-150,left:0},1500,'easeOutCubic');sym.getComposition().getStage().$("roofMc").delay(500).animate({top:-120,left:0},1500,'easeOutCubic');sym.getComposition().getStage().getSymbol("buildMc").play();});
//Edge binding end
})("roof");
//Edge symbol end:'roof'

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

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