function themePollCheck() { var maxNum = document.themePollFrm.vote.length; var total = 0; for( i = 0; i < maxNum; i++ ) { if( themePollFrm.vote[i].checked == true ) { total = total + 1 ans = themePollFrm.vote[i].value; } } if( total == 0 ) { alert('Ç׸ñÀ» ¼±ÅÃÇØÁÖ¼¼¿ä.'); return; } document.themePollFrm.ans.value = ans; document.themePollFrm.submit(); } poll_str = ""; poll_str += ""; poll_str += "
"; poll_str += "