var radioFeedbackCliccato=-1;var textAreaAbilitata=-1;var voto="";var messaggioFeedback="devi prima esprimere la tua preferenza";function radioButtonCliccato(a){radioFeedbackCliccato=1;voto=a}function callFeed(c,a){if(radioFeedbackCliccato>0){commento="";commento=dojo.byId("id-istGruppo-feedback-textarea");var b="";if(voto==1){b="Insoddisfacente"}else{if(voto==2){b="Scarso"}else{if(voto==3){b="Soddisfacente"}else{if(voto==4){b="Buono"}else{if(voto==5){b="Ottimo"}}}}}createElementTag("VOTO: "+b,coreMetricsPageId,commento.value);istGruppo_themeScript.myUtility.saveReport(a,voto,commento.value);istGruppo_themeScript.myUtility.createPopupContent("dialogFeedbackPopupChiudi");istGruppo_themeScript.myUtility.openPopup()}else{alert(c)}}function abilitaTextArea(a,b){if(textAreaAbilitata<0){if(radioFeedbackCliccato>0){a.value="";a.className="istGruppo-feedback-textarea-piena";a.readOnly=false;textAreaAbilitata=1}else{alert(b)}}}function resetRadioFeedbackCliccato(){radioFeedbackCliccato=-1;textAreaAbilitata=-1}function createLink(){return document.URL}function istGruppo_function_onchange_banca(e){var a;var f;var g=e+1;var d="idDescCoverFlowBancheNoMenuContainer";var c="containerDescCoverFlowNoMenu"+g;try{a=dojo.byId(d);f=dojo.byId(c).innerHTML;a.innerHTML=f}catch(b){console.log("Errore nel coverflow senza menu in : "+document.URL)}}function getArrayLettere(){return new Array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z")}function glossLine(){var a=getArrayLettere();var b;codHtml='<table class="istgruppo-timeline-glossario-table"><tr>';for(k=0;k<a.length;k++){b=a[k].toUpperCase();codHtml+='<td onclick="selezionaQuestaLettera(';codHtml+="this";codHtml+=');" class="istgruppo-glossario-cella-non-selezionata" id="IdTimeLineLettera_';codHtml+=b;codHtml+='" onmouseover="evidenziaQuestaLettera(';codHtml+="this";codHtml+=');" ';codHtml+='" onmouseout="disEvidenziaQuestaLettera(';codHtml+="this";codHtml+=');" >';codHtml+=b;codHtml+="</td>"}codHtml+="</tr></table>";codHtml+='<div class="istgruppo-barra-sotto-glossario">&nbsp;</div>';document.write(codHtml)}function selezionaLettera(b){try{id="IdTimeLineLettera_"+b.toUpperCase();obj=dojo.byId(id);selezionaQuestaLettera(obj)}catch(a){console.log("errore glossario selezionaLettera")}}function selezionaQuestaLettera(b){var a=controllaLettera(b.innerHTML.toUpperCase());if(a){if(lettSel!=""){lettSel.className="istgruppo-glossario-cella-non-selezionata"}b.className="istgruppo-glossario-cella-selezionata";lettSel=dojo.byId(b.id);window.location.href="#lettera_"+b.innerHTML.toUpperCase()}}function evidenziaQuestaLettera(b){var a=controllaLettera(b.innerHTML.toUpperCase());if(a){if(b.className!="istgruppo-glossario-cella-selezionata"){b.className="istgruppo-glossario-cella-evidenziata"}}}function disEvidenziaQuestaLettera(b){var a=controllaLettera(b.innerHTML.toUpperCase());if(a){if(b.className!="istgruppo-glossario-cella-selezionata"){b.className="istgruppo-glossario-cella-non-selezionata"}}}function clickFreccieRight(b){var a=dojo.byId("idDesc"+b);if(a.style.display=="none"){if(oldDesc!=""){chiudiDescrizioneGlossario(oldDesc)}apriDescrizioneGlossario(b)}else{chiudiDescrizioneGlossario(b)}oldDesc=b}function controllaLettera(d){try{var a="IdLettera_"+d.toUpperCase();var c=dojo.byId(a);if(c!=null){return true}else{return false}}catch(b){alert("lettera non esistente")}}function apriDescrizioneGlossario(c){var a=dojo.byId("idDesc"+c);var d=dojo.byId("idImg"+c);var b=dojo.byId("idTitoloParola"+c);a.style.display="block";d.src=pathImg+"/img/img_freccie_giu.png";b.className="istgruppo-glossario-rettangolo-scuro"}function chiudiDescrizioneGlossario(c){var a=dojo.byId("idDesc"+c);var d=dojo.byId("idImg"+c);var b=dojo.byId("idTitoloParola"+c);a.style.display="none";d.src=pathImg+"/img/img_frecce.png";b.className="istgruppo-glossario-rettangolo-chiaro"}function glossTornaSu(){if(oldDesc!=""){chiudiDescrizioneGlossario(oldDesc)}if(lettSel!=""){lettSel.className="istgruppo-glossario-cella-non-selezionata"}selezionaLettera("A")}function popolaGlossario(){var b=getArrayLettere();var a="";for(k=0;k<b.length;k++){corrLettera=b[k].toUpperCase();a+="<!--lettera "+corrLettera+"-->";a+='<a name="lettera_';a+=corrLettera;a+='"></a>';a+='<div id="IdLettera_'+corrLettera+'" class="istgruppo-glossario-container-lettera">';a+='<table class="container-gruppo-lettera">';a+="<tr><td><div onclick=\"selezionaLettera('";a+=corrLettera;a+='\');"  onmouseover="this.style.cursor=\'pointer\'"  class="istgruppo-glossario-sfondo-lettera">';a+=corrLettera;a+='</div></td><td class="freccia-su-glossario-cell">';a+=tornaSuHtml;a+='</td></tr></table><div id="idContenutoLettera_'+corrLettera+'"></div></div><!--Fine lettera '+corrLettera+"-->"}a+='<div  class="istgruppo-glossario-lettere-dim" style="display:block;"></div>';document.write(a);riempiGlossario();selezionaLettera("A")}function conservaId(b,a){arrayId[a]=b}function riempiGlossario(){for(k=0;k<arrayId.length;k++){id=arrayId[k];car=id.charAt(0).toUpperCase();objContenuto=dojo.byId(id);objContenitore=dojo.byId("idContenutoLettera_"+car);objContenitore.innerHTML+=objContenuto.innerHTML;objContenuto.innerHTML=""}}function istGruppo_onchange_bancaMenu_DocAvvisiPrestiti(a){insertContenuto("idDescCoverFlowConMenuContainer","DescCoverFlowConMenu"+a);insertContenuto("idDocumentiContainer","elencoDocumenti"+a);insertContenuto("idLinkContainer","LinkCoverFlowConMenu"+a)}function insertContenuto(b,e){var a;var c;if(b!=""&&e!=""){try{a=dojo.byId(b);c=dojo.byId(e).innerHTML;a.innerHTML=c}catch(d){console.log("Errore nel coverflow con menu in : "+document.URL);console.log("idContainer : "+b);console.log("idContenuto : "+e)}}}function coloraTabella(a){dojo.query("#"+a+" tr:nth-child(even)").addClass("istGruppo-sintesinews-dark");dojo.query("#"+a+" tr:nth-child(odd)").addClass("istGruppo-sintesinews-light")}function coloraTabelleDoc(a){for(i=0;i<a.length;i++){if(a[i]!=""){coloraTabella(a[i])}}}function istGruppo_onchange_banca_tool_quotazione_titolo(a){var d="idIframe1QuotazioneTitoloContainer";var c="idIframe2QuotazioneTitoloContainer";var b="sdsCoverFlowToolQuotazioneTitoloContainer";changeSrcIframe(d,myUrlIframe1[a]);changeSrcIframe(c,myUrlIframe2[a]);insertContenuto(b,myIdSds[a])}function changeSrcIframe(c,b){var a="";try{if(c.length>0){a=dojo.byId(c)}if(a!=null){if(b!=""){a.src=b;a.style.display="block"}else{a.style.display="none"}}}catch(d){console.log("Errore nel coverflow della pagina : "+document.URL)}}function insertContenutoIframe(b,d,e,a){try{if(b!=""){objContainer=dojo.byId(b)}if(d!=""){objContenuto=dojo.byId(d)}if(e!=""&&objContainer!=null&&objContenuto!=null){objContainer.innerHTML=objContenuto.innerHTML;objContainer.style.display="block"}else{objContainer.style.display="none"}}catch(c){console.log("errore nel inserimento del contenuto nella pagina : "+document.URL)}}function visualizzaDettaglioAnno(a){idtdselected="td"+a;selectedTd(idtdselected);document.getElementById(idtdselected).className="istGruppo-assemblee-rigaheader-pressed";displayAllegatiAssemblee(a);document.getElementById("dettaglioAnniContainer").innerHTML=document.getElementById(a).innerHTML}function selectedTd(b){var c=document.getElementById("idTabellaAnni").getElementsByTagName("td");for(var a=0;a<c.length;a++){if(c.item(a).id!=b){document.getElementById(c.item(a).id).className="istGruppo-assemblee-rigaheader"}}}function displayAllegatiAssemblee(a){i=1;hide=false;currentDivId="header"+a+i;currentDiv=document.getElementById(currentDivId);nextDivId="header"+a+(i+1);nextDiv=document.getElementById(nextDivId);while(nextDiv!=null){giornoCurrentId="data"+a+i;giornoCurrent=document.getElementById(giornoCurrentId);giornoNextId="data"+a+(i+1);giornoNext=document.getElementById(giornoNextId);titoloCurrentId="titolo"+a+i;titoloCurrent=document.getElementById(titoloCurrentId);titoloNextId="titolo"+a+(i+1);titoloNext=document.getElementById(titoloNextId);descrizioneCurrentId="descrizione"+a+i;descrizioneCurrent=document.getElementById(descrizioneCurrentId);descrizioneNextId="descrizione"+a+(i+1);descrizioneNext=document.getElementById(descrizioneNextId);if((giornoCurrent.firstChild.nodeValue!=giornoNext.firstChild.nodeValue)||(titoloCurrent.firstChild.nodeValue!=titoloNext.firstChild.nodeValue)||(descrizioneCurrent.innerHTML!=descrizioneNext.innerHTML)){hide=false}else{hide=true}if(hide){currentFooterId="footer"+a+i;document.getElementById(currentFooterId).style.display="none";nextHeaderId="header"+a+(i+1);document.getElementById(nextHeaderId).style.display="none"}i++;currentDivId="header"+a+i;currentDiv=document.getElementById(currentDivId);nextDivId="header"+a+(i+1);nextDiv=document.getElementById(nextDivId)}formattaMesi(a)}function istGruppo_function_onchange_assemblee_right(a){linklist=document.getElementById("navpag_assembleebanche").getElementsByTagName("a");elemlinkSucc=linklist.item(0).href;document.getElementById("idDivMainAjax").innerHTML=document.getElementById("idDivCaricamento").innerHTML;bperAjaxRequestComplete(elemlinkSucc,"navpag_assembleebanche",function(){istGruppoCoverFlowAssemblee.setEnable(true)});bperAjaxRequestComplete(elemlinkSucc,"idDivMainAjax",function(){var b=document.getElementById("idTabellaAnni");if(b!=null){linksTargetTD=b.getElementsByTagName("td");lastIndex=linksTargetTD.length;if(lastIndex>0){ultimoAnno=linksTargetTD.item(lastIndex-1).firstChild.nodeValue.replace(/\n/,"").replace(/\n/,"").replace(" ","");visualizzaDettaglioAnno(ultimoAnno)}}})}function istGruppo_function_onchange_assemblee_left(a){linklist=document.getElementById("navpag_assembleebanche").getElementsByTagName("a");elemlinkSucc=linklist.item(linklist.length-1).href;document.getElementById("idDivMainAjax").innerHTML=document.getElementById("idDivCaricamento").innerHTML;bperAjaxRequestComplete(elemlinkSucc,"navpag_assembleebanche",function(){istGruppoCoverFlowAssemblee.setEnable(true)});bperAjaxRequestComplete(elemlinkSucc,"idDivMainAjax",function(){var b=document.getElementById("idTabellaAnni");if(b!=null){linksTargetTD=b.getElementsByTagName("td");lastIndex=linksTargetTD.length;if(lastIndex>0){ultimoAnno=linksTargetTD.item(lastIndex-1).firstChild.nodeValue.replace(/\n/,"").replace(/\n/,"").replace(" ","");visualizzaDettaglioAnno(ultimoAnno)}}})}function selezionaUltimoAnno(){tabellaAnni=document.getElementById("idTabellaAnni");if(tabellaAnni!=null){linksTargetTD=tabellaAnni.getElementsByTagName("td");lastIndex=linksTargetTD.length;if(lastIndex>0){ultimoAnno=linksTargetTD.item(lastIndex-1).firstChild.nodeValue.replace(/\n/,"").replace(/\n/,"").replace(" ","");visualizzaDettaglioAnno(ultimoAnno)}}}function formattaMesi(a){i=1;idMeseCorrente="mese"+a+i;meseCorrente=document.getElementById(idMeseCorrente);while(meseCorrente!=null){meseCorrente.firstChild.nodeValue=meseCorrente.firstChild.nodeValue.toUpperCase();i++;idMeseCorrente="mese"+a+i;meseCorrente=document.getElementById(idMeseCorrente)}}function verificaRef_2(a){contenuto=a.innerHTML;contenuto2=contenuto.replace(/\n/,"").replace(/\n/,"").replace(/^\s+|\s+$/g,"");if(""==contenuto2){document.getElementById("idBarraDown_2").style.display="none";document.getElementById("idBarraUp_2").style.display="none"}}function verificaRef(a){contenuto=a.innerHTML;contenuto2=contenuto.replace(/\n/,"").replace(/\n/,"").replace(/^\s+|\s+$/g,"");if(""==contenuto2){document.getElementById("idBarraDown").style.visibility="hidden";document.getElementById("idBarraUp").style.visibility="hidden"}}function displaycolonne(){if(ref1==""){dojo.byId("colonnasinistra").style.display="none";contRef--}if(ref2==""){dojo.byId("colonnacentro").style.display="none";dojo.byId("barrasinistra").style.display="none";dojo.byId("barradestra").style.display="none";contRef--}if(ref3==""){dojo.byId("colonnadestra").style.display="none";dojo.byId("barradestra").style.display="none";contRef--}if(ref1!=""){if(contRef==1){dojo.byId("colonnasinistra").style.width="100%";dojo.byId("colonnasinistra").style.paddingLeft="20px"}else{if(contRef==2){dojo.byId("colonnasinistra").style.width="50%";dojo.byId("colonnasinistra").style.paddingRight="30px";dojo.byId("colonnasinistra").style.paddingLeft="30px";dojo.byId("colonnacentro").style.paddingRight="30px";dojo.byId("colonnacentro").style.paddingLeft="30px"}else{if(contRef==3){dojo.byId("colonnasinistra").style.width="33%";dojo.byId("colonnasinistra").style.paddingRight="10px";dojo.byId("colonnasinistra").style.paddingLeft="10px";dojo.byId("colonnacentro").style.paddingRight="10px";dojo.byId("colonnacentro").style.paddingLeft="10px";dojo.byId("colonnadestra").style.paddingRight="0px";dojo.byId("colonnadestra").style.paddingLeft="10px"}}}}if(ref2!=""){if(contRef==1){dojo.byId("colonnacentro").style.width="100%";dojo.byId("colonnasinistra").style.paddingLeft="20px"}else{if(contRef==2){dojo.byId("colonnacentro").style.width="50%";dojo.byId("colonnasinistra").style.paddingRight="30px";dojo.byId("colonnasinistra").style.paddingLeft="30px";dojo.byId("colonnacentro").style.paddingRight="30px";dojo.byId("colonnacentro").style.paddingLeft="30px"}else{if(contRef==3){dojo.byId("colonnacentro").style.width="33%";dojo.byId("colonnasinistra").style.paddingRight="10px";dojo.byId("colonnasinistra").style.paddingLeft="10px";dojo.byId("colonnacentro").style.paddingRight="10px";dojo.byId("colonnacentro").style.paddingLeft="10px";dojo.byId("colonnadestra").style.paddingRight="0px";dojo.byId("colonnadestra").style.paddingLeft="10px"}}}}if(ref3!=""){if(contRef==1){dojo.byId("colonnadestra").style.width="100%";dojo.byId("colonnasinistra").style.paddingLeft="20px"}else{if(contRef==2){dojo.byId("colonnadestra").style.width="50%";dojo.byId("colonnasinistra").style.paddingRight="30px";dojo.byId("colonnasinistra").style.paddingLeft="30px";dojo.byId("colonnacentro").style.paddingRight="30px";dojo.byId("colonnacentro").style.paddingLeft="30px"}else{if(contRef==3){dojo.byId("colonnadestra").style.width="33%";dojo.byId("colonnasinistra").style.paddingRight="10px";dojo.byId("colonnasinistra").style.paddingLeft="10px";dojo.byId("colonnacentro").style.paddingRight="10px";dojo.byId("colonnacentro").style.paddingLeft="10px";dojo.byId("colonnadestra").style.paddingRight="0px";dojo.byId("colonnadestra").style.paddingLeft="10px"}}}}}function istGruppo_function_onchange_bancaMenu(a){var b;var g;var f=a;var c="idDescCoverFlowConMenuContainer";var l="containerDescCoverFlowConMenu"+f;var m;var h;var e="idPersoneContainer";var n="elencoPersone"+f;try{b=dojo.byId(c);g=dojo.byId(l).innerHTML;b.innerHTML=g}catch(d){console.log("Errore nel coverflow con menu in : "+document.URL)}try{m=dojo.byId(e);h=dojo.byId(n).innerHTML;m.innerHTML=h}catch(d){console.log("Errore nel menu persone con menu in : "+document.URL)}}function istGruppo_functionOnFlowHome(a){var b=document.getElementById("contentSlider");b.innerHTML=""}function diplayDocumentiPress(){document.getElementById("idDivImg").style.display="none";document.getElementById("idDivAltro").style.display="block";tot=0;cont_clikkati=0;document.getElementById("input_invio_on_img").style.display="none";document.getElementById("input_invio_off_img").style.display="inline";document.getElementById("cont_totale_img").innerHTML="<TABLE><TR><TD>0</TD><TD>&nbsp;MB</TD><TR><TD>0</TD><TD>&nbsp;MB</TD></TR></TABLE>";clearAllCheckBox("idAllegatiImg")}function diplayPhotogalleryPress(){document.getElementById("idDivImg").style.display="block";document.getElementById("idDivAltro").style.display="none";tot=0;cont_clikkati=0;document.getElementById("cont_totale").innerHTML="<TABLE><TR><TD>0</TD><TD>&nbsp;MB</TD><TR><TD>0</TD><TD>&nbsp;MB</TD></TR></TABLE>";clearAllCheckBox("idAllegatiAltro")}function controllaFormatoAll(a){if(a.indexOf("image")!=-1){return true}else{return false}}function clearAllCheckBox(a){currentDiv=document.getElementById(a);inputlist=currentDiv.getElementsByTagName("input");for(i=0;i<inputlist.length;i++){inputlist.item(i).checked=false}}function clikkato(boxName,size){if(boxName.checked){tot=tot+eval(size);cont_clikkati++}else{tot=tot-eval(size);cont_clikkati--}if(cont_clikkati!=0){document.getElementById("input_invio_on").style.display="inline";document.getElementById("input_invio_off").style.display="none"}else{document.getElementById("input_invio_on").style.display="none";document.getElementById("input_invio_off").style.display="inline"}document.getElementById("cont_totale").innerHTML="<TABLE><TR><TD>"+(Math.round(tot*100)/100)+"</TD><TD>&nbsp;MB</TD><TR><TD>"+(Math.round(tot*0.7*100)/100)+"</TD><TD>&nbsp;MB</TD></TR></TABLE>"}function clikkatoImg(boxName,size){if(boxName.checked){tot=tot+eval(size);cont_clikkati++}else{tot=tot-eval(size);cont_clikkati--}if(cont_clikkati!=0){document.getElementById("input_invio_on_img").style.display="inline";document.getElementById("input_invio_off_img").style.display="none"}else{document.getElementById("input_invio_on_img").style.display="none";document.getElementById("input_invio_off_img").style.display="inline"}document.getElementById("cont_totale_img").innerHTML="<TABLE><TR><TD>"+(Math.round(tot*100)/100)+"</TD><TD>&nbsp;MB</TD><TR><TD>"+(Math.round(tot*0.7*100)/100)+"</TD><TD>&nbsp;MB</TD></TR></TABLE>"}function getElementsByClass(e,d,b){if(d==null){d=document}if(b==null){b="*"}var c=new Array();var a=d.getElementsByTagName(b);var g=" "+e+" ";for(i=0,j=0;i<a.length;i++){var f=" "+a[i].className+" ";if(f.indexOf(g)!=-1){c[j++]=a[i]}}return c}function ShowContent(e){var d="";switch(e.id.toLowerCase()){case"gen":case"jan":d="1";break;case"feb":d="2";break;case"mar":d="3";break;case"apr":d="4";break;case"mag":case"may":d="5";break;case"giu":case"jun":d="6";break;case"lug":case"jul":d="7";break;case"ago":case"aug":d="8";break;case"set":case"sep":d="9";break;case"ott":case"oct":d="10";break;case"nov":d="11";break;case"dic":case"dec":d="12";break;default:d=e.id.charAt(0)+e.id.substr(1,e.id.length-1).toLowerCase()+"1";break}var a=getElementsByClass("istGruppo-archivio-articoli-container");for(var b=0;b<a.length;++b){a[b].style.display="none"}document.getElementById(d).style.display="block";var c=getElementsByClass("istGruppo-active_menu_selector_selected");if(c.length>0){for(var b=0;b<c.length;++b){c[b].className="istGruppo-casella-archiviomese"}}e.className="istGruppo-active_menu_selector_selected"}function activateTrimIE(){if(!("trim" in String.prototype)){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}}function ShowGreenOn(a){activateTrimIE();if(a.className.trim()!="istGruppo-active_menu_selector_selected"){a.className="istGruppo-active_menu_selector"}}function ShowGreenOff(a){activateTrimIE();if(a.className.trim()!="istGruppo-active_menu_selector_selected"){a.className="istGruppo-casella-archiviomese"}}function mesi_in_base_alla_lingua(d,e){var g=document.getElementById(d).getElementsByTagName("div");var c=0;for(;c<g.length;++c){if(g[c].id=="istGruppo-headerDropFlag"){break}}var b;if(g[c].getElementsByTagName("div")[0].id=="istGruppo-headerIta"){b=true}else{b=false}activateTrimIE();var f=getElementsByClass(e);for(var c=0;c<f.length;++c){var a=f[c].innerHTML.trim();if(a=="01"||a==1){a=b?"GEN":"JAN"}if(a=="02"||a==2){a=b?"FEB":"FEB"}if(a=="03"||a==3){a=b?"MAR":"MAR"}if(a=="04"||a==4){a=b?"APR":"APR"}if(a=="05"||a==5){a=b?"MAG":"MAY"}if(a=="06"||a==6){a=b?"GIU":"JUN"}if(a=="07"||a==7){a=b?"LUG":"JUL"}if(a=="08"||a==8){a=b?"AGO":"AUG"}if(a=="09"||a==9){a=b?"SET":"SEP"}if(a=="10"){a=b?"OTT":"OCT"}if(a=="11"){a=b?"NOV":"NOV"}if(a=="12"){a=b?"DIC":"DEC"}f[c].innerHTML=a}}function lingua(c){var d=document.getElementById(c).getElementsByTagName("div");var b=0;for(;b<d.length;++b){if(d[b].id=="istGruppo-headerDropFlag"){break}}var a;if(d[b].getElementsByTagName("div")[0].id=="istGruppo-headerIta"){a=true}else{a=false}return a}function displaySdsForBank(){idSdstoShow="sds_"+common_myPortalName;document.getElementById(idSdstoShow).style.display="block"}function meseStrToInt(a,b){if(a=="01"||a==1){a=b?"GEN":"JAN"}if(a=="02"||a==2){a=b?"FEB":"FEB"}if(a=="03"||a==3){a=b?"MAR":"MAR"}if(a=="04"||a==4){a=b?"APR":"APR"}if(a=="05"||a==5){a=b?"MAG":"MAY"}if(a=="06"||a==6){a=b?"GIU":"JUN"}if(a=="07"||a==7){a=b?"LUG":"JUL"}if(a=="08"||a==8){a=b?"AGO":"AUG"}if(a=="09"||a==9){a=b?"SET":"SEP"}if(a=="10"){a=b?"OTT":"OCT"}if(a=="11"){a=b?"NOV":"NOV"}if(a=="12"){a=b?"DIC":"DEC"}return a.charAt(0)+a.substr(1,a.length-1).toLowerCase()}function MZ_openInlineEditingDialog(c,b){if(!c){return}var a="";if(window.bperBancaVirtualPortalName==null){a=bperGrupVirtualPortalName}else{a=bperBancaVirtualPortalName}this.windowRemovalUrl=window.location.href;this.windowIdStore=new LRPAuthoring.WindowIdStore();this.unloadEventHandler=new LRPAuthoring.UnloadEventHandler(this.windowIdStore,this.windowRemovalUrl);this.loadEventHandler=new LRPAuthoring.LoadEventHandler(this.windowIdStore,this.unloadEventHandler);this.finishEventHandler=new LRPAuthoring.FinishEventHandler("MZ_PageReloadForm");LRPAuthoring.openDialog(c,this.finishEventHandler,b,this.loadEventHandler,this.unloadEventHandler)}function apriNuovearee(a){MZ_openInlineEditingDialog(a);$(".dijitDialogCloseIcon").click(function(){});$(".dijitDialogCloseIcon").click(function(){var b="";if(window.bperBancaVirtualPortalName==null){b=bperGrupVirtualPortalName}else{b=bperBancaVirtualPortalName}window.location.href=window.location.href})}function replaceSpecialChars(a){if(a.indexOf("&rsquo;")!=-1){a=a.replace("&rsquo;","'")}if(a.indexOf("&amp;")!=-1){a=a.replace("&amp;","&")}return a};
