var xmlHttp;
function createXMLHttpRequest() {
	if (window.ActiveXObject) {
        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    } 
    else if (window.XMLHttpRequest) {
        xmlHttp = new XMLHttpRequest();
    }
}
    
 
function handleStateChange() {
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
            //alert("The server replied with: ");
        }
    }
}

function sethotnum(id,hotnum) {
	return;
	createXMLHttpRequest();
	xmlHttp.onreadystatechange = handleStateChange;
//	sethotnum(1);
	xmlHttp.open("GET", "/ContentAction.do?dispatch=doContentAccessUpdate&contid="+id+"&hotnum="+hotnum, false);
	xmlHttp.send(null);
}


function sethotnumforplan(id,hotnum) {
	return;
	createXMLHttpRequest();
	xmlHttp.onreadystatechange = handleStateChange;
//	sethotnum(1);
	xmlHttp.open("GET", "/PlancontentAction.do?dispatch=doContentAccessUpdate&contid="+id+"&hotnum="+hotnum, false);
	xmlHttp.send(null);
}

function setfilenum(id) {
	return;
	createXMLHttpRequest();
	xmlHttp.onreadystatechange = handleStateChange;
//	sethotnum(1);
	xmlHttp.open("GET", "/FilecontentAction.do?dispatch=doAccessNum&id="+id, false);
	xmlHttp.send(null);
}

function sethotnumforsxzb(id,hotnum) {
	return;
	createXMLHttpRequest();
	xmlHttp.onreadystatechange = handleStateChange;
//	sethotnum(1);
	xmlHttp.open("GET", "/SxzbcontentVMAction.do?dispatch=doContentAccessUpdate&contid="+id+"&hotnum="+hotnum, false);
	xmlHttp.send(null);
}