<html>
<head>
<style type="text/css">
#txtId{ text-align:center;font-size:88px;color:#FF0000 }
</style>
<script type="text/javascript">
<!--
var ar = [];
for(var i=1;i<16000;i++){
    var tmpStr = ("000000" + i);
    ar[i]= "NK"+ tmpStr.substring(tmpStr.length-6);
}
var timer = null;
function begin(){
    var txt = document.getElementById("txtId");
    function yaojiang(){
        txt.value = ar[Math.ceil(Math.random()*16000)];
    }
    timer = window.setInterval(yaojiang,1);
}
function finish(){
    if(timer) clearTimeout(timer);
}
//-->
</script>
</head>
<body>
<p style="text-align:center">
<input type="text" id="txtId" size="10"/>
</p>
<p style="text-align:center">
<input type="button" value="开始" onclick="begin()"/>
<input type="button" value="结束" onclick="finish()"/>
</p>
</body>
</html>