var stream = [{"id":"10lwg","type":"jpg","message":"Horsemanship... natural horsemanship... for a natural horse... the Icelandic Horse... no severe bits, no severe nosebands, no rider weight on the reins... ","timestamp":"1231374021"},{"id":"10izz","type":"jpg","message":"The icelandic bit... what are the mechanics of this bit? Does it purposely dig into the side of the horse's mouth? ","timestamp":"1231357648"},{"id":"10iyq","type":"jpg","message":"What is happening to the bit on this Icelandic Horse? Will the bit dig into his flesh?","timestamp":"1231357398"},{"id":"10ivu","type":"jpg","message":"Is the Icelandic Horse able to see where he is going, if his head is held up in an unnatural position?","timestamp":"1231356933"},{"id":"zdku","type":"jpg","message":"If the bridle piece is loose on an Icelandic Horse, there is too much contact on the bit; the hands are too heavy.","timestamp":"1231018369"},{"id":"zdgf","type":"jpg","message":"An Icelandic Horse... overbent... behind the bit... indicates poor riding... poor training... Where knowledge ends, abuse begins.","timestamp":"1231017862"},{"id":"zdf3","type":"jpg","message":"How much muscle and equipment does it take to make an Icelandic Horse gait?","timestamp":"1231017713"},{"id":"vbqw","type":"jpg","message":"Is tolt a natural gait to the Icelandic Horse? ","timestamp":"1229974607"},{"id":"vbqf","type":"jpg","message":"Is tolt a natural gait to the Icelandic Horse? ","timestamp":"1229974541"},{"id":"vbq1","type":"jpg","message":"Is tolt a natural gait to the Icelandic Horse? ","timestamp":"1229974477"}]; function twitpicBuildBadge() { document.write("
"); var statusHTML = ""; for (var i=0; i'+stream[i].message+' '+relative_time(stream[i].timestamp)+'
') } document.getElementById('twitpic_badge_container_v1').innerHTML = '
Twitpic Updates
' + statusHTML + '
View my photos'; } function relative_time(time_value) { var parsed_date = time_value; //var relative_to = new Date(); //var delta = parseInt((relative_to.getTime() / 1000) - parsed_date); var delta = parseInt((1258954544) - parsed_date); //delta = delta + (relative_to.getTimezoneOffset() * 60); if (delta < 60) { return 'less than a minute ago'; } else if(delta < 120) { return 'about a minute ago'; } else if(delta < (60*60)) { return (parseInt(delta / 60)).toString() + ' minutes ago'; } else if(delta < (120*60)) { return 'about an hour ago'; } else if(delta < (24*60*60)) { return 'about ' + (parseInt(delta / 3600)).toString() + ' hours ago'; } else if(delta < (48*60*60)) { return '1 day ago'; } else { return (parseInt(delta / 86400)).toString() + ' days ago'; } } twitpicBuildBadge();