Unfortunately the JavaScript function
switch_id is hard coded to use a <select> input and just won't work with any other type of input. You'd need to rewrite the function or make a new one to work with radio buttons.
FYI - this is the javascript function in question:
PHP Code:
function switch_id(C,E)
{
var F = C.options[C.selectedIndex].value;
if(F=="")
{
return;
}
var B = new String(window.location);
var A = new String("");
B=B.split("#");
if(B[1])
{
A = "#" + B[1];
}
B = B[0];
if(B.indexOf(E+"id=") != -1 && is_regexp)
{
var D=new RegExp(E + "id=\\d+&?");
B = B.replace(D, "");
}
if(B.indexOf("?") == -1)
{
B += "?";
}
else
{
lastchar = B.substr(B.length - 1);
if(lastchar != "&" && lastchar != "?")
{
B += "&";
}
}
window.location = B + E + "id=" + F + A;
}