/*######################
	Project Name
	© Mike Kivikoski
	JS File for DOM
	Created : 7.20.2009 by Mike Kivikoski
	Last Modified  :
	
	Please keep Last Modified up to date
	
	Table of Contents
		
		When DOM is ready:
			1. Form Validation
			2. Columnize
########################*/

$(document).ready(function(){
						   
	// 1.
/*
	$('#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>"); 
	             }
	         });
		 }						 
	 });
*/
	
	// 2.
	$('ul.thank-you-list').columnize({width:175});					   
						   
						   
});//End jQuery
