function displayFeatured()
{
	myURL = "SheldonController.asp";
	
	xmlHttp = GetXmlHttpObject();

	if (xmlHttp == null)
	{
		alert("Browser does not support AJAX");
		return;
	} 

	xmlHttp.onreadystatechange = 
	function() 
	{
		if (xmlHttp.readyState == 4)
		{

			document.getElementById('featuredlistingcontent').innerHTML = xmlHttp.responseText;		
		}
	}

	xmlHttp.open("GET", myURL, true);
	xmlHttp.send(null);
}


function displayListing(myElement)
{
	myURL = "http://shel2.nufrontiers.com/re/featured_listing.asp";

	xmlHttp = GetXmlHttpObject();

	if (xmlHttp == null)
	{
		alert("Browser does not support AJAX");
		return;
	} 

	xmlHttp.onreadystatechange = 
	function() 
	{
		if (xmlHttp.readyState == 4)
		{

			document.getElementById(myElement).innerHTML = xmlHttp.responseText;		
		}
	}

	xmlHttp.open("GET", myURL, true);
	xmlHttp.send(null);
}



function GetXmlHttpObject()
{
	var xmlHttp=null;

	try
	{
		xmlHttp=new XMLHttpRequest();
	}
	catch (e)
	{
		try
		{
			xmlHttp=new ActiveXObject("Msxml3.XMLHTTP");
		}
		catch (e)
		{
			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		}
	}

	return xmlHttp;
}

