book={width:600,height:400,minWidth:560,scale:1,less:!1,getSize:function(){var a=document.getElementById("Page");a&&(book.less=400>a.offsetWidth?!0:!1,book.height=book.less?400*a.offsetHeight/a.offsetWidth:a.offsetHeight,book.width=book.less?400:a.offsetWidth,book.minWidth=400>=book.width?book.width+160:book.minWidth,document.getElementsByTagName("body")[0].style.minWidth=book.minWidth+"px")},correct:function(){var a=document.getElementById("Book"),b=document.getElementById("Page");book.width>workspace.w- 160?(book.scale=workspace.w>book.minWidth?(workspace.w-160)/book.width:book.less?1:400/book.width,a.style.width=book.width*book.scale+"px",b.style.height=book.height*book.scale+"px"):400>a.offsetWidth&&(book.scale=book.less?1:400/a.style.width.split("px")[0],a.style.width="400px",b.style.height=book.height*book.scale+"px");if(b=document.getElementById("navigation")){var c=browser.supportHTML5?135:120;b.style.width=a.offsetWidth+c+"px";book.minWidthc.offsetWidth-40){var c=c.offsetWidth-40,d=a[b].getElementsByTagName("a");d[0].innerText&&(d[0].innerText=d[0].innerText.substring(0,c/8)+"...");d[0].innerHTML&&(d[0].innerHTML=d[0].innerHTML.substring(0,c/8)+"...")}}}}; function initContent(){book.getSize();book.correct();workspace.addListener(book.correct);window.sessionStorage&&!window.sessionStorage.getItem(encodeURIComponent(FULL_SRC))&&(window.sessionStorage.setItem(encodeURIComponent(FULL_SRC),!0),about.action());-1!=document.location.pathname.indexOf("toc.html")?book.checkLongString():zoom(book.scale)} var about={isShow:!1,action:function(){about.isShow?(document.getElementById("infoBalloon").style.opacity=0,window.setTimeout(function(){document.getElementById("infoBalloon").style.display="none"},500),about.isShow=!1):(document.getElementById("infoBalloon").style.display="block",document.getElementById("infoBalloon").style.opacity=1,about.isShow=!0)}}; function localPending(){document.getElementById("fullVersionLink").innerText=LOCALS.FULL_VERSION;document.getElementById("fullVersionLink").href=""!=CURRENT_PAGE?FULL_SRC+"#"+CURRENT_PAGE:FULL_SRC;-1!=document.domain.indexOf("publ.com")&&"undefined"!=typeof window.parent&&(document.getElementById("fullVersionLink").href="#",document.getElementById("fullVersionLink").addEventListener?document.getElementById("fullVersionLink").addEventListener("click",function(){window.parent.location.reload();return!1}, !1):document.getElementById("fullVersionLink").attachEvent("onclick",function(){window.parent.location.reload();return!1}));document.getElementById("tocLink")&&(document.getElementById("tocLink").innerText=LOCALS.TOC_TITLE);var a="",a=""!=CURRENT_PAGE?BASIC_SRC+"/index.html#"+CURRENT_PAGE:BASIC_SRC+"/index.html",b=""!=CURRENT_PAGE?FULL_SRC+"#"+CURRENT_PAGE:FULL_SRC;browser.isFlash?(console.log(),browser.supportHTML5?a=-1!=document.domain.indexOf("publ.com")?"undefined"!=typeof window.parent?LOCALS.SEO_INFO_RECOMMENDATION1.replace("{0}", "").replace("{3}",""):LOCALS.SEO_INFO_RECOMMENDATION1.replace("{0}","").replace("{1}","").replace("{2}","").replace("{3}",""):LOCALS.SEO_INFO_RECOMMENDATION1.replace("{0}","").replace("{1}","").replace("{2}","").replace("{3}",""):(a=-1!= document.domain.indexOf("publ.com")?"undefined"!=typeof window.parent?LOCALS.SEO_INFO_RECOMMENDATION1.replace("{0}","").split("{1}")[0]+""+LOCALS.SEO_INFO_RECOMMENDATION1.split("{3}")[1]:LOCALS.SEO_INFO_RECOMMENDATION1.replace("{0}","").split("{1}")[0]+""+LOCALS.SEO_INFO_RECOMMENDATION1.split("{3}")[1],a=LOCALS.SEO_INFO_RECOMMENDATION1.replace("{0}","").split("{1}")[0]+""+LOCALS.SEO_INFO_RECOMMENDATION1.split("{3}")[1])):a=browser.supportHTML5?LOCALS.SEO_INFO_RECOMMENDATION3.replace("{0}","").replace("{1}","").replace("{2}","").replace("{3}", ""):LOCALS.SEO_INFO_RECOMMENDATION2.replace("{0}","").replace("{1}","").replace("{2}","").replace("{3}","");document.getElementById("boxVersion").innerHTML=LOCALS.SEO_VERSION+"

"+ LOCALS.SEO_INFO_TITLE.replace("{0}",document.title)+"

"+LOCALS.SEO_INFO_TEXT.replace("{0}",""+document.title+"").replace("{1}","
")+"


"+a+"

";document.getElementById("TocHeader")&&(document.getElementById("TocHeader").getElementsByTagName("h2")[0].innerText=LOCALS.TOC_TITLE);document.getElementById("TocHeader")&&(document.getElementById("TocHeader").getElementsByTagName("h2")[0].innerText=LOCALS.TOC_TITLE);document.getElementById("RightToolText")&&"SPAN"!= document.getElementById("RightToolText").tagName&&(-1!=document.getElementById("RightToolText").href.indexOf("toc.html")?document.getElementById("RightToolText").title=LOCALS.TOC_TITLE:document.getElementById("RightToolText").title=LOCALS.PAGE+" "+document.getElementById("RightToolText").title);document.getElementById("LeftToolText")&&"SPAN"!=document.getElementById("LeftToolText").tagName&&(-1!=document.getElementById("LeftToolText").href.indexOf("toc.html")?document.getElementById("LeftToolText").title= LOCALS.TOC_TITLE:document.getElementById("LeftToolText").title=LOCALS.PAGE+" "+document.getElementById("LeftToolText").title);notification.show();initContent()} function rotateContent(a){var b=a.style.transform.substr(7,a.style.transform.length-11),b=b.replace(",",".");a.style.overflow="visible";var c=a.offsetWidth,d=Math.cos(b),e=Math.sin(b);9>1*browser.versionIE?(a=a.childNodes[0],a.style.filter='progid:DXImageTransform.Microsoft.Matrix(sizingMethod="auto expand", M11 = '+d+", M12 = "+-e+", M21 = "+e+", M22 = "+d+")",Math.PI/2<=b&&bb[c].offsetWidth)for(;d.offsetWidth>b[c].offsetWidth&&1e;)scale+=1,e++,d.style.fontSize=scale+"px";d.offsetWidth> b[c].offsetWidth&&(scale-=1,d.style.fontSize=scale+"px")}e=(b[c].offsetHeight-d.offsetHeight)/2;e=e.toFixed();0