<!--
function SetUniqueRadioButton(EndsWith, current)
{
   EndsWith = EndsWith.toLowerCase();
   
   for(i = 0; i < document.forms[0].elements.length; i++)
   {
      elm = document.forms[0].elements[i];
      if (elm.type == 'radio')
      {
         strRight = Right(elm.name, EndsWith.length).toLowerCase();
         blComp = (strRight == EndsWith);
         if(blComp)
         {
            elm.checked = false;
         }
      }
   }
   current.checked = true;
}

function Right(str, n){
    if (n <= 0)
       return "";
    else if (n > String(str).length)
       return str;
    else {
       var iLen = String(str).length;
       return String(str).substring(iLen, iLen - n);
    }
}
//-->
