private String getHyperlink(int location) {
		StyledDocument doc = getStyledDocument();
		if (doc != null) {
			Element elem = doc.getCharacterElement(location);
			if (elem != null) {
				AttributeSet a = elem.getAttributes();
				targetIsBlank = "_blank".equals(a.getAttribute(HTML.Attribute.TARGET));
				if (targetIsBlank)
					setLinkParam(a);
				return (String) a.getAttribute(HTML.Attribute.HREF);
			}
		}
		return null;
	}