!function(a){"use strict";function b(a,b){var c=document.createElement("script");c.type="text/javascript",c.charset="UTF-8",c.async=!1,c.src=a;var d=function(a,b){"loaded"==a.readyState||"complete"==a.readyState?b():setTimeout(function(){d(a,b)},100)};"function"==typeof b&&("undefined"!=typeof c.addEventListener?c.addEventListener("load",b,!1):c.onreadystatechange=function(){c.onreadystatechange=null,d(c,b)}),e.appendChild(c)}function c(){function b(){var a={},b=window.location.href;if(b.indexOf("?")>-1)for(var c=b.substr(b.indexOf("?")),d=c.split("&"),e=0;e<d.length;e++){var f=d[e].split("=");a[f[0]]=f[1]}return a}function c(b){b.success?("undefined"!=typeof a.initAnalytics&&a.initAnalytics("Flash"),new CheckFlash({onShow:function(){a.document.getElementById("content").style.top=this.box.clientHeight+(parseInt(this.box.style.marginTop)||0)+(parseInt(this.box.style.marginBottom)||0)+(parseInt(this.box.style.borderTopWidth)||0)+(parseInt(this.box.style.borderBottomWidth)||0)+"px"},onClose:function(){this.box.style.display="none",a.document.getElementById("content").style.top="0px"}})):(a.document.getElementById("flash-notification")&&(a.document.getElementById("flash-notification").style.display="none"),a.detector.isBasic=!0,a.detector.isFlash=!1,a.detector._loadVersion())}a.needMouseWheel=!1;var e=a.detector.platform.mac===!0,g=a.detector.browser.safari===!0,h=a.detector.browser.chrome===!0,i=a.detector.browser.firefox===!0;if(e&&(g||h||i)){var j=function(a){var b=0;return a.wheelDelta?b=a.wheelDelta:a.detail&&(b=-a.detail),a.preventDefault&&a.preventDefault(),b},k=(new Date).getTime(),l=0,m=function(b){if(a.needMouseWheel===!0){var c=j(b);l+=c;var d=(new Date).getTime();if(d-k>40){var e=a.getFlashMovie();e.externalMouseWheel(l),l=0,k=d}}};a.addEventListener&&a.addEventListener("DOMMouseScroll",m,!1),a.onmousewheel=a.document.onmousewheel=m}var n=a.STATIC_FOLDER+"/flash/";a.getURL=function(a,b){var c=document.createElement("a");c.href=a,c.target=b,document.body.appendChild(c),c.click()};var o=document.createElement("div");o.setAttribute("id","container");var p=document.createElement("div");p.setAttribute("id","content"),p.style.position="absolute",p.style.top="0px",p.style.left="0px",p.style.right="0px",p.style.bottom="0px",p.style.height="100%",p.style.width="100%",o.appendChild(p);var q=document.createElement("div");q.setAttribute("id",f),p.appendChild(q),d.appendChild(o),d.setAttribute("class","bodyStyle");var r="preloader.swf?rnd="+a.PROJECT_GUID,s=b();"undefined"==typeof s.assets&&(s.assets=a.ASSETS_FOLDER),"undefined"==typeof s.swfURL&&(s.swfURL=n+"flippingbook.swf");var t={allowFullScreen:!0,allowScriptAccess:"always",quality:"high",scale:"noscale",bgcolor:a.BG_COLOR,allowFullScreenInteractive:!0},u={align:"middle"};swfobject.embedSWF(n+r,f,"100%","100%","10.3.0",n+"expressInstall.swf",s,t,u,c)}var d=a.document.body,e="undefined"!=typeof a.document.head?a.document.head:a.document.getElementsByTagName("head")[0];d.innerHTML="";var f="book-container";a.getFlashMovie=function(){if(a.document[f])return a.document[f];var b=-1!=navigator.appName.indexOf("Microsoft");return b?a[f]:a.document.getElementById(f)},b(a.STATIC_FOLDER+"/flash/checkflash.js",function(){b(a.STATIC_FOLDER+"/flash/swfobject.js",function(){b(a.STATIC_FOLDER+"/flash/swfaddress.js",function(){"undefined"!=typeof a.SHOP_ID?b(a.ASSETS_FOLDER+"/common/ecommerce/cart.js",function(){b(a.STATIC_FOLDER+"/flash/flash-cart.js",function(){b(a.ASSETS_FOLDER+"/common/ecommerce/products.js",function(){c()})})}):c()})})})}(this);