# File lib/cgikit/command.rb, line 119
  def self.element_at( elements, index, klass = HTMLElement )
    count = 0
    elements.each do |element|
      if klass === element then
        if index == count then
          return element
        end
        count += 1
      end
    end
    nil
  end