$(document).ready(function() {
	
	/* ALL EXAMPLES, DELETE IS NOT NEEDED */
	cookieExample()
	
	/* VALIDATION ON HOMEPAGE */
	$("#formID").validationEngine({
		success :  false,
		failure : function() {}
	})
			
	/* A CLICK EVENT EXAMPLE
	$("#divID").click(function() {
		// Act on the event
		$("#divID").css("display","none")	
	});	
	/* HOVER EVENT EXAMPLE
	$("#divID").hover(function() {
		// Stuff to do when the mouse enters the element;
		$("#otherDiv").show()
	}, function() {
		// Stuff to do when the mouse leaves the element;
		
	});
	/* POST FORM
	$.post('submit.php',{
	 param1: "value1", param2: "value2"},
	 function(data){
	    //stuff to do *after* page is loaded;
	});
	
	*/
});


	function cookieExample() {	//More info in jquery.cookie.js
		
		$.cookie('the_cookie', 'cookievalue');// Create cookie
		$("#cookieExample").html($.cookie('the_cookie'));	// Retreive cookie
	}