Custom Javascript - repost

IN PROGRESS
Bids
8
Avg Bid (USD)
$77
Project Budget (USD)
$30 - $250

Project Description:
I'm using this custom chat script here: http://chat.plasticshore.com/

I'd like someone who can customize it to insert smiley faces, it uses a text node to return the content and I'm not sure how to modify it to replace smiley face inserts with html code. (for example: replace :) with a smiley face picture) Simple job, I want it done right away.

Here's what the function looks like:
function insertNewContent(liName,liText) {
insertO = document.getElementById("outputList");
oLi = document.createElement('li');
oSpan = document.createElement('span');
oSpan.setAttribute('className','name'); //for IE's sake
oSpan.setAttribute('class','name');
oName = document.createTextNode(liName+': ');
oText = document.createTextNode(liText);
oSpan.appendChild(oName);
oLi.appendChild(oSpan);
oLi.appendChild(oText);
insertO.insertBefore(oLi, insertO.firstChild);
}

Here's what needs to be changed (I think):
oText = document.createTextNode(liText);

Here's an example list of smiley faces:
http://www.friendstagger.com/facebook-chat-emoticons-smileys-faces-list-of-codes-for-fb/

Skills required:
AJAX, Javascript, jQuery / Prototype, PHP
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 100
in 1 days
$ 75
in 3 days
Hire PatrickDev
$ 60
in 1 days
$ 30
in 1 days
$ 100
in 2 days
Hire rsmithdev
$ 100
in 1 days
Hire voidpointers
$ 49
in 1 days
$ 100
in 2 days