
jQuery(function($){google.load("feeds","1",{"callback":initializeBR});function sprintf(){if(sprintf.arguments.length<2){return;}
var data=sprintf.arguments[0];for(var k=1;k<sprintf.arguments.length;++k){switch(typeof(sprintf.arguments[k])){case'string':data=data.replace(/%s/,sprintf.arguments[k]);break;case'number':data=data.replace(/%d/,sprintf.arguments[k]);break;case'boolean':data=data.replace(/%b/,sprintf.arguments[k]?'true':'false');break;default:break;}}
return(data);}
if(!String.sprintf){String.sprintf=sprintf;}
function getAge(days,hours){if(days>1){return String.sprintf("%d days ago",days);}else if(days==1){return"yesterday ";}else if(days<1&&hours>1){return String.sprintf("%d hrs ago",hours);}else if(days<1&&hours==1){return"in the last hour";}else if(days<1&&hours<1){return"just recently";}}
function addAge(feed,bookmark,anchor,divID,previewtoggle,last_posttitle){var $li=$(bookmark),$a=$(anchor),$toggle=$(previewtoggle),$title=$(last_posttitle),now=(new Date()).getTime(),then=(new Date()).getTime(),ageInDays,ageInHours,randomAge,ageMsg=[],$snippet,entry;entry=feed.entries[0];try{then=new Date(entry.publishedDate).getTime();}catch(dateException){}
ageInDays=Math.floor((now-then)/(1000*60*60*24)),ageInHours=Math.floor((now-then)%(1000*60*60*24)/3600000);try{$entryTitle=$("<p></p>").html(entry.title);$a.attr({title:$entryTitle.html()});}catch(titleException){$a.attr({title:""});}
if(!isNaN(then)){$li.attr({age:then});}else{randomAge=Math.floor(Math.random()*1000001);$li.attr({age:randomAge});}
return;}
function addZeroAge(zeroAgeBookmark){var $zali=$(zeroAgeBookmark),randomAge=Math.floor(Math.random()*1000001);if($zali!==null){$zali.attr({age:randomAge});}
return;}
function addFeedControl(preview,feed,name){var feedControl=new google.feeds.FeedControl();feedControl.addFeed(feed,name);feedControl.draw($(preview).get(0));}
function feedreading_limit_display(){$.each($("#feedreading_blogroll_2 > li"),function(i2,$element2){if(i2>4){$($element2).css("display","none");}});$.each($("#single-2_feedreading_blogroll_ > li"),function(iSingle2,$elementSingle2){if(iSingle2>4){$($elementSingle2).css("display","none");}});}
function feedreading_automatic_sort(){var $allCompleted,$hasCompleteAge2=true,isComplete2=false,$hasCompleteAgeSingle2=true,isCompleteSingle2=false;$.each($("#feedreading_blogroll_2>li"),function(idx2,$elem2){var $age2=$($elem2).attr("age");if($age2===null||$age2==""||isNaN($age2)){$hasCompleteAge2=false;}});if($hasCompleteAge2&&!isComplete2){$("#feedreading_blogroll_2>li").tsort({order:"desc",attr:"age"});isComplete2=true;}
$.each($("#single-2_feedreading_blogroll_ > li"),function(idx_single2,$elem_single2){var $age_single2=$($elem_single2).attr("age");if($age_single2===null||$age_single2==""||isNaN($age_single2)){$hasCompleteAgeSingle2=false;}});if($hasCompleteAgeSingle2&&!isCompleteSingle2){$("#single-2_feedreading_blogroll_ > li").tsort({order:"desc",attr:"age"});isCompletesingle2=true;}
$allCompleted=$hasCompleteAge2&&$hasCompleteAgeSingle2;if($allCompleted){clearInterval(myInterval);feedreading_limit_display();}}
function feedreading_category_observer(){}
var myInterval=window.setInterval(function(){feedreading_automatic_sort();},1000);window.setTimeout(function(a,b){clearInterval(myInterval);},20000);function initializeBR(){google.feeds.lookupFeed("http://www.adverblog.com/",function(){var url_single_213=this.url,feed_single_213=new google.feeds.Feed(this.url);feed_single_213.load(function(result_single_213){if(!result_single_213.error){addAge(result_single_213.feed,"#single-2_feedreading_bookmark_13","#single-2_feedreading_anchor_13","#single-2_feedreading_info_13","#single-2_feedreading_previewtoggle_13","#single-2_frbl_last_posttitle_13");}else{addZeroAge("#single-2_feedreading_bookmark_13");}});});google.feeds.lookupFeed("http://blogs.businessmobile.fr/",function(){var url_single_29=this.url,feed_single_29=new google.feeds.Feed(this.url);feed_single_29.load(function(result_single_29){if(!result_single_29.error){addAge(result_single_29.feed,"#single-2_feedreading_bookmark_9","#single-2_feedreading_anchor_9","#single-2_feedreading_info_9","#single-2_feedreading_previewtoggle_9","#single-2_frbl_last_posttitle_9");}else{addZeroAge("#single-2_feedreading_bookmark_9");}});});google.feeds.lookupFeed("http://www.buzzinessman.com/",function(){var url_single_221=this.url,feed_single_221=new google.feeds.Feed(this.url);feed_single_221.load(function(result_single_221){if(!result_single_221.error){addAge(result_single_221.feed,"#single-2_feedreading_bookmark_21","#single-2_feedreading_anchor_21","#single-2_feedreading_info_21","#single-2_feedreading_previewtoggle_21","#single-2_frbl_last_posttitle_21");}else{addZeroAge("#single-2_feedreading_bookmark_21");}});});google.feeds.lookupFeed("http://www.ecommerce404.fr/",function(){var url_single_219=this.url,feed_single_219=new google.feeds.Feed(this.url);feed_single_219.load(function(result_single_219){if(!result_single_219.error){addAge(result_single_219.feed,"#single-2_feedreading_bookmark_19","#single-2_feedreading_anchor_19","#single-2_feedreading_info_19","#single-2_feedreading_previewtoggle_19","#single-2_frbl_last_posttitle_19");}else{addZeroAge("#single-2_feedreading_bookmark_19");}});});google.feeds.lookupFeed("http://feedingthepuppy.typepad.com/feeding_the_puppy/",function(){var url_single_214=this.url,feed_single_214=new google.feeds.Feed(this.url);feed_single_214.load(function(result_single_214){if(!result_single_214.error){addAge(result_single_214.feed,"#single-2_feedreading_bookmark_14","#single-2_feedreading_anchor_14","#single-2_feedreading_info_14","#single-2_feedreading_previewtoggle_14","#single-2_frbl_last_posttitle_14");}else{addZeroAge("#single-2_feedreading_bookmark_14");}});});google.feeds.lookupFeed("http://www.ziserman.com/blog/",function(){var url_single_220=this.url,feed_single_220=new google.feeds.Feed(this.url);feed_single_220.load(function(result_single_220){if(!result_single_220.error){addAge(result_single_220.feed,"#single-2_feedreading_bookmark_20","#single-2_feedreading_anchor_20","#single-2_feedreading_info_20","#single-2_feedreading_previewtoggle_20","#single-2_frbl_last_posttitle_20");}else{addZeroAge("#single-2_feedreading_bookmark_20");}});});google.feeds.lookupFeed("http://www.iphon.fr/",function(){var url_single_211=this.url,feed_single_211=new google.feeds.Feed(this.url);feed_single_211.load(function(result_single_211){if(!result_single_211.error){addAge(result_single_211.feed,"#single-2_feedreading_bookmark_11","#single-2_feedreading_anchor_11","#single-2_feedreading_info_11","#single-2_feedreading_previewtoggle_11","#single-2_frbl_last_posttitle_11");}else{addZeroAge("#single-2_feedreading_bookmark_11");}});});google.feeds.lookupFeed("http://darmano.typepad.com/logic_emotion/",function(){var url_single_217=this.url,feed_single_217=new google.feeds.Feed(this.url);feed_single_217.load(function(result_single_217){if(!result_single_217.error){addAge(result_single_217.feed,"#single-2_feedreading_bookmark_17","#single-2_feedreading_anchor_17","#single-2_feedreading_info_17","#single-2_feedreading_previewtoggle_17","#single-2_frbl_last_posttitle_17");}else{addZeroAge("#single-2_feedreading_bookmark_17");}});});google.feeds.lookupFeed("http://blog.marketo.com/blog/",function(){var url_single_28=this.url,feed_single_28=new google.feeds.Feed(this.url);feed_single_28.load(function(result_single_28){if(!result_single_28.error){addAge(result_single_28.feed,"#single-2_feedreading_bookmark_8","#single-2_feedreading_anchor_8","#single-2_feedreading_info_8","#single-2_feedreading_previewtoggle_8","#single-2_frbl_last_posttitle_8");}else{addZeroAge("#single-2_feedreading_bookmark_8");}});});google.feeds.lookupFeed("http://www.next-presso.fr/",function(){var url_single_212=this.url,feed_single_212=new google.feeds.Feed(this.url);feed_single_212.load(function(result_single_212){if(!result_single_212.error){addAge(result_single_212.feed,"#single-2_feedreading_bookmark_12","#single-2_feedreading_anchor_12","#single-2_feedreading_info_12","#single-2_feedreading_previewtoggle_12","#single-2_frbl_last_posttitle_12");}else{addZeroAge("#single-2_feedreading_bookmark_12");}});});google.feeds.lookupFeed("http://www.onedegree.ca/",function(){var url_single_216=this.url,feed_single_216=new google.feeds.Feed(this.url);feed_single_216.load(function(result_single_216){if(!result_single_216.error){addAge(result_single_216.feed,"#single-2_feedreading_bookmark_16","#single-2_feedreading_anchor_16","#single-2_feedreading_info_16","#single-2_feedreading_previewtoggle_16","#single-2_frbl_last_posttitle_16");}else{addZeroAge("#single-2_feedreading_bookmark_16");}});});google.feeds.lookupFeed("http://paulisakson.typepad.com/planning/",function(){var url_single_215=this.url,feed_single_215=new google.feeds.Feed(this.url);feed_single_215.load(function(result_single_215){if(!result_single_215.error){addAge(result_single_215.feed,"#single-2_feedreading_bookmark_15","#single-2_feedreading_anchor_15","#single-2_feedreading_info_15","#single-2_feedreading_previewtoggle_15","#single-2_frbl_last_posttitle_15");}else{addZeroAge("#single-2_feedreading_bookmark_15");}});});google.feeds.lookupFeed("http://shuaism.com/",function(){var url_single_222=this.url,feed_single_222=new google.feeds.Feed(this.url);feed_single_222.load(function(result_single_222){if(!result_single_222.error){addAge(result_single_222.feed,"#single-2_feedreading_bookmark_22","#single-2_feedreading_anchor_22","#single-2_feedreading_info_22","#single-2_feedreading_previewtoggle_22","#single-2_frbl_last_posttitle_22");}else{addZeroAge("#single-2_feedreading_bookmark_22");}});});google.feeds.lookupFeed("http://thinkvitamin.com/",function(){var url_single_210=this.url,feed_single_210=new google.feeds.Feed(this.url);feed_single_210.load(function(result_single_210){if(!result_single_210.error){addAge(result_single_210.feed,"#single-2_feedreading_bookmark_10","#single-2_feedreading_anchor_10","#single-2_feedreading_info_10","#single-2_feedreading_previewtoggle_10","#single-2_frbl_last_posttitle_10");}else{addZeroAge("#single-2_feedreading_bookmark_10");}});});google.feeds.lookupFeed("http://www.nicolasmalo.com/web_analytics_ecommerce_f/",function(){var url_single_218=this.url,feed_single_218=new google.feeds.Feed(this.url);feed_single_218.load(function(result_single_218){if(!result_single_218.error){addAge(result_single_218.feed,"#single-2_feedreading_bookmark_18","#single-2_feedreading_anchor_18","#single-2_feedreading_info_18","#single-2_feedreading_previewtoggle_18","#single-2_frbl_last_posttitle_18");}else{addZeroAge("#single-2_feedreading_bookmark_18");}});});feedreading_category_observer();}});