 // Proceed to another page after a certain time,
 // but wait till page has been fully loaded.
 // Usage: LINK to your HTML page and call it in the
 // BODY tag like:
 // onload="proceed('',)"

 var seconds=0, dest_url="", dest_time=0;
 
 function proceed (where, when)
 { 
   seconds++;
   if (where > "") {
     dest_url = where;
     dest_time = when;
   }  
   if (dest_url > "" && seconds > dest_time) {
     top.location.href = dest_url;
     window.clearInterval(intvl);
   }  
 }
 var intvl = window.setInterval('proceed()','1000');
 
 // Written by Metin Savignano, originally published 
 // in the JavaScript Library at www.savignano.de

