function objXMLHttp() {
	var _xmlhttp;
	try {
		_xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	catch(e){
		try {
			_xmlhttp=new XMLHttpRequest();
		}
		catch(e){
			_xmlhttp=false;
		}
	}
	finally {
		return _xmlhttp;
	}
}		
function getalltext(divid,strhttp){
	var xmlhttp=new objXMLHttp();
	if (xmlhttp){
		xmlhttp.open("get",strhttp+"n="+Math.random(),true);
		document.getElementById(divid).innerHTML=unescape("<div><img src=/images/loading2.gif></div>");
		xmlhttp.onreadystatechange=function(){
			if (xmlhttp.readyState==4&&xmlhttp.status==200){
				document.getElementById(divid).innerHTML=unescape(xmlhttp.responseText);
			}
			else{
			}
		}
		xmlhttp.send(null);					
	}
}
function NewsCountSum(strhttp){
	var xmlhttp=new objXMLHttp();
	if (xmlhttp){
		xmlhttp.open("get",strhttp+"n="+Math.random(),true);
		xmlhttp.send(null);					
	}
}
function NewsDisplay(a,b){
        document.getElementById(a).style.display=''
        document.getElementById(b).style.display='none'
}




