
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){var ageMsg="";if(days>1){ageMsg=String.sprintf("%d days ago",days);}else if(days==1){ageMsg="yesterday ";}else if(days<1&&hours>1){ageMsg=String.sprintf("%d hrs ago",hours);}else if(days<1&&hours==1){ageMsg="in the last hour";}else if(days<1&&hours<1){ageMsg="just recently";}
return ageMsg;}
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});}
$title.html(entry.title);$title.attr({href:entry.link,title:$("<p></p>").html(entry.contentSnippet).html(),rel:"external",rev:"bookmark"});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_ > li"),function(i,$element){if(i>-1){$($element).css("display","none");}});}
function feedreading_automatic_sort(){var $hasCompleteAge=true;$.each($("#feedreading_blogroll_ >li"),function(idx,$elem){var $age_=$($elem).attr("age");if($age_===null||$age_==""||isNaN($age_)){$hasCompleteAge=false;}});if($hasCompleteAge){$("#feedreading_blogroll_ > li").tsort({order:"desc",attr:"age"});clearInterval(myInterval);}}
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://word-lab.blogspot.com/",function(){var url15=this.url,feed15=new google.feeds.Feed(this.url);feed15.load(function(result_15){if(!result_15.error){addAge(result_15.feed,"#feedreading_bookmark_15","#feedreading_anchor_15","#feedreading_info_15","#feedreading_previewtoggle_15","#frbl_last_posttitle_15");}else{addZeroAge("#feedreading_bookmark_15");}});});google.feeds.lookupFeed("http://sayulitason.com",function(){var url10=this.url,feed10=new google.feeds.Feed(this.url);feed10.load(function(result_10){if(!result_10.error){addAge(result_10.feed,"#feedreading_bookmark_10","#feedreading_anchor_10","#feedreading_info_10","#feedreading_previewtoggle_10","#frbl_last_posttitle_10");}else{addZeroAge("#feedreading_bookmark_10");}});});google.feeds.lookupFeed("http://www.saytequila.com/saytequilaJune/Home.html",function(){var url20=this.url,feed20=new google.feeds.Feed(this.url);feed20.load(function(result_20){if(!result_20.error){addAge(result_20.feed,"#feedreading_bookmark_20","#feedreading_anchor_20","#feedreading_info_20","#feedreading_previewtoggle_20","#frbl_last_posttitle_20");}else{addZeroAge("#feedreading_bookmark_20");}});});google.feeds.lookupFeed("http://www.theliquidmuse.com",function(){var url11=this.url,feed11=new google.feeds.Feed(this.url);feed11.load(function(result_11){if(!result_11.error){addAge(result_11.feed,"#feedreading_bookmark_11","#feedreading_anchor_11","#feedreading_info_11","#feedreading_previewtoggle_11","#frbl_last_posttitle_11");}else{addZeroAge("#feedreading_bookmark_11");}});});google.feeds.lookupFeed("http://theimbiber.net/",function(){var url9=this.url,feed9=new google.feeds.Feed(this.url);feed9.load(function(result_9){if(!result_9.error){addAge(result_9.feed,"#feedreading_bookmark_9","#feedreading_anchor_9","#feedreading_info_9","#feedreading_previewtoggle_9","#frbl_last_posttitle_9");}else{addZeroAge("#feedreading_bookmark_9");}});});google.feeds.lookupFeed("http://agavegal.com",function(){var url16=this.url,feed16=new google.feeds.Feed(this.url);feed16.load(function(result_16){if(!result_16.error){addAge(result_16.feed,"#feedreading_bookmark_16","#feedreading_anchor_16","#feedreading_info_16","#feedreading_previewtoggle_16","#frbl_last_posttitle_16");}else{addZeroAge("#feedreading_bookmark_16");}});});google.feeds.lookupFeed("http://tequila.net",function(){var url12=this.url,feed12=new google.feeds.Feed(this.url);feed12.load(function(result_12){if(!result_12.error){addAge(result_12.feed,"#feedreading_bookmark_12","#feedreading_anchor_12","#feedreading_info_12","#feedreading_previewtoggle_12","#frbl_last_posttitle_12");}else{addZeroAge("#feedreading_bookmark_12");}});});google.feeds.lookupFeed("http://tastetequila.com/",function(){var url21=this.url,feed21=new google.feeds.Feed(this.url);feed21.load(function(result_21){if(!result_21.error){addAge(result_21.feed,"#feedreading_bookmark_21","#feedreading_anchor_21","#feedreading_info_21","#feedreading_previewtoggle_21","#frbl_last_posttitle_21");}else{addZeroAge("#feedreading_bookmark_21");}});});google.feeds.lookupFeed("http://sayulitalife.com",function(){var url13=this.url,feed13=new google.feeds.Feed(this.url);feed13.load(function(result_13){if(!result_13.error){addAge(result_13.feed,"#feedreading_bookmark_13","#feedreading_anchor_13","#feedreading_info_13","#feedreading_previewtoggle_13","#frbl_last_posttitle_13");}else{addZeroAge("#feedreading_bookmark_13");}});});google.feeds.lookupFeed("http://sayulitafishtaco.com",function(){var url14=this.url,feed14=new google.feeds.Feed(this.url);feed14.load(function(result_14){if(!result_14.error){addAge(result_14.feed,"#feedreading_bookmark_14","#feedreading_anchor_14","#feedreading_info_14","#feedreading_previewtoggle_14","#frbl_last_posttitle_14");}else{addZeroAge("#feedreading_bookmark_14");}});});google.feeds.lookupFeed("http://www.romansinmexico.blogspot.com/",function(){var url18=this.url,feed18=new google.feeds.Feed(this.url);feed18.load(function(result_18){if(!result_18.error){addAge(result_18.feed,"#feedreading_bookmark_18","#feedreading_anchor_18","#feedreading_info_18","#feedreading_previewtoggle_18","#frbl_last_posttitle_18");}else{addZeroAge("#feedreading_bookmark_18");}});});google.feeds.lookupFeed("http://gabrea.com",function(){var url8=this.url,feed8=new google.feeds.Feed(this.url);feed8.load(function(result_8){if(!result_8.error){addAge(result_8.feed,"#feedreading_bookmark_8","#feedreading_anchor_8","#feedreading_info_8","#feedreading_previewtoggle_8","#frbl_last_posttitle_8");}else{addZeroAge("#feedreading_bookmark_8");}});});google.feeds.lookupFeed("http://trevadea.blogspot.com/",function(){var url17=this.url,feed17=new google.feeds.Feed(this.url);feed17.load(function(result_17){if(!result_17.error){addAge(result_17.feed,"#feedreading_bookmark_17","#feedreading_anchor_17","#feedreading_info_17","#feedreading_previewtoggle_17","#frbl_last_posttitle_17");}else{addZeroAge("#feedreading_bookmark_17");}});});google.feeds.lookupFeed("http://quemadre.wordpress.com/",function(){var url19=this.url,feed19=new google.feeds.Feed(this.url);feed19.load(function(result_19){if(!result_19.error){addAge(result_19.feed,"#feedreading_bookmark_19","#feedreading_anchor_19","#feedreading_info_19","#feedreading_previewtoggle_19","#frbl_last_posttitle_19");}else{addZeroAge("#feedreading_bookmark_19");}});});feedreading_category_observer();}});