$(function(){
	
	$.gCalReader({
	   feedUri: 'https://www.google.com/calendar/feeds/9v3t2905ksh8eg6f6rr60jv24g%40group.calendar.google.com/public/full',
       maxresults: 10
	});
	$('.home_blog').rssfeed('http://integrateperformancefitness.blogspot.com/feeds/posts/default', {
		limit: 1,
		pre_title: 'From the blog: <br/>'
	},function(){
	    $('.home_blog .cont').truncate({max_length: 150})
	});
	$('.home_fitblog').rssfeed('http://integratefitness411.blogspot.com/feeds/posts/default', {
		limit: 1,
		pre_title: 'From Fitness 411: <br/>'
	},function(){
	    $('.home_fitblog .cont').truncate({max_length: 150})
	});
	
	$('#cycling_news').rssfeed('http://feeds.feedburner.com/Bikeradar/MountainBiking/News', {
		limit: 3
	},function(){
	    $('#cycling_news .cont').truncate({max_length: 300})
	});
	
	$('#list li').hover(
        function () {
            //show its submenu
            $('ul', this).slideDown(100);
        }, 
        function () {
            //hide its submenu
            $('ul', this).slideUp(100);         
        }
    );
	
	if ( $.browser.msie ) {
		$.fx.off = true;
		$("#list li:last-child").css("border-bottom","1px solid transparent")
	}
});

