docs: function(style, stylename)
  	{
  		if (style != null && stylename != null)
  		{
  			var tokens = style.split(';');
  			var pos = 0;
  			
  			for (var i = 0; i < tokens.length; i++)
  			{
  				if (tokens[i] == stylename)
  				{
  					return pos;
  				}
  				
  				pos += tokens[i].length + 1;
  			}
  		}
  
  		return -1;
  	}