

function ZipCodeCheck(sender, args)
{
      reZip = new RegExp(/(^\d{5}$)|(^\d{5}-\d{4}$)/);

      if(args.Value != "")
      {
          if (!reZip.test(args.Value)) {
              args.IsValid = false;
              return;
          }
      }

      args.IsValid = true;
}



function ClientValidate(source, arguments)
{
    if (isNaN(arguments.Value))
        arguments.IsValid = false;
     else
       arguments.IsValid = true;
}
