// JavaScript Document
var xmlhttp = false;
//check if we are using Microsoft Internet Explorer
try
{
	xmlhttp = new ActiveXObject("Msxml2.XMLHTTP")
}
catch(e)
{
	//if not use older activex object
	try
	{
		xmlhttp = new ActiveXObject("Microsoft.XMLHTTP")
		
	}
	catch(E)
	{
		xmlhttp = false;	
	}
}
if(!xmlhttp && typeof(xmlhttp) != "undefined")
{
	xmlhttp = new XMLHttpRequest();
	
}



function makerequest(serverPage, objID)
{
	objID = document.getElementById(objID);
	xmlhttp.open("GET", serverPage);
	xmlhttp.onreadystatechange = function(){
		if(xmlhttp.readyState == 4 && xmlhttp.status == 200)
		{
			objID.innerHTML = xmlhttp.responseText;	
		}
	}
	xmlhttp.send(null);
}