﻿// JScript File
var arrWebRequests = new Array;
function CAjax()
{
    
}
CAjax.prototype.CreateWebRequset = function(strServerData, CallBackFunction, strClientData, strResURL)
{
    var oProperties = new Object();
    oProperties.type = 'POST';
    oProperties.timeout = 10000;
    oProperties.error = OnRequest_Error;
    oProperties.url = strResURL;
    oProperties.data = strServerData;
    oProperties.success = OnRequest_Success;
    oProperties.complete = CallBackFunction;
    oProperties.datatype = "xml";
    var oWebrequest = $.ajax(oProperties);
}

function OnRequest_Success(data, textStatus)
{
      
}

function OnRequest_Error(xmlHttpRequest , textStatus, errorThrown)
{
     

}