function rs2(n,u,w,h,x,index,id) {
  u = u+"?index="+index+"&n="+id;
  args="width="+w+",height="+h+",resizable=yes,scrollbars=yes,status=0";
  remote=window.open(u,n,args);
  if (remote != null) {
    if (remote.opener == null)
      remote.opener = self;
  }
  if (x == 1) { return remote; }
}    
   
function rs3(n,u,w,h,x,index,idjbn) {
  u = u+"?index="+index+"&e="+idjbn;
  args="width="+w+",height="+h+",resizable=yes,scrollbars=yes,status=0";
  remote=window.open(u,n,args);
  if (remote != null) {
    if (remote.opener == null)
      remote.opener = self;
  }
  if (x == 1) { return remote; }
}