How many different isosceles right triangles can be formed from three dots in the grid below? Two examples are shown. [asy] unitsize(0.8 cm); int i, j; draw((0,1)--(1,2)--(0,2)--cycle,red); draw((0,0)--(2,0)--(2,2)--cycle,blue); for (i = 0; i <= 2; ++i) { for (j = 0; j <= 2; ++j) { dot((i,j),linewidth(5*bp)); }} [/asy]