/*------------- Modifie la taille du texte du Body -------------*/

var taille=11;
var num;

function change(t,p){

	if(taille>8){

		if(p=="moins"){

			taille--

		 }

	};

	if(taille<50){

		if(p=="plus"){

			taille++

		 }

	};

	

	t.style.fontSize=taille+"px";

	num=t.firstChild.data.replace(/\d+px/,t.style.fontSize);
	t.firstChild.data=num;

}


<!----- OUvre la fenetre de navigateur - ma selection ---------------------*/
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
/*--------------- New window - adhesion -------------*/
var win= null;
function NewWindow(mypage,myname,w,h,scroll)
{
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=yes';
  win=window.open(mypage,myname,settings);
  if(parseInt(navigator.appVersion) >= 4){win.focus();}
}
//-->

/*--------------- Infos bulles - Page d'accueil -------------*/
function GetId(id)
				{
				return document.getElementById(id);
				}
				var i=false; // La variable i nous dit si la bulle est visible ou non

function move(e) {
				  if(i) {  // Si la bulle est visible, on calcul en temps reel sa position ideale
				    if (navigator.appName!="Microsoft Internet Explorer") { // Si on est pas sous IE
				    GetId("curseur").style.left=e.pageX - 100+"px";
				    GetId("curseur").style.top=e.pageY - 80+"px";
				    }
					else { // sinon modifit
									    if(document.documentElement.clientWidth>0) {
				        GetId("curseur").style.left=20+event.x+document.documentElement.scrollLeft+"px";
				        GetId("curseur").style.top=10+event.y+document.documentElement.scrollTop+"px";
				    }
				    else {
				        GetId("curseur").style.left=20+event.x+document.body.scrollLeft+"px";
				        GetId("curseur").style.top=10+event.y+document.body.scrollTop+"px";
				    }
				    }
				  }
				}

function montre(text) {
				  if(i==false) {
				  GetId("curseur").style.visibility="visible"; // Si text cache on le rend visible.
				  GetId("curseur").innerHTML = text; //fonction pas tres valide mais fonctionne !
				  i=true;
				  }
				}
function cache() {
				if(i==true) {
				GetId("curseur").style.visibility="hidden"; // Si la bulle etais visible on la cache
				i=false;
				}
				}
document.onmousemove=move; // des que la souris bouge, on appelle la fonction move pour mettre a jour la position de la bulle.
				//-->
				