var csInterface=new CSInterface,gExtensionId="OverlayManagerPro",event=new CSEvent("com.adobe.PhotoshopPersistent","APPLICATION");event.extensionId=gExtensionId;csInterface.dispatchEvent(event);
function onLoaded(){var a=new CSInterface;b=a.hostEnvironment.appName;"FLPR"!=b&&loadJSX();for(var c=["PHXS"],e=0;e<c.length;e++){var d=c[e];if(0<=b.indexOf(d)&&(d=document.getElementById("btn_"+d)))d.disabled=!1}updateThemeWithAppSkinInfo(a.hostEnvironment.appSkinInfo);a.addEventListener(CSInterface.THEME_COLOR_CHANGED_EVENT,onAppThemeColorChanged)}var extensionRoot=csInterface.getSystemPath(SystemPath.EXTENSION)+"/jsx/scripts/";
function loadJSX(){var a=new CSInterface,c=a.getSystemPath(SystemPath.EXTENSION)+"/jsx/";a.evalScript('$._ext.evalFiles("'+c+'")')}function evalScript(a,c){(new CSInterface).evalScript(a,c)}function openUrl(a){csInterface.openURLInDefaultBrowser(a)}
$(document).ready(function(){loadJSX();$("#Fb1").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/1.jsx")')});$("#Fb2").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/2.jsx")')});$("#Fb3").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/3.jsx")')});$("#Fb4").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/4.jsx")')});$("#Fb5").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'fb_1/5.jsx")')});$("#Fb6").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/6.jsx")')});$("#Fb7").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/7.jsx")')});$("#Fb8").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/8.jsx")')});$("#Fb9").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/9.jsx")')});$("#Fb10").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'fb_1/10.jsx")')});$("#Fb11").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/11.jsx")')});$("#Fb12").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/12.jsx")')});$("#Fb13").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/13.jsx")')});$("#Fb14").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/14.jsx")')});$("#Fb15").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'fb_1/15.jsx")')});$("#Fb16").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/16.jsx")')});$("#Fb17").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/17.jsx")')});$("#Fb18").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/18.jsx")')});$("#Fb19").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/19.jsx")')});$("#Fb20").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'fb_1/20.jsx")')});$("#Fb21").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/21.jsx")')});$("#Fb22").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/22.jsx")')});$("#Fb23").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/23.jsx")')});$("#Fb24").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/24.jsx")')});$("#Fb25").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'fb_1/25.jsx")')});$("#Fb26").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/26.jsx")')});$("#Fb27").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/27.jsx")')});$("#Fb28").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/28.jsx")')});$("#Fb29").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/29.jsx")')});$("#Fb30").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'fb_1/30.jsx")')});$("#Fb31").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/31.jsx")')});$("#Fb32").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/32.jsx")')});$("#Fb33").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/33.jsx")')});$("#Fb34").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/34.jsx")')});$("#Fb35").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'fb_1/35.jsx")')});$("#Fb36").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/36.jsx")')});$("#Fb37").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/37.jsx")')});$("#Fb38").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/38.jsx")')});$("#Fb40").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'fb_1/40.jsx")')});$("#Fb41").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'fb_1/41.jsx")')});$("#Sb1").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/1.jsx")')});$("#Sb2").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/2.jsx")')});$("#Sb3").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/3.jsx")')});$("#Sb4").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/4.jsx")')});$("#Sb5").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'Sb_1/5.jsx")')});$("#Sb6").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/6.jsx")')});$("#Sb7").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/7.jsx")')});$("#Sb8").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/8.jsx")')});$("#Sb9").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/9.jsx")')});$("#Sb10").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'Sb_1/10.jsx")')});$("#Sb11").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/11.jsx")')});$("#Sb12").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/12.jsx")')});$("#Sb13").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/13.jsx")')});$("#Sb14").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/14.jsx")')});$("#Sb15").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'Sb_1/15.jsx")')});$("#Sb16").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/16.jsx")')});$("#Sb17").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/17.jsx")')});$("#Sb18").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/18.jsx")')});$("#Sb19").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/19.jsx")')});$("#Sb20").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'Sb_1/20.jsx")')});$("#Sb21").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/21.jsx")')});$("#Sb22").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/22.jsx")')});$("#Sb23").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/23.jsx")')});$("#Sb24").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/24.jsx")')});$("#Sb25").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'Sb_1/25.jsx")')});$("#Sb26").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/26.jsx")')});$("#Sb27").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/27.jsx")')});$("#Sb28").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/28.jsx")')});$("#Sb29").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/29.jsx")')});$("#Sb30").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'Sb_1/30.jsx")')});$("#Sb31").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/31.jsx")')});$("#Sb32").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/32.jsx")')});$("#Sb33").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/33.jsx")')});$("#Sb34").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/34.jsx")')});$("#Sb35").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+
extensionRoot+'Sb_1/35.jsx")')});$("#Sb36").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/36.jsx")')});$("#Sb37").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/37.jsx")')});$("#Sb38").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/38.jsx")')});$("#Sb39").button().click(function(a){csInterface.evalScript('$._ext.evalFile("'+extensionRoot+'Sb_1/39.jsx")')})});
