# File lib/abingo_view_helper.rb, line 31
  def include_humanizing_javascript(url = "/abingo_mark_human", style = :prototype)
    script = nil
    if (style == :prototype)
      script = "var a=Math.floor(Math.random()*11); var b=Math.floor(Math.random()*11);var x=new Ajax.Request('#{url}', {parameters:{a: a, b: b, c: a+b}})"
    elsif (style == :jquery)
      script = "var a=Math.floor(Math.random()*11); var b=Math.floor(Math.random()*11);var x=jQuery.post('#{url}', {a: a, b: b, c: a+b})"
    end
    script.nil? ? "" : %Q|<script type="text/javascript">#{script}</script>|
  end