/* ---------------------------- */
/* XMLHTTPRequest Enable */
/* ---------------------------- */
function createObject() {
var request_type;
var browser = navigator.appName;
if(browser == "Microsoft Internet Explorer"){
request_type = new ActiveXObject("Microsoft.XMLHTTP");
}else{
request_type = new XMLHttpRequest();
}
return request_type;
}

var http = createObject();





var nocache = 0;

function propertylisting1a(intPropertyId){
 nocache = Math.random();
 http.open('get', '/ajax.cfm?ajaxpage=property_listing_inc&intPropertyId='+intPropertyId+'&nocache = '+nocache);
 http.onreadystatechange = function() {
 	getpropertylisting1a(intPropertyId);
};
 
 http.send(null);

}


function getpropertylisting1a(intPropertyId) {
 if(http.readyState == 4){ 
 var propertylistingresponse = http.responseText;
     searchinc();
{
document.getElementById('propertylisting'+intPropertyId).innerHTML = propertylistingresponse;
}
}
}









function propertymaplisting(intPropertyId){
 nocache = Math.random();
 http.open('get', '/ajax.cfm?ajaxpage=property_map_inc&intPropertyId='+intPropertyId+'&nocache = '+nocache);
 http.onreadystatechange = function() {
 	getpropmaplisting(intPropertyId);
};
 http.send(null);
}

function getpropmaplisting(intPropertyId) {
 if(http.readyState == 4){ 
 var propertymapresponse = http.responseText;
{
document.getElementById('propertymap'+intPropertyId).innerHTML = propertymapresponse;
}
}
}











