function getTime()
{       
	var now = new Date();

	var day = now.getDay();
	var date = now.getDate();
	var month = now.getMonth() +1;
	var year = now.getYear();
	var minutes = now.getMinutes();
	var divider = "h";
	var jour = "";
	var mois = "";
	
dt=new Date();
DefGMToffset = (dt.getTimezoneOffset()/60);
	
Hgmt = dt.getHours() + DefGMToffset;

Paris=(Hgmt)+2;
if (Paris<0)
{
Paris=(24+Paris);
}



	if (year < 1900)
		year = year + 1900;

	if (minutes<10)
		divider = "h0";

	if (day == 0)
		jour = "Dimanche";
	if (day == 1)
		jour = "Lundi";
	if (day == 2)
		jour = "Mardi";
	if (day == 3)
		jour = "Mercredi";
	if (day == 4)
		jour = "Jeudi";
	if (day == 5)
		jour = "Vendredi";
	if (day == 6)
		jour = "Samedi";

	if (month == 1)
		mois = "janvier";
	if (month == 2)
		mois = "f&eacute;vrier";
	if (month == 3)
		mois = "mars";
	if (month == 4)
		mois = "avril";
	if (month == 5)
		mois = "mai";
	if (month == 6)
		mois = "juin";
	if (month == 7)
		mois = "juillet";
	if (month == 8)
		mois = "ao&ucirc;t";
	if (month == 9)
		mois = "septembre";
	if (month == 10)
		mois = "octobre";
	if (month == 11)
		mois = "novembre";
	if (month == 12)
		mois = "d&eacute;cembre";



	return( jour + ", " + date + " " + mois   + " " + year );
}



function fSetHomePage() {
if ((navigator.appName.indexOf('Netscape')!=-1) || (navigator.userAgent.indexOf("Gecko")!=-1))
window.location.href='/SetHomepageNS.htm';
else {
homepage.style.behavior='url(#default#homepage)';
homepage.setHomePage('http://www.lebienpublic.com/');
}
}






function palette(page,larg,haut)
{
	nw=open('','art','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width='+larg+',height='+haut+',left=380,top=30')
	nw=open(page,'art','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width='+larg+',height='+haut+',left=380,top=30')
	nw.focus()

}


function visibilite(thingId)
	{
		var targetElement;
		targetElement = document.getElementById(thingId) ;
		if (targetElement.style.display == "none")
		{
			targetElement.style.display = "" ;
		} else {
			targetElement.style.display = "none" ;
		}
	}
	function openall(thingId)
	{
		targetElement = document.getElementById(thingId) ;
		targetElement.style.display = "" ;
	}
	function closeall(thingId)
	{
		targetElement = document.getElementById(thingId) ;
		targetElement.style.display = "none" ;
	}


function showPic (whichpic) {
 if (document.getElementById) {
  document.getElementById('placeholder').src = whichpic.href;
  if (whichpic.title) {
   document.getElementById('desc').childNodes[0].nodeValue = whichpic.title;
  } else {
   document.getElementById('desc').childNodes[0].nodeValue = " ";//whichpic.childNodes[0].nodeValue;
  }
  return false;
 } else {
  return true;
 }
}