function helpwindow (sizeX, sizeY)
{
      var win;
      win=window.open ("","helpwindow","width=100,height=100,resizable=no,scrollbars=yes,status=no");
      win.resizeTo(sizeX, sizeY);
}

function memberswindow (sizeX, sizeY)
{
      var win;
      win=window.open ("","memberswindow","width=100,height=100,resizable=no,scrollbars=yes,status=no");
      win.resizeTo(sizeX, sizeY);
}

function imageswindow (sizeX, sizeY)
{
      var win;
      win=window.open ("","imageswindow","width=100,height=100,resizable=no,scrollbars=yes,status=no");
      win.resizeTo(sizeX, sizeY);
}

function showhidelayers() { 
  var i,p,v,obj,args=showhidelayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=findobj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function findobj(n, d) { 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findobj(n,d.layers[i].document); return x;
}

function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }
}

function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}

function setDisplay(tbodyid,dis) {
  document.getElementById(tbodyid).style.display = dis;
}



