docs: function(tag) {
  		if (!tag) {
  			// create a document fragment to hold multiple-root elements
  			if (document.createDocumentFragment) {
  				return document.createDocumentFragment();
  			}
  
  			tag = '';
  
  		} else if (tag.charAt(0) === '!') {
  			return document.createComment(tag === '!' ? '' : tag.substr(1)+' ');
  		}
  
  		if (tag.toLowerCase() === 'style' && document.createStyleSheet) {
  			// IE requires this interface for styles
  			return document.createStyleSheet();
  		}
  
  		return document.createElement(tag);
  	}