// planche framework, version 1.0
// par Joel Rodiere
// http://www.lavitrinedetrafik.com/

var PlancheGallery = Class.create();

PlancheGallery.prototype = {
	initialize: function(thisObj) {
		this.thisObj = thisObj;
		this.etat = 0;
	},
  depliPlanche: function(contenu1, contenu2) {
   if (this.etat == 0){
	   $(this.thisObj).innerHTML = contenu2;
	   this.etat = 1;
	 }
	 else{
	   $(this.thisObj).innerHTML = contenu1;
	   this.etat = 0;
	 }
	}
}
