rem: var email = document.getElementById("email").value; 
context: function validate(data){  var email = document.getElementById("email").value;  var name = document.getElementById("fullName").value;  if (! name || name=="") {    var alertText = Bundle.GetStringFromName("enterName");    window.alert(alertText);    return false;  }  var emailArray = email.split('@');  if (emailArray.length != 2 ||      emailArray[0] == "" ||      emailArray[1] == "") {    var alertText = Bundle.GetStringFromName("enterValidEmail");    window.alert(alertText);    return false;  }  return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/083fedbb1c0649b946181fe320292ea8edca8974/aw-identity.js/clean/mailnews/base/prefs/resources/content/aw-identity.js