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