function Input(obj,how){
if(how==1){obj.style.background="#FFFFFF";obj.style.borderColor="#BF0033"}
else if(how==0){obj.style.background="#EFEFEF";obj.style.borderColor="#878787"}
}
function BgMenu1(who,how){
if(how==1){who.parentNode.style.background="#EFEFEF"}
else if (how==0){who.parentNode.style.background="#FFFFFF"}
}
var arrStoria=new Array("s_1948","s_primi_anni","s_60","s_70","s_1973","s_80","s_90","s_1992","s_2000_2002","s_2003","s_2004","s_2005")
function swapStoria(who){
for(i=0;i<arrStoria.length;i++){
if(who!=arrStoria[i]){document.getElementById(arrStoria[i]).style.display="none"}
else{document.getElementById(arrStoria[i]).style.display="block"}
}}
function Outline(td,IO){
var tr=td.parentNode;
if(tr.cells){
if (IO=="I"){
for (i=0;i<(tr.cells.length);i++){
if(tr.cells[i].tagName!="TH"){
tr.cells[i].style.borderTop="1px solid #006280";
tr.cells[i].style.borderBottom="1px solid #006280";
tr.cells[i].style.backgroundColor="#EAF1F3";
}}}
else{
for (i=0;i<(tr.cells.length);i++){
if(tr.cells[i].tagName!="TH"){
tr.cells[i].style.borderTop="1px solid #D4D4D4";
tr.cells[i].style.borderBottom="1px solid #EFEFEF";
tr.cells[i].style.backgroundColor="#EFEFEF";
if(tr.cells[i].style){
(tr.className=="p") ? tr.cells[i].style.borderBottom="1px solid #F7F7F7" : tr.cells[i].style.borderBottom="1px solid #EFEFEF";
}
if(tr.cells[i].style){
(tr.className=="p") ? tr.cells[i].style.backgroundColor="#F7F7F7" : tr.cells[i].style.backgroundColor="#EFEFEF";
}else{
tr.cells[i].style.backgroundColor="#EFEFEF"
}}}}}}
function changeImgEvento(what,who,how,img){
var qualePaginazione='document.getElementById(\''+img+'\')';
for (j=0;j<eval(qualePaginazione).childNodes.length;j++){eval(qualePaginazione).childNodes[j].style.color="#606060";}
var qualeTesto='document.getElementById(\''+who+'\')';
eval(qualeTesto).style.color="#BF0033";
changeImg(what,who,how,img);
}
function changeImg(what,who,how,img){
var qualeLivello='document.getElementById(\'liv'+who+'\')';
var qualeImmagine='document.getElementById(\''+what+'\')';
if(eval(qualeLivello)){
for (i=0;i<(livelliScarica.length);i++){
var qualeLivelloNascondere='document.getElementById(\'liv'+livelliScarica[i]+'\')';
eval(qualeLivelloNascondere).style.display='none';
eval(qualeLivelloNascondere).style.visibility='hidden';
}
eval(qualeLivello).style.display='block';
eval(qualeLivello).style.visibility='visible';
}
eval(qualeImmagine).src=how;
}
function stampaPagina(qualePagina){
window.open(qualePagina,'print','width=610,height=800,location=0,menubar=0,personalbar=0,resizable=0,toolbar=0,status=0,scrollbars=yes');void(0);
}
function openPhoto(file,position){openPhotoFinal(file,position,dominio)}
function openPhotoFinal(file,position,dominio){
var url='/Holding/applications/photogallery/popupPhoto.jsp?file='+file+'&posizione='+position+'&dominio='+dominio;
window.open(url,'PHOTOGALLERY','width=563,height=438,location=0,menubar=0,personalbar=0,resizable=yes,toolbar=0,status=0,scrollbars=no');void(0);
}
function openPopupCV(url){
openPopupCVFinal(url,dominio)
}
function openPopupCVFinal(url,dominio){
var newUrl='/Holding/pages/popupCV.jsp?path='+url+'&dominio='+dominio;
window.open(newUrl,'curriculum','width=604,height=391,location=0,menubar=0,personalbar=0,resizable=0,toolbar=0,status=0,scrollbars=yes');void(0);
}
function openPopupPage(url){window.open(url,'Popup','width=800,height=450,location=0,menubar=0,personalbar=0,resizable=1,toolbar=0,status=0,scrollbars=yes');void(0);}
function apriChiudi(div){
visibilita=document.getElementById(div).style.visibility;
if(visibilita=="hidden"){visibilita="visible"}
else if(visibilita=="visible"){visibilita="hidden"}
var z=(visibilita=="hidden") ? false : true;
var color=(z)?"#F9F9F9":"#FFFFFF";
var vis=(z)?"visible":"hidden";
var disp=(z)?"":"none";
var img=(z)?"/Static/images/freccia_mappa_chiudi.gif":"/Static/images/freccia_mappa_apri.gif";
var img2=(z)?"/Static/images/freccia_mappa.gif":"/Static/images/freccia_mappa_apribile.gif";
document.getElementById('freccia_'+div).src=img;
document.getElementById('freccia2_'+div).src=img2;
document.getElementById('td_'+div).style.background=color;
document.getElementById('td2_'+div).style.background=color;
lay=eval(document.getElementById(div).style);
lay.visibility=vis;
lay.display=disp;
}
function goWorld(obj){if(obj.selectedIndex!=0)window.open(obj.value)}
function wwlOpen(lang){window.open('/Holding/pages/popup_wwl.jsp?lang='+lang,'wwl','toolbar=no,scrollbars=no,width=690,height=446');void(0);}
function writeWWL(lang){
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="690" height="446" align="middle"><param name="allowScriptAccess" value="sameDomain"><param name="flashVars" value="xml_url=/Static/wwl/ww_locator_'+lang+'.xml"><param name="movie" value="/Static/wwl/ww_locator.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff"><embed src="/Static/wwl/ww_locator.swf" quality="high" bgcolor="#ffffff" width="690" height="446" align="middle" flashVars="xml_url=/Static/wwl/ww_locator_'+lang+'.xml" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>')
}
function writeStoria(uri){
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="556" height="240" id="storia" align="middle"><param name="allowScriptAccess" value="sameDomain"><param name="movie" value="'+uri+'"><param name="quality" value="high"><param name="bgcolor" value="#ffffff"><embed src="'+uri+'" quality="high" bgcolor="#ffffff" width="556" height="240" name="storia" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>')
}
function flash(uri,w,h){
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+w+'" height="'+h+'"><param name="allowScriptAccess" value="sameDomain"><param name="movie" value="'+uri+'"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
document.write('<embed src="'+uri+'" quality="high" bgcolor="#ffffff" width="'+w+'" height="'+h+'" name="fla" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object>');
}
function writeHPHeader(lang){
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="749" height="165" id="header"><param name="allowScriptAccess" value="sameDomain"><param name="movie" value="/Static/emb/hol_hpHeader_'+lang+'.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="/Static/emb/hol_hpHeader_'+lang+'.swf" quality="high" bgcolor="#ffffff" width="749" height="165" name="header" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>')
}
function Toggle(who){with(document.getElementById(who)){style.display=(style.display!='block')?"block":"none"}}