/**
 *	Javascript file for delangstraat.info
 *	
 * 	
 *	@author Direct-effect <info@direct-effect.nl>
 *	@version 1.0 20110331
 *	@package delangstraat
 */
 
$(function(){
	$("#hoofdMenu").HoofdMenu();	   
	$(".bs-ui-button").button();
});
 
// menu class voor het hoofdmenu
$.fn.HoofdMenu = function(options){
	
	var defaults = {  
	};  
	
	// extend options with the default options
	var options = $.extend(defaults, options);
	
	return this.each(function(){ 
		$(this).children("li").hover(function(){
			$(this).addClass("menu-hover-state");
			$(this).children("ul").slideDown("fast");
		},function(){			
			$(this).removeClass("menu-hover-state");
			$(this).children("ul").hide();
		} )
	});
}

function getTimeStamp(){
	var time = new Date();	
	return time.getTime();
}
