function myAjax()
{
var ajax;
if (window.XMLHttpRequest)
   ajax = new XMLHttpRequest();
else
   {
      try
      {
         ajax = new ActiveXObject("Microsoft.XMLHTTP");

      }
      catch (e)
      {
         ajax = new ActiveXObject("Msxml2.XMLHTTP");
      }
   }
return ajax;
}

function loadContent(source)
{
  
    var ajax = myAjax();
    ajax.open("GET",source, false);

    ajax.send(null);
   
    //return false;
}

function loadContentb(target,source)
{
    var ajax = myAjax();
    ajax.open("GET",source, false);

    ajax.send(null);
    document.getElementById(target).innerHTML = ajax.responseText;
    //return false;
}
