<script>
var m=0;
function add(){
setTimeout('add()',5000);
m=m+1;
alert(m);
}
add();
</script>
<?
print "<script>\n";
print "var m=0;\n";
print "function add(){\n";
print "setTimeout('add()',5000);\n";
print "m=m+1;\n";
print "alert(m);\n";
print "}\n";
print "add();\n";
print "\n";
print "</script>";
?>