Your IP : 216.73.216.224


Current Path : /var/www/html/components/com_jchat/js/
Upload File :
Current File : /var/www/html/components/com_jchat/js/emoticons.js

jQuery(function(b){function a(c){return c.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}b.jchatInitializeEmoticons=function(){b.each(window.jchat_emoticons,function(c,d){var e=a(d.keycode);d.exp="\\b"+e+"|^"+e+'|\\b[^"]'+e+"|[\\s]"+e+"\\b|\\s"+e;tmpImage=new Image();tmpImage.src=jchat_livesite+d.path})}()});jQuery.jchatEmoticons=function(a){if(a.indexOf('<img src="data:image')!=-1){return a}jQuery.each(window.jchat_emoticons,function(b,d){var c=new RegExp(d.exp,"gi");a=a.replace(c,' <img class="jchat_emoticons" title="'+d.keycode+'" src="'+jchat_livesite+d.path+'"/>')});return a};