var count=0;
var votecount=0;
var showString="";
function setNeed(qname)
{abc=document.getElementsByName(qname);
for(i=0;i 0)alert("请做完所有的必选题!");}
function setMaxVote(qindex,qname,qnum)
{qrnum=0;
qrnum=qnum;
objarray=document.getElementsByName(qname);
seledcount=0;
for(i=0;i qrnum)
{
votecount++;
alert(showmsg);
}
}
function validateUserInfo(name,nameStr)
{
nameobj=document.getElementById(name);
if(nameobj == null)
return;
if(nameobj.value