
function createXMLHttpRequest() {
	var xmlhttp = null;
	if (window.ActiveXObject) {		
		// For Internet Explorer on Windows
		try {
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e) {
			try {
				xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (e) {
				xmlhttp = false;
			}
		}
	} else {		
		// For Safari, Firefox, and other non-MS browsers
		try {
			xmlhttp = new XMLHttpRequest();
		}
		catch (e) {
			xmlhttp = false;
		}
	}
	return xmlhttp;
}
function SetFont(size) {
	var divBody = document.getElementById("news_content");
	if (!divBody) {
		return;
	}
	divBody.style.fontSize = size + "px";
	var divChildBody = divBody.childNodes;
	for (var i = 0; i < divChildBody.length; i++) {
		if (divChildBody[i].nodeType == 1) {
			divChildBody[i].style.fontSize = size + "px";
		}
	}
}
function printonline() {
	window.print();
}
function closewin() {
	window.opener = "";
	window.close();
}

