/**/twitterCallback2({"errors":[{"message":"SSL is required","code":92}]}); function twitterCallback2(twitters){if(document.getElementById('twitter_update_list')){var statusHTML=[];for(var i=0;i0?true:false);var statcount=twitters[i].user.statuses_count;var status='';if(twitters[i].retweeted_status)status=twitters[i].retweeted_status.text;else status=twitters[i].text;status=status.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g,function(url){return''+url+'';}).replace(/\[email protected]([_a-z0-9]+)/ig,function(reply){return reply.charAt(0)+''+reply.substring(1)+'';});statusHTML.push('

'+relative_time(twitters[i].created_at)+'

'+LinkHash(status)+'

'+rtcount+' retweet(s)

');}document.getElementById('twitter_update_list').innerHTML=statusHTML.join('');document.getElementById('tweetcount').innerHTML=''+statcount+'
tweets';}function relative_time(time_value){var values=time_value.split(" ");time_value=values[1]+" "+values[2]+", "+values[5]+" "+values[3];var parsed_date=Date.parse(time_value);var relative_to=(arguments.length>1)?arguments[1]:new Date();var delta=parseInt((relative_to.getTime()-parsed_date)/1000);delta=delta+(relative_to.getTimezoneOffset()*60);if(delta<60){return time_value+' (minder dan 1 minuut geleden)';}else if(delta<120){return time_value+' (ongeveer een minuut geleden)';}else if(delta<(60*60)){return time_value+' ('+(parseInt(delta/60)).toString()+' minuten geleden)';}else if(delta<(120*60)){return time_value+' (ongeveer een uur geleden)';}else if(delta<(24*60*60)){return time_value+' (ongeveer '+(parseInt(delta/3600)).toString()+' uur geleden)';;}else if(delta<(48*60*60)){return time_value+' (1 dag geleden)';}else{return time_value+' ('+(parseInt(delta/86400)).toString()+' dagen geleden)';}}} function LinkHash(strin){return strin.replace(/(^| )#([A-Za-z0-9_-]+)(?![A-Za-z0-9_\]-])/g, "$1#$2");}