#include <Excel.au3>
#include <IE.au3>
#include <Array.au3>
$oIE = _IECreate()
_IENavigate($oIE, "http://www8.tax.ny.gov/UTLR/utlrHome")
$o_form = _IEFormGetObjByName($oIE, "UTLRForm")
$o_addr = _IEFormElementGetObjByName($o_form, "UTLR_STREETADDRESS_KEY")
$o_zip = _IEFormElementGetObjByName($o_form, "UTLR_ZIPCODE_KEY")
$o_type = _IEFormElementGetObjByName($o_form, "UTLR_SERVICETYPE_KEY")
_IEFormElementSetValue($o_addr, "136 Maple Avenue")
_IEFormElementSetValue($o_zip, "10952")
_IEFormElementSetValue($o_type, "Residential energy services")
_IEFormSubmit($o_form)
$aJurisdictionCodes=StringRegExp(_IEBodyReadText ( $oIE ),'Jurisdiction code:(.*)',3)
_ArrayDisplay($aJurisdictionCodes)