

function funny_SaveWork(strOldUser,strKey,strContent,pSaveContent_CallBack){
	//ËÑË÷web
	$("loading").style.display = "block";
	var url="/Work/post";
	var pars="oldUser="+encodeURIComponent(strOldUser)+"&tags="+encodeURIComponent(strKey)+"&title="+encodeURIComponent(strKey)+"&content="+encodeURIComponent(strContent);
	var pAjax = new Ajax.Request(    
		url,
		{ 
			method: 'POST',
			parameters: pars,
			asynchronous: true,
			onComplete: pSaveContent_CallBack
		}
	);
	return false;
}

function save_Diary(strID,strKey,strContent,pSaveContent_CallBack){
	//ËÑË÷web
	$("loading").style.display = "block";
	var url="/Diary/post";
	var pars="key="+encodeURIComponent(strID)+"&tags="+encodeURIComponent(strKey)+"&title="+encodeURIComponent(strKey)+"&content="+encodeURIComponent(strContent);
	var pAjax = new Ajax.Request(    
		url,
		{ 
			method: 'POST',
			parameters: pars,
			asynchronous: true,
			onComplete: pSaveContent_CallBack
		}
	);
	return false;
}