<%
dim arrv,i
if request.form("h1") <> "" then
arrv = split(request.form("h1"),",")
end if
%>
<script language="javascript">
<!--
function fncsubmit()
{
var h = '';
var o = document.getElementsByTagName('INPUT');
for(var i=0;i<o.length;i++)
{
if(o[i].type == 'radio')
{
h += o[i].checked + ',';
}
}
h = h.substr(0,h.length-1);
document.all.h1.value = h;
form1.submit();
}
//-->
</script>
<form name=form1 method=post action=a.asp>
<input type=radio name=a1
<% if request.form("h1") <> "" then
if arrv(0)="true" then response.write "checked"
end if %>
>111111111
<input type=radio name=a2
<% if request.form("h1") <> "" then
if arrv(1)="true" then response.write "checked"
end if %>
>111111111
<input type=radio name=a3
<% if request.form("h1") <> "" then
if arrv(2)="true" then response.write "checked"
end if %>
>111111111
<input type=radio name=a4
<% if request.form("h1") <> "" then
if arrv(3)="true" then response.write "checked"
end if %>
>111111111
<p><input type=button value=submit onclick="fncsubmit();"></p>
<input type=hidden name=h1>