4x4 Magic square

The idea is to place the nine numbers in the square in such a way that each of the ten (four rows, four columns and two diagonals) grey totals is the same.

Click on a number to select it, then click another to swap them over.

Hint: What must the total be? Try to work this out by thinking about what the totals of all the rows must add to...