$(document).ready(function() {
  /**
   * Hack fix for corners - reset background-color to white prior to
   * jquery.corners being called and then put it to whatever the css had it
   */
  var background = $("body").css('background-color');
  $("body").css('background-color', '#ffffff');
  $('#contact-us').corner();
  $("body").css('background-color', background);
  $("#contact-us-form").validate({
    rules: {
      field3: {
        email: true,
        maxlength: 100
      },
      field8: {
        containsDigits: 10,
        maxlength: 100
      }
    }
  });
});

