[jQuery] Fade In and Fade Out Div

[jQuery] Fade In and Fade Out Div


Hello,
I have a DIV in my page and I need to:
1. The DIV must be over all other page content.
2. Select the DIV position:
It could be Centered or on Top Right.
The DIV should be over all page content.
3. Fade the DIV from a X% opacity to a 0% opacity when:
N seconds have past or when the user clicks the rest of the page.
How can I do this using JQuery?
Thank You,
Miguel