gabesz,
First off given the information you have given I would make the presumtion that it is an NLHE game
31. Raises A raise must be at least the size of the largest previous bet or raise of the current betting round.
All the raises you specify meet this criteria excluding the all-in from utg for 17,000
lets break it down:
100/200 - the minimum raise would be 200 to 400 total
utg raise to 500 (a raise of 300 more)
button raise (min total 800 (200+300+300)) to 4000 (3,500 more)
bb raise (min total 7,500 (500+3,500+3,500)) to 13,000 (9,000 more)
utg re-raise (min total 22,000 (4,000+9,000+9,000)) all-in for 17,000 (4,000 more)
action back to button 13,000 to call, the action he is facing has re-opened the betting to him by both the BB raise and the UTG shove as the bet he is facing is at least the size of his raise, action is open to him again to do what he wants.
IF button calls 17,000 BB can only call 4,000 extra or fold as the UTG shove is not enough to open the betting to him as it is not the size of his raise.
IF Button wants to re-raise again it would have to be at least the size of the biggest previous raise + the total bet i.e.
Button minimum raise would be 17,000 (total bet) +9,000 (min raise again) = 26,000 (total), if the button raised to this amount that would re-open the betting to the BB.
Hope this helps
Stuart