Is it possible in IIS7 to have multiple error pages that are called from different sections of your wesbite?

For example is the front end and would show a completely different 500 error page than

I want to format these pages differently so they fit in line with each sections styles, as well as display a lot more debugging information for administrators.

Is this at all possible/

Thanks for any help!