MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: /home/asjudine/public_html/chatasjudinet/script.js
mensajes = new Array();
i = 0;
function anade(){
i=mensajes.length;
if(document.forms[0][0].value)mensajes[mensajes.length] = document.forms[0][0].value;
setTimeout('document.forms[0][0].value=""',10);
}
function mensaje(ob,n){
 if((i-n>-2)&& (i-n<mensajes.length-1)){
    i-=n;
    ob.value = mensajes[i+1];
  }
}
function am(m){
  txt = parent.document.getElementById('texto');
  txt.innerHTML = txt.innerHTML + '#' + m + '<br />';
  txt.scrollTop = 10000;
}
function ms(d,c,m){
  txt = parent.document.getElementById('texto');
  txt.innerHTML = txt.innerHTML + '<font color="' + c + '"><a href="#" onclick="to(this)">'+d+'</a> &gt; ' + m + '</font><br />';
  txt.scrollTop = 10000;
}
function mp(d,c,m){
  txt = parent.document.getElementById('texto');
  txt.innerHTML = txt.innerHTML + '#Privado <font color="' + c + '"><a href="#" onclick="to(this)">'+d+'</a> &gt; ' + m + '</font><br />';
  txt.scrollTop = 10000;
}
function st(){
  parent.frames['sercl'].location = 'script.php';
}
function sp(){
  parent.frames['sercl'].location = 'blank.php';
}
function ul(l){
  usr = parent.document.getElementById('usuarios');
  usr.innerHTML = '';
  if(l)for(i=0; i<l.length; i++)usr.innerHTML = usr.innerHTML + '<a href="#" onclick="to(this)">' + l[i] +'</a><br>';
}
function cl(l){
  parent.document.getElementById('texto').innerHTML = '';
}
function to(vinculo){
  txt = document.forms[0][0];
  txt.value = '/msg ' + vinculo.innerHTML +  ' ';
  txt.focus();
}
function mn(t){
  txt = document.forms[0][0];
  txt.value = t;
  txt.focus();
}