
(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 name;var sources;var pictures;var caption;var date;var queen;var phillip;var succession;var click;var missing;$.ajax({type:"GET",url:"GN30774.xml",dataType:"xml",success:function(xml){headline=$(xml).find('headline').text();sym.$("headlineTxt").html(headline);name=$(xml).find('name0').text();sym.$("nameTxt").html(name);date=$(xml).find('date0').text();sym.$("dateTxt").html(date);caption=$(xml).find('caption0').text();sym.$("captionTxt").html(caption);missing=$(xml).find('missing0').text();sym.$("missingTxt").html(missing);sources=$(xml).find('sources').text();sym.$("sourcesTxt").html(sources);pictures=$(xml).find('pictures').text();sym.$("picturesTxt").html(pictures);queen=$(xml).find('queen').text();sym.$("queenTxt").html(queen);phillip=$(xml).find('phillip').text();sym.$("phillipTxt").html(phillip);succession=$(xml).find('succession').text();sym.$("successionTxt").html(succession);click=$(xml).find('click').text();sym.$("clickTxt").html(click);}});sym.setVariable("number",1);       for(var i=0;i<27;i++){       sym.$("stageBtn"+i).bind('click',btnClick);sym.$("stageBtn"+i).css({'cursor':'pointer'});       }
function resetStages(){sym.$("close_button5").hide();           for(n=0;n<27;n++){       if(n>0){       sym.getSymbol("stageBtn"+n).$("button").css({"border-radius":"14px","border-width":"2px","border-style":"solid","border-color":"rgba(255,255,255,0)"}); 
       }
               }}
resetStages();function btnClick(e){           resetStages();           sym.$("mapBox").show();           var selected_id=$(this).attr("id");         $.ajax({   
           type:"GET",           url:"GN30774.xml",           dataType:"xml",           success:function(xml){           for(n=0;n<27;n++){                   if(selected_id=="Stage_stageBtn"+n){               name=$(xml).find('name'+n).text();               sym.$("nameTxt").html(name);               date=$(xml).find('date'+n).text();               sym.$("dateTxt").html(date);               missing=$(xml).find('missing'+n).text();               sym.$("missingTxt").html(missing);               caption=$(xml).find('caption'+n).text();               sym.$("captionTxt").html(caption);       if(n>0){               sym.getSymbol("stageBtn"+n).$("button").css({"border-radius":"44px","border-width":"4px","border-style":"solid","border-color":"rgba(255,255,255,1.0)"}); 
            sym.$("main_pic").attr("src","images/pic_"+n+".png");              sym.$("main_pic").show();            sym.$("shadow").show();            sym.$("stageBtn0").show();       }else{             sym.$("main_pic").hide();          sym.$("shadow").hide();          sym.$("stageBtn0").hide();               }
               }
           }
             }
           });       
   }});
//Edge binding end
})("stage");
//Edge symbol end:'stage'

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

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

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

//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: 'backBtn'
(function(symbolName){})("back_butt");
//Edge symbol end:'back_butt'

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

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

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

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

//=========================================================
(function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",4000,function(sym,e){sym.play("glow");});
//Edge binding end
Symbol.bindElementAction(compId,symbolName,"${_vid_icon}","click",function(sym,e){sym.play("start");});
//Edge binding end
Symbol.bindElementAction(compId,symbolName,"${_vid_back}","click",function(sym,e){sym.play("back");});
//Edge binding end
Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",6000,function(sym,e){sym.stop("off");});
//Edge binding end
})("video_sym");
//Edge symbol end:'video_sym'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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