Free javascript Hosting


smileyana03.js

Uploaded on Oct 13 2009 05:26 by perantau28

a = document.getElementsByTagName('LABEL');
if(a) {
for(i=0; i < a.length; i++) {
_str = a.item(i).innerHTML.replace(/:\)/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/big_smile.png' alt='' class='smiley'/>");
_str = _str.replace(/\;D/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/haha.png' alt='' class='smiley'/>");
_str = _str.replace(/\;0/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/waaaht.png' alt='' class='smiley'/>");
_str = _str.replace(/\=D/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/exciting.png' alt='' class='smiley'/>");
_str = _str.replace(/:\(\(/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/cry.png' alt='' class='smiley'/>");
_str = _str.replace(/:s/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/confused.png' alt='' class='smiley'/>");
_str = _str.replace(/:v/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/victory.png' alt='' class='smiley'/>");
_str = _str.replace(/:\)\]/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/bad_smile.png' alt='' class='smiley'/>");
_str = _str.replace(/\=x/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/devil.png' alt='' class='smiley'/>");
_str = _str.replace(/:\|/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/what.png' alt='' class='smiley'/>");
_str = _str.replace(/\x\(/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/electric_shock.png' alt='' class='smiley'/>");
_str = _str.replace(/\=\(\(/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/very_sad.png' alt='' class='smiley'/>");
_str = _str.replace(/\xa/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/anger.png' alt='' class='smiley'/>");
_str = _str.replace(/\xB/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/byebye.png' alt='' class='smiley'/>");
_str = _str.replace(/:\]/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/embarrassed.png' alt='' class='smiley'/>");
_str = _str.replace(/:-t/ig, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/tired.png' alt='' class='smiley'/>")
a.item(i).innerHTML = _str;
}
}

a = document.getElementById('comments');
if(a) {
b = a.getElementsByTagName("DD");
for(i=0; i < b.length; i++) {
if (b.item(i).getAttribute('CLASS') == 'comment-body') {
_str = b.item(i).innerHTML.replace(/:\)/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/big_smile.png' alt='' class='smiley'/>");
_str = _str.replace(/\;D/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/haha.png' alt='' class='smiley'/>");
_str = _str.replace(/\;0/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/waaaht.png' alt='' class='smiley'/>");
_str = _str.replace(/\=D/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/exciting.png' alt='' class='smiley'/>");
_str = _str.replace(/:\(\(/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/cry.png' alt='' class='smiley'/>");
_str = _str.replace(/:s/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/confused.png' alt='' class='smiley'/>");
_str = _str.replace(/:v/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/victory.png' alt='' class='smiley'/>");
_str = _str.replace(/:\)\]/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/bad_smile.png' alt='' class='smiley'/>");
_str = _str.replace(/\=x/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/devil.png' alt='' class='smiley'/>");
_str = _str.replace(/:\|/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/what.png' alt='' class='smiley'/>");
_str = _str.replace(/\x\(/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/electric_shock.png' alt='' class='smiley'/>");
_str = _str.replace(/\=\(\(/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/very_sad.png' alt='' class='smiley'/>");
_str = _str.replace(/\xa/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/anger.png' alt='' class='smiley'/>");
_str = _str.replace(/\xB/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/byebye.png' alt='' class='smiley'/>");
_str = _str.replace(/:\]/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/embarrassed.png' alt='' class='smiley'/>");
_str = _str.replace(/:-t/ig, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/tired.png' alt='' class='smiley'/>")
b.item(i).innerHTML = _str;
}
}
}

a = document.getElementById('comments');
if(a) {
c = a.getElementsByTagName("DD");
for(i=0; i < c.length; i++) {
if (c.item(i).getAttribute('CLASS') == 'owner-Body') {
_str = c.item(i).innerHTML.replace(/:\)/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/big_smile.png' alt='' class='smiley'/>");
_str = _str.replace(/\;D/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/haha.png' alt='' class='smiley'/>");
_str = _str.replace(/\;0/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/waaaht.png' alt='' class='smiley'/>");
_str = _str.replace(/\=D/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/exciting.png' alt='' class='smiley'/>");
_str = _str.replace(/:\(\(/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/cry.png' alt='' class='smiley'/>");
_str = _str.replace(/:s/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/confused.png' alt='' class='smiley'/>");
_str = _str.replace(/:v/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/victory.png' alt='' class='smiley'/>");
_str = _str.replace(/:\)\]/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/bad_smile.png' alt='' class='smiley'/>");
_str = _str.replace(/\=x/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/devil.png' alt='' class='smiley'/>");
_str = _str.replace(/:\|/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/what.png' alt='' class='smiley'/>");
_str = _str.replace(/\x\(/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/electric_shock.png' alt='' class='smiley'/>");
_str = _str.replace(/\=\(\(/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/very_sad.png' alt='' class='smiley'/>");
_str = _str.replace(/xa/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/anger.png' alt='' class='smiley'/>");
_str = _str.replace(/xB/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/byebye.png' alt='' class='smiley'/>");
_str = _str.replace(/:\]/gi, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/embarrassed.png' alt='' class='smiley'/>");
_str = _str.replace(/:-t/ig, "<img src='http://www.wearetherangersboys.com/forum/images/smilies/tired.png' alt='' class='smiley'/>")
c.item(i).innerHTML = _str;
}
}
}

Back to list