/**
 * Javascript file containing generic features used throughout the website.
 *
 * @author    Yorick Peterse, Isset Internet Professionals
 * @link      http://isset.nl/
 * @copyright Isset Internet Professionals, 2011
 * @since     23-12-2011
 */
$(document).ready(function()
{
	$('form.validate').validate(
	{
		errorElement: 'span',
		errorClass:   'invalid',
		showErrors:   function(map, list)
		{
			// Dirty way of not processing and showing the error messages
			// (rather than having to hide them with CSS). Remove this bit if
			// you want the errors to show up again.
			this.showLabel = function() {};

			this.defaultShowErrors();
		}
	});
});

