var windowNote;

function showNote(title, message, larghezza, altezza) {
  windowNote = window.open('','Note','width=' + larghezza + ',height=' + altezza + ',toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,');
  text = '<' + 'HTML' + '><' + 'HEAD' + '><' + 'TITLE' + '>' + title + '</' + 'TITLE' + '><' + '/HEAD' + '><' + 'BODY LEFTMARGIN=' + '"' + '0' + '"' + ' TOPMARGIN=' + '"' + '0' + '"' + ' MARGINWIDTH=' + '"' + '0' + '"' + ' MARGINHEIGHT=' + '"' + '0' + '">' ;
  text += '<CENTER>';
  text += '<img src=' + '"';
  text += message + '" width=700>' 
  text += '</CENTER>';
  text += '</' + 'BODY' + '><' + '/HTML' + '>';
  windowNote.document.write(text);
  windowNote.focus();
  windowNote.document.close();
  return false;
}
