//Fonction permettant de supprimer un DIV en AJAXfunction removeEvent(divNum) {  var d = document.getElementById('main');  var olddiv = document.getElementById(divNum);  d.removeChild(olddiv);}//Fonction permettant de rechercher du texte dans une pagefunction findInPage(str) {  var TRange=null  if (parseInt(navigator.appVersion)<4) return;  var strFound;  //NETSCAPE - Code sp\u00E9cifique  if (navigator.appName=="Netscape") {    strFound=self.find(str);    if (!strFound) {      strFound=self.find(str,0,1)      while (self.find(str,0,1)) continue    }  }  //IE - Code sp\u00E9cifique  if (navigator.appName.indexOf("Microsoft")!=-1) {    if (TRange!=null) {    TRange.collapse(false)    strFound=TRange.findText(str)    if (strFound) TRange.select()    }    if (TRange==null || strFound==0) {      TRange=self.document.body.createTextRange()      strFound=TRange.findText(str)      if (strFound) TRange.select()    }  }  if (!strFound) alert ("String '"+str+"' not found!")}//Permet d'imprimer la pagefunction PrintMe(){	focus(); 	print();}//Permet de charger une page AJAX dans le div du centrefunction envoieRequete(url){	var xhr_object = null;	if(window.XMLHttpRequest)  xhr_object = new XMLHttpRequest();	  else	if (window.ActiveXObject)  xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 	//On ouvre la requete vers la page d\u00E9sir\u00E9e	xhr_object.open("GET", url, true);	xhr_object.onreadystatechange = function(){	if ( xhr_object.readyState == 4 )	{		var divRight = document.getElementById('right-column');       	if( divRight !=null)                	removeEvent('right-column')       	var divCenter = document.getElementById('center-column');  	  	if( divCenter !=null)                	divCenter.setAttribute('id','center-right-column');       	else          	divCenter = document.getElementById('center-right-column');		//J'affiche dans la DIV sp\u00E9cifi\u00E9es le contenu retourn\u00E9 par le fichier		divCenter.innerHTML = xhr_object.responseText;	}	}	// dans le cas du get	xhr_object.send(null);}