function checkemail(email){
var rec = //b(^(/S+@).+((/.com)|(/.net)|(/.org)|(/.info)|(/.edu)|(/.mil)|(/.gov)|(/.biz)|(/.ws)|(/.us)|(/.tv)|(/.cc)|(/..{2,2}))$)/b/;
return rec.test(email);
}
var rec = //b(^(/S+@).+((/.com)|(/.net)|(/.org)|(/.info)|(/.edu)|(/.mil)|(/.gov)|(/.biz)|(/.ws)|(/.us)|(/.tv)|(/.cc)|(/..{2,2}))$)/b/;
return rec.test(email);
}