// ----------------------------------------------------------------------
// Author: Stefano Maero
// ----------------------------------------------------------------------

function tipoClasse(idElemento,      // id of first element to display message in
                    classeElemento,  // class to give to first element ("over" or "normale")
                    idElementoD,     // id of second element to display message in
                    classeElementoD) // class to give to second element ("boxover" or "boxnormale")
{
  var elem = document.getElementById(idElemento);
  elem.className = classeElemento;   // set the CSS class
  var elemD = document.getElementById(idElementoD);
  elemD.className = classeElementoD; // set the CSS class
}
