function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function description(cible) {
	obj = MM_findObj("description"+cible);
	obj2 = MM_findObj("switch"+cible);
	if (obj.style.display=="block") 
	{
  		obj.style.display="none";
		obj2.src="navigation/voir.gif";
	}
	else
	{
		obj.style.display="block";
		obj2.src="navigation/cacher.gif";
	}
}

function view_image(img,width,height)
{
  var left = (screen.width/2) - width/2;
  var top = (screen.height/2) - height/2;
  var styleStr = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+',top='+top+',screenX='+left+',screenY='+top;
  var msgWindow = window.open("","img", styleStr);
  var head = '<head><title>Photo</title><link rel="shortcut icon" href="favicon.ico" type="image/x-icon"><link rel="icon" href="favicon.ico" type="image/x-icon"></head>';
  var body = '<body bgcolor="#000000" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0"><a href="javascript:window.close();"><img src="images/'+img+'.jpg" width="'+width+'" height="'+height+'" border="0"></a></body>';
  msgWindow.document.write(head + body);
}
