public URL getURL() {
		try {
			if (isRemote())
				return new URL(pageAddress);
			if (asApplet && pageAddress.startsWith("file:"))
				return new URL(pageAddress);
			return new File(pageAddress).toURI().toURL();
		} catch (MalformedURLException e) {
			e.printStackTrace();
			return null;
		}
	}