code: function (name, checked) {
  
  		var radioHtml = '<input type="radio" class="leaflet-control-layers-selector" name="' +
  				name + '"' + (checked ? ' checked="checked"' : '') + '/>';
  
  		var radioFragment = document.createElement('div');
  		radioFragment.innerHTML = radioHtml;
  
  		return radioFragment.firstChild;
  	}
docs: IE7 bugs out if you create a radio dynamically, so you have to do it this hacky way (see http://bit.ly/PqYLBe)