
jQuery.fn.throb=function(size){if(!size)size=12;return this.each(function(){var $this=$(this);if($this.attr('throblock'))return;$this.attr('throblock','1');$this.animate({opacity:0},'fast','linear').animate({opacity:1},'fast','linear');$this.wrap('<div style="position:relative;"></div>');var wrap=$this.parent();var sz=[wrap.height(),wrap.width()];var outline=$('<div></div>').css({border:'2px solid black',position:'absolute',height:sz[0],width:sz[1],top:-2,left:-2});wrap.append(outline);var bigsz=[sz[0]+size,sz[1]+size];var delsz=[bigsz[0]-sz[0],bigsz[1]-sz[1]];function after(){outline.remove();wrap.replaceWith($this);$this.removeAttr('throblock');}
outline.animate({height:Math.round(bigsz[0]),width:Math.round(bigsz[1]),opacity:0,top:-2-Math.round(delsz[0]*.5),left:-2-Math.round(delsz[1]*.5)},'normal','linear',after);});};jQuery.fn.greaseIn=function(speed,cb){this.css({opacity:0});this.show('fast',function(){$(this).animate({opacity:1},speed,cb);});return this;};jQuery.fn.greaseOut=function(speed,cb){this.animate({opacity:0},speed,function(){$(this).hide('fast',cb);});return this;};(function(){var ns=rx.namespace('stream');ns.logout=function(elt){function finish(){location.href=elt?elt.href:rx.scripturl+'/';}
if(MSID.Connect.isConnected)rx.ms.logout();if(FB.Connect.get_loggedInUser()){rx.stream.pagespinner.start()
rx.fb.logout(finish);}else finish();return false;};ns.requiresession=function(f,beginlogin){if(rx.user)f();else{rx.login.cb=function(){f(function(){scroll(0,0);location.reload();});};(beginlogin||rx.login.box.show)();}};})();(function(){var ns=rx.namespace('stream.pagespinner');var css={'-moz-border-radius':'none','-webkit-border-radius':'none',background:'none',border:'0 none',padding:0,width:'66px',top:'60%',left:'50%','margin-left':'-33px'};var message='<div class="pagespinner"></div>';var overlaycss={opacity:.3};if($.browser.msie)var delays=[0,0];else var delays=[500,250];ns.start=function(){$.blockUI({message:message,css:css,overlayCSS:overlaycss,fadeIn:delays[0],fadeOut:delays[1]});};ns.stop=function(){$.unblockUI();};})();(function(){var sequence=[38,38,40,40,37,39,37,39,66,65,13];var i=0;var to;function reset(){i=0;}
var target=$.browser.msie?document.body:window;$(target).keyup(function(e){if(e.keyCode==sequence[i]){if(to)clearTimeout(to);if(++i==sequence.length){var loc;if($.browser.msie&&$.browser.version=='6.0')
loc='http://www.firefox.com/';else loc='http://bacolicio.us/'+location.href;location.href=loc;}
else to=setTimeout(reset,1000);}else reset();});})();