var browserName=navigator.appName;
var browserVer=parseInt(navigator.appVersion);

  if ((browserName=="Netscape" && browserVer>=3) || (browserName=="Microsoft Internet Explorer" && browserVer>=4))
{ version="n3";}
  else
{    version="n2";}

if (version=="n3" || document.images)
   {
     pic0on= new Image(157,36);
     pic0on.src="a110_files/greencell.gif";
     pic0off= new Image(157,36);
     pic0off.src="a110_files/graycell.gif";

     pic1on= new Image(157,36);
     pic1on.src="a110_files/redcell.gif";
     pic1off= new Image(157,36);
     pic1off.src="a110_files/graycell.gif";

     pic2on= new Image(157,36);
     pic2on.src="a110_files/bluecell.gif";
     pic2off= new Image(157,36);
     pic2off.src="a110_files/graycell.gif";

     pic3on= new Image(157,36);
     pic3on.src="a110_files/bluecell.gif";
     pic3off= new Image(157,36);
     pic3off.src="a110_files/graycell.gif";

     pic4on= new Image(157,36);
      pic4on.src="a110_files/bluecell.gif";
     pic4off= new Image(157,36);
     pic4off.src="a110_files/graycell.gif";

     pic5on= new Image(157,36);
     pic5on.src="a110_files/greencell.gif";
     pic5off= new Image(157,36);
     pic5off.src="a110_files/graycell.gif";

     pic6on= new Image(157,36);
     pic6on.src="a110_files/redcell.gif";
     pic6off= new Image(157,36);
     pic6off.src="a110_files/graycell.gif";

     pic7on= new Image(157,36);
     pic7on.src="a110_files/greencell.gif";
     pic7off= new Image(157,36);
     pic7off.src="a110_files/graycell.gif"; 
   }

function upimage(imgName)
 {
   if (version=="n3")
    {
      imgOn=eval(imgName + "on.src");
      document[imgName].src= imgOn;
    }
 }

function dnimage(imgName)
 {
   if (version=="n3")
    {
      imgOff=eval(imgName + "off.src");
      document[imgName].src= imgOff;
    }
 }


