Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
$dataURL = CRM_Utils_System::url( 'civicrm/ajax/search', "hh=1", true, null, false );
On the use_employer_address, suggestion: directly set the address and set it to true when choosing the employee. That's better to have the business address than none anyway