<script type="text/javascript">
x$(document).ready(function() {

var smileyBar = buildSmileyBar();

 // Inject the Smiley Bar:
 x$("input[value='Add Comment'], input[value='Add Reply']")
 .before("<span id='smileyBar' style='float:left'> Click to Insert: " + smileyBar + " | <a onclick='showMore()'>more</a> </span>");
<img src="http://i714.photobucket.com/albums/ww143/themeworx/smileys/angry2.gif" onclick="insertatcursor(document.getElementById('xg_profiles_chatterwall_post_comment'),'&lt;img src=&quot;http://i714.photobucket.com/albums/ww143/themeworx/smileys/angry2.gif&quot;&gt;')">';
 showSmileys();

});


</script>

