/*
Design by Fire Twitter integration
Copyright (c) 2011 Ylab, http://www.ylab.nl
*/
jQuery.fn.fixParentHeight=function(){var a=$(this).parent();a.css({minHeight:a.height()+"px"});return $(this)};
jQuery(document).ready(function(a){var d=!1,e=!1,c={userName:"designbyfire",q:"designbyfire",numTweets:3,request:"timeline",slideIn:!1,showTimestamp:!1,className:"twitter",ready:function(){a("#twitter").parent().css({minHeight:"200px"});d&&($a=a('<div><small><a href="#">Show latest tweets from @designbyfire</a></small></div>').click(function(b){b.preventDefault();d=!1;c.userName="designbyfire";c.request="timeline";a("#twitter").fixParentHeight().getTwitter(c)}),a("#twitter").append($a));d=!0;a("#twitter a.twitteruser").click(function(b){b.preventDefault();
c.userName=a(this).text().replace(/@/,"");c.request="profile";a("#twitter").fixParentHeight().getTwitter(c)}).each(function(){this.title="Show profile of "+a(this).text()});a("#twitter a.twitterhash").click(function(b){b.preventDefault();c.q=a(this).text();c.request="search";a("#twitter").fixParentHeight().getTwitter(c)}).each(function(){this.title="Show search results for "+a(this).text()})}};a("#twitter").getTwitter(c);$twitprofile=a('<div class="twitprofile"></div>').hide().appendTo(a("body"));
a(".participants td").mouseenter(function(){$twitprofile.hide()});a(".participants .twitter a").mouseenter(function(b){b.stopPropagation();if(!e)e=!0,$this=a(this),b={request:"profile",userName:this.href.substring(19),slideIn:!1,showTimestamp:!1,ready:function(){e=!1}},b.loaderText="Loading profile of @"+b.userName,$twitprofile.html("").show(),$twitprofile.offset({left:-190+$this.offset().left,top:20+$this.offset().top}),$twitprofile.getTwitter(b)})});
