/*------------------------------------------------------

	Atedrake
	© 2011 Atedrake - http://www.atedrake.com
	JS File for DOM
	Last Modified :
	Please keep Last Modified up to date
	
	Table of Contents
			
			A. List of functions to be run, placed in highFiveAtedrake();
			B. highFiveAtedrake() executed on DOM
			
		List of Functions
			1. Form Validation

-------------------------------------------------------*/


/*------------------------------------------------------
	Run the Functions
-------------------------------------------------------*/

	// A.
	function highFiveAtedrake(){	 
		
			// formValidate();
			
	};


	$(document).ready(function() { 

			highFiveAtedrake();
	
	});


/*------------------------------------------------------
	List of Functions
-------------------------------------------------------*/


	// 1.
/*
		function formValidate() {
			$('#contact-form').validate({
				rules: {
					email: {required: true,minlength:2,email: true},
					name: {required: true,minlength: 3},
					messages: {required: true,minlength: 10}	
				},
				messages:{
					email: "Please enter a valid email",
					name: "Please enter your name",
					messages: "Please enter your message (min 10 characters)"
				 },
				 submitHandler: function(form){
			 		 $(form).ajaxSubmit({
				 		 success: function() { 
			                $('#contact-form').hide();
			                $('#contact').append("<div id='thanks'><h4>Thanks for saying Hi!</h4> <p>I'll try to be in touch within 24 hours of receiving your message.  In the mean time, say hi & follow me on twitter</p></div>"); 
			             }
			         });
				 }						 
			 })		
		}
*/
