;(function($){
	$.fn.cc = function(t) {
		return $(this).click(function(){
			return!(
				(d=(o=$(this)).data(h=this.href))
				?$(t).html(d)
				:$.get(h,function(d,s){
					if(s=="success")
						o.data(h,d) && $(t).html(d)
					else
						window.location=h
				})
			)
		})
	}
	
	$.fn.precache = function() {
		return $(this).each(function() {
			o=$(this);h=this.href;
			$.get(h,function(d,s){
				if(s=="success") o.data(h,d);
			});
		});
	}
}(jQuery));