I am facing a problem with the image in an HTML page. I want to give functionality of Select by window on an image. The selected window on the Image should zoomed. For that i want X1Y1 and X2Y2 coordinates of the image. X1Y1 will be coordinate from were mouse drag will start and X2Y2 will be coordinates were Mouse drag ends. I know this is an challenging problem for all of you and you will suggest me the solution quickly.