The essence of this. There is a popup that appears after 10 seconds, this problem is not present.
But how to implement it so if the user clicked on the link in this pop-up, it never popup did not appear.
If he rolled the window (clicked on x), give a week, then again. If rolled again, stop.
Can not doperet how to do it