		var xmlHttp;
		var divList;
		var value;
		
		function xml(value, id){
			xmlHttp=GetXmlHttpObject();
			divList = document.getElementById(id);
			if(xmlHttp==null){
				alert ("Browser does not support HTTP Request");
				return
			}
			xmlHttp.onreadystatechange = handleStateChange;
			xmlHttp.open("GET", value, true);
			xmlHttp.send(null);
		}
		
		function GetXmlHttpObject(){
			var objXMLHttp=null;
			if(window.XMLHttpRequest){
				objXMLHttp=new XMLHttpRequest();
			}else if(window.ActiveXObject){
				objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP");
			}
			return objXMLHttp;
		} 
		
		function handleStateChange() {
			if(xmlHttp.readyState == 4 || xmlHttp.readyState=="complete") {
				divList.innerHTML = xmlHttp.responseText;
			}
		}
		
		



		function handleStateChange2() {
			if(xmlHttp.readyState == 4 || xmlHttp.readyState=="complete") {
				if(xmlHttp.responseText=="1"){
					alert("报错成功！！");
				}else{
					alert("报错失败！！");
				}
			}
		}
		
		function xml2(value){
			xmlHttp=GetXmlHttpObject()
			if(xmlHttp==null){
				alert ("Browser does not support HTTP Request");
				return
			}
			xmlHttp.onreadystatechange = handleStateChange2;
			xmlHttp.open("POST", value, true);
			xmlHttp.send(null);
		}
		
		
		function handleStateChangeDC() {
			if(xmlHttp.readyState == 4 || xmlHttp.readyState=="complete") {
				if(xmlHttp.responseText.length > 5){
					divList.innerHTML = xmlHttp.responseText;
					xml('/count/point.asp','userpoint');
				}
			}
		}
		function xml_DC(value, id){
			xmlHttp=GetXmlHttpObject();
			divList = document.getElementById(id);
			if(xmlHttp==null){
				alert ("Browser does not support HTTP Request");
				return
			}
			xmlHttp.onreadystatechange = handleStateChangeDC;
			xmlHttp.open("POST", value, true);
			xmlHttp.send(null);
		}
		
		function handleStateChangeXC() {
			if(xmlHttp.readyState == 4 || xmlHttp.readyState=="complete") {
				xml('/count/point.asp','userpoint');
			}
		}	
		
		function xml_count(value){
			xmlHttp=GetXmlHttpObject();
			if(xmlHttp==null){
				alert("Browser does not support HTTP Request");
				return
			}
			xmlHttp.onreadystatechange = handleStateChangeXC;
			xmlHttp.open("GET", value, true);
			xmlHttp.send(null);
		}
		
function xml_player(value){
	xmlHttp=GetXmlHttpObject();
	if(xmlHttp==null){
		alert ("Browser does not support HTTP Request");
		return
	}
	xmlHttp.onreadystatechange = player;
	xmlHttp.open("GET", value, true);
	xmlHttp.send(null);
}

function player() {
	if(xmlHttp.readyState == 4 || xmlHttp.readyState=="complete") {
		DrmPlay(xmlHttp.responseText);
	}
}