rem: else if (emoticon.search (/[=:;][-^v]?[\)>\]]/) != -1) type = "face-smile"; else if (emoticon.search (/[=:;][-^v]?[\/\\]/) != -1) type = "face-screw"; else if (emoticon.search (/[=:;]\~[-^v]?\(/) != -1) type = "face-cry"; else if (emoticon.search (/[=:;][-^v]?[\(<\[]/) != -1) type = "face-frown"; else if (emoticon.search (/\<?[=:;][-^v]?[0oO]/) != -1) type = "face-surprise"; else if (emoticon.search (/[=:;][-^v]?[pP]/) != -1) type = "face-tongue"; else if (emoticon.search (/\>?[=:;][\-\^\v]?[\(\|]/) != -1) type = "face-angry"; 
add:  if (type == "error") {   containerTag.appendChild(document.createTextNode(emoticon)); return; } 
context: function insertSmiley (emoticon, containerTag){    var type = "error";    if (emoticon.search (/\;[-^v]?[\)>\]]/) != -1)        type = "face-wink";    else if (emoticon.search (/[=:;][-^v]?[\)>\]]/) != -1)        type = "face-smile";    else if (emoticon.search (/[=:;][-^v]?[\/\\]/) != -1)        type = "face-screw";    else if (emoticon.search (/[=:;]\~[-^v]?\(/) != -1)        type = "face-cry";    else if (emoticon.search (/[=:;][-^v]?[\(<\[]/) != -1)        type = "face-frown";    else if (emoticon.search (/\<?[=:;][-^v]?[0oO]/) != -1)        type = "face-surprise";    else if (emoticon.search (/[=:;][-^v]?[pP]/) != -1)        type = "face-tongue";    else if (emoticon.search (/\>?[=:;][\-\^\v]?[\(\|]/) != -1)        type = "face-angry";    var span = document.createElementNS ("http://www.w3.org/1999/xhtml",                                         "html:span");    /* create a span to hold the emoticon text */    span.setAttribute ("class", "chatzilla-emote-txt");    span.setAttribute ("type", type);    span.appendChild (document.createTextNode (emoticon));    containerTag.appendChild (span);    /* create an empty span after the text.  this span will have an image added     * after it with a chatzilla-emote:after css rule. using     * chatzilla-emote-txt:after is not good enough because it does not allow us     * to turn off the emoticon text, but keep the image.  ie.     * chatzilla-emote-txt { display: none; } turns off     * chatzilla-emote-txt:after as well.*/    span = document.createElementNS ("http://www.w3.org/1999/xhtml",                                     "html:span");    span.setAttribute ("class", "chatzilla-emote");    span.setAttribute ("type", type);    span.setAttribute ("title", emoticon);    containerTag.appendChild (span);    }
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/c6101b49aef97cf47069c333c0e54bcdd4a66616/static.js/clean/xul/content/static.js