code: function(style)
  	{
  		var result = [];
  		
  		if (style != null)
  		{
  			var pairs = style.split(';');
  			
  			for (var i = 0; i < pairs.length; i++)
  			{
  				if (pairs[i].indexOf('=') < 0)
  				{
  					result.push(pairs[i]);
  				}
  			}
  		}
  				
  		return result;
  	}
docs: Function: getStylenames
  
  Returns the stylenames in a style of the form [(stylename|key=value);]
  or an empty array if the given style does not contain any stylenames.
  
  Parameters:
  
  style - String of the form [(stylename|key=value);].