iPad as keyboard for Imac

I am thinking about hooking up my new 32 inch screen LCD tv to my iMac to serve as a dual monitor. I was thinking it would be really cool if I could connect my iPad to my Imac to use it as a wireless keyboard from across the room. Is this possible?

There are several apps that will do this. They are part of a group of apps that I think can be found using the search phrase "remote desktop" in the app store. I just downloaded rowmote pro to take it for a spin. I am currently using something called iTeleport.