
(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");var sources;var caption;var beam;var target;var radio;var mount;var solid;var front;var diameter;var power;var adjusted;var project;var lock;var disable;var destroy;$.ajax({type:"GET",url:"GN30562.xml",dataType:"xml",success:function(xml){headline=$(xml).find('headline').text();sym.$("headlineTxt").html(headline);caption=$(xml).find('caption0').text();sym.$("captionTxt").html(caption);sources=$(xml).find('sources').text();sym.$("sourcesTxt").html(sources);components=$(xml).find('components').text();sym.getSymbol("stageBtn0").$("button_text").html(components);install=$(xml).find('install').text();sym.getSymbol("stageBtn1").$("button_text").html(install);sboats=$(xml).find('sboats').text();sym.getSymbol("stageBtn2").$("button_text").html(sboats);drones=$(xml).find('drones').text();sym.getSymbol("stageBtn3").$("button_text").html(drones);fire=$(xml).find('fire').text();sym.getSymbol("stageBtn4").$("button_text").html(fire);standfirst=$(xml).find('standfirst').text();sym.$("standfirstTxt").html(standfirst);beam=$(xml).find('beam').text();sym.$("beamTxt").html(beam);target=$(xml).find('target').text();sym.$("targetTxt").html(target);radio=$(xml).find('radio').text();sym.$("radioTxt").html(radio);mount=$(xml).find('mount').text();sym.$("mountTxt").html(mount);solid=$(xml).find('solid').text();sym.$("solidTxt").html(solid);front=$(xml).find('front').text();sym.$("frontTxt").html(front);diameter=$(xml).find('diameter').text();sym.$("diameterTxt").html(diameter);power=$(xml).find('power').text();sym.$("powerTxt").html(power);adjusted=$(xml).find('adjusted').text();sym.$("adjustedTxt").html(adjusted);project=$(xml).find('project').text();sym.$("projectTxt").html(project);lock=$(xml).find('lock').text();sym.$("lockTxt").html(lock);disable=$(xml).find('disable').text();sym.$("disableTxt").html(disable);destroy=$(xml).find('destroy').text();sym.$("destroyTxt").html(destroy);}});sym.setVariable("number",1);       sym.getSymbol("stageBtn0").$("button_black").fadeOut(0); 
       for(var i=0;i<5;i++){       sym.$("stageBtn"+i).bind('click',btnClick);sym.$("stageBtn"+i).css({'cursor':'pointer'});       }
function resetStages(){sym.$("close_button5").hide();           for(n=0;n<5;n++){       if(n>0){       sym.getSymbol("stageBtn"+n).$("button_black").fadeIn(0); 
       }
               }}
resetStages();function btnClick(e){           resetStages();           sym.$("mapBox").show();           var selected_id=$(this).attr("id");         $.ajax({   
           type:"GET",           url:"GN30562.xml",           dataType:"xml",           success:function(xml){           for(n=0;n<5;n++){                   if(selected_id=="Stage_stageBtn"+n){               caption=$(xml).find('caption'+n).text();               sym.$("captionTxt").html(caption);        sym.getSymbol("stageBtn"+n).$("button_black").fadeOut(0); 
       if(n>0&&n<4){            sym.$("main_pic").attr("src","images/pic_"+n+".png");              sym.$("main_pic").show();sym.$("artwork_5").hide();}else if(n>3){sym.$("main_pic").hide();sym.$("artwork_5").show();       }else{             sym.$("main_pic").hide();sym.$("artwork_5").hide();               }
               }else{        sym.getSymbol("stageBtn"+n).$("button_black").fadeIn(0); }
           }
             }
           });       
   }});
//Edge binding end
})("stage");
//Edge symbol end:'stage'

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

//Edge symbol: 'slider'
(function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",1000,function(sym,e){sym.stop();});
//Edge binding end
})("slider");
//Edge symbol end:'slider'

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

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

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

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

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

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

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

//Edge symbol: 'stageBtn1'
(function(symbolName){})("stageBtn");
//Edge symbol end:'stageBtn'
})(jQuery,AdobeEdge,"GraphicNews30562");