You could simply create dynamic widgets on each page, load up their images, and then have them do something like:
assuming variable with widget is userFirm1.
userFirm1.onPress = function() { // when this button is pressed, it executes the real firm1. // note that this approach will not allow press and hold (repeating ir) functionality. GUI.widget('PS_FIRM1').scheduleActions(); }