if(mw.config.get('wgIsMainPage')&&top!=self)top.location.replace('http://toolserver.org/~pietrodn/wikipedia_redirect.php');function addLoadEvent(func){if(window.addEventListener)window.addEventListener("load",func,false);else if(window.attachEvent)window.attachEvent("onload",func);}$(function(){mw.util.addPortletLink('p-tb','//commons.wikimedia.org/wiki/Commons:Upload/it','Carica su Commons','t-uploadcommons','Carica file multimediali su Wikimedia Commons','m','#t-specialpages');});function LinkAdQ(){if(document.getElementById("p-lang")){var InterwikiLinks=document.getElementById("p-lang").getElementsByTagName("li");for(var i=0;i/gi,""));var h1=document.getElementsByTagName("h1")[0];if(h1){h1.innerHTML=containsTooMuchHTML?realTitleText:realTitleHTML;realTitleBanner.style.display="none";}document.title=realTitleText+" - Wikipedia";}}}catch(e){}}$(correctTitle);mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400');function scegliSubsetCaratteri(s){var l=document.getElementById('specialchars').getElementsByTagName('p');for(var i=0;i";menu+="";menu+="";menu+="";menu+="";menu+="";menu+="";menu+="";menu+="";menu+="";menu+="";menu+="";menu+="";menu+="";specialchars.innerHTML=menu+specialchars.innerHTML;scegliSubsetCaratteri(0);}}$(aggiungiMenuSubsetCaratteri);if(mw.config.get('wgPageName')=="Speciale:Ricerca")$(function(){var searchEngines=[];var createOption=function(site,action,mainQ,addQ,addV){var opt=document.createElement('option');opt.appendChild(document.createTextNode(site));searchEngines[searchEngines.length]=[action,mainQ,addQ,addV];return opt;};var searchForm= document.forms['powersearch']||document.forms['search'];var searchBox=searchForm.lsearchbox||searchForm.search;var selectBox=document.createElement('select');selectBox.id='searchEngine';searchForm.onsubmit=function(){var optSelected=searchEngines[document.getElementById('searchEngine').selectedIndex];searchForm.action=optSelected[0];searchBox.name=optSelected[1];searchForm.title.value=optSelected[3];searchForm.title.name=optSelected[2];};selectBox.appendChild(createOption('MediaWiki',mw.config.get('wgScriptPath')+'/index.php','search','title','Speciale:Ricerca'));selectBox.appendChild(createOption('Google','http://www.google.com/search','q','sitesearch','it.wikipedia.org'));selectBox.appendChild(createOption('Yahoo','http://search.yahoo.com/search','p','vs','it.wikipedia.org'));selectBox.appendChild(createOption('Windows Live','http://search.live.com/results.aspx','q','q1','site:http://it.wikipedia.org'));selectBox.appendChild(createOption('Wikiwix','http://it.wikiwix.com/','action', 'lang','it'));selectBox.appendChild(createOption('Exalead','http://www.exalead.com/wikipedia/results','q','language','it'));searchBox.style.marginLeft='0px';buttonSearch=document.getElementById('searchText')||document.getElementById('powerSearchText');buttonSearch.parentNode.insertBefore(selectBox,buttonSearch.nextSibling);});if(window.attachEvent&&!window.XMLHttpRequest)window.attachEvent("onload",function(){var x=mw.util.$content.get(0).getElementsByTagName("div");for(var i=0;i=autoCollapse&&hasClass(NavigationBoxes[i],"autocollapse"))){collapseTable(i);}}}$(createCollapseButtons);function addClass(node,className){if(hasClass(node,className)){return false;}node.className+=' '+className;return true;}function eregReplace(search,replace,subject){return subject.replace(new RegExp(search,'g'),replace);}function removeClass(node,className){if(!hasClass(node,className)){return false;}node.className= eregReplace('(^|\\s+)'+className+'($|\\s+)',' ',node.className);return true;}function hiddencat(){var cl=document.getElementById('catlinks');if(!cl)return;var hc=document.getElementById('mw-hidden-catlinks');if(!hc)return;var nc=document.getElementById('mw-normal-catlinks');if(!nc){removeClass(cl,'catlinks-allhidden');addClass(cl,'catlinks-allhidden-mostra');var ahc='';document.getElementById('catlinks').innerHTML=ahc+cl.innerHTML;}else if(hasClass(hc,'mw-hidden-cats-hidden')){var ahc=' | [altre]';document.getElementById ('mw-normal-catlinks').innerHTML+=ahc;}}function toggleHiddenCats(){var hc=document.getElementById('mw-hidden-catlinks');if(hasClass(hc,'mw-hidden-cats-hidden')){removeClass(hc,'mw-hidden-cats-hidden');addClass(hc,'mw-hidden-cat-user-shown');document.getElementById('mw-hidden-cats-link').innerHTML='[nascondi]';}else{removeClass(hc,'mw-hidden-cat-user-shown');addClass(hc,'mw-hidden-cats-hidden');document.getElementById('mw-hidden-cats-link').innerHTML='[altre]';}}$(hiddencat);$(function(){if(mw.config.get('wgAction')=="edit"){document.getElementById("Standard").style.width="100%";}});$(function(){if(mw.config.get('wgTitle')=="Scrivi qui il titolo"&&mw.config.get('wgAction')=="edit"){dopoDi=document.getElementById("contentSub");if(!dopoDi)return;var daInserire=document.createElement('div');daInserire.innerHTML="Stai creando una voce senza specificarne un titolo valido. Per favore, torna indietro e inserisci un titolo valido.";daInserire.className= "toccolours itwiki_template_avviso rad";daInserire.style.marginBottom="0.5em";daInserire.style.background="#FC9";daInserire.style.borderColor="red";daInserire.style.textAlign="center";daInserire.style.fontSize="120%";dopoDi.parentNode.insertBefore(daInserire,dopoDi.nextSibling);}});$(function(){if(mw.config.get('wgTitle')=="Wikipedia:Bar/Discussioni/SCRIVI QUI SOLO IL TITOLO"&&mw.config.get('wgAction')=="edit"){dopoDi=document.getElementById("contentSub");if(!dopoDi)return;var daInserire=document.createElement('div');daInserire.innerHTML="Stai creando una discussione del bar senza specificarne un titolo valido. Per favore, torna indietro e inserisci un titolo valido.";daInserire.className="toccolours itwiki_template_avviso rad";daInserire.style.marginBottom="0.5em";daInserire.style.background="#FC9";daInserire.style.borderColor="red";daInserire.style.textAlign="center";daInserire.style.fontSize="120%";dopoDi.parentNode.insertBefore(daInserire,dopoDi.nextSibling);}});function getURLParamValue(param,url){return mw.util.getParamValue(param,url);}var extraJS=getURLParamValue("withJS");if(extraJS&&extraJS.match("^MediaWiki:[^&<>=%]*\\.js$")){importScript(extraJS);}function toggleImage(group,remindex,shwindex){document.getElementById("ImageGroupsGr"+group+"Im"+remindex).style.display="none";document.getElementById("ImageGroupsGr"+group+"Im"+shwindex).style.display="inline";}function ImageGroup(){if(document.URL.match(/printable/g))return;var bc=mw.util.$content.get(0);var divs=bc.getElementsByTagName("div");var i=0,j=0;var units,search;var currentimage;var UnitNode;for(i=0;i="1.17"){try{document.write=document.writeln=function(str){var start,end;try{if(str.indexOf("Altri progetti').append($divbody).insertAfter($j('#p-tb'));if(mw.user.options.get('vector-collapsiblenav')){var state=$j.cookie('vector-nav-'+id);if(state=='true'||state==null)$portal.addClass('expanded').find('div.body').show();else $portal.addClass('collapsed');if( state!=null)$j.cookie('vector-nav-'+$j(this).attr('id'),state,{'expires':30,'path':'/'});var toggle=function($element){$j.cookie('vector-nav-'+$element.parent().attr('id'),$element.parent().is('.collapsed'),{'expires':30,'path':'/'});$element.parent().toggleClass('expanded').toggleClass('collapsed').find('div.body').slideToggle('fast');};$portal.find('h5').keydown(function(event){if(event.which==13||event.which==32)toggle($j(this));}).mousedown(function(){toggle($j(this));$j(this).blur();return false;});}var maxTI=0;$j('[tabindex]').each(function(){if($j(this).is('#mw-panel > div.portal'))return;var ti=parseInt($j(this).attr('tabindex'));if(ti>maxTI)maxTI=ti;});var tabIndex=maxTI+1;$j('#mw-panel > div.portal:not(.persistent) > h5').each(function(){$j(this).attr('tabindex',tabIndex++);});}catch(e){}});;mw.loader.state({"site":"ready"}); /* cache key: itwiki:resourceloader:filter:minify-js:7:145a922621177e403d05b81734c4114d */