<input type="radio" name="{$poname}" value="{$o.optionid}" {if $o.selected eq 'Y'}checked="checked" {/if} onclick="check_options();"/>