I have a website built in oscommerce 2.3.1
I want a popup to be triggered when
1. A user clicks on a page OR
2. Has spent 5 mins (configurable) on the site.
The pop up has to comeup up only once per session.
The popup should come up with a text / image and with social share buttons.
The text / image should read - Share to unlock a great discount
The user can like / share facebook OR tweet on twitter / or G+.
Once the action is performed, a coupon code has to be shown.