<html>
<head>
<style>
<!--
body, p, div,td,input {font:menu;line-height: 150%}
.div { font-family: 宋体; font-size: 12px; line-height: 150% }
-->
</style>
<title>7Stars</title>
</head>
<body>
<script language="JavaScript">
function Rec(form,name)
{
//alert(name);
if(name=="one")
{form.one.value =" "+Math.floor((Math.random())*10)}
if(name=="two")
{form.two.value =" "+Math.floor((Math.random())*10)}
if(name=="three")
{form.three.value =" "+Math.floor((Math.random())*10)}
if(name=="four")
{form.four.value =" "+Math.floor((Math.random())*10)}
if(name=="five")
{form.five.value =" "+Math.floor((Math.random())*10)}
if(name=="six")
{form.six.value =" "+Math.floor((Math.random())*10)}
if(name=="senven")
{form.senven.value =" "+Math.floor((Math.random())*10)}
}
function Clear(form){
form.one.value ="";
form.two.value ="";
form.three.value ="";
form.four.value ="";
form.five.value ="";
form.six.value ="";
form.senven.value ="";
}
</script>
<form>
<center>
<h1>7<font color=red>s</font><font color=#FBC128>t</font><font color=#F9EE1C>a</font><font color=#05EB05>r</font><font color=#021EDF>s</font><font color=#F772FE>*</font></h1>
<TABLE>
<TR>
<TD colspan=15 align="center"><input type="button" onClick="Clear(this.form)" value=" 清 除 "></TD>
</TR><br>
<TR>
<TD >
<input type="text" align=center size=7 name="one"><br>
<input type="button" value="产生" onClick="Rec(this.form,'one')">
</TD>
<TD width> </TD>
<TD >
<input type="text" size=7 name="two"><br>
<input type="button" value="产生" onClick="Rec(this.form,'two')">
</TD>
<TD width> </TD>
<TD >
<input type="text" size=7 name="three"><br>
<input type="button" value="产生" onClick="Rec(this.form,'three')">
</TD>
<TD width> </TD>
<TD >
<input type="text" size=7 name="four"><br>
<input type="button" value="产生" onClick="Rec(this.form,'four')">
</TD>
<TD width> </TD>
<TD >
<input type="text" size=7 name="five"><br>
<input type="button" value="产生" onClick="Rec(this.form,'five')">
</TD>
<TD width> </TD>
<TD >
<input type="text" size=7 name="six"><br>
<input type="button" value="产生" onClick="Rec(this.form,'six')">
</TD>
<TD width> </TD>
<TD>
<input type="text" size=7 name="senven"><br>
<input type="button" value="产生" onClick="Rec(this.form,'senven')">
</TD>
</TR>
</TABLE>
</form>
</body>
</html>