/*
 * Name            :  Hidden jQuery Menu for Minimalist Design
 * Author's Name   :  Jeremie Tisseau
 * Site            :  http://web-kreation.com  
 * version         :  0.1 
 * Requires        :  jQuery 1.3.2
 * Date            :  Sept 8th, 2009
 *
 * License         :  Creative Commons Attribution-Share Alike 2.0 France License
 *                    http://creativecommons.org/licenses/by-sa/2.0/fr/
 *                    Feel free to do whatever you'd like with this, just please give credit where credit is do.
 */

// ##################################
//Variables
// YOU CAN EDIT BELOW

var navFadeOutDelay = 200; // Set delay for drop down to slide down (in ms)
var slideDownDelay = 100; // Set delay for drop down to slide down (in ms)


// DO NOT EDIT BELOW THIS LINE
// ##################################



$(document).ready(function(){
		
	// Plugin: Delay
	// http://tech.apt.no/2009/04/01/delay-in-jquery/
	//(function($){
	//	jQuery.fn.delay = function(millis,callBack){
	//		var object = $(this);
	//		$.extend(object,{callBack:callBack});
	//		return window.setTimeout(function() {
	//			object.callBack();
	//			return object;
	//		}, millis);
	//	}
	//})(jQuery);
	


	
	
	// Drop Down Navigation
	$("ul.dropdown").parent().addClass("btn"); // hide sub-navigation on page load and adds class to li in topnav
	

	//$("ul.nav li.btn").hover(function() { 
	//	$(this).find("ul.dropdown").slideDown(slideDownDelay).show(); //Slide subnav down on mouseenter
	//}, function(){
	//	$(this).find("ul.dropdown").slideUp('slow'); //Slide subnav up on mouseleave
	//}); 
		

});
