function addLoadEvent(func){var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=func;}
else{window.onload=function(){oldonload();func();}}}
function emo_replace(){for(var i=1;i<emo_addresses.length;i++){var id='_emoaddrId'+ i;var elem=document.getElementById(id);if(elem){if(elem.firstChild){elem.removeChild(elem.firstChild);}
elem.innerHTML=decrypt_string(i);}}}
var decryption_cache=new Array();function decrypt_string(n){var cache_index="'"+n+"'";if(decryption_cache[cache_index])
return decryption_cache[cache_index];if(emo_addresses[n])
var crypted_string=emo_addresses[n];if(!crypted_string.length)
return"Error, not a valid index.";var decrypted_string=decode_base64(crypted_string);decryption_cache[cache_index]=decrypted_string;return decrypted_string;}
function decode_base64(data){var tab=emo_addresses[0];var out="",c1,c2,c3,e1,e2,e3,e4;for(var i=0;i<data.length;){e1=tab.indexOf(data.charAt(i++));e2=tab.indexOf(data.charAt(i++));e3=tab.indexOf(data.charAt(i++));e4=tab.indexOf(data.charAt(i++));c1=(e1<<2)+(e2>>4);c2=((e2&15)<<4)+(e3>>2);c3=((e3&3)<<6)+ e4;out+=String.fromCharCode(c1);if(e3!=64)
out+=String.fromCharCode(c2);if(e4!=64)
out+=String.fromCharCode(c3);}
return out;}
