Some functions for image map.  it's like a scratch;