(function($){
	
$.laballRemote = {
	cacheList: new Array(),
	options: new Array(),
	ajaxId: null,
	proceedCall: function(id, options) {
		var defaults = {
			cache: false,
			url: null,
			data: null,
			dataType: null,
			type: null,
			success: null
		};		
		this.options = $.extend(defaults, options);
		this.ajaxId = id;
		if(!this.cacheList[this.ajaxId]) {
			this.proceedAjax();
		}
	},
	
	proceedAjax: function() {
		$.ajax(this.options);
		if(this.options.cache) {
			this.cacheList[this.ajaxId] = true
		}
	}
	
}
})(jQuery); 
