
WSProduct_class = new Class({
AjaxUrl : '/ajaxpro/WSProduct,AtomicDeals.ashx',
GetProductMini : function(pintCompanyID, pintCategoryID, onsuccess, context, onfailure)
{
    return new AjaxPro.Request(this.AjaxUrl,
    {
        async: (typeof onsuccess == "function"),
        headers: {"X-AjaxPro-Method":"GetProductMini"},        
        onSuccess: function(response) { AjaxPro.processResponse(response, onsuccess, context, onfailure); }
    }).send({"pintCompanyID":pintCompanyID, "pintCategoryID":pintCategoryID});
},
InsertOrder : function(pintSkuAttributeID, pintSkuID, onsuccess, context, onfailure)
{
    return new AjaxPro.Request(this.AjaxUrl,
    {
        async: (typeof onsuccess == "function"),
        headers: {"X-AjaxPro-Method":"InsertOrder"},        
        onSuccess: function(response) { AjaxPro.processResponse(response, onsuccess, context, onfailure); }
    }).send({"pintSkuAttributeID":pintSkuAttributeID, "pintSkuID":pintSkuID});
}
});WSProduct = new WSProduct_class();



