
(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("styleMc").$("headlineTxt").css("pointer-events","none");var stand;var standtxt=sym.getSymbol("styleMc").$("standTxt").css("pointer-events","none");var source;var sourcetxt=sym.getSymbol("styleMc").$("sourceTxt").css("pointer-events","none");var pictures;var picturestxt=sym.getSymbol("styleMc").$("picturesTxt").css("pointer-events","none");var txt1;var txt1txt=sym.$("txt1").css("pointer-events","none");var rollTxt0;var rollTxt0txt=sym.getSymbol("rollBtnsMc").$("rollTxt0").css("pointer-events","none");var rollTxt1;var rollTxt1txt=sym.getSymbol("rollBtnsMc").$("rollTxt1").css("pointer-events","none");var rollTxt2;var rollTxt2txt=sym.getSymbol("rollBtnsMc").$("rollTxt2").css("pointer-events","none");var rollTxt3;var rollTxt3txt=sym.getSymbol("rollBtnsMc").$("rollTxt3").css("pointer-events","none");var rollTxt4;var rollTxt4txt=sym.getSymbol("rollBtnsMc").$("rollTxt4").css("pointer-events","none");var cell1;var cell1Txt=sym.getSymbol("cellMc").$("cell1Txt").css("pointer-events","none");var cell2;var cell2Txt=sym.getSymbol("cellMc").$("cell2Txt").css("pointer-events","none");var cell3;var cell3Txt=sym.getSymbol("cellMc").$("cell3Txt").css("pointer-events","none");var dna1;var dna1Txt=sym.getSymbol("dnaMc").$("dna1Txt").css("pointer-events","none");var dna2;var dna2Txt=sym.getSymbol("dnaMc").$("dna2Txt").css("pointer-events","none");var hist0;var hist0Txt=sym.getSymbol("histoneMc").$("hist0Txt").css("pointer-events","none");var hist1;var hist1Txt=sym.getSymbol("histoneMc").$("hist1Txt").css("pointer-events","none");var hist2;var hist2Txt=sym.getSymbol("histoneMc").$("hist2Txt").css("pointer-events","none");var hist3;var hist3Txt=sym.getSymbol("histoneMc").$("hist3Txt").css("pointer-events","none");var hist4;var hist4Txt=sym.getSymbol("histoneMc").$("hist4Txt").css("pointer-events","none");var hist5;var hist5Txt=sym.getSymbol("histoneMc").$("hist5Txt").css("pointer-events","none");var hist6;var hist6Txt=sym.getSymbol("histoneMc").$("hist6Txt").css("pointer-events","none");var hist7;var hist7Txt=sym.getSymbol("histoneMc").$("hist7Txt").css("pointer-events","none");$.ajax({type:"GET",url:"GN29764.xml",dataType:"xml",success:function(xml){headline=$(xml).find('headline').text();headlinetxt.html(headline);stand=$(xml).find('stand').text();standtxt.html(stand);source=$(xml).find('source').text();sourcetxt.html(source);pictures=$(xml).find('pictures').text();picturestxt.html(pictures);txt1=$(xml).find('txt1').text();txt1txt.html(txt1);rollTxt0=$(xml).find('rollTxt0').text();rollTxt0txt.html(rollTxt0);rollTxt1=$(xml).find('rollTxt1').text();rollTxt1txt.html(rollTxt1);rollTxt2=$(xml).find('rollTxt2').text();rollTxt2txt.html(rollTxt2);rollTxt3=$(xml).find('rollTxt3').text();rollTxt3txt.html(rollTxt3);rollTxt4=$(xml).find('rollTxt4').text();rollTxt4txt.html(rollTxt4);cell1=$(xml).find('cell1').text();cell1Txt.html(cell1);cell2=$(xml).find('cell2').text();cell2Txt.html(cell2);cell3=$(xml).find('cell3').text();cell3Txt.html(cell3);dna1=$(xml).find('dna1').text();dna1Txt.html(dna1);dna2=$(xml).find('dna2').text();dna2Txt.html(dna2);hist0=$(xml).find('hist0').text();hist0Txt.html(hist0);hist1=$(xml).find('hist1').text();hist1Txt.html(hist1);hist2=$(xml).find('hist2').text();hist2Txt.html(hist2);hist3=$(xml).find('hist3').text();hist3Txt.html(hist3);hist4=$(xml).find('hist4').text();hist4Txt.html(hist4);hist5=$(xml).find('hist5').text();hist5Txt.html(hist5);hist6=$(xml).find('hist6').text();hist6Txt.html(hist6);hist7=$(xml).find('hist7').text();hist7Txt.html(hist7);}});sym.$("rollBtnsMc").css({opacity:0});sym.$("histoneMc").css({opacity:0});sym.$("rollBtnsMc").delay(15000).animate({opacity:1},2000);sym.$("histoneMc").delay(17000).animate({opacity:1},2000);sym.$("handMc").delay(15000).animate({left:115,top:210},2000);sym.$("handMc").css("pointer-events","none");$(this.lookupSelector("box")).hide();menuArray=[];var view=0;for(var m=0;m<5;m++){var menuBtnSymbols=sym.getSymbol("rollBtnsMc").getSymbol("rollBtn"+m);menuBtnSymbols.setVariable("menuId",m);menuArray.push(menuBtnSymbols);}
$.each(menuArray,function(count,btnInTheArray){var menuBtnItem=$(btnInTheArray);var menuBtnElement=btnInTheArray.getSymbolElement();menuBtnElement.bind("click",{menuId:count},menuBtnClick);menuBtnElement.bind("mouseover",{menuId:count},menuShow);menuBtnElement.bind("mouseout",{menuId:count},menuHide);})
function resetMenu(){for(var m=0;m<menuArray.length;m++){var menu_arr=["rollTxt0","rollTxt1","rollTxt2","rollTxt3","rollTxt4"];$.each(menu_arr,function(index,value){sym.getSymbol("rollBtnsMc").$(value).css('opacity','0');sym.getSymbol("rollBtnsMc").$(value).css("pointer-events","none");});menuArray[m].getSymbolElement().css({opacity:0.5});}}
resetMenu();function menuBtnClick(e){resetMenu();sym.$("handMc").hide();var selectedMenu_id=(e.data.menuId);sym.getSymbol("rollBtnsMc").$("rollTxt"+selectedMenu_id).animate({opacity:1},0);sym.getSymbol("rollBtnsMc").$("rollBtn"+selectedMenu_id).animate({opacity:1},0);if(selectedMenu_id==view){resetMenu();selectedMenu_id=5;}
view=selectedMenu_id;}
function menuShow(e){sym.$("handMc").hide();var selectedMenu_id=(e.data.menuId);sym.getSymbol("rollBtnsMc").$("rollTxt"+selectedMenu_id).animate({opacity:1},0);sym.getSymbol("rollBtnsMc").$("rollBtn"+selectedMenu_id).animate({opacity:1},0);}
function menuHide(e){var selectedMenu_id=(e.data.menuId);sym.getSymbol("rollBtnsMc").$("rollTxt"+selectedMenu_id).animate({opacity:0},0);sym.getSymbol("rollBtnsMc").$("rollBtn"+selectedMenu_id).animate({opacity:0.5},0);}});
//Edge binding end 

// VIDEO BTN 1 =========================================================

// VIDEO BTN 2 =========================================================
Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",17000,function(sym,e){sym.stop();});
//Edge binding end
})("stage");
//Edge symbol end:'stage'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

//Edge symbol: 'histoneMc'
(function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",1000,function(sym,e){sym.play("playHistone");});
//Edge binding end
Symbol.bindElementAction(compId,symbolName,"${_playHistone}","click",function(sym,e){sym.play("playHistone");});
//Edge binding end
Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",6500,function(sym,e){sym.stop();});
//Edge binding end
Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",4930,function(sym,e){sym.play("playUnwind");});
//Edge binding end
Symbol.bindElementAction(compId,symbolName,"${_playUnwind}","click",function(sym,e){sym.play("playUnwind");});
//Edge binding end
Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",4750,function(sym,e){sym.stop();});
//Edge binding end
Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",6000,function(sym,e){sym.stop();});
//Edge binding end
Symbol.bindElementAction(compId,symbolName,"${_back}","click",function(sym,e){sym.stop(0);});
//Edge binding end
})("histoneMc");
//Edge symbol end:'histoneMc'
})(jQuery,AdobeEdge,"GRAPHICNEWS29764");