/* auteur: CCI */
/* Date de création: 2003-02-02 */
var fenetreNote;

function AfficheNote(titre, message, couleurFond, fond, couleurTexte, typePolice, tailleCaracteres) {
  fenetreNote = window.open('','Note','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,' + 'width=400' + ',height=230');
  texte = '<' + 'HTML' + '><' + 'HEAD' + '><' + 'TITLE' + '>' + titre + '</' + 'TITLE' + '><' + '/HEAD' + '><' + 'BODY BACKGROUND=' + '"' + fond + '"' + ' BGCOLOR=' + '"' + couleurFond + '">';
  texte += '<DIV STYLE="text-align:justify;">'
  texte +='<FONT FACE="' + typePolice +'"';
  texte += ' SIZE=' + tailleCaracteres; 
  texte += ' COLOR=' + '"' + couleurTexte +'">';
  texte += message + '</CENTER></FONT></DIV>';
  texte += '</' + 'BODY' + '><' + '/HTML' + '>';
  fenetreNote.document.write(texte);
  fenetreNote.focus();
  fenetreNote.document.close();
  return false;
}

function AfficheImage(titre, image, couleurFond, fond, largeur, hauteur, couleurTexte) {
  fenetreNote = window.open('','Note','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,' + 'width=' + largeur + ',height=' + hauteur);
  texte = '<' + 'HTML' + '><' + 'HEAD' + '><' + 'TITLE' + '>' + titre + '</' + 'TITLE' + '><' + '/HEAD' + '><' + 'BODY BACKGROUND=' + '"' + fond + '"' + ' BGCOLOR=' + '"' + couleurFond + '">';
  texte +='<CENTER><FONT face="Comic Sans MS" size="6" color="' + couleurTexte + '"><b>';
  texte += titre + '</B></FONT>';
  texte += '<IMG SRC="' + image + '" border=0></CENTER>';
  texte += '</BODY></HTML>';
  fenetreNote.document.write(texte);
  fenetreNote.focus();
  fenetreNote.document.close();
  return false;
}