$.fn.extend({textNodes:function(deep){var texts=[];this.each(function(){var children=this.childNodes;for(var i=0;i<children.length;i++){var child=children[i];if(child.nodeType==3)
texts.push(child);else if(deep&&child.nodeType==1)
[].push.apply(texts,$(child).textNodes(deep,true));}});return arguments[1]?texts:this.pushStack(texts);}});$(document).ready(function(){$('h1.decay').textNodes(false).each(function(){var text=this.nodeValue;var img=document.createElement('img');img.setAttribute('src','/truetype/'+text+'.gif?size=22');img.setAttribute('alt',text);this.parentNode.replaceChild(img,this);});});
