How do I make my dome light fade away when you shut the door?

Here's what you need, the plug and play version.

http://www.classicindustries.com/search?q=RE13001&so=1&sb=1&listAs=1&currentPage=1