<!--
function getHint(id)
{


xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="http://www.newcondosonline.com/properties/gethint.php";
url=url+"?id="+id;
//url=url+"&id1="+id1;
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}

function getFCSalesPhone(id)
{
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{	alert ("Your browser does not support AJAX!");
		return;
	} 
	
	var url="http://www.newcondosonline.com/foreclosures/updateSalesPhoneStats.php";
	url=url+"?id="+id;
	url=url+"&sid="+Math.random();

	if (window.document.getElementById) 
	{	document.getElementById('SalesView'+id).innerHTML = document.getElementById('SalesData'+id).innerHTML; 
		 

	}
	else if (document.all) // IE4 
	{	document.all['SalesView'+id].innerHTML = document.all['SalesData'+id].innerHTML;
		 
	}

	xmlHttp.onreadystatechange=updateSalesPhoneStats;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);

}

function getSalesPhone(id)
{
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{	alert ("Your browser does not support AJAX!");
		return;
	} 
	
	var url="http://www.newcondosonline.com/properties/updateSalesPhoneStats.php";
	url=url+"?id="+id;
	url=url+"&sid="+Math.random();

	if (window.document.getElementById) 
	{	document.getElementById('SalesView'+id).innerHTML = document.getElementById('SalesData'+id).innerHTML; 
		 

	}
	else if (document.all) // IE4 
	{	document.all['SalesView'+id].innerHTML = document.all['SalesData'+id].innerHTML;
		 
	}

	xmlHttp.onreadystatechange=updateSalesPhoneStats;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);

}




function getIntlSalesPhone(id)
{
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{	alert ("Your browser does not support AJAX!");
		return;
	} 
	
	var url="http://www.newcondosonline.com/intl_properties/updateSalesPhoneStats.php";
	url=url+"?id="+id;
	url=url+"&sid="+Math.random();

	if (window.document.getElementById) 
	{	document.getElementById('SalesView'+id).innerHTML = document.getElementById('SalesData'+id).innerHTML; 
		 

	}
	else if (document.all) // IE4 
	{	document.all['SalesView'+id].innerHTML = document.all['SalesData'+id].innerHTML;
		 
	}

	xmlHttp.onreadystatechange=updateSalesPhoneStats;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);

}

function updateSalesPhoneStats() 
{ 
	if (xmlHttp.readyState==4)
	{	//document.getElementById("PROMPT").innerHTML=xmlHttp.responseText;
		//document.getElementById("PROMPT").className = 'errorPrompt';
	}
}

/*
function Request_Brochure_Mass(Data_Params)
{


	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{	alert ("Your browser does not support AJAX!");
	  return;
	} 
	
	var url="/properties/Requst_Brochure_Mass_Request.php?"+Data_Params;
	url=url+"&sid="+Math.random();

	xmlHttp.onreadystatechange=stateChanged;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);

}*/

/*function GetXmlHttpObject()
{
  var xmlHttp=null;
  try
    {
    // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
    }
  catch (e)
    {
    // Internet Explorer
    try
      {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }
    catch (e)
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    }
  return xmlHttp;
} */

function stateChanged() 
{ 
if (xmlHttp.readyState==4)
{ 
document.getElementById("PROMPT").innerHTML=xmlHttp.responseText;
document.getElementById("PROMPT").className = 'errorPrompt';
}
}
function getHintIntl(id)
{


xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="http://www.newcondosonline.com/intl_properties/gethint.php";
url=url+"?id="+id;
//url=url+"&id1="+id1;
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
function GetXmlHttpObject()
{
  var xmlHttp=null;
  try
    {
    // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
    }
  catch (e)
    {
    // Internet Explorer
    try
      {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }
    catch (e)
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    }
  return xmlHttp;
}
//-->