 function CafeTracker(){
 }
 
CafeTracker.prototype.track=function(url,tid,type){
	var url='/tracker.do?fun=pageview&tid='+tid+'&t='+type+'&t='+new Date().getTime();
	jQuery.ajax({
   		type: "GET",
		url: url,
		complete : function(req,status){}
	});
}

CafeTracker.prototype.logaccess=function(url,tid,type){
	var url='/track/accesslog.jsp?url='+url;
	if(tid){
		url+='&tid='+tid;
	}
	if(type){
		url+='&t='+type;
	}
	url+='&t='+new Date().getTime();

	jQuery.ajax({
   		type: "GET",
		url: url,
		complete : function(req,status){}
	});
}
