//******************Pop Up images
function ouvrirFenetre(nomImage, titre, imprimer){
fenetre=window.open('popup/popup.asp?nom=' + escape(nomImage) + '&titre=' + escape(titre) + '&print=' + imprimer,'_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes, left=10,top=0,width=300,height=300');
fenetre.focus();
}

//******************Pop Up fenetre
function ouvrirFenetreTexte(urlPage, target, settings){
fenetre=window.open(urlPage,target,settings);
fenetre.focus();
}

//******************Rollover
function switchImg(nomImage, sourceImage)
{
	document.images[nomImage].src = sourceImage
}

//******************IMPRIMER
<!--
var da = (document.all) ? 1 : 0;
var pr = (window.print) ? 1 : 0;
var mac = (navigator.userAgent.indexOf("Mac") != -1);

function printPage()
{
  alert("For better results, please use the Landscape format")
  if (pr) // NS4, IE5
    window.print()
  else if (da && !mac) // IE4 (Windows)
    vbPrintPage()
  else // other browsers
    alert("Sorry, your browser doesn't support this feature.");
  //return false;
}

if (da && !pr && !mac) with (document)
{
  writeln('<OBJECT ID="WB" WIDTH="0" HEIGHT="0" CLASSID="clsid:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>');
  writeln('<' + 'SCRIPT LANGUAGE="VBScript">');
  writeln('Sub window_onunload');
  writeln('  On Error Resume Next');
  writeln('  Set WB = nothing');
  writeln('End Sub');
  writeln('Sub vbPrintPage');
  writeln('  OLECMDID_PRINT = 6');
  writeln('  OLECMDEXECOPT_DONTPROMPTUSER = 2');
  writeln('  OLECMDEXECOPT_PROMPTUSER = 1');
  writeln('  On Error Resume Next');
  writeln('  WB.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER');
  writeln('End Sub');
  writeln('<' + '/SCRIPT>');
}
// -->