private String isHyperlink(Point p) {
		if (getDocument() instanceof HTMLDocument) {
			int pos = viewToModel(p);
			if (pos >= 0) {
				try {
					HTMLDocument doc = (HTMLDocument) getDocument();
					if (doc != null) {
						Element elem = doc.getCharacterElement(pos);
						if (elem != null) {
							AttributeSet a = elem.getAttributes();
							// FIXME!!!: If an image is hyperlinked, the href attribute will be truncated at the
							// position where the first whitespace appears, if the code base is remote.
							// Enumeration e = a.getAttributeNames();
							// while(e.hasMoreElements()){
							// Object o =e.nextElement();
							// System.out.println(o+"="+a.getAttribute(o));
							// }
							if (a != null) {
								AttributeSet b = (AttributeSet) a.getAttribute(HTML.Tag.A);
								if (b != null) {
									String s = (String) b.getAttribute(HTML.Attribute.HREF);
									if (s == null)
										return s;
									return FileUtilities.httpDecode(s);
								}
							}
						}
					}
				}
				catch (Exception e) {
					e.printStackTrace();
					return null;
				}
			}
		}
		return null;
	}