var ajaxURL = "Dir/"

function getXMLHttpObj()
{
	if(navigator.appName == "Microsoft Internet Explorer")
		return new ActiveXObject("Microsoft.XMLhttp");
	else 
		return new XMLHttpRequest();
}

function call_page(pageName)
{
	var nURL = ajaxURL + pageName+ "?t=" + (new Date()).getTime();;
	var httpObj = getXMLHttpObj();
	httpObj.open("GET", nURL);

	httpObj.onreadystatechange=function() 
	{
		if(httpObj.readyState == 4) 
		{
			document.getElementById('contents').innerHTML=httpObj.responseText;
		}
	}
	httpObj.send(null);
}