function style_forms(el)
{  
  // radio    
  el.find("input.radio").each(function()
  {
    $(this).wrap('<label class="radiobox radio-label"></label>');
    if ($(this).attr("checked"))  
       $(this).parent('.radiobox').addClass('checked'); 
  }); 
    
  el.find("li.radio").click(function()
  {
    $(this).parent().find('.radiobox').removeClass('checked');
    $(this).children('.radiobox').addClass('checked');
    $(this).parent().find('input.radio').removeAttr("checked");
    $(this).find('input.radio').attr('checked',true);
  });

}
////////////////

$(document).ready(function(){style_forms($('body'));});

