
(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.$("sourceTxt").css("pointer-events","none");var menuIcon0;var menuIcon0txt=sym.getSymbol("styleMc").getSymbol("menuBtn0").$("txt").css("pointer-events","none");var menuIcon1;var menuIcon1txt=sym.getSymbol("styleMc").getSymbol("menuBtn1").$("txt").css("pointer-events","none");var menuTxt0;var menuTxt0txt=sym.getSymbol("styleMc").$("menuTxt0").css("pointer-events","none");var menuTxt1;var menuTxt1txt=sym.getSymbol("styleMc").$("menuTxt1").css("pointer-events","none");var txt1
var txt1txt=sym.getSymbol("holesMc").$("txt1").css("pointer-events","none");var txt3;var txt3txt=sym.getSymbol("holeNamesMc").$("txt3").css("pointer-events","none");var txt4;var txt4txt=sym.getSymbol("holeNamesMc").$("txt4").css("pointer-events","none");var txt5;var txt5txt=sym.getSymbol("holeNamesMc").$("txt5").css("pointer-events","none");var txt6;var txt6txt=sym.getSymbol("holeNamesMc").$("txt6").css("pointer-events","none");var txt7;var txt7txt=sym.getSymbol("holeNamesMc").$("txt7").css("pointer-events","none");var txt8;var txt8txt=sym.getSymbol("holeNamesMc").$("txt8").css("pointer-events","none");var txt9;var txt9txt=sym.getSymbol("holeNamesMc").$("txt9").css("pointer-events","none");var txt10;var txt10txt=sym.getSymbol("holeNamesMc").$("txt10").css("pointer-events","none");var txt11;var txt11txt=sym.getSymbol("holeNamesMc").$("txt11").css("pointer-events","none");var txt12;var txt12txt=sym.getSymbol("holeNamesMc").$("txt12").css("pointer-events","none");var txt13;var txt13txt=sym.getSymbol("holeNamesMc").$("txt13").css("pointer-events","none");var txt14;var txt14txt=sym.getSymbol("holeNamesMc").$("txt14").css("pointer-events","none");var txt15;var txt15txt=sym.getSymbol("holeNamesMc").$("txt15").css("pointer-events","none");var txt16;var txt16txt=sym.getSymbol("holeNamesMc").$("txt16").css("pointer-events","none");var txt17;var txt17txt=sym.getSymbol("holeNamesMc").$("txt17").css("pointer-events","none");var txt18;var txt18txt=sym.getSymbol("holeNamesMc").$("txt18").css("pointer-events","none");var txt19;var txt19txt=sym.getSymbol("holeNamesMc").$("txt19").css("pointer-events","none");var txt20;var txt20txt=sym.getSymbol("holeNamesMc").$("txt20").css("pointer-events","none");var txt21;var txt21txt=sym.$("txt21").css("pointer-events","none");var txt22;var txt22txt=sym.$("txt22").css("pointer-events","none");var txt23;var txt23txt=sym.$("txt23").css("pointer-events","none");var txt24;var txt24txt=sym.$("txt24").css("pointer-events","none");var txt25;var txt25txt=sym.$("txt25").css("pointer-events","none");var txt26;var txt26txt=sym.$("txt26").css("pointer-events","none");var txt27;var txt27txt=sym.$("txt27").css("pointer-events","none");var txt28;var txt28txt=sym.$("txt28").css("pointer-events","none");var txt29;var txt29txt=sym.$("txt29").css("pointer-events","none");var txt30;var txt30txt=sym.$("txt30").css("pointer-events","none");var txt31;var txt31txt=sym.$("txt31").css("pointer-events","none");var txt32;var txt32txt=sym.$("txt32").css("pointer-events","none");var txt33;var txt33txt=sym.$("txt33").css("pointer-events","none");var txt34;var txt34txt=sym.$("txt34").css("pointer-events","none");var txt35;var txt35txt=sym.$("txt35").css("pointer-events","none");var txt36;var txt36txt=sym.$("txt36").css("pointer-events","none");var txt37;var txt37txt=sym.$("txt37").css("pointer-events","none");var txt38;var txt38txt=sym.$("txt38").css("pointer-events","none");var txt39;var txt39txt=sym.$("txt39").css("pointer-events","none");var txt40;var txt40txt=sym.$("txt40").css("pointer-events","none");var txt41;var txt41txt=sym.getSymbol("cardMc").$("txt41").css("pointer-events","none");var txt42;var txt42txt=sym.getSymbol("cardMc").$("txt42").css("pointer-events","none");var txt43;var txt43txt=sym.getSymbol("cardMc").$("txt43").css("pointer-events","none");var txt44;var txt44txt=sym.getSymbol("cardMc").$("txt44").css("pointer-events","none");var txt45;var txt45txt=sym.getSymbol("cardMc").$("txt45").css("pointer-events","none");var txt46;var txt46txt=sym.getSymbol("cardMc").$("txt46").css("pointer-events","none");var txt47;var txt47txt=sym.getSymbol("cardMc").$("txt47").css("pointer-events","none");var txt48;var txt48txt=sym.getSymbol("cardMc").$("txt48").css("pointer-events","none");var txt49;var txt49txt=sym.getSymbol("cardMc").$("txt49").css("pointer-events","none");var txt50;var txt50txt=sym.getSymbol("cardMc").$("txt50").css("pointer-events","none");$.ajax({type:"GET",url:"GN30466.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);menuIcon0=$(xml).find('menuIcon0').text();menuIcon0txt.html(menuIcon0);menuIcon1=$(xml).find('menuIcon1').text();menuIcon1txt.html(menuIcon1);menuTxt0=$(xml).find('menuTxt0').text();menuTxt0txt.html(menuTxt0);menuTxt1=$(xml).find('menuTxt1').text();menuTxt1txt.html(menuTxt1);txt1=$(xml).find('txt1').text();txt1txt.html(txt21);txt3=$(xml).find('txt3').text();txt3txt.html(txt3);txt4=$(xml).find('txt4').text();txt4txt.html(txt4)
txt5=$(xml).find('txt5').text();txt5txt.html(txt5);txt6=$(xml).find('txt6').text();txt6txt.html(txt6);txt7=$(xml).find('txt7').text();txt7txt.html(txt7);txt8=$(xml).find('txt8').text();txt8txt.html(txt8);txt9=$(xml).find('txt9').text();txt9txt.html(txt9);txt10=$(xml).find('txt10').text();txt10txt.html(txt10);txt11=$(xml).find('txt11').text();txt11txt.html(txt11);txt12=$(xml).find('txt12').text();txt12txt.html(txt12);txt13=$(xml).find('txt13').text();txt13txt.html(txt13);txt14=$(xml).find('txt14').text();txt14txt.html(txt14);txt15=$(xml).find('txt15').text();txt15txt.html(txt15);txt16=$(xml).find('txt16').text();txt16txt.html(txt16);txt17=$(xml).find('txt17').text();txt17txt.html(txt17);txt18=$(xml).find('txt18').text();txt18txt.html(txt18);txt19=$(xml).find('txt19').text();txt19txt.html(txt19);txt20=$(xml).find('txt20').text();txt20txt.html(txt20);txt21=$(xml).find('txt21').text();txt21txt.html(txt21);txt22=$(xml).find('txt22').text();txt22txt.html(txt22);txt23=$(xml).find('txt23').text();txt23txt.html(txt23);txt24=$(xml).find('txt24').text();txt24txt.html(txt24);txt25=$(xml).find('txt25').text();txt25txt.html(txt25);txt26=$(xml).find('txt26').text();txt26txt.html(txt26);txt27=$(xml).find('txt27').text();txt27txt.html(txt27);txt28=$(xml).find('txt28').text();txt28txt.html(txt28);txt29=$(xml).find('txt29').text();txt29txt.html(txt29);txt30=$(xml).find('txt30').text();txt30txt.html(txt30);txt31=$(xml).find('txt31').text();txt31txt.html(txt31);txt32=$(xml).find('txt32').text();txt32txt.html(txt32);txt33=$(xml).find('txt33').text();txt33txt.html(txt33);txt34=$(xml).find('txt34').text();txt34txt.html(txt34);txt35=$(xml).find('txt35').text();txt35txt.html(txt35);txt36=$(xml).find('txt36').text();txt36txt.html(txt36);txt37=$(xml).find('txt37').text();txt37txt.html(txt37);txt38=$(xml).find('txt38').text();txt38txt.html(txt38);txt39=$(xml).find('txt39').text();txt39txt.html(txt39);txt40=$(xml).find('txt40').text();txt40txt.html(txt40);txt41=$(xml).find('txt41').text();txt41txt.html(txt41);txt42=$(xml).find('txt42').text();txt42txt.html(txt42);txt43=$(xml).find('txt43').text();txt43txt.html(txt43);txt44=$(xml).find('txt44').text();txt44txt.html(txt44);txt45=$(xml).find('txt45').text();txt45txt.html(txt45);txt46=$(xml).find('txt46').text();txt46txt.html(txt46);txt47=$(xml).find('txt47').text();txt47txt.html(txt47);txt48=$(xml).find('txt48').text();txt48txt.html(txt48);txt49=$(xml).find('txt49').text();txt49txt.html(txt49);txt50=$(xml).find('txt50').text();txt50txt.html(txt50);}});sym.$("handMc").css("pointer-events","none");sym.$("handMc").animate({opacity:0},0);sym.$("handMc").delay(500).animate({opacity:1,left:156,top:514},2000,'easeInOutCubic');sym.$("handMc").delay(200).animate({left:572,top:567},2000,'easeInOutCubic');sym.$("handMc").delay(200).animate({left:568,top:22},2000,'easeInOutCubic');menuArray=[];for(var h=0;h<2;h++){var menuBtnSymbols=sym.getSymbol("styleMc").getSymbol("menuBtn"+h);menuBtnSymbols.setVariable("menuId",h);menuArray.push(menuBtnSymbols);}
$.each(menuArray,function(count,menuInTheArray){var menuBtnItem=$(menuInTheArray);var menuBtnElement=menuInTheArray.getSymbolElement();menuBtnElement.bind("click",{menuId:count},menuBtnClick);menuBtnElement.bind("mouseover",{menuId:count},menuShow);menuBtnElement.bind("mouseout",{menuId:count},menuHide);})
function resetmenu(){for(var h=0;h<menuArray.length;h++){var resetmenu_arr=["menuTxt0","menuTxt1"];$.each(resetmenu_arr,function(index,value){sym.getSymbol("styleMc").$(value).fadeOut(0);});menuArray[h].$("btnClick").fadeOut(0);menuArray[h].$("btnOver").fadeOut(0);}}
resetmenu();function menuBtnClick(e){resetmenu();var menuMenu_id=(e.data.menuId);sym.getSymbol("styleMc").getSymbol("menuBtn"+menuMenu_id).$("btnClick").fadeIn(0);sym.getSymbol("styleMc").$("menuTxt"+menuMenu_id).fadeIn(0);if(menuMenu_id==0){sym.$("cardMc").animate({left:0},1000,'easeOutCubic');}
if(menuMenu_id==1){sym.$("cardMc").animate({left:-200},1000,'easeOutCubic');}}
function menuShow(e){var menuMenu_id=(e.data.menuId);sym.$('handMc').hide();sym.getSymbol("styleMc").getSymbol("menuBtn"+menuMenu_id).$("btnOver").fadeIn(0);sym.getSymbol("styleMc").$("menuTxt"+menuMenu_id).fadeIn(0);}
function menuHide(e){var menuMenu_id=(e.data.menuId);sym.getSymbol("styleMc").getSymbol("menuBtn"+menuMenu_id).$("btnOver").fadeOut(0);sym.getSymbol("styleMc").$("menuTxt"+menuMenu_id).fadeOut(0);}
sym.getSymbol("styleMc").getSymbol("menuBtn0").$("btnClick").fadeIn(0);var slide=-200;stageBtnArray=[];for(var h=0;h<18;h++){var stageBtnBtnSymbols=sym.getSymbol("roundBtnsMc").getSymbol("roundBtn"+h);stageBtnBtnSymbols.setVariable("stageBtnId",h);stageBtnArray.push(stageBtnBtnSymbols);}
$.each(stageBtnArray,function(count,stageBtnInTheArray){var stageBtnBtnItem=$(stageBtnInTheArray);var stageBtnBtnElement=stageBtnInTheArray.getSymbolElement();stageBtnBtnElement.bind("click",{stageBtnId:count},stageBtnBtnClick);stageBtnBtnElement.bind("mouseover",{stageBtnId:count},stageBtnShow);stageBtnBtnElement.bind("mouseout",{stageBtnId:count},stageBtnHide);})
function stageBtnBtnClick(e){resetAllBtn();var stageBtnstageBtn_id=(e.data.stageBtnId);holeCount=stageBtnstageBtn_id;resetcardBtn();btnClick();}
function stageBtnShow(e){var stageBtnstageBtn_id=(e.data.stageBtnId);sym.$('handMc').hide();sym.getSymbol("roundBtnsMc").getSymbol("roundBtn"+stageBtnstageBtn_id).$("btnOver").fadeIn(0);}
function stageBtnHide(e){var stageBtnstageBtn_id=(e.data.stageBtnId);sym.getSymbol("roundBtnsMc").getSymbol("roundBtn"+stageBtnstageBtn_id).$("btnOver").fadeOut(0);}
sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole1").animate({left:-slide*0},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole2").animate({left:-slide*1},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole3").animate({left:-slide*2},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole4").animate({left:-slide*3},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole5").animate({left:-slide*4},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole6").animate({left:-slide*5},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole7").animate({left:-slide*6},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole8").animate({left:-slide*7},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole9").animate({left:-slide*8},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole10").animate({left:-slide*9},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole11").animate({left:-slide*10},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole12").animate({left:-slide*11},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole13").animate({left:-slide*12},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole14").animate({left:-slide*13},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole15").animate({left:-slide*14},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole16").animate({left:-slide*15},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole17").animate({left:-slide*16},0);sym.getSymbol("holesMc").getSymbol("allHolesMc").$("hole18").animate({left:-slide*17},0);sym.getSymbol("roundBtnsMc").getSymbol("roundBtn0").$("txt").html('1');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn1").$("txt").html('2');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn2").$("txt").html('3');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn3").$("txt").html('4');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn4").$("txt").html('5');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn5").$("txt").html('6');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn6").$("txt").html('7');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn7").$("txt").html('8');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn8").$("txt").html('9');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn9").$("txt").html('10');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn10").$("txt").html('11');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn11").$("txt").html('12');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn12").$("txt").html('13');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn13").$("txt").html('14');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn14").$("txt").html('15');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn15").$("txt").html('16');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn16").$("txt").html('17');sym.getSymbol("roundBtnsMc").getSymbol("roundBtn17").$("txt").html('18');function resetAllBtn(){for(var h=0;h<stageBtnArray.length;h++){stageBtnArray[h].$("btnClick").fadeOut(0);stageBtnArray[h].$("btnOver").fadeOut(0);}}
resetAllBtn();sym.getSymbol("roundBtnsMc").getSymbol("roundBtn0").$("btnClick").fadeIn(0);var holeCount=0;Symbol.bindElementAction(compId,symbolName,"${_btnNext}","click",function(sym,e){resetcardBtn();sym.$("handMc").fadeOut(0);holeCount++;btnClick();sym.getSymbol("btnBack").$("btnOver").fadeOut(0);});Symbol.bindElementAction(compId,symbolName,"${_btnNext}","mouseover",function(sym,e){sym.$("handMc").fadeOut(0);sym.getSymbol("btnNext").$("btnOver").fadeIn(200);});Symbol.bindElementAction(compId,symbolName,"${_btnNext}","mouseout",function(sym,e){sym.$("handMc").fadeOut(0);sym.getSymbol("btnNext").$("btnOver").fadeOut(200);});Symbol.bindElementAction(compId,symbolName,"${_btnBack}","click",function(sym,e){resetcardBtn();sym.$("handMc").fadeOut(0);holeCount--;btnClick();sym.getSymbol("btnNext").$("btnOver").fadeOut(0);});Symbol.bindElementAction(compId,symbolName,"${_btnBack}","mouseover",function(sym,e){sym.$("handMc").fadeOut(0);sym.getSymbol("btnBack").$("btnOver").fadeIn(200);});Symbol.bindElementAction(compId,symbolName,"${_btnBack}","mouseout",function(sym,e){sym.$("handMc").fadeOut(0);sym.getSymbol("btnBack").$("btnOver").fadeOut(200);});function btnClick(){resetAllBtn();sym.getSymbol("roundBtnsMc").getSymbol("roundBtn"+holeCount).$("btnClick").fadeIn(0);sym.getSymbol("holesMc").$("allHolesMc").animate({left:slide*holeCount},1000,'easeOutCubic');sym.getSymbol("holesMc").$("holeNo").html(holeCount+1);sym.getSymbol("cardMc").getSymbol("cardBtn"+holeCount).$("btnClick").fadeIn(0);$.ajax({type:"GET",url:"GN30466.xml",dataType:"xml",success:function(xml){txt1=$(xml).find("txt"+(holeCount+21)).text();txt1txt.html(txt1);}});if(holeCount<=0){sym.$("btnBack").fadeOut(0);}else{sym.$("btnBack").fadeIn(0);}
if(holeCount>=17){sym.$("btnNext").fadeOut(0);}else{sym.$("btnNext").fadeIn(0);}}
btnClick();cardBtnArray=[];for(var j=0;j<18;j++){var cardBtnSymbols=sym.getSymbol("cardMc").getSymbol("cardBtn"+j);cardBtnSymbols.setVariable("cardBtnId",h);cardBtnArray.push(cardBtnSymbols);}
$.each(cardBtnArray,function(count,cardBtnInTheArray){var cardBtnItem=$(cardBtnInTheArray);var cardBtnElement=cardBtnInTheArray.getSymbolElement();cardBtnElement.bind("click",{cardBtnId:count},cardBtnClick);cardBtnElement.bind("mouseover",{cardBtnId:count},cardBtnShow);cardBtnElement.bind("mouseout",{cardBtnId:count},cardBtnHide);})
function resetcardBtn(){for(var c=0;c<cardBtnArray.length;c++){cardBtnArray[c].$("btnClick").fadeOut(0);cardBtnArray[c].$("btnOver").fadeOut(0);}}
resetcardBtn();function cardBtnClick(e){resetcardBtn();var cardBtn_id=(e.data.cardBtnId);holeCount=cardBtn_id;btnClick();}
function cardBtnShow(e){var cardBtn_id=(e.data.cardBtnId);sym.$('handMc').hide();sym.getSymbol("cardMc").getSymbol("cardBtn"+cardBtn_id).$("btnOver").fadeIn(0);}
function cardBtnHide(e){var cardBtn_id=(e.data.cardBtnId);sym.getSymbol("cardMc").getSymbol("cardBtn"+cardBtn_id).$("btnOver").fadeOut(0);}
sym.getSymbol("cardMc").getSymbol("cardBtn0").$("btnOver").fadeIn(0);});
//Edge binding end 

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

// VIDEO BTN 2 =========================================================
})("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: 'menuBtn_1'
(function(symbolName){})("roundBtn");
//Edge symbol end:'roundBtn'

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

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

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

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

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

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

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

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

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

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

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

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

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

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