
	subject_id = '';
	function handleHttpResponse()
	{
		if (http.readyState == 4)
		{
			if (subject_id != '')
			{
				document.getElementById(subject_id).innerHTML = http.responseText;
			}
		}
		else
		{
			document.getElementById(subject_id).innerHTML = "<center><img src='../img/ajax-loader(4).gif' /></center>";
		}
	}
	
	function getHTTPObject()
	{
		var xmlhttp;
		
		if (!xmlhttp && typeof XMLHttpRequest != 'undefined')
		{
			xmlhttp = new XMLHttpRequest();
		}
		else
		{
			try
			{
				xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
			}
			catch(e)
			{
				try
				{
					xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
				}
				catch(e)
				{
					try
					{
						xmlhttp = new XMLHttpRequest();
					}
					catch(e)
					{
						xmlhttp = false;
					}
				}
			}
		}
		return xmlhttp;
	}
	
	
	var http = getHTTPObject(); // We create the HTTP Object
