$( function() {
	$( '.category' ).click( function() {
		$( this ).toggleClass( 'active' )
		$( this ).siblings( '.dropdown' ).toggle();
		$( this ).find( '.indicator' ).toggleClass( 'indicator-active' );
		return false;
	} );
  
  if(!($.browser.msie && parseInt($.browser.version, 10)<=6))
  {
    var postContentHeight =[];;
    $('.single .post-content').each(function(index){
      if((index % 2) == 0)
      {
        postContentHeight.push($(this).innerHeight());
      }
      else
      {
        var _i = Math.floor(index/2);
        postContentHeight[_i] = Math.max($(this).innerHeight(), postContentHeight[_i]);
      }
    }).each(function(index){$(this).css('height', postContentHeight[Math.floor(index/2)]);});
  }

/*	
	$( '#dock > li' ).hover( function() {
		$( '.latest' ).fadeOut( 'fast' );
		$( this ).addClass( 'dock-active' );
		$( this ).children( 'span' ).fadeIn( 200 );
	}).bind( "mouseleave", function() {		
		$( this ).removeClass( 'dock-active' );	
		$( this ).children( 'span' ).fadeOut( 200 );
	} );
			
	$( '#dock' ).bind( "mouseleave", function() {
		$( '.latest' ).fadeIn( 1000 );
	} );*/
} );
