<input onclick="removeAttr(i)" name="autoselected[]" value="i" class="radio" checked="checked" type="radio">
....
function removeAttr(i) {
preSelected = $$('[input[type=radio][name=autoselected[]][value=' + i + ']');
preSelected.each(function (item) {
// De-Select a selected option in Prototype.
});
}
any idea how to achieve this?