It works fine in firefox... I don't know why it doesn't work in IE, what's in here that doesn't work in IE! I know it's confusing but I have no idea what doesn't work please help!

Let me explain, GetXmlHttpObject creates, well, an xml object (for ajax). showhint gets the data from a certain site, and then after the "state changed" it goes to stateChanged which checks if the entire action is complete, and if it is does a few things which don't matter.

Thanks if possible!

Code:
var xmlHttp;
	
function showHint()
	{
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
			{
			alert ("Browser does not support HTTP Request")
			return
			} 
	var url="http://www.arcticsheep.org/chatroom/data.php"
	xmlHttp.onreadystatechange=stateChanged 
	xmlHttp.open("GET",url,true)
	xmlHttp.send(null)
	} 
	
function stateChanged() 
	{ 
	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
			{
			document.getElementById("hidcom").innerHTML = xmlHttp.responseText;
			if (document.getElementById("commentbox").innerHTML != document.getElementById("hidcom").innerHTML && xmlHttp.responseText != "")
					{
					document.getElementById("commentbox").innerHTML=xmlHttp.responseText;
					}
			showHint();
			} 
	} 

function GetXmlHttpObject()
	{ 
	var objXMLHttp=null;
	if (window.XMLHttpRequest)
			{
			objXMLHttp=new XMLHttpRequest()
			}
		else if (window.ActiveXObject)
			{
			objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
			}
	return objXMLHttp
	} 
showHint();