function Actualite_Lecture ( ActualiteID )
{

  var ActualiteContainerText = GetElement ( 'Actualite_' + ActualiteID + "_Text" ) ;
  
  if ( trim ( ActualiteContainerText.innerHTML ) != "" )
  {
    // hidden or not
    var ActualiteContainer = GetElement ( 'Actualite_' + ActualiteID ) ;
    if ( ActualiteContainer.className == "Hidden" )
      ActualiteContainer.className = "" ;
    else
      ActualiteContainer.className = "Hidden" ;
  }
  else
  {
    // Get News With AJAX

    var Ajax = NewAJAX () ;

    if ( Ajax == null )
      alert ( "Vous devez posséder un navigateur plus récent pour utiliser cette fonctionnalité." ) ;
    else
    {
      Ajax.onreadystatechange =
        function ()
        {
          if ( Ajax.readyState == 4 )
          {
            if ( Ajax.responseXML != null )
            {
  //            alert("Méthode en cours d'écriture ... désolé !");
  //            alert ( 'DEBUG :\n' + Ajax.responseText ) ;
              var ActualiteContainer = GetElement ( 'Actualite_' + GetAjaxElement ( Ajax , "ID" ) ) ;

              if ( ActualiteContainer != false )
              {
                if ( ActualiteContainer.className == "" )
                  ActualiteContainer.className = "Hidden" ;
                else
                {
                  ActualiteContainer.className = "" ;
                  GetElement ( "Actualite_" + GetAjaxElement ( Ajax , "ID" ) + "_Text" ).innerHTML = GetAjaxElement ( Ajax , "Actualite" ) ;
                }
              }
              else
                JSError () ;

  //            document.location.href = "#ArticleCommentairePreview" ;
            }
            else
              JSError () ;
          }
        };
      Ajax.open ( "POST" , AJAX_ROOT_PATH + "actualite.get.bbcode.ajax.php" , true ) ;
      Ajax.setRequestHeader ( "Content-Type" , "application/x-www-form-urlencoded; charset=ISO-8859-1" ) ;


      Ajax.send ( "ID=" + escape ( ActualiteID ) ) ;
    }

  }
  
  return ;
}


// Go to good page ("/actualite/[RowsNumber]/[PageNumber].html")
function ActualiteSubmit ( oForm )
{
  document.location.href = HOME + "actualite/" + 
                           oForm.RowsPerPage.value + "/" + oForm.PageNumber.value + ".html" ;
  return false;
}
