This script actually grabs the information from the xhtml on the page. It knows how many seconds to wait because that is coded in a span with an ID of "countdownTimer". It also grabs the url to redirect to by looking at the href of the link with an id of "redirectLink". view source to see code.