
// window.onload=function(){
//   if(document.getElementById){
//     setOpacity("imma", 50);
//   }
// }



//settaggio brutale dell'opacita'
function setOpacity(objId,opacity){

  // non eseguire se non esiste document.getElementById
  // ...rivedere sintassi javascript
  if(!document.getElementById) return;
  
  // assegna a obj ...rivedere sintassi javascript
  obj = document.getElementById(objId);
  
  // questo e' un costrutto sintattico che opera una scelta....
  // vedere sintassi javascript
  opacity=(opacity==100) ? 99.999 : opacity;
  
  obj.style.filter = "alpha(opacity:"+opacity+")";  // IE/Win
  
  obj.style.KHTMLOpacity = opacity/100; // Safari<1.2, Konqueror
  
  obj.style.MozOpacity = opacity/100;   // Older Mozilla and Firefox
  
  obj.style.opacity = opacity/100;      // Safari 1.2, newer Firefox and Mozilla, CSS3
}


// funzione di servizio per il pop-up	  
function EXCpopUp(arg1) {
  
  popUpWindow = window.open(arg1, '_blank', "height=560, width=750, scrollbars, resizable");
  popUpWindow.focus();
};



