function afficheVignette(cheminVignette,cheminMaxi)
	{
	document.write('<A HREF="javascript:afficheMaxi(\''+cheminMaxi+'\')"><IMG style="cursor:url(img/bt/stylet/Espace Ecriture.cur);" SRC="'+cheminVignette+'" HSPACE=0 VSPACE=0 BORDER=0 ALT="cliquez ici pour voir en grand"></A>');
	}

function afficheMaxi(chemin)
	{
	i1 = new Image;
	i1.src = chemin;
	html = '<HTML><HEAD><TITLE>Image</TITLE></HEAD><BODY bgcolor="#FED89E"; LEFTMARGIN=10 MARGINWIDTH=0 TOPMARGIN=10 MARGINHEIGHT=0 tracingsrc="../../images/q_R.gif" tracingopacity="100"><CENTER><IMG SRC="'+chemin+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+60,document.imageTest.height+250)"><br><A HREF="javascript:window.close()"><strong>Fermer la fenetre</strong></font></A></CENTER></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0,left=100,top=200, width=100, height=100');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	};
	
function setVariables() {
imgwidth = 500;
imgheight = 40;

if (navigator.appName == "Netscape") {
horz=".left";
vert=".top";
docStyle="document.";
styleDoc="";
innerW="window.innerWidth";
innerH="window.innerHeight";
offsetX="window.pageXOffset";
offsetY="window.pageYOffset";
}
else {
horz=".pixelLeft";
vert=".pixelTop";
docStyle="";
styleDoc=".style";
innerW="document.body.clientWidth";
innerH="document.body.clientHeight";
offsetX="document.body.scrollLeft";
offsetY="document.body.scrollTop";
}
}
function checkLocation() {
var availableX=eval(innerW);
var availableY=eval(innerH);
var currentX=eval(offsetX);
var currentY=eval(offsetY);
x=availableX-(imgwidth+275)+currentX;
y=availableY-(imgheight+500)+currentY;
evalMove(); //lwf
setTimeout("checkLocation()",5);
}
function evalMove() {
eval(docStyle + objectXY1 + styleDoc + horz + "=" + x);
eval(docStyle + objectXY1 + styleDoc + vert + "=" + y);
eval(docStyle + objectXY2 + styleDoc + horz + "=" + x);
eval(docStyle + objectXY2 + styleDoc + vert + "=" + y);
eval(docStyle + objectXY3 + styleDoc + horz + "=" + x);
eval(docStyle + objectXY3 + styleDoc + vert + "=" + y);
eval(docStyle + objectXY4 + styleDoc + horz + "=" + x);
eval(docStyle + objectXY4 + styleDoc + vert + "=" + y);
}