
	function isBatcheck(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 BattleCheckForm() {
		if (!isBatcheck(document.battle_form.rbut)) {
			alert('»çÁøÀ» ÀÀ´ä Ã¼Å©ÇÏ¼¼¿ä.');
			return false;
		} else {
			return true;
		}
	}
	document.write("");
document.write("	<table width=250  border=0 cellpadding=0 cellspacing=0>");
document.write("	<tr>");
document.write("	 <td height=32><a href=http://kids.hankooki.com/survival/battle_result.php target=_top><img src=http://img.hankooki.com/kids/2008/08/s_r_photo1.gif width=250 height=32 border=0></a></td>");
document.write("	</tr>");
document.write("	<tr>");
document.write("	 <td height=141 align=center valign=top background=http://img.hankooki.com/kids/2008/08/s_r_photo2.gif>");
document.write("		<table width=230  border=0 cellpadding=0 cellspacing=0 bgcolor=f4ebdd>");
document.write("		<tr>");
document.write("		 <td align=center style='padding:6px'>");
document.write("			<!-- ¼­¹ÙÀÌ¹ú Æ÷Åä »ó¼¼ -->");
document.write("			<table width=100  border=0 cellspacing=0 cellpadding=0>");
document.write("			<form name='battle_form' method='post' action='http://kids.hankooki.com/survival/battle_run.php?rbut=&indexid=38' onsubmit='return BattleCheckForm()' style='padding:0px;margin:0px'>");
document.write("			<tr>");
document.write("			 <td width=88>");
document.write("				<table width=88 height=88  border=0 cellpadding=0 cellspacing=1 bgcolor=999999>");
document.write("				<tr>");
document.write("				 <td><img src=http://photo.hankooki.com/webdownphoto/kids/kids_survival/thumb/2009/03/090327_100003.jpg width=86 height=86></td>");
document.write("				</tr>");
document.write("				</table></td>");
document.write("			 <td align='center'><img src='http://img.hankooki.com/kids/2008/08/vs.gif' width='29' height='20'></td>");
document.write("			 <td width='88'>");
document.write("			 	<table width='88' height='88'  border='0' cellpadding='0' cellspacing='1' bgcolor='999999'>");
document.write("				<tr>");
document.write("				 <td><img src=http://photo.hankooki.com/webdownphoto/kids/kids_survival/thumb/2009/03/090327_101412.jpg width=86 height=86></td>");
document.write("				</tr>");
document.write("				</table>");
document.write("			 </td>");
document.write("			</tr>");
document.write("			<tr>");
document.write("			 <td height='20' align='center'><input name='rbut' type='radio' value='cnt_1'></td>");
document.write("			 <td align='center'>&nbsp;</td>");
document.write("			 <td align='center'><input name='rbut' type='radio' value='cnt_2'></td>");
document.write("			</tr>");
document.write("			<tr>");
document.write("			 <td align='center'><input type=image src='http://img.hankooki.com/kids/2008/08/btn_photo1.gif' width='55' height='17' border='0'></a></td>");
document.write("			 <td>&nbsp;</td>");
document.write("			 <td align='center'><a href='http://kids.hankooki.com/survival/battle_result.php' target='_top'><img src='http://img.hankooki.com/kids/2008/08/btn_photo2.gif' width='55' height='17' border='0'></a></td>");
document.write("			</tr>");
document.write("			</table>");
document.write("		 </td>");
document.write("		</tr>");
document.write("		</form>");
document.write("		</table></td>");
document.write("	</tr>");
document.write("	<tr>");
document.write("	 <td height='10'><img src='http://img.hankooki.com/kids/2008/08/s_r_photo3.gif' width='250' height='10'></td>");
document.write("	</tr>");
document.write("	</table>");
document.write("	");
document.write("");
