	function toSingUp(event){
		if(isLogin_act==false){
			alert("请先登录博色，然后再报名！");
			createLoginWin();
			var h=getObj("toreg").href;
			h+="&actId="+actId;
			getObj("toreg").href=h;
			document.login_frm.url.value=location_var;
			getObj("login_win").style.width="230px";
			showWin(event,"login_win",-100,-200);
			return ;
		}
		if(canSign){
			window.location.href=path+"/a.do?method=toSignUp&actId="+actId;
		}
		else if(canSign2){
			window.alert("活动正式的报名时间已经截止，报名后你将进入报名的后备队伍，如果有人退出，你将有可能报名成功");
			window.location.href=path+"/a.do?method=toSignUp&actId="+actId;
		}
		else{
			window.alert("活动已经结束");
		}
	}
	function toSingUp2(){
		if(canSign){
			window.location.href=path+"/a.do?method=toSignUp2&actId="+actId;
			//window.location.href=path+"/a.do?method=toSignUp&actId="+actId;
		}
		else if(canSign2){
			window.alert("活动正式的报名时间已经截止，报名后你将进入报名的后备队伍，如果有人退出，你将有可能报名成功");
			window.location.href=path+"/a.do?method=toSignUp2&actId="+actId;
			//window.location.href=path+"/a.do?method=toSignUp&actId="+actId;
		}
	}
/****************easel**********************/
	function loadHbb(event){
		getObj("ewin").style.width="245px";
		getObj("hbb").value=reCode(tempHbb);
		showWin(event,"ewin",20,-100);
	}
	function subHbbFrm(){
		document.hbbFrm.easel.value=getCode(getObj("hbb").value);
		return true;
	}
	/**********ad******************/
	function loadAd(event){
		getObj("adwin").style.width="245px";
		getObj("ad_").value=reCode(tempAd);
		showWin(event,"adwin",20,-100);
	}
	function subAdFrm(){
		document.adFrm.ad.value=getCode(getObj("ad_").value);
		return true;
	}
	/**********ad1******************/
	function loadAd1(event){
		getObj("ad1win").style.width="245px";
		getObj("ad1_").value=reCode(tempAd1);
		showWin(event,"ad1win",20,-100);
	}
	function subAd1Frm(){
		document.ad1Frm.ad1.value=getCode(getObj("ad1_").value);
		return true;
	}
	/**********ad2******************/
	function loadAd2(event){
		getObj("ad2win").style.width="245px";
		getObj("ad2_").value=reCode(tempAd2);
		showWin(event,"ad2win",20,-100);
	}
	function subAd2Frm(){
		document.ad2Frm.ad2.value=getCode(getObj("ad2_").value);
		return true;
	}
	/**********cmt******************/
	function loadCmt(event){
		getObj("cwin").style.width="245px";
		showWin(event,"cwin",-200,-100);
	}
	function subCmtFrm(){
		document.cmtFrm.cmt.value=filtertxt(getObj("cmt_").value);
	}
	function showInvite(event){
		var inviteWin="<div class=\"popWin str\" id=\"inviteWin\" style=\"display:none;\">复制以下地址发给你的好友<br/><textarea cols='30' rows='3' onmouseover='this.focus()' onfocus='this.select()'>"+link+"</textarea><br/><br/><span class='fRight'><input type='button' class='buttonauto' value='复制' onclick='copyLink()'/>&nbsp;&nbsp;&nbsp;&nbsp;<a href='javascript:hideWin(\"inviteWin\")'>取消</a></div>";
		setHTML("ccc",inviteWin);
		showWin(event,"inviteWin",-50,-50);
	}
	function loadMapNameWin(event){
		if(typeof(utf8_name)!="undefined" && typeof(lo)!="undefined" && typeof(city)!="undefined"){
			document.map_edit_name_frm.name.value=utf8_name;
			document.map_edit_name_frm.lo.value=lo;
			document.map_edit_name_frm.city.value=city;
			getObj("mapNameWind").style.width="250px";
			showWin(event,"mapNameWind",0,50);
		}
	}
	function checkMapName(){
		if(!isEmpty(document.map_edit_name_frm.name.value,"地点名称")){
			return false;
		}
		return true;
	}
