jQuery.noConflict(); var $ = jQuery;
$(function() {

$(".x").click(function(){
	$('body').scrollTo( $('#top'), 1000, function(){
	});
	return false;
});

/********************************************************************************/
//menu accordion
/********************************************************************************/

	$(".menu").each(function(){
		$(".menu_unit").each(function(index){
			var $this = $(this);			
			$this.next().hide();			
			$this.click(function(){
				$(this).next().animate({height:"toggle"},600).parent().siblings()
				.children("ul:visible").animate({height:"toggle"},600);
				return false;
			});
		});
	});


/********************************************************************************/
//toggle image
/********************************************************************************/

	$('.post a').live('click',function(){
		if($(this).parent().width() == 600){
			$(this).parent().width(280);
		}else{
			$(this).parent().width(600);
		}
		
		return false;
	});

});


