I need script which will do the same as you can see on the website http://www.zigzag.com/

So I need that if someone come on my landing page put years they can open main website. If don`t have 18+...