docs: function selected2format()
  			{
  				formatFieldSwitch(true);
  				
  				formatbar.find("a").click(function()
  				{
  					$("*",this).click(function(e)
  					{
  						e.preventDefault();
  						return false;
  					});
  					
  					formatLabelView($(this).text());
  					
  					var formatValue = $(this).attr(vars.css + "-formatval"); // the type of format value
  					
  					// convert to selected format
  					selectionSet("formatBlock",'<'+formatValue+'>');
  					
  					formatFieldSwitch(false);
  				});
  			}