function $(_sId){
	return document.getElementById(_sId);
}
function exist(_sId){
	var oObj = $(_sId);
	return oObj != null ? oObj : false;
}
var info={};
info['name'] = "投诉者姓名";
info['tel'] = "联系电话或手机";
info['email'] = "电子邮件";
info['content'] = "投诉内容";
info['validate'] = "验证码";
function check(info){
   for(var ele in info) {
      if(exist(ele) && $(ele).value!=''){ 
      continue;
	}else{
	 alert(info[ele]+"不能为空");
         $(ele).focus();
         return false;
	}
   }
   $('do').disabled=true;
}