var i = 0, k, timeout = 5, $list_item;
function revealText(i){
	if(i > 4) { i = Math.floor(Math.random()*5);}
	$list_item = $('#primary .textwidget ul li:eq('+i+')');
	$list_item.animate({opacity:1}, 1000);
	$list_item.delay(timeout * 1000);
	++i;
	if(k == i) { i = 0; };
	$list_item.animate({opacity:0}, 1000, function(){revealText(i)});
}
$(document).ready(function(){
	var $list_items = $('#primary .textwidget ul li');
	k = $list_items.size();
	revealText($('.menu .current_page_item').index());
	$('#container').css('height', $('#wrapper').height()-190); 
	$('.menu .current_page_parent a:eq(0)').css('font-weight', 'bold');
});

