

function ShowReview()
{
	
	var pause = 8000; // define the pause for each tip (in milliseconds) 
	var length = $("p.reviews").length; 
	var temp = -1;


	this.GetRandom = function(){
		var random = Math.floor( Math.random() * length ) + 1;
		return random;
	};
	
	this.Show = function(){
		var random = GetRandom();

		// to avoid repeating
		while (random == temp){
			random = GetRandom();
		}; 

		temp = random;
		$("p.reviews").hide();
		$("p.reviews:nth-child(" + random + ")").fadeIn( 350 );		
	};
	
	Show();
	setInterval( Show, pause );
	
	
}
