<!--function isEmail (t)      {          s=t.value;		  //if (isEmpty(s))		   // is s whitespace?		var whitespace = " ";//var ccc = s.indexOf(whitespace);//alert(ccc);var flg;		if ((s == null) || (s.length == 0)) flg = false;			if (s.indexOf(whitespace) > 0) flg = false;            // there must be >= 1 character before @, so we           // start looking at character position 1           // (i.e. second character)           var i = 1;           var sLength = s.length;           // look for @           while ((i < sLength) && (s.charAt(i) != "@"))           { i++ ;           }           if ((i >= sLength) || (s.charAt(i) != "@")) flg = false;           else i += 2;           // look for .           while ((i < sLength) && (s.charAt(i) != "."))           { i++ ;           }           // there must be at least one character after the .           if ((i >= sLength - 1) || (s.charAt(i) != ".")) flg = false;           //else flg = true;           		   if (flg==false)           {             alert("You may have not entered a valid email address!");			 t.focus();		  return false;		   		   		   }		  		  return true;		}
