function isEmailAddress(theElement){
      var str = theElement.value;
      if (str !== "") {
        var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
        if (filter.test(str)) {
          return true;
        } else{
           alert("\u03a4\u03bf email \u03ad\u03c7\u03b5\u03b9 \u03bc\u03b7 \u03b1\u03c0\u03bf\u03b4\u03b5\u03ba\u03c4\u03ae \u03bc\u03bf\u03c1\u03c6\u03ae.");
        	theElement.focus();
           theElement.select();
           return false;
        }
      }
      return true;
    }

