﻿function killErrors() {return true;}
window.onerror = killErrors;
var Ajax_msg="获取失败";
$(pageInit);

function trim(s){return  s.replace(/(^\s*)|(\s*$)/g,  "");} 

function get_hits(t0,t1,t2,t3)
{
	$('#'+t3).html("<img src="+webdir+"images/loading.gif>");
	$.ajax({
	type: "get",
	cache:false,
	url: webdir+"inc/gethits.asp?id="+t0+"&action="+t1+"&t="+t2+"",
	timeout: 20000,
	error: function(){$('#'+t3).html(Ajax_msg);},
	success: function(t0){$('#'+t3).html(t0);}
	});
}
