$(document).ready(function() {
	// validate
	$(".validate").each(function(){
		$(this).validate();
	});
});