$(document).ready(function() {

// My blogs -- upper Menu
//slide up and down when click over heading 2
// slide toggle effect set to slow you can set it to fast too.
  
  $(".myblogs").click(function(){
  $("#toolbar-b").slideToggle("fast");
  return true;
  });


// Categories -- left Menu - Simple JQuery Collapsing menu

$(function(){
	$('#menu li a').click(function(event){
		var elem = $(this).next();
		if(elem.is('ul')){
			event.preventDefault();
			$('#menu ul:visible').not(elem).slideUp(400);
			elem.slideToggle('slow');
		}
	});
});


/*
function initMenu() {
  $('#menu ul').hide();
  $('#menu li a').click(
    function() {
      $(this).next().slideToggle('normal');
      //$('#menu ul').hide();
      $("#menu ul:not(this)").hide('slow');
      
      }
    );
  }
$(document).ready(function() {initMenu();}); 

*/

/*

// Black change CSS Style when font-face will be ready
$(".color-black").click(function() {

$("LINK[href='/lab2/style/style-photos.css']").remove();
$('style[type="text/css"]').text('@import url("/lab2/style/style-photos-black.css");');

});

// Grey

$(".color-grey").click(function() {
$("LINK[href='/lab2/style/style-photos.css']").remove();
$('style[type="text/css"]').text('@import url("/lab2/style/style-photos-grey.css");')
});

*/

});

