function pollSubmit() {
if (!checkData()) {
alert("보기를 선택하세요");
return;
}
document.bbsForm.action = "/_c21_/article_poll_vote";
document.bbsForm.grpid.value = "1UqcD";
document.bbsForm.mgrpid.value = "";
document.bbsForm.fldid.value = "evmE";
document.bbsForm.dataid.value = "8";
document.bbsForm.pollseq.value = "";
document.bbsForm.return_url.value = "/_c21_/bbs_read?grpid=1UqcD&fldid=evmE&contentval=00008zzzzzzzzzzzzzzzzzzzzzzzzz";
document.bbsForm.submit();
}
function checkData() {
var choice = document.bbsForm.article_poll_fldpoll_egseq;
if(choice.length > 0) {
for(i = 0; i < choice.length; i++)
if (choice[i].checked) return true;
} else {
return choice.checked;
}
}
function popup(szURL, szName, iWidth, iHeight) {
window.open(szURL, szName, 'width=' + iWidth + ',height=' + iHeight + ',resizable=no,scrollbars=no');
}
document.write(removeRestrictTag());