var oldstr = '';
function showHint(str, baseurl) {
  if (typeof str != 'string') {
    return;
  }
  if (typeof baseurl != 'string') {
    baseurl = '';
  }

  if (!str.length) { 
    $('#txtHint').empty();
    $('#qckres').hide();
    return;
  }

  $('#txtHint').load(baseurl + '/' + str.replace(/\s/g, "%20") + '/' + Math.random());
  if ($('#txtHint ol').length) {
    $('#qckres').show();
  } else {
    $('#txtHint').empty();
  }
}

function alterTextbox(INTXT) {
  $('#zipSearch').val(INTXT);
}