function CheckForm2()
{
//mac地址正则表达式
var reg_name=/[A-Fd]{2}:[A-Fd]{2}:[A-Fd]{2}:[A-Fd]{2}:[A-Fd]{2}:[A-Fd]{2}/;
if(!reg_name.test(document.form2.mac.value)){
alert("mac地址格式不正确!mac地址格式为00:24:21:19:BD:E4");
document.form2.mac.focus();
return false;
}
return true;
}