function pollSubmit() {
if (!checkData()) {
alert("보기를 선택하세요");
return;
}
document.bbsForm.action = "/_c21_/article_poll_vote";
document.bbsForm.grpid.value = "TcUP";
document.bbsForm.mgrpid.value = "";
document.bbsForm.fldid.value = "1IVH";
document.bbsForm.dataid.value = "45558";
document.bbsForm.pollseq.value = "";
document.bbsForm.return_url.value = "/_c21_/bbs_read?grpid=TcUP&fldid=1IVH&contentval=00Bqozzzzzzzzzzzzzzzzzzzzzzzzz&datanum=45558&searchlist_uri=%2F_c21_%2Fmember_article_cafesearch&search_ctx=LrpNuZSucOsx.YncUoV2ej_tRpHqkOL1hFNwnK7pMwx2pUU9oYvq-CADq-lzJK_pJrRT62VfYkYK7QAYS6QOwEHpPEryKmR4Egw4Klgjz8SD_Mxn8XburW1NJ.pKhGPGBtYV1AlncLIfGSK..8MaNDrJU6E931iwFDULH.2ijSbY173EQQgmYwucSBYJcyiZMoeOz-JZsHA2_KedjKPkxResBoNkM__fRdrVDEv-_PWrsA_ODW6iWenLSAqtljxwkh.odw6LzLsKGAKCsW8.9O_lZle3Y4koLz8p7pKYGjJBtzvfLCcX1HogCKe8JOH5FgdxVD3m9Ikse6-e7xFfQs4o52X4j5KaMDzt5_PqFmTgpor_c3NyYQ00";
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');
}