function getlayerid(layername)
{
//hide/clear previous (if any) layers   
  noshow();

//functions getlayerid and noshow used by index.html
//should be global variables but you know...
//   ns4 = (document.layers)? true:false <--netscape/mozilla/firebird only detect for ns4
//   does not detect...using getElementByID (b/c W3C standard)

//get screen width
   bwidth = document.body.clientWidth;    
//get integer part (quotient)
   bwidth = bwidth/2 - bwidth%2/2;

//width of layer 600px
   midpt = 600/2;
   startpt = bwidth - midpt;
    if(document.all)
      { 
       document.all[layername].style.left = startpt;
       document.all[layername].style.visibility = "visible";
      }
    else //netscape/mozilla/firebird (and all w3c-standard browsers?)
      {
       document.getElementById(layername).style.left = startpt;
       document.getElementById(layername).style.visibility = "visible";
      }
} //end getlayerid function


function noshow()
{ 
   ie4 = (document.all)? true:false

 if (ie4) 
  {
    team.style.visibility = "hidden";
    teaminfo.style.visibility = "hidden";
    wpr.style.visibility = "hidden";
    picture.style.visibility = "hidden";
    report.style.visibility = "hidden";
    progress.style.visibility = "hidden";
    proposal.style.visibility = "hidden";
  }    
 else
  {
  document.getElementById("teaminfo").style.visibility = "hidden";
  document.getElementById("team").style.visibility = "hidden";
  document.getElementById("wpr").style.visibility = "hidden";
  document.getElementById("picture").style.visibility = "hidden";
  document.getElementById("report").style.visibility = "hidden";
  document.getElementById("progress").style.visibility = "hidden";
  document.getElementById("proposal").style.visibility = "hidden";
  }
}//end noshow function
