limit_start = 0;
limit_max = 5;
function pagination_generique(action,current_page,keyword,order,langue,page_php)
	{
	if(isNaN(action))
		{
		if(action == 'previous')
			{ limit_start = limit_start - limit_max; }
			
		if(action == 'next')
			{ limit_start = limit_start + limit_max; }
		}
	else
		{ limit_start = action; }

   var xhr_object = null; 
	 
   if(window.XMLHttpRequest) // Firefox 
	  xhr_object = new XMLHttpRequest(); 
	else if(window.ActiveXObject) // Internet Explorer 
	  xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); 
   else { // XMLHttpRequest non supporté par le navigateur 
	  alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest..."); 
	  return; 
   } 
 
   xhr_object.open("POST", page_php, true); 
	 
   xhr_object.onreadystatechange = function() { 
	  if(xhr_object.readyState == 4) 
		 { document.getElementById('infos_pagination').innerHTML = xhr_object.responseText; 
		 if(action != 'first')
		 	 {  myscroll('news_title');  }
		 }
		 //alert(xhr_object.responseText); 
   } 
 
   xhr_object.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); 
   var data = "limit_start="+limit_start+"&limit_max="+limit_max+"&current_page="+current_page+"&keyword="+keyword+"&order="+order+"&langue="+langue+"&page_php="+page_php;
   xhr_object.send(data); 
	}