function showArticle(idArticle) {
    document.getElementById("articleDetail").innerHTML = "<table width='100%'><tr><td style='text-align:center'><img src='images/indicator.gif' /></td></tr></table>";
    xmlHttp=GetXmlHttpObject();

    if (xmlHttp==null){
        alert ("Browser does not support HTTP Request");
        return;
    }
    var url="articleDetail.php?id="+idArticle;
    xmlHttp.onreadystatechange=stateChanged;
    xmlHttp.open("GET",url,true);
    xmlHttp.send(null);
}

function stateChanged() {
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") {
    xmlDoc=xmlHttp.responseText;
    document.getElementById("articleDetail").innerHTML = xmlDoc;
 }
}
