
function ischeck(frm){
	var f = frm;
	var i = 0;
	var chked = 0;
		
	for(i = 0; i < f.length; i++ ) {
		if(f[i].checked) {			chked++;			}
	}
	if( chked < 1 ) {
		return false;
	}
	return true;
}


function PollCheckForm() {
	if (!ischeck(document.form.ID_select)) {
		alert('¼³¹®¿¡ ÀÀ´ä Ã¼Å©ÇÏ¼¼¿ä.');
		return false;
	} else {
		return true;
	}
}


         document.write("");
document.write(" <form name='form' method='post' action='/poll/poll_apply.php?' onsubmit='return PollCheckForm()' style='padding:0px;margin:0px'>");
document.write("<INPUT Type='hidden' Name='mode' Value='submit'>");
document.write("<INPUT Type='hidden' Name='ID_survey' Value='168'>");
document.write("<INPUT Type='hidden' Name='YN_reapply' Value=''>");
document.write("<table width='164' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td><img src='http://img.hankooki.com/kids/200510/serve_left_with_t.gif'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td background='http://img.hankooki.com/kids/200510/serve_left_with_bg.gif' style='padding:3 0 0 3;'>");
document.write("	<table width='100%' border='0' cellpadding='2' cellspacing='0'>");
document.write("	<tr>");
document.write("	<td valign='top'><img src='http://img.hankooki.com/kids/200510/icon_q.gif'></td>");
document.write("	<td><font class='darkgray'>ÇÐ±³ ¼ö¾÷À» ¸¶Ä¡°í ÇÐ¿ø(»ç±³À°) ´Ù´Ï¼¼¿ä? ÇÐ¿øÀ» ´Ù´Ñ´Ù¸é ¸î°³¸¦ ´Ù´Ï¼¼¿ä?</font></td>");
document.write("	</tr>");
document.write("	</table>");
document.write("</td>");
document.write("</tr>");
document.write("<tr><td><img src='http://img.hankooki.com/kids/200510/serve_left_with_table_t.gif'></td></tr>");
document.write("<tr>");
document.write("<td background='http://img.hankooki.com/kids/200510/serve_left_with_table_bg.gif' align='center'>");
document.write("	<table width='145' border='0' cellpadding='0' cellspacing='0'>");
document.write("");
document.write(" ");
document.write("	<tr><td valign=top><input type=radio name='ID_select' Value='1' ></td><td><font face='±¼¸²'>¾È ´Ù´Ñ´Ù </td></tr>");
document.write(" 	");
document.write("	<tr><td valign=top><input type=radio name='ID_select' Value='2' ></td><td><font face='±¼¸²'>1°³ </td></tr>");
document.write(" 	");
document.write("	<tr><td valign=top><input type=radio name='ID_select' Value='3' ></td><td><font face='±¼¸²'>2°³ </td></tr>");
document.write(" 	");
document.write("	<tr><td valign=top><input type=radio name='ID_select' Value='4' ></td><td><font face='±¼¸²'>3°³ ÀÌ»ó </td></tr>");
document.write(" 	");
document.write("	</table>");
document.write("</td>");
document.write("</tr>");
document.write("<tr><td><img src='http://img.hankooki.com/kids/200510/serve_left_with_table_u.gif'></td></tr>");
document.write("<tr><td background='http://img.hankooki.com/kids/200510/serve_left_with_bg.gif' align='center'><p style='margin-top:5px'>");
document.write("	<input type=image src=http://img.hankooki.com/kids/200510/cen_with_button1.gif border=0 hspace=10>");
document.write("	&nbsp;&nbsp;&nbsp;");
document.write("	<a href='http://kids.hankooki.com/poll/poll_apply.php?ID_survey=168'><img src='http://img.hankooki.com/kids/200510/cen_with_button2.gif' border='0'></a>");
document.write("	</td>");
document.write("</tr>");
document.write("<tr><td><img src='http://img.hankooki.com/kids/200510/serve_left_with_u.gif'></td></tr>");
document.write("</table>");
document.write("</FORM>");
document.write("");
