$(document).ready( function() {
        $("dt").click( function() {
	//		if($(this).hasClass("opened")){			
    //            $("dd").hide();
	//			$(this).removeClass("opened");
	//		}else{
	//			$("dd").hide();				 
     //           $(this).siblings("dd").toggle();
	//			$(this).addClass("opened");
	//		}
	
	
			if($(this).siblings("dd").hasClass("hidebox")){
						$("dd").addClass("hidebox");
						$(this).siblings("dd").removeClass("hidebox");
			}else{
						$("dd").addClass("hidebox");
			}
        });


		$("h1.cbb, h1.i3").click(
				function(){	
					if($(this.parentNode.parentNode.parentNode).siblings("dl").hasClass("hidebox")){
						$("dl").addClass("hidebox");
						//var bla=this.childNodes[0].id;
						//alert(bla);
						$(this.parentNode.parentNode.parentNode).siblings("dl").removeClass("hidebox");
						$(".close").removeClass("close").addClass("open");
						$(this).children("span").removeClass("open").addClass("close");
					}else{
						$("dl").addClass("hidebox");
						//alert(this.childNodes[0].id);
						$(this).children("span").removeClass("close").addClass("open");
					}
				}
			);


})


