Adding Ajax imgage routines.