function Couleur (id)
{

	/* ---
	- rien, on clic -> on surligne
	- case deja surlignée, clic sur autre -> on enleve la 1ere, met la 2e
	- case déjà surlignée, clic sur même -> on enleve la 1ere */

	// ici on configure la couleur au clic:
	this.couleur = '#eee';

	this.id=id;

	if (typeof this.highlighted=='undefined' || this.highlighted=='')
	{
		document.getElementById(this.id).style.background = this.couleur;
		this.highlighted=this.id;
	}
	else
	{
		if (this.id!=this.highlighted)
		{
			document.getElementById(this.id).style.background = this.couleur;
			document.getElementById(this.highlighted).style.background = 'transparent';
			this.highlighted = this.id;
		}
		else
		{
			document.getElementById(this.id).style.background = 'transparent';
			this.highlighted = '';
		}
	}
}

function displayId(baliseId)
{
	if (document.getElementById && document.getElementById(baliseId) != null)
	{
		document.getElementById(baliseId).style.visibility='visible';
		document.getElementById(baliseId).style.display='block';
	}
}

function hideId(baliseId)
{
	if (document.getElementById && document.getElementById(baliseId) != null)
	{
		document.getElementById(baliseId).style.visibility='hidden';
		document.getElementById(baliseId).style.display='none';
	}
}

function GetMonthYear()
{
	var d=new Date();
											
	var month=new Array(12);
	month[0]="January";
	month[1]="February";
	month[2]="March";
	month[3]="April";
	month[4]="May";
	month[5]="June";
	month[6]="July";
	month[7]="August";
	month[8]="September";
	month[9]="October";
	month[10]="November";
	month[11]="December";
											
	return (month[d.getMonth()] + "-" + d.getFullYear());
}
