//GENERIC
function GenericResponseFilter()
{
	var data;	
	this.parseData = function(json)
	{		if(json.Response!=undefined && json.Response.status!=0)		{			var e = new Error(json.Response.Message);			throw(e);			return;		}
		else if(json.status!=undefined && json.status!="OK")
		{
			var e = new Error(json.message);
			throw(e);
			return;
		}
		data = json;	
	}
		
	this.getData = function(){return data;}	
}
GenericResponseFilter.prototype = new IDataRetrieverFilter();


//GENERIC
function DateTimeResponseFilter()
{
	var data;	
	this.parseData = function(text)
	{
		data = text;	
	}
		
	this.getData = function(){return data;}	
}
DateTimeResponseFilter.prototype = new IDataRetrieverFilter();







