Image hotspot every area with different background color

Forums: 

I am trying to give default colors for every area with different background-color in image map area. Example, if area is available, I want that area in default green color, if area is leased, then the area in default red color, similarty if the area is in process then the area in default yellow color. Please try to provide the solution using area attributes like, id or class using javascript.

If anyone have the html-javascript Solution, please let me know.

Thanks in advance,

Vandana Kumari