//function to check valid email addressfunction isValidEmail(){  validRegExp = /^[^@]+@[^@]+.[a-z]{2,}$/i;  strEmail = document.forms[0].ema_email.value;   // search email text for regular exp matches    if (strEmail.search(validRegExp) == -1)    {      alert('A valid e-mail address is required.\nPlease amend and retry.');      return false;    }     return true;}$(document).ready(function() {		$('input[name=ema_email]').focus(function() {		$('#InputBox .bton').css('display', 'block');	});		$('input[name=ema_email]').blur(function() {		if ($(this).val() == "") $('#InputBox .bton').css('display', 'none');	});		$('#InputBox .bton').click(function() {		$(this).css('display', 'none');	});	});
