function pollSubmit() {
if (!checkData()) {
alert("보기를 선택하세요");
return;
}
document.bbsForm.action = "/_c21_/article_poll_vote";
document.bbsForm.grpid.value = "1Js4F";
document.bbsForm.mgrpid.value = "";
document.bbsForm.fldid.value = "9h3k";
document.bbsForm.dataid.value = "3739";
document.bbsForm.pollseq.value = "";
document.bbsForm.return_url.value = "/_c21_/bbs_read?grpid=1Js4F&fldid=9h3k&contentval=000yJzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=3739&page=1&prev_page=0&firstbbsdepth=&lastbbsdepth=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz&listnum=20";
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());
|