12){ alert("姓名长度不能超过12个汉字!"); name.focus(); return false; } //验证电话格式 if(tel.value != ""){ var phone = tel.value; //var reg=/(^[0-9]{3,4}\-[0-9]{7,8}$)|(^\([0-9]{3,4}\[0-9]{7,8}$)|(^0{0,1}13[0-9]{9}$)|(^0{0,1}15[0-9]{9}$)/ if(phone.search("^-?\\d+(\\.\\d+)?$")!=0){ alert("只能输入数字"); tel.focus(); return false; }else if(phone.length>15){ alert("电话号码过长"); tel.focus(); return false; } //if(reg.test(phone)==false){ // alert("请输入正确的电话号码!"); // return false; // pPhone.focus(); //} } //验证email格式 if(email.value==""){ alert("Please Enter Your Email!"); email.focus(); return false; }else if((email.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)){ alert("请输入正确的Email地址"); email.focus(); return false; } var c=content.value; b=c.replace(/(^\s*)|(\s*$)/g,""); if (b==""){ alert("请输入内容!"); content.focus(); return false; } if(c.length>400){ alert("内容长度过长,最多200个汉字!"); content.focus(); return false; } for(var i=0;i<=regArray.length;i++){ if(content.value.toLowerCase().indexOf(regArray[i]) != -1){ alert("您输入的内容中可能含有非法字符或脚本语言,请检查后重新输入!"); content.focus(); return false; } } return true; }
Tsinghua University Art Museum Switchboard: (8610)010-62781012
Suggestions and Complaints:(8610)010- 62781023 (Monday to Friday 8:00-17:00); (8610)010-62781012-1-6 (Saturday to Sunday 8:00-17:00)
Membership:(8610)010-62780507 (Tuesday to Sunday 9:00-17:00)
Shop: (8610)010-62793393
Cafe: (8610)010-62791911
Reception Email: tam@tsinghua.edu.cn
Donation Email: collection-tam@tsinghua.edu.cn
Exhibitions Email: exhibition-tam@tsinghua.edu.cn
Business Email: business-tam@tsinghua.edu.cn
Membership / Volunteer/ Public programmes Email: edu-tam@tsinghua.edu.cn
Address: Tsinghua University Art Museum, NO. 1, Tsinghua University Campus, Hai Dian District, Beijing 100084, P. R. China