Some Esri REST API examples for NZTM projection (EPSG:2193)

I'd been trying for a while to get this to work with some Esri ArcGIS tiled map services - your blog post (http://blog.kartena.se/local-projections-in-a-world-of-spherical-mercator/) was extremely useful, but I sometimes find simple example code easier to work with.

With that in mind, I offer these NZTM examples for Auckland and Wellington in case they are of use to others :-)