$(document).ready(function(){
	/* This code is executed after the DOM has been completely loaded */

	/* Changing thedefault easing effect - will affect the slideUp/slideDown methods: */
	$.easing.def = "easeOutBounce";

	//var num = $.randomBetween(0, 5);
	//alert($.random(5));

	/* Binding a click event handler to the links: */
	$('li.button a').click(function(e){
	
		/* Finding the drop down list that corresponds to the current section: */
		var dropDown = $(this).parent().next();
		
		/* Closing all other drop down sections, except the current one */
		$('.dropdown').not(dropDown).slideUp('slow');
		dropDown.slideToggle('slow');
		
		/* Preventing the default event (which would be to navigate the browser to the link's address) */
		e.preventDefault();
	})
	
	var random = Math.floor(Math.random()*4);
	switch (random)
	{
		case 0 : 	$("#bm_hilight").css("display", "block"); break;
		case 1 : 	$("#fs_hilight").css("display", "block"); break;
		case 2 : 	$("#au_hilight").css("display", "block"); break;
		case 3 : 	$("#rmo_hilight").css("display", "block"); break;
		case 4 : 	$("#vc_hilight").css("display", "block"); break;
			
	}
});
