onload img function added.