//var url = ’http://detail.b2b.hc360.com/detail/turbine/action/sendbusnote.SendBusnoteAction/eventsubmit_dosendbusnote/doSendbusnote’; //var url = ’http://detail.b2b.hc360.com/detail/turbine/template/shop%2Casync%2Cbusnoteresult.html’; var url = ’http://b2b.hc360.com/action/shop,async,busnoteresult.html’; function sendIsOnline(){ var content=document.getElementById(’busnotecontent’).value; var vaildcode=document.getElementById("vaildcode").value; var LoginTicket=document.getElementById("LoginTicket").value; if(content==""){ alert("请填写留言内容!"); return false; } if (content.length>2000){ alert("留言内容不能超过2000个字!"); return false; } if (vaildcode==""){ alert("请填写验证码!"); return false; } if (vaildcode.length!=4){ alert("请正确填写4位验证码!"); return false; } var myAjax = new Ajax.Request( url, { method: ’post’, parameters: {validcode:vaildcode,content:content,sendcontacter:’王少华’,corname:’$userinfo.name’, email:’$userinfo.email’,tel:’$userinfo.telephone’,infoid:’68402622’,infotype:’0’,recvproviderid:’100010649446’,sendproviderid:’0’,title:’供应上海斯米克焊材斯米克焊条焊丝’, LoginTicket:LoginTicket}, onComplete: function(req){ ret=req.responseXML; parxmlrs(ret); }, onException:function(e){alert(’系统故障暂时无法返回正确结果,请您稍后再试试’);} }); } function sendNotOnline(){ var vaildcode=document.getElementById("vaildcode").value; var content=document.getElementById(’busnotecontent’).value; var sendcontacter = document.getElementById(’busnoteyourname’).value; var corname = document.getElementById(’busnotecorname’).value; var email = document.getElementById(’busnoteemail’).value; var tel = document.getElementById(’busnotetel’).value; var LoginTicket=document.getElementById