var xmlhttp;

function CreateAjax() {
	
	if (this.xmlhttp){
		this.xmlhttp.abort();
	}
	
		try {
			this.xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
					} catch (e1) {
		
			try {
				this.xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e2) {
				this.xmlhttp = null;
			}
		}

		if (! this.xmlhttp) {
			if (typeof XMLHttpRequest != "undefined") {
				this.xmlhttp = new XMLHttpRequest();
			} else {
				this.failed = true;
			}
		}
	};
	
function GetAjaxResponse(p_PageUrl)	{

	this.CreateAjax();
	this.xmlhttp.open("POST", p_PageUrl, false);
	this.xmlhttp.send(p_PageUrl);
	return self.xmlhttp.responseText;
	
	}
	
function GetContent(p_Url){
return GetAjaxResponse(p_Url)

}	

