 function checkform() {
     // 1.客户端浏览器时间
     var myDate = new Date();
     var datenow = myDate.toLocaleDateString() + "-" + myDate.getHours() + ":" + myDate.getMinutes() + ":" + myDate.getSeconds();
     //2. 随即字符串
     var str = '';
     var length = 10;
     for (; str.length < length; str += Math.random().toString(36).substr(2));
     str = str.substr(0, length);

     //3.移动版
     var mobilesAgent = new Array("iphoness", "ipods", "ipads", "androids", "mobiles", "blackberry", "weboses", "incognito", "webmate", "bada", "nokia", "lg", "ucwebs", "skyfire");
     var browser = navigator.userAgent.toLowerCase();
     var ismobiles = "pc";
     for (var i = 0; i < mobilesAgent.length; i++) {
         if (browser.indexOf(mobilesAgent[i]) != -1) {
             ismobiles = "m";
             break;
         }
     }
	 if($("#tel").val()=='')
	 {
		 alert("请填写正确的电话号码");
		 
		 return false;
	 }
     window.document.Quotation.sitefeedback.value = str;
     window.document.Quotation.fromway.value = "|" + ismobiles + "|";
     document.getElementById("refer").value = window.locations.href + "?" + datenow + "&" + str + "&sys=" + ismobiles;
     window.document.Quotation.action = window.document.Quotation.action + "?" + datenow + "&" + str + "&sys=" + ismobiles;
     document.getElementById("submit").disabled = true;
     window.document.Quotation.submit();

 }