
function checklogin_form(form, user) {
	if (user == "null" || user == null || user == "") {
		if (confirm("请在登录之后申请服务，现在登录？")) {
			window.location.href = "http://passport.house100.cn/login?url=http://club.house100.cn/apply.html";
		}
	} else {
		form.action = "/apply.html";
		form.submit();
	}
}
function checklogin_href(serverid, user) {
	if (user == "null" || user == null || user == "") {
		if (confirm("请在登录之后申请服务，现在登录？")) {
			window.location.href = "http://passport.house100.cn/login?url=http://club.house100.cn/apply.html?serverid=" + serverid;
		}
	} else {
		window.location.href = "/apply.html?serverid=" + serverid;
	}
}

	
