function init_fold(){
//	fold_menu_category();
	fold_menu_archive();
//	fold_menu_comment();
}



function fold_menu_category(){
	if (j$("#category-contents").is(':hidden')) {
		j$("#category-title").css("background","url(http://www.footprints.jp/jazzycube-blog/images/title_category.gif) no-repeat");
		j$("#category-contents").slideDown("slow");
	}else{
		j$("#category-title").css("background","url(http://www.footprints.jp/jazzycube-blog/images/title_category_folded.gif) no-repeat");
		j$("#category-contents").slideUp("slow");
	}
}

function fold_menu_entry(){
	if (j$("#entry-contents").is(':hidden')) {
		j$("#entry-title").css("background","url(http://www.footprints.jp/jazzycube-blog/images/title_entry.gif) no-repeat");
		j$("#entry-contents").slideDown("slow");
	}else{
		j$("#entry-title").css("background","url(http://www.footprints.jp/jazzycube-blog/images/title_entry_folded.gif) no-repeat");
		j$("#entry-contents").slideUp("slow");
	}
}

function fold_menu_calendar(){
	if (j$("#calendar-contents").is(':hidden')) {
		j$("#calendar-title").css("background","url(http://www.footprints.jp/jazzycube-blog/images/title_calendar.gif) no-repeat");
		j$("#calendar-contents").slideDown("slow");
	}else{
		j$("#calendar-title").css("background","url(http://www.footprints.jp/jazzycube-blog/images/title_calendar_folded.gif) no-repeat");
		j$("#calendar-contents").slideUp("slow");
	}
}

function fold_menu_archive(){
	if (j$("#archive-contents").is(':hidden')) {
		j$("#archive-title").css("background","url(http://www.footprints.jp/jazzycube-blog/images/title_archive.gif) no-repeat");
		j$("#archive-contents").slideDown("slow");
	}else{
		j$("#archive-title").css("background","url(http://www.footprints.jp/jazzycube-blog/images/title_archive_folded.gif) no-repeat");
		j$("#archive-contents").slideUp("slow");
	}
}

function fold_menu_comment(){
	if (j$("#comment-contents").is(':hidden')) {
		j$("#comment-title").css("background","url(http://www.footprints.jp/jazzycube-blog/images/title_comment.gif) no-repeat");
		j$("#comment-contents").slideDown("slow");
	}else{
		j$("#comment-title").css("background","url(http://www.footprints.jp/jazzycube-blog/images/title_comment_folded.gif) no-repeat");
		j$("#comment-contents").slideUp("slow");
	}
}

