function createXMLHttpRequest() {
	try { return new XMLHttpRequest(); } catch(e) {}
	try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {}
	try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}
	alert("XMLHttpRequest not supported");
	return null;
}

var xhReq = createXMLHttpRequest();
xhReq.open("get", rooturl+'/Statistic/log', true);
xhReq.onreadystatechange = function() {
};
xhReq.send(null);

