browserName=navigator.appName; 
browserVer=parseInt(navigator.appVersion);

  if ((browserName=="Netscape" && browserVer>=3) || (browserName=="Microsoft Internet Explorer" && browserVer>=4))    
  version="n3";
  else
    version="n2";

  if (version=="n3")
   {
     pic1on= new Image(219,214);
     pic1on.src="http://www.post-gazette.com/images4/2009map_left_on_219x214.jpg"
     pic2on= new Image(214,214);
     pic2on.src="http://www.post-gazette.com/images4/2009map_middle_on_214x214.jpg"
     pic3on= new Image(227,214);
     pic3on.src="http://www.post-gazette.com/images4/2009map_right_on_227x214.jpg"

     pic1off= new Image(219,214);
     pic1off.src="http://www.post-gazette.com/images4/2009map_left_off_219x214.jpg";  
     pic2off= new Image(214,214);
     pic2off.src="http://www.post-gazette.com/images4/2009map_middle_off_214x214.jpg";  
     pic3off= new Image(227,214);
     pic3off.src="http://www.post-gazette.com/images4/2009map_right_off_227x214.jpg";  
   }


function lightup(imgName)
 {
   if (version=="n3")
    {
      imgOn=eval(imgName + "on.src");
      document[imgName].src= imgOn;
    }
 }

function turnoff(imgName)
 {
   if (version=="n3")
    {
      imgOff=eval(imgName + "off.src");
      document[imgName].src= imgOff;
    }
 }
