var expander_speed = "slow";  // ("slow","normal","fast")

var drop_speed_down = "normal"; // ("slow","normal","fast")
var drop_speed_up = "normal"; // ("slow","normal","fast")


  $(document).ready(function(){

	$("li.expander").each(function() {
		$(this).hover(function() {
			$("#"+$(this).attr('id')+"-sub").slideDown(expander_speed);
		}, function() {
			return false;
		});

	});	

	$("div.drop").each(function() {
		$(this).click(function() {
			if ($("#"+$(this).attr('id')+"-menu").is(":hidden")) {
				$("div.drop").each(function() {
					$("#"+$(this).attr('id')+"-menu").hide();
				});
				$("#"+$(this).attr('id')+"-menu").slideDown(drop_speed_down);
			} else {
				$("#"+$(this).attr('id')+"-menu").slideUp(drop_speed_up);
			}
		});
	});

  });
  
    $(document).ready(function(){

	$("li.expander").each(function() {
		$(this).hover(function() {
			$("#"+$(this).attr('id')+"-sub").slideDown(expander_speed);
		}, function() {
			return false;
		});

	});	

	$("div.soc").each(function() {
		$(this).click(function() {
			if ($("#"+$(this).attr('id')+"-menu").is(":hidden")) {
				$("div.soc").each(function() {
					$("#"+$(this).attr('id')+"-menu").hide();
				});
				$("#"+$(this).attr('id')+"-menu").slideDown(drop_speed_down);
			} else {
				$("#"+$(this).attr('id')+"-menu").slideUp(drop_speed_up);
			}
		});
	});
  });

  
$(document).ready(function(){
    
    $(".tell_world").click(function () {
		$(".bookmark_div").slideUp();

									 
		var divid=this.id;
		if ($("#bookmark_div"+divid).is(":hidden")) {
			$("#bookmark_div"+divid).slideToggle("slow");
		}
    });
  });


