/*
fr : Script permettant l'utilisation d'une classe css sur plusieurs element (div, p, a, table ...)
en : JavaScript Script to aply one css class on multiple elements (div, p, a, table ...)

Copyright (C) 2009  Romain Fluttaz - botux.fr

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

/*** Nettoyage ***/ 

function Clear(myId) 
{  
	document.getElementById(myId).className='clear'; 
}  

/*** Listes des Couleurs ***/

function Jaune(myId) 
{ 
	document.getElementById(myId).className='jaune';            
}  
function Vert(myId) 
{ 
	document.getElementById(myId).className='vert';            
}  
function Bleu(myId) 
{ 
	document.getElementById(myId).className='bleu';            
}  

/**************************************************/
/*	Attention Lors de l'ajout de couleur	  */
/*	penser a rajouter la class dans le 	  */
/*		    style.css			  */
/**************************************************/
/* Ajouter les couleurs sous la forme suivante

function NOM_COULEUR(myId) 
{ 
	document.getElementById(myId).className='NOM_COULEUR';            
}  

*/
/* Ajouter la ensuite dans votre style.css

.NOM_COULEUR { 
	color: #XXXXXX; 
} 

*/
/* Voir l'index.html pour exemple d'utilisation. */

