/******************************************************************************************************/
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 parseURL = "twitter.asp";
/******************************************************************************************************/
function getfollowers(username,column,bgcolor,thumbsize,profile,followtext,followers,showmy)
{
	var path = "?user="+escape(username)+"&column="+(column)+"&bgcolor="+escape(bgcolor)+"&thumbsize="+(thumbsize)+"&profile="+(profile)+"&followtext="+(followtext)+"&followers="+(followers)+"&showmy="+(showmy);
	http.open("GET",(parseURL+path), true);
	document.getElementById("contentdata").innerHTML = "<img src='images/theyfollowmespin.gif'>";
	http.onreadystatechange = handleHttpResponseUserlist;
	http.send(null);
}
/******************************************************************************************************/
function handleHttpResponseUserlist() 
{
  if (http.readyState == 4 && http.status == 200) 
  {
    	results = http.responseText;
		if (results != "")
		{
			if (results == "error")
			{
				document.getElementById("contentdata").innerHTML = "";
				alert('Invalid username');
			}
			else
			{
				document.getElementById("contentdata").innerHTML = results;
			}
		}
  }
}
/******************************************************************************************************/
