
(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","padding":"6px"});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 boxStyleYellow={"pointer-events":"none","background-color":"rgba(251,174,23,1)","border-width":"1px","border-style":"solid","border-color":"rgba(255,255,255,1)","border-radius":"5px","box-shadow":"5px 5px 5px rgba(0,0,0,0.3)","padding":"10px"};var boxStyleRed={"pointer-events":"none","background-color":"rgba(206,34,43,1)","border-width":"1px","border-style":"solid","border-color":"rgba(255,255,255,1)","border-radius":"5px","box-shadow":"5px 5px 5px rgba(0,0,0,0.3)","padding":"10px"};var txt=[];txt[0]=sym.getSymbol("setMc").$("txt0").css(boxStyleYellow);txt[1]=sym.$("txt1").css({"pointer-events":"none"});txt[2]=sym.$("txt2").css({"pointer-events":"none"});txt[3]=sym.getSymbol("setMc").$("txt3").css(boxStyleYellow);txt[4]=sym.$("txt4").css({"pointer-events":"none"});txt[5]=sym.$("txt5").css({"pointer-events":"none"});txt[6]=sym.$("txt6").css(boxStyleRed);txt[7]=sym.$("txt7").css({"pointer-events":"none"});txt[8]=sym.$("txt8").css({"pointer-events":"none"});txt[9]=sym.$("txt9").css({"pointer-events":"none"});txt[10]=sym.$("txt10").css({"pointer-events":"none"});txt[11]=sym.$("txt11").css({"pointer-events":"none"});txt[12]=sym.getSymbol("setMc").$("txt12").css(boxStyleYellow);txt[13]=sym.$("txt13").css({"pointer-events":"none"});txt[14]=sym.$("txt14").css({"pointer-events":"none"});txt[15]=sym.$("txt15").css({"pointer-events":"none"});txt[16]=sym.$("txt16").css({"pointer-events":"none"});txt[17]=sym.$("txt17").css({"pointer-events":"none"});txt[18]=sym.$("txt18").css({"pointer-events":"none"});txt[19]=sym.$("txt19").css({"pointer-events":"none"});txt[20]=sym.$("txt20").css({"pointer-events":"none"});txt[21]=sym.$("txt21").css({"pointer-events":"none"});txt[22]=sym.$("txt22").css({"pointer-events":"none"});txt[23]=sym.$("txt23").css({"pointer-events":"none"});txt[24]=sym.$("txt24").css({"pointer-events":"none"});txt[25]=sym.$("txt25").css({"pointer-events":"none"});txt[26]=sym.$("txt26").css({"pointer-events":"none"});txt[27]=sym.$("txt27").css({"pointer-events":"none"});var txtArr=[];$.ajax({type:"GET",url:"GN32190.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);stand=$(xml).find('stand').text();standtxt.html(stand);source=$(xml).find('source').text();sourcetxt.html(source);sym.getSymbol("styleHead").$("standTxt").animate({top:10+sym.getSymbol("styleHead").$("headlineTxt").height()+10},0);sym.getSymbol("styleHead").$("headerBox").animate({height:10+sym.getSymbol("styleHead").$("headlineTxt").height()+5},0);for(var i=0;i<27;i++){txtArr[i]=$(xml).find('txt'+i).text();txt[i].html(txtArr[i]);}
sym.getSymbol("setMc").$("txt0").animate({left:392-sym.getSymbol("setMc").$("txt0").width()+0},0);sym.getSymbol("setMc").$("txt3").animate({left:693-sym.getSymbol("setMc").$("txt3").width()/2},0);sym.$("txt6").animate({top:340-sym.$("txt6").height()-0},0);sym.getSymbol("setMc").$("txt12").animate({left:320-sym.getSymbol("setMc").$("txt12").width()/2},0);}});var btn0=0;var btn1=1;var btn2=2;var btn3=3;var btn4=4;var btn5=5;sym.$("setMc").animate({opacity:0},0);for(var b=0;b<7;b++){sym.$("sec"+b).fadeOut(0);}
auxArray=[];for(var a=0;a<6;a++){var auxBtnSymbols=sym.getSymbol("auxBtnsMc").getSymbol("auxBtn"+a);auxBtnSymbols.setVariable("auxId",a);auxArray.push(auxBtnSymbols);}
$.each(auxArray,function(count,auxInTheArray){var auxBtnItem=$(auxInTheArray);var auxBtnElement=auxInTheArray.getSymbolElement();auxBtnElement.bind("click",{auxId:count},auxBtnClick);auxBtnElement.bind("touchstart",{auxId:count},auxBtnClick);auxBtnElement.bind("mouseover",{auxId:count},auxBtnShow);auxBtnElement.bind("mouseout",{auxId:count},auxBtnHide);})
function resetAux(){for(var a=0;a<auxArray.length;a++){auxArray[a].$("btnClick").fadeOut(0);auxArray[a].$("btnOver").fadeOut(0);}}
resetAux();function auxBtnClick(e){resetAux();var auxAux_id=(e.data.auxId);sym.getSymbol("auxBtnsMc").getSymbol("auxBtn"+auxAux_id).$("btnClick").fadeIn(0);btnNo=auxAux_id;if(sym.getSymbol("auxBtnsMc").getSymbol("auxBtn"+btnNo).$("btnPlus").is(":visible")){sym.getSymbol("auxBtnsMc").getSymbol("auxBtn"+btnNo).$("btnPlus").hide();sym.$("sec"+btnNo).show();}else{sym.getSymbol("auxBtnsMc").getSymbol("auxBtn"+btnNo).$("btnPlus").show();sym.$("sec"+btnNo).hide();};if(sym.$("sec1").is(":visible")){sym.$("sec6").show();}else{sym.$("sec6").hide();};if(sym.$("sec5").is(":visible")){sym.$("setMc").animate({opacity:1},0);}else{sym.$("setMc").animate({opacity:0},0);}};function auxBtnShow(e){var auxAux_id=(e.data.auxId);sym.getSymbol("auxBtnsMc").getSymbol("auxBtn"+auxAux_id).$("btnOver").fadeIn(0);}
function auxBtnHide(e){var auxAux_id=(e.data.auxId);sym.getSymbol("auxBtnsMc").getSymbol("auxBtn"+auxAux_id).$("btnOver").fadeOut(0);}
sym.getSymbol("auxBtnsMc").getSymbol("auxBtn0").$("btnClick").fadeIn(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: 'Preloader'
(function(symbolName){})("Preloader");
//Edge symbol end:'Preloader'

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

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

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

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

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

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