/* Product Name: dhtmlxSuite Version: 5.2.0 Edition: Professional License: content of this file is covered by DHTMLX Commercial or Enterprise license. Usage without proper license is prohibited. To obtain it contact sales@dhtmlx.com Copyright UAB Dinamenta http://www.dhtmlx.com */ window.dhtmlxAjax = { get: function(url, callback, sync) { if (sync) return dhx4.ajax.getSync(url); else dhx4.ajax.get(url, callback); }, post: function(url, post, callback, sync) { if (sync) return dhx4.ajax.postSync(url, post); else dhx4.ajax.post(url, post, callback); }, getSync: function(url) { return dhx4.ajax.getSync(url); }, postSync: function(url, post) { return dhx4.ajax.postSync(url, post); } };