 $(document).ready(function(){
  
  $("input:text:visible:first").focus();
  
$("a.more").click(function () {
    $(this).parent().next().show();
	$(this).parent().hide();	
    });

$("a.less").click(function () {
    $(this).parent().prev().show();
	$(this).parent().hide();			
    });

 });
 
function isValidEmail(address) {
  var pattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
  if (pattern.test(address.value)) {
    return true;
  }
  alert('Invalid email address (' + address.value + ')');
  return false;
}   
	  

