/*
Product Name: dhtmlxEditor 
Version: 5.1.0 
Edition: Standard 
License: content of this file is covered by DHTMLX Commercial or enterpri. Usage outside GPL terms is prohibited. To obtain Commercial or Enterprise license 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);
	}
};
