I need to set a 20 second timeout on an http request. I found some documentation in vb on SetTimeout, but I'm having no luck in kix. This is what I have so far. The script works fine without the "settimeout" bit that I added. Any help would be appreciated.

 Code:
  $objhttp = CreateObject("Microsoft.XMLHTTP")
  $timeout=20000
  $objhttp.setTimouts($timeout,$timeout,$timeout,$timeout)
  $objhttp.Open("GET", $url, Not)
  $objhttp.Send
  $Status=($objhttp.ResponseText)
  If Not InStr($Status, $string)
  Do something
  else
  do something else
  endif
_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain