private String executeNativeScripts(String str) {
		str = str.trim();
		if (str.equals(""))
			return "";
		String output = "";
		synchronized (scriptLock) {
			String[] token = str.split(":");
			if (token.length >= 3) {
				// reconnect "http://......" and others that should not have been broken up
				if (token.length >= 4) {
					for (int k = 3; k < token.length; k++)
						token[2] += ":" + token[k];
				}
				String t0 = token[0].trim().intern();
				if (t0 == "mw3d")
					output = sendNativeScript(token, PageMd3d.class);
				else if (t0 == "applet")
					output = sendNativeScript(token, PageApplet.class);
				else if (t0 == "plugin")
					output = sendNativeScript(token, PageJContainer.class);
			}
		}
		return output;
	}