
function setAttention(targetUserid){ 
	AttentionDWR.addAttention(targetUserid,doResult);
	function doResult(data){ 
		if(data) {window.open("/Go?UsersAdmin&_right=s_viewMyattentions&typetag=from","");
			try{initNumbers();}catch(e){}
		}
		else location="/Go?client_Login&go="+document.location.href.split("/")[3];
		try{if(noticesid>0)QuoteDWR.doSaveNotices({id:noticesid,operate:'3'});}catch(e){}
	}
}
function setCollection(title,typetag){
	CollectionDWR.addCompanycollection(title, "/Go"+location.search , typetag,doResult);
	function doResult(data){ 
		if(data[0]) {window.open("/Go?UsersAdmin&_right=s_viewCompanyCollections&typetag="+typetag,"");try{initNumbers();}catch(e){}}
		else location="/Go?client_Login&go="+document.location.href.split("/")[3];
		try{if(noticesid>0)QuoteDWR.doSaveNotices({id:noticesid,operate:'4'});}catch(e){}
	}
}