<!DOCTYPE html>
<html>
<head>
<meta charset="Windows-1252">
<title>Zagolovok.</title>
</head>
<body>
<div id="d1">100</div>
<script>
var x = 100;
function WF()
{
x--;
if(x < 0) clearInterval(T1);
else d1.innerHTML = x;
}
var T1 = setInterval(WF, 100);
</script>
</body>
</html>