imgpath='../images/';
imgext='.jpg';
imgonext='_on'+imgext;
if (document.images) {
	SaveImg = new Image()
	charcuterie = new Image()
	fromage = new Image()
	vin = new Image()
	sucre = new Image()
	spiritueu = new Image()
	autre = new Image()

	charcuterie.src=imgpath+'carre_1'+imgonext;
	fromage.src=imgpath+'carre_2'+imgonext;
	vin.src=imgpath+'carre_3'+imgonext;
	sucre.src=imgpath+'carre_4'+imgonext;
	spiritueu.src=imgpath+'carre_5'+imgonext;
	autre.src=imgpath+'carre_6'+imgonext;
};

         function imageon(nom) {
    if (document.images) {
	if (typeof(nom) == 'string') {
		docimg=eval('document.'+nom);
		docimg.src=imgpath+nom+imgonext;
		self.status='';
};
};
};
	function imageof(nom) {
   if (document.images) {
        if (typeof(nom) == 'string') {
		docimg=eval('document.'+nom);
		docimg.src=imgpath+nom+imgext;
		self.status='';
  };
  };
};

         function imageon2(nom2) {
    if (document.images) {
	if (typeof(nom2) == 'string') {
		docimg=eval('document.'+nom2+'_2');
		docimg.src=imgpath+nom2+imgonext;
		self.status='';
};
};
};
	function imageof2(nom2) {
   if (document.images) {
        if (typeof(nom2) == 'string') {
		docimg=eval('document.'+nom2+'_2');
		docimg.src=imgpath+nom2+imgext;
		self.status='';
  };
  };
};


