radio buttons and javascript
<p>i have a form with a radio button group(6 radio buttons),</p>

<p>id's are r1,r2,r3,r4,r5,r6 </p>

<p>and there are 6 hidden tables(display=none;) in this page, </p>

<p>tables id's are t1,t2,t3,t4,t5,t6 .</p>

<p>i want to change the table's dispaly property as inline if a radio button checked,</p>

<p>if,</p>

<p>r1 radio checked show table t1,(other tables should be hidden)</p>

<p>r2 radio checked show table t2, (other tables should be hidden)</p>

<p>r3
   radio checked show table t3,(other tables should be hidden)..so on</p>

<p>i tried to do this with document.getElementById ,but my code did not worked correctly since i am new to javascript. so how to do this?</p>
