var myTimer_str_comment_link;
function startTimer_str_comment_link() {
		clearTimeout(myTimer_str_comment_link);								// Remove old timer
		myTimer = setTimeout('kbTimeout_str_comment_link()',750);	
}
function kbTimeout_str_comment_link() {
		updateCityState_str_comment_link();
	}
var url_str_comment_link = "/search_results.cfm?noscript=1&listing_type=D&requesttimeout=500&param="; // The server-side script

function handleHttpResponse_str_comment_link() {
  if (http.readyState == 4) {
    // Split the comma delimited response into an array
    results = http.responseText;
    helem4 = document.getElementById("div_comment_link");			 		
	helem4.style.display = 'block';    
    document.getElementById('div_comment_link_text').innerHTML = results;    
    document.getElementById('str_comment_link_hidden').value = results;                
  }
}
function updateCityState_str_comment_link() {		
  var zipValue_str_comment_link = document.getElementById("str_comment_link").value;
  http.open("GET", url_str_comment_link + escape(zipValue_str_comment_link), true);
  http.onreadystatechange = handleHttpResponse_str_comment_link;
  http.send(null);
}
function getHTTPObject() {
  var xmlhttp;
  /*@cc_on
  @if (@_jscript_version >= 5)
    try {
      xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (e) {
      try {
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (E) {
        xmlhttp = false;
      }
    }
  @else
  xmlhttp = false;
  @end @*/
  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
    try {
      xmlhttp = new XMLHttpRequest();
    } catch (e) {
      xmlhttp = false;
    }
  }
  return xmlhttp;
}
var http = getHTTPObject(); // We create the HTTP Object
