﻿function traceInfo(action,param){


    var url="ajax.aspx?action="+ action + "&params="+param ;
    var Syne=true;
    var XMLHttp=null
    var o=this
    this.url=url
    this.Syne=Syne

    this.sendData = function()
    {
        if (window.XMLHttpRequest) {
           XMLHttp = new XMLHttpRequest();
        } else if (window.ActiveXObject) {
           XMLHttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        
        with(XMLHttp){
         open("GET", this.url, this.Syne);
         onreadystatechange = o.CallBack;
       
         send(null);
        }
      }

    this.CallBack=function()
      {
        if (XMLHttp.readyState == 4) {
            if (XMLHttp.status == 200) {
              
            }
        }
    }
  
   sendData();
   

}
