// uncompressed version available in source/javascripts/libs/jXHR.js
(function(c){varb=c.setTimeout,d=c.document,a=0;c.jXHR=function(){vare,g,n,h,m=null;functionl(){try{h.parentNode.removeChild(h)}catch(o){}}functionk(){g=false;e="";l();h=null;i(0)}functionf(p){try{m.onerror.call(m,p,e)}catch(o){thrownewError(p)}}functionj(){if((this.readyState&&this.readyState!=="complete"&&this.readyState!=="loaded")||g){return}this.onload=this.onreadystatechange=null;g=true;if(m.readyState!==4){f("Script failed to load ["+e+"].")}l()}functioni(o,p){p=p||[];m.readyState=o;if(typeofm.onreadystatechange==="function"){m.onreadystatechange.apply(m,p)}}m={onerror:null,onreadystatechange:null,readyState:0,open:function(p,o){k();internal_callback="cb"+(a++);(function(q){c.jXHR[q]=function(){try{i.call(m,4,arguments)}catch(r){m.readyState=-1;f("Script failed to run ["+e+"].")}c.jXHR[q]=null}})(internal_callback);e=o.replace(/=\?/,"=jXHR."+internal_callback);i(1)},send:function(){b(function(){h=d.createElement("script");h.setAttribute("type","text/javascript");h.onload=h.onreadystatechange=function(){j.call(h)};h.setAttribute("src",e);d.getElementsByTagName("head")[0].appendChild(h)},0);i(2)},setRequestHeader:function(){},getResponseHeader:function(){return""},getAllResponseHeaders:function(){return[]}};k();returnm}})(window);
/* Sky Slavin, Ludopoli. MIT license. * based on JavaScript Pretty Date * Copyright (c) 2008 John Resig (jquery.com) * Licensed under the MIT license. */
functionprettyDate(time){
if(navigator.appName=='Microsoft Internet Explorer'){
return"<span>∞</span>";// because IE date parsing isn't fun.