
(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 pOld=-146;var pNew=154;var roofUp=0;var stadView=0;var spin=0;var btnNo=0;var tierIn=0;var xmlNo="GN31887.xml";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=[];txt[0]=sym.$("txt0").css({"pointer-events":"none",});txt[1]=sym.$("txt1").css({"pointer-events":"none"});txt[2]=sym.getSymbol("stadNewMc").$("txt2").css({"pointer-events":"none"});txt[3]=sym.getSymbol("stadNewMc").getSymbol("solarMc").$("txt3").css({"pointer-events":"none"});txt[4]=sym.getSymbol("stadNewMc").getSymbol("newInsidePointMc").$("txt4").css({"pointer-events":"none"});txt[5]=sym.getSymbol("stadNewMc").getSymbol("newInsidePointMc").$("txt5").css({"pointer-events":"none"});txt[6]=sym.getSymbol("stadNewMc").$("txt6").css({"pointer-events":"none"});txt[7]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt7").css({"pointer-events":"none"});txt[8]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt8").css({"pointer-events":"none"});txt[9]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt9").css({"pointer-events":"none"});txt[10]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt10").css({"pointer-events":"none"});txt[11]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt11").css({"pointer-events":"none"});txt[12]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt12").css({"pointer-events":"none"});txt[13]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt13").css({"pointer-events":"none"});txt[14]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt14").css({"pointer-events":"none"});txt[15]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt15").css({"pointer-events":"none"});txt[16]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt16").css({"pointer-events":"none"});txt[17]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt17").css({"pointer-events":"none"});txt[18]=sym.getSymbol("tiersMc").getSymbol("seatsMc").$("txt18").css({"pointer-events":"none"});txt[19]=sym.$("txt19").css({"pointer-events":"none"});txt[20]=sym.$("txt20").css({"pointer-events":"none"});var txtArr=[];$.ajax({type:"GET",url:xmlNo,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);for(var i=0;i<90;i++){txtArr[i]=$(xml).find('txt'+i).text();txt[i].html(txtArr[i]);}}});sym.getSymbol("stadNewMc").$("newInsidePointMc").stop().animate({opacity:0},0);sym.$("stadOldMc").animate({opacity:0},0);sym.getSymbol("roofBtn").$("btnClick").fadeOut(0);sym.getSymbol("stadOldBtn").$("btnClick").fadeOut(0);sym.getSymbol("stadNewBtn").$("btnClick").fadeIn(0);function roofsMove(){if(roofUp==0){sym.$("txt0").fadeOut(500);sym.getSymbol("roofBtn").$("btnClick").fadeIn(0);sym.getSymbol("stadNewMc").$("solarMc").stop().delay(0).animate({opacity:0},250);sym.getSymbol("stadOldMc").$("stadiumOldRoof").stop().delay(0).animate({opacity:0.3,top:-200},500,'easeOutCubic');sym.getSymbol("stadNewMc").$("stadiumNewRoof").stop().delay(0).animate({opacity:0.3,top:-200},500,'easeOutCubic',function(){sym.getSymbol("stadNewMc").$("newInsidePointMc").stop().animate({opacity:1},250);});roofUp=1;spin=180;}else{sym.$("txt0").fadeIn(500);sym.getSymbol("roofBtn").$("btnClick").fadeOut(0);sym.getSymbol("stadNewMc").$("newInsidePointMc").stop().animate({opacity:0},250);sym.getSymbol("stadOldMc").$("stadiumOldRoof").stop().delay(0).animate({opacity:1,top:0},500,'easeOutCubic');sym.getSymbol("stadNewMc").$("stadiumNewRoof").stop().delay(0).animate({opacity:1,top:0},500,'easeOutCubic',function(){sym.getSymbol("stadNewMc").$("solarMc").stop().delay(0).animate({opacity:1},250);});roofUp=0;spin=0;}
sym.getSymbol("roofBtn").$("arrowMc").stop(0).animate({rotate:spin},{step:function(now,fx){$(this).css('-webkit-transform','rotate('+now+'deg)');$(this).css('-moz-transform','rotate('+now+'deg)');$(this).css('transform','rotate('+now+'deg)');},duration:'slow',easing:'swing'});}
sym.$("stadOldBtn").on('touchstart click',function(e){e.stopPropagation();e.preventDefault();sym.$("txt19").empty();sym.$("txt19").append(txtArr[20]);sym.getSymbol("stadOldBtn").$("btnClick").fadeIn(0);sym.getSymbol("stadNewBtn").$("btnClick").fadeOut(0);sym.$("stadNewMc").stop().delay(0).animate({opacity:0},1000,'easeOutCubic');sym.$("stadOldMc").stop().delay(0).animate({opacity:1},1000,'easeOutCubic');stadView=0;});sym.$("stadOldBtn").mouseover(function(){sym.getSymbol("stadOldBtn").$("btnOut").fadeOut(200);});sym.$("stadOldBtn").mouseout(function(){sym.getSymbol("stadOldBtn").$("btnOut").fadeIn(200);});sym.$("stadNewBtn").on('touchstart click',function(e){e.stopPropagation();e.preventDefault();sym.$("txt19").empty();sym.$("txt19").append(txtArr[19]);sym.getSymbol("stadNewBtn").$("btnClick").fadeIn(0);sym.getSymbol("stadOldBtn").$("btnClick").fadeOut(0);sym.$("stadNewMc").stop().delay(0).animate({opacity:1},1000,'easeOutCubic');sym.$("stadOldMc").stop().delay(0).animate({opacity:0},1000,'easeOutCubic');stadView=1;});sym.$("stadNewBtn").mouseover(function(){sym.getSymbol("stadNewBtn").$("btnOut").fadeOut(200);});sym.$("stadNewBtn").mouseout(function(){sym.getSymbol("stadNewBtn").$("btnOut").fadeIn(200);});sym.$("roofBtn").on('touchstart click',function(e){e.stopPropagation();e.preventDefault();roofsMove();});sym.$("roofBtn").mouseover(function(){sym.getSymbol("roofBtn").$("btnOut").fadeOut(0);});sym.$("roofBtn").mouseout(function(){sym.getSymbol("roofBtn").$("btnOut").fadeIn(0);});sym.getSymbol("tiersMc").$("fadeMc").animate({opacity:0},0);sym.getSymbol("tiersMc").$("seatsMc").animate({opacity:0},0);sym.getSymbol("tiersMc").$("tierOldTop").stop().delay(0).animate({opacity:0,left:122,top:135,width:300,height:230},0);sym.getSymbol("tiersMc").$("tierOld").stop().delay(0).animate({opacity:0,left:122,top:135,width:300,height:230},0);sym.getSymbol("tiersMc").$("tierNew").stop().delay(0).animate({opacity:0,left:122,top:135,width:300,height:230},0);sym.$("tiersMc").fadeOut(0);function tiersView(){if(tierIn==0){if(stadView==0){pView=-146;pOpacityOld=1;pOpacityNew=0;sym.getSymbol("tiersMc").$("tierOldTop").fadeIn(0);}else{pView=154;pOpacityOld=0;pOpacityNew=1;sym.getSymbol("tiersMc").$("tierOldTop").fadeOut(0);}
sym.$("tierBtn").animate({left:800,top:543},0);sym.$("tierBtn").delay(2000).animate({left:760,top:543},500,'easeOutCubic');sym.getSymbol("tierBtn").$("btnPlus").fadeOut(200);sym.$("tiersMc").fadeIn(0);sym.$("tiersMc").stop().delay(0).animate({opacity:1},500,function(){sym.getSymbol("tiersMc").$("tierOldTop").stop().delay(0).animate({opacity:pOpacityOld},0);sym.getSymbol("tiersMc").$("tierOld").stop().delay(0).animate({opacity:pOpacityOld},0);sym.getSymbol("tiersMc").$("tierNew").stop().delay(0).animate({opacity:pOpacityNew},0);sym.getSymbol("tiersMc").$("tierOldTop").stop().delay(0).animate({left:pView,top:0,width:800,height:600},500,'easeOutCubic');sym.getSymbol("tiersMc").$("tierOld").stop().delay(0).animate({left:pView,top:0,width:800,height:600},500,'easeOutCubic');sym.getSymbol("tiersMc").$("tierNew").stop().delay(0).animate({left:pView,top:0,width:800,height:600},500,'easeOutCubic',function(){sym.getSymbol("tiersMc").$("fadeMc").stop().animate({opacity:1},500);sym.getSymbol("tiersMc").$("tierOldTop").stop().delay(0).animate({opacity:1},500);sym.getSymbol("tiersMc").$("tierOld").stop().delay(0).animate({opacity:1},500);sym.getSymbol("tiersMc").$("tierNew").stop().delay(0).animate({opacity:1},500);sym.getSymbol("tiersMc").$("tierOldTop").stop().delay(0).animate({left:pOld},500,'easeOutCubic');sym.getSymbol("tiersMc").$("tierOld").stop().delay(0).animate({left:pOld},500,'easeOutCubic');sym.getSymbol("tiersMc").$("tierNew").stop().delay(0).animate({left:pNew},500,'easeOutCubic');sym.getSymbol("tiersMc").$("seatsMc").stop().delay(500).animate({opacity:1},500);tierIn=1;});});}else{sym.getSymbol("tierBtn").$("btnPlus").fadeIn(200);sym.$("tierBtn").animate({opacity:0,left:288,top:293},0);sym.$("tierBtn").delay(1500).animate({opacity:1},500,'easeOutCubic');sym.getSymbol("tiersMc").$("tierOldTop").stop().delay(0).animate({left:pView,opacity:pOpacityOld},500,'easeOutCubic');sym.getSymbol("tiersMc").$("tierOld").stop().delay(0).animate({left:pView,opacity:pOpacityOld},500,'easeOutCubic');sym.getSymbol("tiersMc").$("tierNew").stop().delay(0).animate({left:pView,opacity:pOpacityNew},500,'easeOutCubic');sym.getSymbol("tiersMc").$("tierOldTop").stop().delay(0).animate({opacity:pOpacityOld},200);sym.getSymbol("tiersMc").$("tierOld").stop().delay(0).animate({opacity:pOpacityOld},200);sym.getSymbol("tiersMc").$("tierNew").stop().delay(0).animate({opacity:pOpacityNew},200);sym.getSymbol("tiersMc").$("seatsMc").stop().animate({opacity:0},500,'easeOutCubic',function(){sym.getSymbol("tiersMc").$("fadeMc").stop().animate({opacity:0},1000);sym.getSymbol("tiersMc").$("tierOldTop").stop().delay(0).animate({left:122,top:135,width:300,height:230},500,'easeOutCubic');sym.getSymbol("tiersMc").$("tierOld").stop().delay(0).animate({left:122,top:135,width:300,height:230},500,'easeOutCubic');sym.getSymbol("tiersMc").$("tierNew").stop().delay(0).animate({left:122,top:135,width:300,height:230},500,'easeOutCubic');sym.getSymbol("tiersMc").$("tierOldTop").stop().delay(0).animate({opacity:0},500);sym.getSymbol("tiersMc").$("tierOld").stop().delay(0).animate({opacity:0},500);sym.getSymbol("tiersMc").$("tierNew").stop().delay(0).animate({opacity:0},500);sym.$("tiersMc").stop().delay(500).animate({opacity:0},500);sym.$("tiersMc").delay().fadeOut(0);});tierIn=0;}}
sym.$("tierBtn").on('touchstart click',function(e){e.stopPropagation();e.preventDefault();tiersView();});sym.$("tierBtn").mouseover(function(){sym.getSymbol("tierBtn").$("btnOut").fadeOut(200);});sym.$("tierBtn").mouseout(function(){sym.getSymbol("tierBtn").$("btnOut").fadeIn(200);});});
//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: 'stadOld'
(function(symbolName){})("stadOld");
//Edge symbol end:'stadOld'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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