Sorry, I don't really understand what you mean

You have to set the
IMGDIR_BUTTON variable once for every style you have. My Script code needs the path, because it uses the up and down arrows of the style for showing how the table is sorted. Theroretically you have to set this only once for every style - and I don't think that you move your image directory so often