$(document).ready(function() {
  //***************************
  // contact validation rules
  //***************************
  $('form#buy-form').validate({
    
    // tell the validation plugin to check the following inputs
		// documentation: http://docs.jquery.com/Plugins/Validation
    success: function(label) { 
      // inform user their input is valid
      label.html(" ").addClass("correct"); 
    }
    
  });

  $('form#contact-form').validate();
      
});