function quickSubmit(event) {
	if (event.ctrlKey && event.keyCode == 13) {
		answer.submit()
	}
}
function checkform(f,des) {
	if(f.content.value=="") {
		alert("请输入您的"+des);
		f.content.focus();
		return false;
	}
}
function creply(flag){ if (flag=="yes") {document.getElementById('replytb').style.display=""; }if(flag=="no"){document.getElementById('replytb').style.display="none"; }location.hash="here";}
function fixreply(flag){ setTimeout("creply('"+flag+"')",300);}
function rate(divid,id,type){
	var taget_obj = document.getElementById(divid);
	var myajax = new DedeAjax(taget_obj,false,false,"","","");
	myajax.SendGet2("/ask/post.php?action=rate&id="+id+"&type="+type);
	DedeXHTTP = null;
}