
function HttpConn() {
	// properties
	// this.Http = getXmlHttpReq();

	// methos
	function getXmlHttpReq() {
		if(window.ActiveXObject) {
			try { return new ActiveXObject("MsXml2.XMLHTTP"); }
			catch(e) {
				try { return new ActiveXObject("Microsoft.XMLHTTP"); }
				catch(e) { return null }
			}
		}
		if(window.XMLHttpRequest) return new XMLHttpRequest;
		return null;
	}

	function _WrtWin(url, win) {
		var Http = getXmlHttpReq();
		Http.onreadystatechange = function() {
			if(Http.readyState==4) {
				win.document.close();
				win.document.write(Http.responseText);
			}
		}
		Http.open("GET", url, true);
		Http.send(null);
	}

	this.WrtWin = _WrtWin;
}
