var cur_review = '';


function getRandomDivId() {
	return 'review_'+Math.floor(Math.random() * (num_of_reviews));
}


function reviews_shop() {
	
	var new_div_id = getRandomDivId();
	
	if (cur_review) {
		$('#'+cur_review).hide();
	}
	$('#'+new_div_id).show();
	cur_review = new_div_id;
	
}


$(function(){
	reviews_shop();
	setInterval(reviews_shop, 10000);
});
