m("type");
		var url = "tencent" + appid + "://" + iface + "/cancel";
		document.getElementById("cancel").addEventListener("click", function () {
			setTimeout(function () {
				window.open(url, "_self");
			}, 0);
		}, false);
		document.getElementById("title").innerHTML = {
			AppChallenge : type == "pk" ? "发送挑战" : "发送炫耀",
			AppInvitation : "发送应用邀请",
			AppGiftRequest : type == "request" ? "发送应用请求" : "发送免费礼物",
			SendStory : "发送分享"
		}[iface];
	