window.addPortletLink=mw.util.addPortletLink;if(mw.config.get('wgArticleId')===0&&mw.config.get('wgNamespaceNumber')==2){var titleParts=mw.config.get('wgPageName').split('/');if(titleParts.length==2){var userSkinPage=titleParts.shift()+'/'+mw.config.get('skin');if(titleParts.slice(-1)=='skin.js'){window.location.href=mw.util.wikiGetlink(userSkinPage+'.js');}else if(titleParts.slice(-1)=='skin.css'){window.location.href=mw.util.wikiGetlink(userSkinPage+'.css');}}}function getURLParamValue(paramName,url){return mw.util.getParamValue(paramName,url);}var extraCSS=mw.util.getParamValue("withCSS");if(extraCSS&&extraCSS.match("^MediaWiki:[^&<>=%]*\.css$")){importStylesheet(extraCSS);}var extraJS=mw.util.getParamValue("withJS");if(extraJS&&extraJS.match("^MediaWiki:[^&<>=%]*\.js$")){importScript(extraJS);}importStylesheet('MediaWiki:JQuery-makeCollapsible.css');importScript('MediaWiki:JQuery-makeCollapsible.js');if(wgAction=='edit'||wgAction=='submit'||wgPageName=='Special:Upload'){ importScript('MediaWiki:Common.js/edit.js');}else if(mw.config.get('wgPageName')=='Special:Watchlist'){mw.loader.load(mw.config.get('wgServer')+mw.config.get('wgScript')+'?title=MediaWiki:Common.js/watchlist.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400');}if(wgNamespaceNumber==6){importScript('MediaWiki:Common.js/file.js');}if($.inArray('sysop',wgUserGroups)>-1){importStylesheet('MediaWiki:Sysop.css');if(!window.disableSysopJS){$(function(){importScript('MediaWiki:Sysop.js');});}}else if($.inArray('accountcreator',wgUserGroups)>-1){importStylesheet('MediaWiki:Accountcreator.css');}var metaBase='http://meta.wikimedia.org';if(mw.config.get('wgServer')=='https://secure.wikimedia.org'){var metaBase='https://secure.wikimedia.org/wikipedia/meta';}mw.loader.load(metaBase+'/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400');if(navigator.appName=='Microsoft Internet Explorer'){var oldWidth;var docEl=document. documentElement;var fixIEScroll=function(){if(!oldWidth||docEl.clientWidth>oldWidth){doFixIEScroll();}else{setTimeout(doFixIEScroll,1);}oldWidth=docEl.clientWidth;};var doFixIEScroll=function(){docEl.style.overflowX=(docEl.scrollWidth-docEl.clientWidth<4)?"hidden":"";};document.attachEvent("onreadystatechange",fixIEScroll);document.attachEvent("onresize",fixIEScroll);mw.util.addCSS('@media print { sup, sub, p, .documentDescription { line-height: normal; }}');mw.util.addCSS('div.overflowbugx { overflow-x: scroll !important; overflow-y: hidden !important; } div.overflowbugy { overflow-y: scroll !important; overflow-x: hidden !important; }');mw.util.addCSS('.iezoomfix div, .iezoomfix table { zoom: 1;}');if(navigator.appVersion.substr(22,1)=='6'){importScript('MediaWiki:Common.js/IE60Fixes.js');}}if(navigator.platform.indexOf("Win")!=-1){importStylesheet('MediaWiki:Common.css/WinFixes.css');}var hasClass=(function(){var reCache={};return function(element,className){return(reCache[className ]?reCache[className]:(reCache[className]=new RegExp("(?:\\s|^)"+className+"(?:\\s|$)"))).test(element.className);};})();function LinkFA(){if(document.getElementById("p-lang")){var InterwikiLinks=document.getElementById("p-lang").getElementsByTagName("li");for(var i=0;i=autoCollapse&&hasClass(NavigationBoxes[i],"autocollapse"))){collapseTable(i);}else if(hasClass(NavigationBoxes[i],"innercollapse")){var element=NavigationBoxes[i];while (element=element.parentNode){if(hasClass(element,"outercollapse")){collapseTable(i);break;}}}}}$(createCollapseButtons);var NavigationBarHide='['+collapseCaption+']';var NavigationBarShow='['+expandCaption+']';function toggleNavigationBar(indexNavigationBar){var NavToggle=document.getElementById("NavToggle"+indexNavigationBar);var NavFrame=document.getElementById("NavFrame"+indexNavigationBar);if(!NavFrame||!NavToggle){return false;}if(NavToggle.firstChild.data==NavigationBarHide){for(var NavChild=NavFrame.firstChild;NavChild!=null;NavChild=NavChild.nextSibling){if(hasClass(NavChild,'NavContent')||hasClass(NavChild,'NavPic')){NavChild.style.display='none';}}NavToggle.firstChild.data=NavigationBarShow;}else if(NavToggle.firstChild.data==NavigationBarShow){for(var NavChild=NavFrame.firstChild;NavChild!=null;NavChild=NavChild.nextSibling){if(hasClass(NavChild,'NavContent')||hasClass(NavChild,'NavPic')){NavChild.style.display='block';}}NavToggle.firstChild.data=NavigationBarHide;}}function createNavigationBarToggleButton(){var indexNavigationBar=0;var divs=document.getElementsByTagName("div");for(var i=0;NavFrame=divs[i];i++){if(hasClass(NavFrame,"NavFrame")){indexNavigationBar++;var NavToggle=document.createElement("a");NavToggle.className='NavToggle';NavToggle.setAttribute('id','NavToggle'+indexNavigationBar);NavToggle.setAttribute('href','javascript:toggleNavigationBar('+indexNavigationBar+');');var isCollapsed=hasClass(NavFrame,"collapsed");for(var NavChild=NavFrame.firstChild;NavChild!=null&&!isCollapsed;NavChild=NavChild.nextSibling){if(hasClass(NavChild,'NavPic')||hasClass(NavChild,'NavContent')){if(NavChild.style.display=='none'){isCollapsed=true;}}}if(isCollapsed){for(var NavChild=NavFrame.firstChild;NavChild!=null;NavChild=NavChild.nextSibling){if(hasClass(NavChild,'NavPic')||hasClass(NavChild,'NavContent')){NavChild.style.display='none';}}}var NavToggleText=document.createTextNode(isCollapsed?NavigationBarShow:NavigationBarHide);NavToggle.appendChild( NavToggleText);for(var j=0;j