var TextLoader = function(param_path ,param_callback){
	this.path = param_path;
	this.callback = param_callback;
	this.data;
};


TextLoader.prototype  ={
		
	load:function(){
		var current = this;
		$.ajax({
			  url: current.path,
			  success: current.callback,
			  dataType: 'html'
			});
	},
	
	
	getLoadedData:function(){
		return this.data;
	}


		
};
