function Detect(){var a=[0,0,0];this.ua=navigator.userAgent.toLowerCase();var b=navigator.platform.toLowerCase(),c=this.ua.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)||[null,"unknown",0];if("undefined"!=typeof navigator.plugins&&"object"==typeof navigator.plugins["Shockwave Flash"]){if((d=navigator.plugins["Shockwave Flash"].description)&&!("undefined"!=typeof navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&!navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin))plugin= !0,ie=!1,d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),a[0]=parseInt(d.replace(/^(.*)\..*$/,"$1"),10),a[1]=parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10),a[2]=/[a-zA-Z]/.test(d)?parseInt(d.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if("undefined"!=typeof window.ActiveXObject)try{var e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(e&&(d=e.GetVariable("$version")))ie=!0,d=d.split(" ")[1].split(","),a=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)]}catch(f){}this.flash=0===a[0]&&0===a[1]&& 0===a[2]?!1:!0;this.browser={};this.platform={};this.device={};this.browser.name="version"==c[1]?c[3]:c[1];this.browser[this.browser.name]=!0;mode="ie"==c[1]&&document.documentMode;this.browser.version=mode||parseFloat("opera"==c[1]&&c[4]?c[4]:c[2]);this.platform.name=this.ua.match(/ip(?:ad|od|hone)/)?"ios":this.ua.match(/(?:msie 9)/)?"wphone":(this.ua.match(/(?:webos|android|bada|symbian|palm|blackberry)/)||b.match(/mac|win|linux/)||["other"])[0];this.platform[this.platform.name]=!0;this.device.name= this.ua.match(/ipad/)?"ipad":this.ua.match(/ipad/)?"ipad":this.ua.match(/iphone/)?"iphone":this.ua.match(/android/)?"android":b.match(/mac|win|linux/)?"pc":"other";this.device[this.device.name]=!0;this.isBasic=this.isFlash=this.isMobile=!1;(this.platform.ios||this.platform.android)&&(this.browser.safari||this.browser.chrome)?this.isMobile=!0:this.platform.ios||this.platform.android?this.isBasic=!0:(this.device.pc||this.device.other)&&!this.flash?this.isBasic=!0:this.isFlash=!0} var browser=new Detect,changeURL=function(){document.getElementById("getFlashIMG")&&("https:"===window.location.protocol?document.getElementById("getFlashIMG").src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif":document.getElementById("getFlashIMG").src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif");document.getElementById("hrefMobile")&&(document.getElementById("hrefMobile").href=dir+mobileFolder+"/index.html");document.getElementById("hrefSEO")&& (document.getElementById("hrefSEO").href=dir+assetsFolder+"/basic-html/toc.html");delete changeURL};document.addEventListener?document.addEventListener("DOMContentLoaded",changeURL,!1):document.attachEvent("onDOMContentLoaded",changeURL);function afterLoad(){checkPage();(!browser.platform.mac||!browser.browser.chrome)&&setFocusOnFlash()}function setFocusOnFlash(){var a=swfobject.getObjectById("content");a&&(a.tabIndex=0,a.focus())} function getURLParam(){var a={},b=window.location.href;if(-1