//<![CDATA[
function Crypto(){}Crypto.strToBe32s=function(a){return jQuery.encoding.strToBe32s(a)};Crypto.be32sToStr=function(a){return jQuery.encoding.be32sToStr(a)};Crypto.be32sToHex=function(a){return jQuery.encoding.be32sToHex(a)};Crypto.hexSha1Str=function(a){return jQuery.encoding.digests.hexSha1Str(a)};Crypto.sha1Str=function(a){return jQuery.encoding.digests.sha1Str(a)};Crypto.sha1=function(a,b){return jQuery.encoding.digests.sha1(a,b)};function setStylesheet(a,c,b){jQuery.twStylesheet(a,{id:c,doc:b})}function removeStyleSheet(a){jQuery.twStylesheet.remove({id:a})}function loadRemoteFile(a,c,b){return httpReq("GET",a,c,b)}function doHttp(f,a,e,h,d,i,j,c,b,g){return httpReq(f,a,j,c,b,e,h,d,i,g)}function httpReq(f,a,j,c,b,e,i,d,h,g){var k={type:f,url:a,processData:false,data:e,cache:!!g,beforeSend:function(m){for(var l in b){m.setRequestHeader(l,b[l])}m.setRequestHeader("X-Requested-With","TiddlyWiki "+formatVersion())}};if(j){k.complete=function(l,m){if(jQuery.httpSuccess(l)){j(true,c,l.responseText,a,l)}else{j(false,c,null,a,l)}}}if(i){k.contentType=i}if(d){k.username=d}if(h){k.password=h}if(window.Components&&window.netscape&&window.netscape.security&&document.location.protocol.indexOf("http")==-1){window.netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead")}jQuery.ajax(k)}String.prototype.toJSONString=function(){var a={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t",'"':'\\"',"\\":"\\\\"};var b=function(e,d){var f=a[d];if(f){return f}f=d.charCodeAt();return"\\u00"+Math.floor(f/16).toString(16)+(f%16).toString(16)};if(/["\\\x00-\x1f]/.test(this)){return'"'+this.replace(/([\x00-\x1f\\"])/g,b)+'"'}return'"'+this+'"'};Tiddler.prototype.toRssItem=function(a){return tiddlerToRssItem(this,a)};Tiddler.prototype.saveToRss=function(a){return"<item>\n"+tiddlerToRssItem(this,a)+"\n</item>"};Tiddler.prototype.generateFingerprint=function(){return"0x"+Crypto.hexSha1Str(this.text)};//]]>