var List_n = lst.length;
var table_str = new Array();
var nnn = new Array();

for(i=0;i<List_n;i++){

	table_str[i] = "";
	table_str[i]+= "<form name='myForm"+i+"'><table>";

	table_str[i]+= "<tr><td class='table_Head' colspan=2>"+lst[i][0][0]+"</td></tr>";
	nnn[i] = lst[i].length;
	for(j=1;j<nnn[i];j++){

		table_str[i]+= "<tr>";
		table_str[i]+= "<td  style='width:"+lst[i][0][1]+"px;font-size:18pt;line-height: 120%;border-bottom:solid 1px #808080;'>" + lst[i][j][0] + "</td>";
		table_str[i]+= "<td><input type='button' value='答え→' alt='' onClick='printAns("+i+","+j+")'> <input type='text' name='tBox"+j+"' style='font-size:18pt;width:"+lst[i][0][2]+"px;'></td>";
		table_str[i]+= "</tr>";
	}

		table_str[i]+= "</table><div style='text-align:center;'><input type='button' value='リセット' onClick='Freset("+i+")'></div>";
		table_str[i]+= "<br></form>";

}



function printAns(x,y){
document.forms["myForm"+x]["tBox"+y].value=lst[x][y][1];
document.forms["yahoo_s"]["p"].value=lst[x][y][0];
}

function Freset(x){
for(j=1;j<nnn[x];j++)document.forms["myForm"+x]["tBox"+j].value="";
}
