<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> java script </TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script>
<!--
var sec=60
var min=30
function setdisplay(){
document.counter.d2.value='30'
}
function display(){
if (sec<=0){
sec=60
min-=1
}
if (min<=-1){
sec=0
min+=1
}
else
sec-=1
document.counter.d2.value=min+"."+sec
setTimeout("display()",1000)
}
function stop(){
document.counter.d2.value=document.counter.d2.value
}
function inc(){
sec+=5
if (sec > 59)
{
sec=0
min+=1
}
document.counter.d2.value=min+"."+sec
}
function dec(){
sec-=5
if (sec <= 0)
{
sec=60
min-=1
}
document.counter.d2.value=min+"."+sec
}
-->
</script>