///fonction qui permet l'affichage du pop up

var ownd;
 function affichetaille(chemin,largeur,hauteur)
  {
  ownd=open(chemin, '_new',
  'width='+largeur+',height='+hauteur+
  'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');
  }

 function affiche(chemin)
  {
  ownd=open(chemin, '_new',

'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=250,height=250');

  }
   function librairie(chemin)
  {
  ownd=open(chemin, '_new',

'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=440,height=600');

  }
     function jeux(chemin)
  {
  ownd=open(chemin, '_new',

'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=420,height=350');

  }
 function fermer()
  {
  ownd.close();
  }
function afficheVignette(cheminVignette,cheminMaxi)
	{
	document.write('<A HREF="javascript:afficheMaxi(\''+cheminMaxi+'\')"><IMG SRC="'+cheminVignette+'" HSPACE=0 VSPACE=0 BORDER=0 ALT="cliquez ici pour voir en grand"></A>');
	}
function fenetre(chemin) {
	w=window.open(chemin,"image",'toolbar=0,menubar=0,scrollbars=1,SCROLLING=NO,resizable=1,width=760,height=560,left=20,top=20');
}	
function afficheMaxi(chemin)
	{
	i1 = new Image;
	i1.src = chemin;
	html = '<HTML><HEAD><TITLE>Image</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER><IMG SRC="'+chemin+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+14,document.imageTest.height+32)"></CENTER></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	};
