/******************************************************************************************************/
function getHTTPObject() {
	var XMLHttp = null;
    try 
    	{
          XMLHttp = new ActiveXObject("Msxml2.XMLHTTP");
        }
    catch(e) 
    {
          try {
            XMLHttp = new ActiveXObject("Microsoft.XMLHTTP")
          }
          catch(e) {
            XMLHttp = null
          }
        }
        if (XMLHttp == null) {
          XMLHttp=new XMLHttpRequest();
        }
        return XMLHttp;
    }
var http = getHTTPObject(); // We create the HTTP Object
/******************************************************************************************************/
var blogURL = "blogexe.asp";
/******************************************************************************************************/
function blogaction(ajaxaction,id1,id2)
{
	var path = "?atype="+ajaxaction+"&id1="+escape(id1)+"&id2="+escape(id2);
	http.open("GET",(blogURL + path), true);
	http.onreadystatechange = handleHttpResponseBlogPostback;
	http.send(null);
}
/******************************************************************************************************/
function handleHttpResponseBlogPostback() 
{
  if (http.readyState == 4 && http.status == 200) 
  {
    	results = http.responseText;	
		document.getElementById("bloginfo").innerHTML = results;
  }
}
/******************************************************************************************************/
