if(typeof(console)=='undefined'){console={log:function(){}};}
function lights_down(){$('body').addClass('lights-down');$('#sidebar, #shadow').fadeIn();};function lights_up(){$('body').removeClass('lights-down');$('#sidebar, #shadow').fadeOut();}
$(function(){$('#wrapper').before('<div id="shadow"><div id="screen"></div><div id="foreground"></div><img src="/images/big_shadow.png"></div>');$('#site-title').toggle(lights_down,lights_up);});$(function(){sh_highlightDocument('/js/sh_lang/','.js')});(function(){var key="ffff28cf71bc1259dc6436af2f3776af63d1ad635f47d6d93a40ee6133d5c696807ffa3324a0535d715b3867a86538ecf307848c6135c156c2bdce581ee0408e";function deObfuscator(anchor){var encrypted=$(anchor).attr('href').replace(/obf:/,'').split('-');var codes=[],val;for(var i=0;i<encrypted.length;i++){val=(parseInt(encrypted[i])-key.charCodeAt(i%key.length))%128;codes.push(val<0?val+128:val);}
var decrypted=String.fromCharCode.apply(null,codes);$(anchor).attr('href',decrypted);if($(anchor).text()=='email'){$(anchor).text(decrypted.replace(/mailto:/,''));}}
$(function(){$('a[href^=obf:]').each(function(){deObfuscator(this)});});})();
