var tmz = 15;

function isovertime() {
  if(tmz>0) {
    return true;
  } else {
    return false;
  }
}

function getcas(url) {
  if (1==1)	document.time.cas.value=tmz;
	if (isovertime()) {
		tmz--;
		setTimeout('getcas(\'' + url + '\')',1000)
	} else {
	  self.location.href = url;
	}
}
