es posible poner algo similar al PHP_SELF en
var targetURL=
----------------------
<SCRIPT>
<!--
//change below target URL to your own
var targetURL="URL"
//change the second to start counting down from
var countdownfrom=2
var currentsecond=document.redirect.redirect2.value=co untdownfrom+1
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.redirect.redirect2.value=currentsecond
}
else{
window.location=targetURL
return
}
setTimeout("countredirect()",1000)
}
countredirect()
//-->
</SCRIPT>
Saludos =)