var Module = Class.create ({
	initialize : function (id, url)
	{
		this.id = id;
		this.url = url;
	},
	getData : function (method, format, parameters, callback)
	{
		new Ajax.Request (this.url + "?moduleID=" + this.id + "&function=" + method + (format ? "&format=" + format : ""), { method: "get", parameters : parameters, onSuccess: callback.bind (this) });
	}
});