[求助]问题错误提示"语句未结束"
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="vbscript" >
funcation zc()
dim x,sum=0
for x=1 to 1000
if(x mod 7!=0) then
sum=sum+x
end if
next
msgbox "1000以内不能被7整除的数的和="&sum,vbonlyok+vbinformation,"计算和"
end sub
</script>
</head>
<body>
<h3>1000以内不能7整除的数之和</h3><br />
<form>
<p>
<input type="button" name="btnzc" value="显示结果" onclick="zc()">
</form>
</body>
</html>
我是个新手来的,看不出来哪里有问题,它提示的错误是"语句未结束".