function changePage(xsLocation, curnavitem)
{
	
	
	// alert google analytics to the AJAX navigation
	//urchinTracker(xsLocation);
	
	// stop all embeds
	for (var a = 0; a < document.embeds.length; a++)
	{
		try
		{
			document.embeds[a].Stop();
		}
		catch (vError) {}
	}

	// create the XMLHttpRequest object (cross-browser)
	var xhr;
	if (window.XMLHttpRequest)
	{
		xhr = new XMLHttpRequest();
	}
	else if (window.ActiveXObject) // bend over backwards for IE
	{
		try
		{
			xhr = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (error)
		{
			try
			{
				xhr = new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (error)
			{}
		}
	}

	// define the callback function as a closure so it has access to the XHR object
	function callback()
	{
		if (xhr.readyState == 4 && xhr.status == 200)
		{
			var navdiv = document.getElementById('navdiv');
			navdiv.innerHTML = xhr.responseText;
		}
	}

	// set the callback and send off the request
	xhr.onreadystatechange = callback;
	xhr.open("GET", xsLocation, true);
	xhr.send(null);

	// hack the sdmenu to turn the current page's link black
	if (curnavitem != undefined)
	{
		var allnavitems = document.getElementById('my_menu').getElementsByTagName('a');
		for (var i = 0; i < allnavitems.length; i++)
		{
		allnavitems[i].style.color = "#5D8FC3";
/*
		if (allnavitems[i].className == "standoutlink")
		{
			allnavitems[i].style.fontSize = "12px";
		}
*/
		}
		curnavitem.style.color = "#000000";
	}
}

