title: blockUI error "Object doesn't support this property or method"
body: <p>I'm running this from within VS2010 and an error comes up when the form is submitted which says "Microsoft JScript runtime error: Object doesn't support this property or method".  Any suggestions?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function BlockUI() {
      $.blockUI({ message: "&lt;h1&gt;Remote call in progress...&lt;/h1&gt;" });
  }
  &lt;/script&gt;
  
  @using (Ajax.BeginForm("Switch", new AjaxOptions()  {
          UpdateTargetId = "Switch" + Model.Id, 
          InsertionMode = InsertionMode.Replace,
          OnSuccess = "",
          OnBegin = "BlockUI()",
          OnComplete = "",
          OnFailure = "alert('Failed to update switch')",
          Confirm = "",
          HttpMethod = "POST",
          LoadingElementId = "",
          Url = ""
      }))
  </code></pre>