$oElements = _IETagNameGetCollection ($oIE,'input')
For $oElement In $oElements
_IEErrorHandlerRegister ("MyErrFunc")
if $oElement.classname=='button' and $oElement.type=='submit' and $oElement.value=='Войти' Then
$oElement.click()
EndIf
Next
Func MyErrFunc()
; Important: the error object variable MUST be named $oIEErrorHandler
EndFunc ;==>MyErrFunc