I am trying to click the upvote reddit icon here: 

<http://reddit.com/r/nfl/comments/3ssu1v/the_2015_cardinals_are_on_their_way_to_becoming/cx02unv>

I've used the `javascript:document.getElementById("#ID").click();` but the element doesn't have an ID.

So I set it to `javascript:document.getElementsByClassName("arrow up login-required access-required").click();`

Now if you view the page, there are multiple voting sections so you need offset, but I can't figure out how to combine the two together.

I tried looking at the following resources, but I cannot understand them:

* <http://www.w3schools.com/jquery/css_offset.asp>
* <http://www.w3schools.com/jsref/prop_nodelist_length.asp>