function flexbuttons(maxradio, groupname, number, indname, indexselected, onprocess) {
|
if( number <= maxradio) {
|
for( var i=1; i <= number ; i++) {
-
top.fred.document.writeln('<input type="radio" name="' + groupname + '" value="' + indname[i] + '"');
-
if( i == indexselected )
-
top.fred.document.writeln('CHECKED');
-
top.fred.document.writeln(' onClick="' + onprocess + '(this,this,' + i + ')" >');
|
} // end for loop
|
} // end radio button if statement
|