function getListCate(id,type,curid,curpid){	
	var lsv = document.getElementById(id);
	switch (type)  
	  {  
			case 1:lsfname="ajax_dty.asp";break;  
			case 2:lsfname="ajax_pjt.asp";break;  
			//case 3:lsfname="ajax_con_t.asp";break;  
	  }  	
	
	lsv.innerHTML="<div class=\"dtyload\"><img src=\"../images/recordloads.gif\" alt=\"loading\" /> Loading...</div>";	
	var xhr=XHR();
	xhr.open("GET", lsfname+"?id="+curid+"&pid="+curpid+"&r="+Math.random(), true);
	xhr.onreadystatechange=function(){
		if(xhr.readyState==4){
			if(xhr.status==200){
				lsv.innerHTML=xhr.responseText;
			}else{
				lsv.innerHTML="error!";	
			}
		}
		
	}
	xhr.send(null);
}
function chkmessage()
{
	var rf = document.getElementById("rseform");
	var fv = document.getElementById("fvs");
	if(Jtrim(rf.mtxt.value)=="")
	{
		fv.style.display="";
		fv.innerHTML="Please input Message!";
		return false;
	}
	rf.formsubmit.disabled = true;
	return true;
}

