This script initially disables the page links for a set period of time. In the example below, the top link will not work for the first five seconds after the page has loaded. After that, the link will work properly. If you click on the bottom link, the timer will start again for the top link and will make it inactive for another 5 seconds.