<!--
var err=" must be a number between 0 & 9999 or left empty!"
var running=false
window2 = null
function verify() {
 mmm=Math.round(document.count.mmm.value-0.5)
 sss=Math.round(document.count.sss.value)
 www=document.count.www.value
 if (sss=="") sss=0; if (mmm=="") mmm=0
 if (isNaN(sss)==true || sss<0) {alert("Seconds"+err);document.count.sss.value="";return}
 if (isNaN(mmm)==true || mmm<0) {alert("Minutes"+err);document.count.mmm.value="";return}
 document.count.mmm.value=mmm
 document.count.sss.value=sss 
 running=true
 countDown()
}
function wait() {
 setTimeout("countDown()",1000)
} 
function countDown() {
 mmm=document.count.mmm.value
 sss=document.count.sss.value
 if (running==false) return
 if (sss>0) {sss-=1; document.count.sss.value=sss; wait()} else {if (mmm>0) {mmm-=1; document.count.mmm.value=mmm; document.count.sss.value=59; sss=59; wait()}}
 if (sss==0 && mmm==0) {
  if (www!="") {
   if (www.substr(1,7)!="http://") www="http://"+www
   document.location.href=www;running=false;return
  }
  document.location.href="count-up.htm";running=false;return
 }
}
function waitN() {
 setTimeout("countUp()",1000)
} 
function countUp() {
 mmm=parseInt(document.count.mmm.value)
 sss=parseInt(document.count.sss.value)
 if (sss<60) {sss+=1; document.count.sss.value=sss; waitN()} else 
 {
  mmm+=1; document.count.mmm.value=mmm; document.count.sss.value=0; sss=0;
  if (mmm>5) {waitN()} else {document.location.href="count-up"+mmm+".htm";}
 }
}
//-->  
