// JavaScript Document

function launch(newURL, newName, newFeatures, orgName) {
  var remote = open(newURL, newName, newFeatures);
  if (remote.opener == null)
    remote.opener = window;
  remote.opener.name = orgName;
  return remote;
}

function chat(n,rand) {

url= "/mensajero.php?a="+n+"&asrand="+rand;
myRemote = launch(url, "usuario"+n, "height=400,width=400,channelmode=0,dependent=0,directories=1,fullscreen=0,location=1,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0", "myWindow");
}

