// Blog instance-specific plug-ins // Dues payment reminder. onLogin.push(function() { /* var dt = new Date() var thisYr = dt.getFullYear(); var yearPaid = 0; var roster = true; screwtopDb().url(DBURL) .attributes() .each(function(attr) { if (attr.name == "Year Paid") { yearPaid = attr.value; } if (attr.name == "roster") { if (attr.value == "false") { roster = false; } } }) .end(function() { if (yearPaid < thisYr && roster) { $('.donatebtn').hide(); $('.donatebtn a').html('