    var xmlHttpAjax
    var containerAjax = "";
    function sendToServer(str, loadingPlace) {
      xmlHttpAjax = GetXmlHttpObjectByBrowser()
      if (xmlHttpAjax==null) {
        alert ("Browser does not support HTTP Request")
        return;
      }

      url = str;
      url += "&sid="+Math.random()
      xmlHttpAjax.onreadystatechange = checkState
      xmlHttpAjax.open("GET",url,true)
      xmlHttpAjax.send(null)
      containerAjax = loadingPlace
    }

    function checkState() {
      if (xmlHttpAjax.readyState==4 || xmlHttpAjax.readyState=="complete") {
        document.getElementById(containerAjax).innerHTML = xmlHttpAjax.responseText;
      }
    }

    function GetXmlHttpObjectByBrowser() {
      var objXMLHttp = null
      if (window.XMLHttpRequest)
        objXMLHttp = new XMLHttpRequest()
      else if (window.ActiveXObject)
        objXMLHttp = new ActiveXObject("Microsoft.XMLHTTP")
      return objXMLHttp
    }
