dpa='"';id="";tema="";suggerisciok=false;carrellook=false;dc=document;local=location.href;pos=local.indexOf('?');query=local.substring(pos+1);pairs=query.split('&');pos=local.indexOf('/',7);local=local.substring(0,pos);for(cont=0;cont<pairs.length;cont++){pos=pairs[cont].indexOf('=');switch(pairs[cont].substring(0,pos).toLowerCase()){case 'id':if(pairs[cont].substring(pos+1).length>3)id=pairs[cont].substring(pos+1);break;case 'tema':{tema=pairs[cont].substring(pos+1);var nextyear=new Date();nextyear.setFullYear(nextyear.getFullYear() + 1);dc.cookie=String.fromCharCode(116,101,109,97,61)+tema+String.fromCharCode(59,32,101,120,112,105,114,101,115,61)+nextyear.toGMTString();break;}}}bExplorer4plus=(navigator.appName=='Microsoft Internet Explorer' && navigator.appVersion.substring(0,1)>='4');if(tema==''){allcookies=dc.cookie;pos=allcookies.indexOf('tema=');if(pos!=-1){ik=pos+4+1;end=allcookies.indexOf(';',ik);if(end==-1)end=allcookies.length;tema=allcookies.substring(ik,end);}else{tema='1';}}(local.substring(7,10)=='www')?pathskype='http://mystatus.skype.com':pathskype=local;dc.write(String.fromCharCode(60,108,105,110,107,32,114,101,108,61,39,115,116,121,108,101,115,104,101,101,116,39,32,116,121,112,101,61,39,116,101,120,116,47,99,115,115,39,32,104,114,101,102,61,39,47,48,48,48,46,99,115,115,39,62));dc.write(String.fromCharCode(60,108,105,110,107,32,114,101,108,61,39,115,116,121,108,101,115,104,101,101,116,39,32,116,121,112,101,61,39,116,101,120,116,47,99,115,115,39,32,104,114,101,102,61,39,47,48,48)+tema+String.fromCharCode(46,99,115,115,39,62));function gXMLHR(){var XHR=null;if(window.XMLHttpRequest){XHR=new XMLHttpRequest();}else{if(window.ActiveXObject){XHR=new ActiveXObject('Microsoft.XMLHTTP');}}return XHR;}tajax=gXMLHR()!=null;function aggiornalink(){if(id.length>3){for(cont=0;cont<dc.links.length;cont++){pos=dc.links[cont].href.indexOf('/',7);if(local==dc.links[cont].href.substring(0,pos)){posquery=dc.links[cont].href.indexOf('?',pos);if(posquery<0)dc.links[cont].href=dc.links[cont].href+'?id='+id;else{pos2=dc.links[cont].href.indexOf('?id=',posquery);if(pos2<0)pos2=dc.links[cont].href.indexOf('&id=',posquery);if(pos2<0)dc.links[cont].href=dc.links[cont].href+'&id='+id;}}}}}function CreateBookMarkLink(){if(window.sidebar)window.sidebar.addPanel(dc.title,location.href,'');else{window.external.AddFavorite(location.href,dc.title);}}function getquerystring(formname) {var form=dc.forms[formname];var qstr="";function GetElemValue(nm,value){qstr+=(qstr.length>0?'&':'')+escape(nm).replace(/\+/g, '%2B')+'='+escape(value?value:'').replace(/\+/g,'%2B');}var elemArray=form.elements;for(var i=0;i<elemArray.length;i++){var element=elemArray[i];var elemType=element.type.toUpperCase();var elemName=element.name;if(elemName){if((elemType=='TEXT' || elemType=='TEXTAREA' || elemType == 'PASSWORD' 	|| elemType == 'FILE' || elemType == 'HIDDEN') && (element.value!='')) GetElemValue(elemName, element.value);else if (elemType == 'CHECKBOX' && element.checked) GetElemValue(elemName, element.value ? element.value : 'On');else if (elemType == 'RADIO' && element.checked) GetElemValue(elemName, element.value);else if (elemType.indexOf('SELECT') != -1) for (var j = 0; j < element.options.length; j++) {var option = element.options[j];if (option.selected) GetElemValue(elemName, option.value ? option.value : option.text);}}}return qstr;}msg=String.fromCharCode(70,71,80,83,111,102,116,119,97,114,101,46,105,116,32,169,32,67,111,112,121,114,105,103,104,116,32,50,48,48,54,45,50,48,49,50,44,32,71,114,97,122,105,97,110,111,32,70,97,115,97,110,111,46)+'\n'+String.fromCharCode(70,71,80,83,111,102,116,119,97,114,101,32,45,32,119,119,119,46,102,103,112,115,111,102,116,119,97,114,101,46,105,116)+'\n'+String.fromCharCode(84,117,116,116,105,32,105,32,100,105,114,105,116,116,105,32,115,111,110,111,32,114,105,115,101,114,118,97,116,105,46);function clickIE4(){iC=event.srcElement.className;if((iC!=String.fromCharCode(116,101,120,116))&&(event.button==2)){alert(msg+'(1)');return(false);}}function clickNS4(e){if(dc.layers||dc.getElementById&&!dc.all){if(e.which==2||e.which==3){alert(msg+'(2)');return(false);}}}if(dc.layers){dc.captureEvents(Event.MOUSEDOWN);dc.onmousedown=clickNS4;}else{if(dc.all&&!dc.getElementById)dc.onmousedown=clickIE4;}dc.oncontextmenu=Function(String.fromCharCode(97,108,101,114,116,40,109,115,103,43,39,40,51,41,39,41,59,114,101,116,117,114,110,40,102,97,108,115,101,41));function loadDat(IdDat, url, funzione){function state_Change(){if(xmlhttp.readyState==4){if(xmlhttp.status==200){IdDat.innerHTML=xmlhttp.responseText;if(funzione!=undefined)funzione();}}}if(window.XMLHttpRequest){var xmlhttp=new XMLHttpRequest();xmlhttp.open(String.fromCharCode(71,69,84),url,true);xmlhttp.setRequestHeader(String.fromCharCode(99,111,110,110,101,99,116,105,111,110), String.fromCharCode(99,108,111,115,101));xmlhttp.onreadystatechange=state_Change;xmlhttp.send(null);}else if(window.ActiveXObject){var xmlhttp=new ActiveXObject(String.fromCharCode(77,105,99,114,111,115,111,102,116,46,88,77,76,72,84,84,80));if(xmlhttp){xmlhttp.onreadystatechange=state_Change;xmlhttp.open(String.fromCharCode(71,69,84),url,true);xmlhttp.send();}}}function vpsel(){$('#attesa1').show();sl=dc.selezione;sl.pg.value=1;var d = new Date();$.ajax({	method: String.fromCharCode(71,69,84), 	url: String.fromCharCode(47,101,99,111,109,109,101,114,99,101,47,114,105,115,117,108,116,97,116,105,45,112,114,111,100,111,116,116,105,46,112,104,112), 	data: $(String.fromCharCode(35,115,101,108,101,122,105,111,110,101)).serialize()+'&rng='+d.getDate()+'_'+d.getHours(), 	complete: function(data){		$(String.fromCharCode(35,99,111,114,112,111)).html(data.responseText);		$(String.fromCharCode(97,46,115,119,105,116,99,104,95,116,104,117,109,98)).toggle(function(){			$(this).addClass(String.fromCharCode(115,119,97,112));			$(String.fromCharCode(117,108,46,100,105,115,112,108,97,121)).fadeOut(String.fromCharCode(102,97,115,116),function(){$(this).fadeIn(String.fromCharCode(102,97,115,116)).addClass(String.fromCharCode(116,104,117,109,98,95,118,105,101,119));});		}, function (){			$(this).removeClass(String.fromCharCode(115,119,97,112));			$(String.fromCharCode(117,108,46,100,105,115,112,108,97,121)).fadeOut(String.fromCharCode(102,97,115,116),function(){$(this).fadeIn(String.fromCharCode(102,97,115,116)).removeClass(String.fromCharCode(116,104,117,109,98,95,118,105,101,119));});		});		 		sl=dc.selezione;		if((sl.cl!=undefined)&&(sl.cl.selectedIndex>0)){			cp=sl.cl.options[sl.cl.selectedIndex].text;			cp=cp.toLowerCase();			cp=cp.replace(/ /g,"-");			cp=escape(cp).replace(/%E0/g,"a");			cp=cp+'/';		}else cp='';		var d = new Date();		loadDat(getId('numeri'),local+String.fromCharCode(47,110,117,109,101,114,105,45,119,110,100,46)+ext+String.fromCharCode(63,117,114,108,61,104,116,116,112,58,47,47,119,119,119,46,102,103,112,115,111,102,116,119,97,114,101,46,105,116,47,101,99,111,109,109,101,114,99,101,47)+cp+String.fromCharCode(38,97,105,100,61)+IDAnagrafe+String.fromCharCode(38,73,80,61)+IP+String.fromCharCode(38,114,110,103,61)+d.getDate()+'_'+d.getHours());		$(String.fromCharCode(35,97,116,116,101,115,97,49)).fadeOut();	}});return false;}function getId(id){var elemento;if(dc.getElementById) elemento=dc.getElementById(id);else elemento=dc.all[id];return elemento;}function emailordine(link){}function printit(){window.print();}function emailamico(cid,prezzo){fr=dc.suggerisci;var result=window.prompt(String.fromCharCode(101,45,109,97,105,108,32,100,105,32,100,101,115,116,105,110,97,122,105,111,110,101),"");if(result!=null)location.href=String.fromCharCode(104,116,116,112,58,47,47,119,119,119,46,102,103,112,115,111,102,116,119,97,114,101,46,105,116,47,112,114,47,101,109,97,105,108,112,97,103,101,46,97,115,112,63,101,100,61)+result+String.fromCharCode(38,101,109,61)+fr.em.value+String.fromCharCode(38,111,103,61)+fr.og.value+String.fromCharCode(38,112,103,61)+fr.pg.value;}function showmail(){$('#pemail').show();$('#showbtn').hide();$('#emailbtn').show();$('#hidebtn').show();dc.suggerisci.ed.focus();return false }function hidemail(){$('#pemail').hide();$('#showbtn').show();$('#emailbtn').hide();$('#hidebtn').hide();fr=dc.suggerisci;fr.ed.value='';fr.da.value='';fr.emailda.value='';fr.captcha.value='';return false;}function checkemail(){suggerisciok = true;fr=dc.suggerisci;if(fr.ed.value==''){alert(String.fromCharCode(73,110,115,101,114,105,114,101,32,108,39,101,45,109,97,105,108,32,100,105,32,100,101,115,116,105,110,97,122,105,111,110,101));fr.ed.focus();return false;}if(fr.da.value==''){alert(String.fromCharCode(73,110,115,101,114,105,114,101,32,105,108,32,110,111,109,101,32,100,101,108,32,109,105,116,116,101,110,116,101));fr.da.focus();return false;}if(fr.emailda.value==''){alert(String.fromCharCode(73,110,115,101,114,105,114,101,32,108,39,101,45,109,97,105,108,32,100,101,108,32,109,105,116,116,101,110,116,101));fr.emailda.focus();return false;}if(fr.captcha.value.length!=10){alert(String.fromCharCode(73,110,115,101,114,105,114,101,32,105,108,32,116,101,115,116,111,32,100,105,32,99,111,110,116,114,111,108,108,111));fr.captcha.focus();return false;}if(String.fromCharCode(101,45,109,97,105,108,32,105,110,118,105,97,116,97,32,99,111,110,32,115,117,99,99,101,115,115,111,33)==result){alert(result);hidemail();return false;}}function submit(){if(suggerisciok==false){if(checkemail()!=false)dc.suggerisci.submit();}suggerisciok = false;}function checkcarrello(formName){}function submit2(formName){if(carrellook==false){if(checkcarrello(formName)!=false)dc.forms[formName].submit();}carrellook = false;}function lista(){var d = new Date();var cp=getId(String.fromCharCode(99,111,114,112,111));cp.style.height=cp.offsetHeight+'px';var local2=location.href;pos=local2.indexOf('?');if(pos>0)local2=local2.substring(0,pos);pos=local2.indexOf('#');if(pos>0)local2=local2.substring(0,pos);loadDat(getId(String.fromCharCode(110,117,109,101,114,105)),local+String.fromCharCode(47,110,117,109,101,114,105,45,119,110,100,46)+ext+'?url='+local2+'&aid='+IDAnagrafe+'&IP='+IP+'&rng='+d.getDate()+'_'+d.getHours());var opendiv='elenco';var DivClose=getId(closediv);var DivOpen=getId(opendiv);DivOpen.style.height='';DivClose.style.width=DivClose.parentNode.offsetWidth-DivClose.offsetLeft+'px';var left=cp.offsetLeft+'px';var top=DivClose.offsetTop+'px';DivClose.style.position='absolute';DivClose.style.left=left;DivClose.style.top=top;DivOpen.style.position='absolute';DivOpen.style.left=left;DivOpen.style.top=top;hideIt(opendiv);}function hideIt(opend){var DivClose=getId(closediv);if(DivClose!=null){var DivOpen=getId(opend);if(parseInt(DivClose.style.width)>0){var incremento=parseInt(DivClose.style.width)-Math.floor(parseInt(DivClose.style.width)*0.9);DivClose.style.width=parseInt(DivClose.style.width)-incremento+'px';DivOpen.style.display='block';if(DivOpen.style.width!=''){DivOpen.style.width=parseInt(DivOpen.style.width)+incremento+'px';}else{DivOpen.style.width=incremento+'px';}DivOpen.style.left=DivClose.offsetWidth+DivClose.offsetLeft+'px';setTimeout('hideIt('+dpa+opend+dpa+')',20);}else{DivClose.style.display='none';DivOpen.style.width='';DivClose.style.height='0px';DivClose.style.position='relative';DivClose.style.top='0px';DivOpen.style.position='relative';DivOpen.style.left='0px';DivOpen.style.top='0px';closediv=opend;getId(String.fromCharCode(99,111,114,112,111)).style.height='';}}else{closediv=opend;}}function scheda(cid){function pcm(){var ni=getId(String.fromCharCode(99,111,114,112,111));ni.appendChild(DivOpen);DivOpen.style.height='';DivClose.style.width=DivClose.parentNode.offsetWidth-DivClose.offsetLeft+'px';var left=cp.offsetLeft+'px';var top=cp.offsetTop+'px';DivClose.style.position='absolute';DivClose.style.left=left;DivClose.style.top=top;DivOpen.style.position='absolute';DivOpen.style.left=left;DivOpen.style.top=top;window.scrollTo(0,0);if(local!='http://localhost')gapi.plusone.go(String.fromCharCode(100,105,118,112,108,117,115,111,110,101)+cid);//}
(function(d, s, id){var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) {return;}js = d.createElement(s); js.id = id;js.src = "/"+String.fromCharCode(47,99,111,110,110,101,99,116,46,102,97,99,101,98,111,111,107,46,110,101,116,47,105,116,95,73,84,47,97,108,108,46,106,115,35,120,102,98,109,108,61,49);fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));(function(){var twitterWidgets=document.createElement('script');twitterWidgets.type='text/javascript';twitterWidgets.async=true;twitterWidgets.src='/'+'/platform.twitter.com/widgets.js';document.getElementsByTagName('head')[0].appendChild(twitterWidgets);}());hideIt(opendiv);FB.XFBML.parse(document.getElementById(String.fromCharCode(100,105,118,112,108,117,115,111,110,101)+cid));}var cp=getId(String.fromCharCode(99,111,114,112,111));cp.style.height=cp.offsetHeight+'px';var opendiv='scheda'+cid;var DivClose=getId(closediv);var DivOpen=getId(opendiv);$(String.fromCharCode(35,97,116,116,101,115,97,49)).show();var d = new Date();loadDat(getId(String.fromCharCode(114,119,110,100)).getElementsByTagName('div')[3],local+String.fromCharCode(47,110,117,109,101,114,105,45,119,110,100,46)+ext+String.fromCharCode(63,117,114,108,61,104,116,116,112,58,47,47,119,119,119,46,102,103,112,115,111,102,116,119,97,114,101,46,105,116,47,101,99,111,109,109,101,114,99,101,47,38,99,105,100,61)+cid+'&aid='+IDAnagrafe+'&IP='+IP+'&rng='+d.getDate()+'_'+d.getHours());if(DivOpen==null){var DivOpen=dc.createElement('div');DivOpen.setAttribute('id',opendiv);DivOpen.setAttribute('className','scheda');DivOpen.setAttribute('class','scheda');DivOpen.innerHTML = '<a href='+dpa+'#'+dpa+' onclick='+dpa+'lista();'+dpa+' class='+dpa+'btn'+dpa+'>Risultati<img src='+dpa+'/temi/1/ico-cerca.png'+dpa+'></a><div style='+dpa+'clear: both;'+dpa+'></div><a href='+dpa+'#'+dpa+' onclick='+dpa+'lista();'+dpa+' class='+dpa+'btn'+dpa+'>Risultati<img src='+dpa+'/temi/1/ico-cerca.png'+dpa+'></a><div style='+dpa+'float:right; width: 500px;'+dpa+'></div><div style='+dpa+'float:right; width: 500px;'+dpa+'></div><div style='+dpa+'float:right; width: 500px;'+dpa+'></div>';loadDat(DivOpen.getElementsByTagName('div')[0],local+String.fromCharCode(47,101,99,111,109,109,101,114,99,101,47,115,99,104,101,100,97,45,112,114,111,100,111,116,116,111,46,112,104,112,63,99,105,100,61)+cid+String.fromCharCode(38,105,100,61)+id,pcm);}else pcm();}
