$j(document).ready(function(){
	styleIn = 'easeOutExpo';
	styleOut = 'easeOutExpo';
	
	$j(".project").hover(
		function () {//in
			$j(this).children("div.project-info").stop().animate({
				top: 120
			}, {duration:350, easing: styleIn})
		},
		function () {//out
			$j(this).children("div.project-info").stop().animate({
				top: 150
			}, {duration:150, easing: styleOut});
		}
	);
});


$j(document).ready(function() {
  $j("#accordion").accordion({event: 'mouseover', animated:'easeslide', autoHeight: false });
});

jQuery(document).ready(function($) {
    jQuery('.social-bar-open').attr('rel',jQuery(".social-bar .ccm-layout-wrapper").height());
    jQuery('.social-bar .ccm-layout-wrapper').height(3);
    jQuery('.social-bar .ccm-layout-wrapper').show();
    jQuery('.social-bar-open').click(function(){
	jQuery('.social-bar .ccm-layout-col').each(function(index) {
	    if($(this).outerHeight() > jQuery('.social-bar-open').attr('rel')){
		jQuery('.social-bar-open').attr('rel',$(this).outerHeight())
	    }
	});
	var thisrel = jQuery(this).attr('rel');
        if(jQuery('.social-bar .ccm-layout-wrapper').height()==3){
            jQuery('.social-bar .ccm-layout-wrapper').animate({'height':thisrel},300,function(){
		jQuery('.social-bar .ccm-layout-wrapper').css({'overflow':'visible'})
		});
            jQuery('.social-bar-close').css({'display':'block'});
        } else {
	    jQuery('.social-bar .ccm-layout-wrapper').css({'overflow':'hidden'});
            jQuery('.social-bar .ccm-layout-wrapper').animate({'height':3},300);
            jQuery('.social-bar-close').hide();
        }
    });
    jQuery('.social-bar-close').click(function(){
	jQuery('.social-bar .ccm-layout-wrapper').css({'overflow':'hidden'});
        jQuery('.social-bar .ccm-layout-wrapper').animate({'height':3},300);
        jQuery('.social-bar-close').hide();
    });
});

