!function(e){"use strict";function L(e,L){document.getElementById(e)&&(document.getElementById(e).innerHTML=L)}function t(e,L){document.getElementById(e)&&document.getElementById(e).setAttribute("title",L)}var a=e.Initial||{};String.format||(String.format=function(e){var L=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,t){return"undefined"!=typeof L[t]?L[t]:e})});var o=a.LANGS,r=o[0],A=a.detector.locale;if("undefined"!=typeof A&&(A=A.split("-")[0].toLowerCase(),A!=r))for(var O=0;O<o.length;O++)if(o[O]==A){r=o[O];break}window.localPending=function(){window.document;L("popupTitle",a.TITLE);var e="";switch(a.PUBLICATION_TYPE){case"book":e=LOCALS["FLIP BOOK"];break;case"catalog":e=LOCALS["DIGITAL CATALOG"];break;case"document":e=LOCALS.DOCUMENT;break;case"magazine":e=LOCALS["DIGITAL MAGAZINE"];break;case"photoalbum":e=LOCALS["PHOTO GALLERY"]}var o='<a id="flashLink" href="http://get.adobe.com/flashplayer/" title="Install Flash Player"><img src="./styles/get_flash_player.jpg" alt="Install Flash Player" border="0" style="border:0;display:block;" width="160" height="41"></a>',r=String.format(LOCALS.SEO_INFO_TEXT,a.TITLE," ");a.detector.device.desktop&&(r+="<br/><br/>"+String.format(LOCALS.NOTIFICATION_TEXT,e),r+="<br/><br/>"+o),L("popupText",r),t("closeButton",LOCALS.CLOSE_BUTTON),L("downloadPageLink",LOCALS.DOWNLOAD_PAGE),L("downloadPdfLink",LOCALS.DOWNLOAD_TITLE+" PDF"),L("downloadMacLink",LOCALS.DOWNLOAD_MAC),L("downloadWindowsLink",LOCALS.DOWNLOAD_WIN),t("tocLink",LOCALS.TOC_TITLE),L("tocLabel",LOCALS.TOC_TITLE),t("prevPageArrow",LOCALS.PREV_PAGE),t("nextPageArrow",LOCALS.NEXT_PAGE),t("tocPageArrow",LOCALS.TOC_TITLE),L("pageLabel",LOCALS.PAGE),L("basicVersionTitle",LOCALS.BASIC_VERSION),t("infoButton",LOCALS.ABOUT_TITLE),t("zoomIn",LOCALS.ZOOM_IN),t("zoomOut",LOCALS.ZOOM_OUT),t("facebookShare",LOCALS.SHARE_FACEBOOK),L("facebookShareText",LOCALS.SHARE_FACEBOOK),t("twitterShare",LOCALS.SHARE_TWITTER),L("twitterShareText",LOCALS.SHARE_TWITTER),t("linkedinShare",LOCALS.SHARE_LINKEDIN),L("linkedinShareText",LOCALS.SHARE_LINKEDIN),t("tumblrShare",LOCALS.SHARE_TUMBLR),L("tumblrShareText",LOCALS.SHARE_TUMBLR),t("googleShare",LOCALS.SHARE_GOOGLE),L("googleShareText",LOCALS.SHARE_GOOGLE),t("mailShare",LOCALS.SHARE_EMAIL),L("mailShareText",LOCALS.SHARE_EMAIL),t("vkShare",LOCALS.SHARE_VK),L("vkShareText",LOCALS.SHARE_VK),L("poweredBy",LOCALS.POWERED_BY),L("tocTitle",LOCALS.TOC_TITLE)};var S=a.config.adapter;e.LibraryManager.loadScript(S.translatePath("static/basic/js/locales/"+r+"/textlang.js"),function(){})}(this.FBPublication||(this.FBPublication={}));