i have an adult content site/forum and i want a popup script that guests will have to accept that they are over 18 in order to browser. i am talking about guests only while spiders will still be accessible to crawl

an example on a similar site using this is here


any idea how to do it ?