function replaceText() {
// no support
if(!document.getElementById) {
return;
}

bodyText = document.getElementById("body");
theText = bodyText.innerHTML;

// replace

theText = theText.replace(/:angry:/g,'<img style="border:none;vertical-align:middle" src="http://www.fileden.com/files/2007/12/1/1619409/angry.gif" alt="*angry*" />');
theText = theText.replace(/:cheesy:/g,'<img style="border:none;vertical-align:middle" src="http://www.fileden.com/files/2007/12/1/1619409/cheesy.gif" alt="*cheesy*" />');
theText = theText.replace(/:cool:/g,'<img style="border:none;vertical-align:middle" src="http://www.fileden.com/files/2007/12/1/1619409/cool.gif" alt="*cool*" />');
theText = theText.replace(/:cry:/g,'<img style="border:none;vertical-align:middle" src="http://www.fileden.com/files/2007/12/1/1619409/cry.gif" alt="*cry*" />');
theText = theText.replace(/:evil:/g,'<img style="border:none;vertical-align:middle" src="http://www.fileden.com/files/2007/12/1/1619409/evil.gif" alt="*evil*" />');
theText = theText.replace(/:grin:/g,'<img style="border:none;vertical-align:middle" src="http://www.fileden.com/files/2007/12/1/1619409/grin.gif" alt="*grin*" />');
theText = theText.replace(/:hehe:/g,'<img style="border:none;vertical-align:middle" src="http://www.fileden.com/files/2007/12/1/1619409/hehe.gif" alt="*hehe*" />');
theText = theText.replace(/:wink:/g,'<img style="border:none;vertical-align:middle" src="http://www.fileden.com/files/2007/12/1/1619409/wink.gif" alt="*wink*" />');

bodyText.innerHTML = theText;
}