function get_content(url, method, target)
{
 var xmlHttp=null;
 // Try to get the right object for different browser
 try {
    // Firefox, Opera 8.0+, Safari
    xmlHttp = new XMLHttpRequest();
 } catch (e) {
    // Internet Explorer
    try {
       xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    } catch (e) {
       xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
 }

 xmlHttp.onreadystatechange = function() {
    if (xmlHttp.readyState == 4)
       try {
          if (xmlHttp.status == 200) 
          {
             document.getElementById(target).innerHTML = xmlHttp.responseText;
          }
       } catch (e) {
          document.getElementById(target).innerHTML = "Error on Ajax return call : " + e.description;
       }

 }

 xmlHttp.open(method, url);
 xmlHttp.send(null);
}

