川大科技园联系电话 input{width:290px;height:17px;border:#9ba8b9solid1px;color:#adacac;font-size:12px;padding-left:8px;padding-top:4px;margin-bottom:8px;} .inputd{width:257px;height:22px;border:#9ba8b9solid1px;color:#adacac;font-size:14px;margin-left:13px;padding-left:8px;padding-top:8px;} span{font-size:12px;font-weight:800;color:#cb3b2c;} .text{width:290px;height:54px;border:#9ba8b9solid1px;font-size:12px;padding-top:4px;padding-left:8px;color:#adacac;} .botten{width:112px;height:32px;border:0px;padding-left:0px;padding-top:0px;margin-top:7px;} .botten_d{width:119px;height:34px;border:0px;padding-left:0px;padding-top:0px;} .botten1{width:257px;height:34px;border:0px;padding-left:15px;padding-top:0px;} .lyb{width:434px;height:350px;border:#657e8fsolid1px;background:#FFF} .lyb_nr{width:432px;height:328px;margin:1px;background:url(images/lyb_bj.jpg)repeat-x;} .lyb_nr_top{height:53px;width:432px;} .lyb_nr_top_l{height:43px;width:187px;color:#2d465a;padding-top:10px;padding-left:13px;float:left;overflow:hidden;} .lyb_nr_top_r{height:30px;padding-top:25px;width:198px;color:#51687a;font-size:18px;font-weight:700;float:right;padding-right:10px;} .lyb_nr_Centr{width:432px;height:269px;} .lyb_nr_Centr1{width:432px;height:42px;overflow:hidden;} .lyb_nr_Centr1_l{width:287px;height:42px;float:left;} .lyb_nr_Centr1_r{width:134px;height:42px;float:right;} .lyb_nr_Centr2{width:406px;height:206px;margin-left:13px;} .lyb_nr_Centr2_s{width:406px;height:24px;} .lyb_nr_Centr2_x{width:404px;height:176px;border:#9ba8b9solid1px;border-top:0px;background:#FFF;padding-top:5px;font-size:12px;color:#999;} .lyb_nr_Centr3{width:406px;height:57px;margin-left:13px;margin-top:8px;} .lyb_nr_Centr3_s{width:406px;height:24px;} .lyb_nr_Centr3_x{width:388px;height:23px;border:#9ba8b9solid1px;border-top:0px;background:#FFF;padding:8px;font-size:12px;} .lyb_nr_Centr3_xa{font-size:12px;color:#f00;} varmsg1="请输入您自己的电话号码!"; varmsg2="简短留言,咨询、购买或合作?限50字"; varmsg3="请附上联系电话"; functioninit(){ document.cb.cb_num.value=msg1; //document.cMsg.msgmsg.value=msg2; //document.cMsg.msgtel.value=msg3; } functioncb_clear(){ if(document.cb.cb_num.value==msg1)document.cb.cb_num.value=""; } functionmsg_clear(){ if(document.cMsg.msg.value==msg2)document.cMsg.msg.value=""; } functionmsgmsg_clear(){ if(document.cMsg.msgmsg.value==msg2)document.cMsg.msgmsg.value=""; } functionmsgtel_clear(){ if(document.cMsg.msgtel.value==msg3)document.cMsg.msgtel.value=""; } functionsm() { if(document.cb.tt[0].checked==true){ document.cb.area.disabled=false; document.cb.tel.disabled=false; document.cb.ctel.disabled=false; document.cb.mtel.disabled=true; } else{ document.cb.area.disabled=true; document.cb.tel.disabled=true; document.cb.ctel.disabled=true; document.cb.mtel.disabled=false; } } functioncheckCB() { document.cb.cb_num.value=document.cb.cb_num.value.replaceAll('',''); if(document.cb.cb_num.value==""){alert("请输入回呼号码");returnfalse;} if(isNaN(document.cb.cb_num.value)&&document.cb.cb_num.value.indexOf("-")==-1){alert("回呼号码请输入数字");returnfalse;} if(document.cb.cb_num.value.indexOf(".")!=-1){alert("回呼号码请输入数字");returnfalse;} // if(document.cb.cb_num.value.substring(0,1)!="0"&&document.cb.cb_num.value.substring(0,2)!="15"&&document.cb.cb_num.value.substring(0,2)!="13"){alert("请输入正确的回呼号码");returnfalse;} // if((document.cb.cb_num.value.substring(0,2)=="13"||document.cb.cb_num.value.substring(0,2)=="15")&&document.cb.cb_num.value.length!=11){alert("请输入正确的回呼号码");returnfalse;} // if((document.cb.cb_num.value.substring(0,3)=="013"||document.cb.cb_num.value.substring(0,3)=="015")&&document.cb.cb_num.value.length!=12){alert("请输入正确的回呼号码");returnfalse;} document.all.cb_sub.disabled=true; setTimeout("document.all.cb_sub.disabled=false;",8000); setCookie("cbnum",document.all.cb_num.value); document.all.num.style.display="none"; document.all.num2.style.display=""; } functioncheckMsg() { document.cMsg.msgtel.value=document.cMsg.msgtel.value.replaceAll('',''); document.cMsg.msgmsg.value=document.cMsg.msgmsg.value.replaceAll('',''); if(isNaN(document.cMsg.msgtel.value||document.cMsg.msgtel.value==msg3)){alert("电话号码请输入数字");returnfalse;} if((document.cMsg.msgtel.value.length<6)){alert("请输入正确的电话号码");returnfalse;} if(document.cMsg.chenhu.value==""||document.cMsg.chenhu.value=="您的称呼"){alert("请输入您的称呼");returnfalse;} if(document.cMsg.msgmsg.value==""||document.cMsg.msgmsg.value==msg2){alert("请输入留言内容");returnfalse;} document.cMsg.msg.value=document.cMsg.msgtel.value+document.cMsg.chenhu.value+document.cMsg.msgmsg.value; if(document.cMsg.msg.value==""||document.cMsg.msg.value==(msg2+msg3)){alert("请输入留言内容");returnfalse;} document.cMsg.msg.value=document.cMsg.msg.value.replaceAll('',''); tmpValue=document.cMsg.msg.value; tmpValue=tmpValue.replace(/([\u0391-\uFFE5])/ig,'11'); if(tmpValue.length>120){alert("留言内容过长,请限制在60个汉字或120个英文字符以内");returnfalse;} document.cMsg.action="AddMsg.jsp"; document.cMsg.chenhu.value=''; document.cMsg.msgtel.value=''; document.cMsg.msgmsg.value=''; } functiontextLimitCheck(thisArea,maxLength) { if(thisArea.value.length>maxLength) { alert(maxLength+"个字限制,超出的将自动去除."); thisArea.value=thisArea.value.substring(0,maxLength); thisArea.focus(); } /*回写span的值,当前填写文字的数量*/ //messageCount.innerText=thisArea.value.length; } functioninputmsg(state) { if(state==1){ document.getElementById("srts").style.display=""; }else{ document.getElementById("srts").style.display="none"; } } functiongosms() { location.href="WebSms.jsp?wid=9002600674&surl="+tmpSurl; } functiongetTop(e) { varoffset=e.offsetTop; if(e.offsetParent!=null) { offset+=getTop(e.offsetParent); } returnoffset; } functiongetLeft(e) { varoffset=e.offsetLeft; if(e.offsetParent!=null) { offset+=getLeft(e.offsetParent); } returnoffset; } functiongShopTip(obj) { if(document.getElementById("WebCall_ToolTip")==null) { varobjTipDiv=document.createElement("div"); objTipDiv.innerHTML="<\/div>"; document.body.appendChild(objTipDiv); } document.getElementById("WebCall_ToolTip").style.display="block"; document.getElementById("WebCall_ToolTip").style.position="absolute"; document.getElementById("WebCall_ToolTip").style.left=getLeft(obj)+"px"; document.getElementById("WebCall_ToolTip").style.top=getTop(obj)-82+"px"; cb_clear(); obj.style.color="#cb3c2d"; } functionghideShowTip() { document.getElementById("WebCall_ToolTip").style.display="none"; if(document.cb.cb_num.value=="")document.cb.cb_num.value=msg1; document.cb.cb_num.style.color="#adacac"; } //onload=init;