
(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.getSymbol("styleHead").$("headlineTxt").css("pointer-events","none");var source;var sourcetxt=sym.getSymbol("styleBase").$("sourceTxt").css("pointer-events","none");var tCol={"background-color":"rgba(218,0,0,1)","pointer-events":"none","border-width":"1px","border-style":"solid","border-color":"rgba(0,0,0,1)","border-radius":"5px"}
var txt=[];for(var i=0;i<31;i++){txt[i]=sym.$("txt"+i).css({"pointer-events":"none",});}
txt[24]=sym.getSymbol("courseMc").$("txt24").css(tCol);txt[25]=sym.getSymbol("courseMc").$("txt25").css(tCol);var txtArr=[];$.ajax({type:"GET",url:"GN32290.xml",dataType:"xml",success:function(xml){custonCol=$(xml).find('customColour').text();sym.getSymbol("styleHead").$("headerBox").css("background-color",custonCol);headline=$(xml).find('headline').text();headlinetxt.html(headline);source=$(xml).find('source').text();sourcetxt.html(source);var fontSize=$(xml).find('fontSize').text();for(var i=0;i<30;i++){txtArr[i]=$(xml).find('txt'+i).text();txt[i].html(txtArr[i]);txt[i].css({'font-size':fontSize});}}});});
//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: 'Preloader'
(function(symbolName){})("Preloader");
//Edge symbol end:'Preloader'

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

//Edge symbol: 'TimelineController'
(function(symbolName){Symbol.bindSymbolAction(compId,symbolName,"creationComplete",function(sym,e){var useKeyBoardEvent=true;var KEY_RIGHT=39;var KEY_LEFT=37;var power=1.5;var declineRate=0.5;var speedWidth=30;var fps=60;var interval=(1000/fps)|0;var speed=0;var isKeyPress=false,isMousePress=false;var centerX,target,v;if(useKeyBoardEvent)$(window).bind("keydown",onStartControll).bind("keyup",onStopControll);var el=$(sym.getSymbolElement());el.mousedown(onStartControll).mouseup(onStopControll).mouseout(onStopControll).mousemove(onMouseMove).bind("touchstart",onStartControll).bind("touchmove",onMouseMove).bind("touchend",onStopControll);function onStartControll(evt){evt.preventDefault();target=sym.getParentSymbol();centerX=el.offset().left+el.width()/2;if(evt.type=="keydown"&&isKeyPress===false){speed=(evt.which==KEY_RIGHT)*interval*power
+(evt.which==KEY_LEFT)*interval*-1*power;speed|=0;isKeyPress=true;}else if(evt.type=="mousedown"||evt.type=="touchstart"){isMousePress=true;}
if(v===undefined)v=setInterval(onControll,interval);}
function onStopControll(evt){if(evt.type=="keyup"){isKeyPress=false;}else{isMousePress=false;}}
function onControll(){if(isKeyPress===false&&isMousePress===false){speed=(speed*declineRate)|0;if(-1<speed&&speed<1){clearInterval(v);v=undefined;}}
var n=target.getPosition()+speed;if(-1<n&&n<=target.getDuration())target.stop(n);}
function onMouseMove(evt){evt.preventDefault();evt=(evt.originalEvent.touches&&evt.originalEvent.touches[0])||evt;if(isMousePress===true){speed=(((evt.clientX-centerX)/speedWidth)*power*interval)|0;}}});
//Edge binding end
})("TimelineController");
//Edge symbol end:'TimelineController'

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

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