I think I figured it out. Does this seem right?
pagelinks.each(function(item){
item.addEvent('click', function(evv){
evv.preventDefault();
this.options.productPage = new URI(item).getData('page');
alert(this.options.productPage);
}.bind(this));//BIND THIS TO THE ADDEVENT FUNCTION
}, this);//PASS
THIS TO THE EACH FUNCTION
