function contentShow()
{
	
	//--------------------------------------
	// INIT
	//--------------------------------------
	
	this.init = function()
	{
		//this.setPostsOnOff();
	}
	
	//--------------------------------------
	// SET POSTS ON/OFF
	//--------------------------------------

	this.setPostsOnOff = function()
	{
		//alert("setPostsOnOff")
		
		// Posts
		for( i = 1; i <= postsTotal; i++ )
		{
			if( i >= ( post - 2 ) && i <= ( post + postsOnScreen ) )
			{
				//$( "#post_" + i ).css( "display", "block" );
				//$( "#post_" + i ).css( "background", "red" );
				
				//$( "#post_" + i ).stop().fadeTo( 1000, 1 );
				
				/*$( "#post_" + i ).stop().animate(
					{
						background: "red"
					},
					500, 
					'easeOutCubic'
				);*/
			}
			else
			{
				//$( "#post_" + i ).css( "display", "none" );
				//$( "#post_" + i ).css( "background", "white" );
				
				//$( "#post_" + i ).stop().fadeTo( 1000, 0 );
				
				/*$( "#post_" + i ).stop().animate(
					{
						background: "white"
					},
					500, 
					'easeOutCubic'
				);*/
			}
		}
	}
	
	//--------------------------------------
	// MOTION COMMENT
	//--------------------------------------
	
	this.commentOver = function( id )
	{
		$( '.post_comments_button_txt_' + id ).css( "color", "#db2d1e" );
	}
	
	this.commentOut = function( id )
	{
		$( '.post_comments_button_txt_' + id ).css( "color", "#464646" );
	}
	
	this.commentClick = function( id )
	{
		//Torna ativo o coment‡rio Atual
		$( "#commentPost_" + id ).animate({ height: "toggle", opacity: "toggle" }, 200 );
		
		//Torna desativo o coment‡rio Anterior
		for(i = 0; i<postsMaxTotal + 1; i++ )
		{
			if( id != i.toString() )
			$( "#commentPost_" + i.toString()  ).animate({opacity: 'hide', height: 'hide'}, 150);
		}
		
		
		//Posicionar o comet‡rio, caso esteje fora da rolagem
		setTimeout(function()
		{	
			//
			if( elementInViewport(  document.getElementById( "commentPost_" + id ) ) == false )
			{
				var pos = document.getElementById( "commentPost_" + id ).offsetTop - 20;
				$('html,body').animate({ scrollTop: pos }, 400);
			}	
		}, 
		300
		);
		
		// Header Actualize in 'TALKABILITY.JS'
		window.setTimeout ( function() { headerActualize() }, 350 );
	}
	
	
	this.commentHide = function()
	{
		//Torna desativo os comentÃ¡rios quando mudar de tela 
		for(i = 0; i<postsMaxTotal + 1; i++ )
		{
			$( "#commentPost_" + i.toString()  ).animate( { opacity: 'hide', height: 'hide' }, 100 );
		}
	}
	
	//--------------------------------------
	// SCROLL VIEW ELEMENT VISIBLE
	//--------------------------------------
	
	function elementInViewport( el ) 
	{
		 if( el!= null )
		 {
			 
			  var top = el.offsetTop;
			  var left = el.offsetLeft;
			  var width = el.offsetWidth;
			  var height = el.offsetHeight;
			
			  while( el.offsetParent ) 
			  {
				el = el.offsetParent;
				top += el.offsetTop;
				left += el.offsetLeft;
			  }
			
			  return (
				top >= window.pageYOffset &&
				left >= window.pageXOffset &&
				( top + height ) <= ( window.pageYOffset + window.innerHeight ) &&
				( left + width ) <= ( window.pageXOffset + window.innerWidth )
			  );
		 }  
	}
}


