$(document).ready(function(){
	// :: blocdyn :: //
	$("#blocdyn li").click(function(){
		var s = $(this).attr('id').split("_") ;
		if (s.length == 5) {
			$("#blocdyn li ul").hide() ;
			$("#" + $(this).attr('id') + "_").slideDown("slow") ;
		} else {
			return false ;
		}
	});
	$("#blocdyn li li").click(function(){
		var s = $(this).attr('id').split("_") ;
		if (s.length == 6) {
			$("#blocdyn li li ul").hide() ;
			$("#" + $(this).attr('id') + "_").slideDown("slow") ;
		} else {
			return false ;
		}
	});
	$("#blocdyn li li li").click(function(){
		var s = $(this).attr('id').split("_") ;
		if (s.length == 7) {
			var href = $(this).find("a").attr('href');
			location.href = href ;
		} else {
			return false ;
		}
	});
	// :: blocdynsemi :: //
	$("#blocdynsemi li").click(function(){
		var s = $(this).attr('id').split("_") ;
		if (s.length == 5) {
			$("#blocdynsemi li ul").hide() ;
			$("#" + $(this).attr('id') + "_").slideDown("slow") ;
		} else {
			return false ;
		}
	});
	$("#blocdynsemi li li").click(function(){
		var s = $(this).attr('id').split("_") ;
		if (s.length == 6) {
			var href = $(this).find("a").attr('href');
			location.href = href ;
		} else {
			return false ;
		}
	});
});
