var skin="monobook";var htmlE=document.documentElement;function wgULS(g,f,h,b,a,c,d){return{"zh-hans":g||h||c,"zh-hant":f||b||a,"zh-cn":h||g||c,"zh-sg":c||g||h,"zh-tw":b||f||a,"zh-hk":a||f||b,zh:d||f||g||h||b||a||c}[wgUserLanguage]}if(!window.JSConfig){var JSConfig={}}JSConfig.collapseText=wgULS("隐藏▲","隱藏▲");JSConfig.expandText=wgULS("显示▼","顯示▼");JSConfig.autoCollapse=2;JSConfig.SpecialSearchEnhancedDisabled=false;function forEach(d,c){var b=0,a=c.length;while(b<a){d(c[b++])}}function elementMoveto(d,a,f){if(d&&a){var c=a.parentNode;if(f&&f=="after"){a=a.nextSibling}try{if(a){c.insertBefore(d,a)}else{c.appendChild(d)}}catch(b){}}}function createElement(j,a,f){var c=document.createElement(j);if(!(a instanceof Array)){a=[a]}forEach(function(k){if(typeof k=="string"){k=document.createTextNode(k)}if(k){c.appendChild(k)}},a);if(typeof f=="object"){for(var b in f){switch(b){case"styles":var g=f.styles;for(var i in g){c.style[i]=g[i]}break;case"events":var h=f.events;for(var d in h){addHandler(c,d,h[d])}break;case"class":c.className=f[b];break;default:c.setAttribute(b,f[b])}}}return c}var wgProjectURL={en:"http://en.wikipedia.org",de:"http://de.wikipedia.org",fr:"http://fr.wikipedia.org",pl:"http://pl.wikipedia.org",ja:"http://ja.wikipedia.org",it:"http://it.wikipedia.org",nl:"http://nl.wikipedia.org",pt:"http://pt.wikipedia.org",es:"http://es.wikipedia.org",sv:"http://sv.wikipedia.org",m:"http://meta.wikimedia.org",b:"http://zh.wikibooks.org",q:"http://zh.wikiquote.org",n:"http://zh.wikinews.org",wikt:"http://zh.wiktionary.org",mw:"http://www.mediawiki.org",commons:"http://commons.wikimedia.org"};function getWikiPath(f,c){var d=/^[a-z]+:/;var g=f.match(d);g=g&&wgProjectURL[g[0].replace(/:$/,"").toLowerCase()];if(g){f=f.replace(d,"")}else{g=wgServer}var b=g+wgScript+"?title="+encodeURI(f.replace(" ","_"));if(typeof c=="object"){c.ctype=c.ctype||"text";c.dontcountme=c.dontcountme||"s";c.action=c.action||"raw";for(var a in c){b+="&"+a+"="+c[a]}}return b}var hasClass=(function(){var a={};return function(b,c){return(a[c]?a[c]:(a[c]=new RegExp("(?:\\s|^)"+c+"(?:\\s|$)"))).test(b.className)}})();function fixIE(){var a;var d=document.documentElement;function b(){if(!a||d.clientWidth>a){c()}else{setTimeout(c,1)}a=d.clientWidth}function c(){d.style.overflowX=(d.scrollWidth-d.clientWidth<4)?"hidden":""}document.attachEvent("onreadystatechange",b);attachEvent("onresize",b)}if(navigator.appName=="Microsoft Internet Explorer"&&document.compatMode=="CSS1Compat"){fixIE();document.getElementsByClassName=function(c){var a=0;var d=[];for(var b=0;(e=document.getElementsByTagName("*")[b]);b++){if(e.className==c){d[a]=e;a++}}return d}}function cancelBubble(a){a=a||window.event;if(a.stopPropagation){a.stopPropagation()}else{a.cancelBubble=true}}function createToggleButton(b){var c=b;if(b.tagName.toLowerCase()=="tr"){if(b.getElementsByTagName("th").length){c=b.cells[c.cells.length-1]}else{return}}var f,d,a=getElementsByClassName(b,"span","NavToggle")[0];if(a){c=a.parentNode}else{f=createElement("span",[JSConfig.expandText],{"class":"toggleShow"});d=createElement("span",[JSConfig.collapseText],{"class":"toggleHide"});a=createElement("span",[f,d],{"class":"NavToggle",styles:{width:"3.8em"}})}a.style.display="inline";b.className+=" uncollapse toggleHotspot";c.insertBefore(a,c.childNodes[0])}function wgCollapse(l,b,a){if(l){createToggleButton(l)}var n=this;this.state=0;this.container=b;forEach(function(i){if(i.nodeType==1&&!hasClass(i,"uncollapse")&&!hasClass(i,"toggleShow")&&!hasClass(i,"toggleHide")){i.className+=" toggleHide"}},a);function c(t){var q=[],h=0,s,p=getElementsByClassName(b,"*",t);while(s=p[h++]){var o=s.parentNode;while(!hasClass(o,"NavFrame")&&!hasClass(o,"collapsible")){o=o.parentNode}if(o==b){q.push(s)}}return q}var k=c("toggleShow");var j=c("toggleHide");var g=c("toggleHotspot");function m(p,o){var h=0,q;while(q=p[h++]){q.style.display=o?q.showStyle||"":"none"}}this.toggle=function(h){n.state=(typeof h=="undefined")?1-n.state:h;m(k,n.state);m(j,1-n.state)};var d=0,f;while(f=g[d++]){forEach(function(h){addClickHandler(h,cancelBubble)},f.getElementsByTagName("A"));f.style.cursor="pointer";addClickHandler(f,function(){n.toggle()})}}addOnloadHook(function(){var a=[];forEach(function(f){var h=0,j=f.childNodes,g;while(g=j[h++]){if(g.className&&hasClass(g,"NavHead")){break}}a.push(new wgCollapse(g,f,f.childNodes))},getElementsByClassName(document,"div","NavFrame"));forEach(function(f){var g=f.rows;a.push(new wgCollapse(g[0],f,g))},getElementsByClassName(document,"table","collapsible"));var d,b=0,c=a.length;while(d=a[b++]){d.toggle(hasClass(d.container,"collapsed")||(c>=JSConfig.autoCollapse&&hasClass(d.container,"autocollapse")))}});hookEvent("load",function(){if(location.hash){location.href=location.hash}});try{if(top.location!=self.location){top.location.replace(self.location)}}catch(ex){top.location.replace(self.location)}function setCookie(f,d){var b=new Date();var a=new Date();var c=30;a.setTime(b.getTime()+(3600000*24*c));document.cookie=f+"="+escape(d)+";path=/w;expires="+a.toGMTString();document.cookie=f+"="+escape(d)+";path=/wiki;expires="+a.toGMTString()}function getCookie(d){var c=document.cookie.indexOf(d+"=");if(c==-1){return""}var a=c+d.length+1;if((!c)&&(d!=document.cookie.substring(0,d.length))){return""}var b=document.cookie.indexOf(";",a);if(b==-1){b=document.cookie.length}return unescape(document.cookie.substring(a,b))}function deleteCookie(a){if(getCookie(a)){document.cookie=a+"=;path=/w;expires=Thu, 01-Jan-1970 00:00:01 GMT";document.cookie=a+"=;path=/wiki;expires=Thu, 01-Jan-1970 00:00:01 GMT"}}function $(a){return document.getElementById(a)};