if (document.images) {
   interests_on = new Image();
   interests_on.src = "http://www.pittsburgh.net/images/interests_on.gif";
   interests_off = new Image();
   interests_off.src = "http://www.pittsburgh.net/images/interests_off.gif";
   ethnic_on = new Image();
   ethnic_on.src = "http://www.pittsburgh.net/images/ethnic_on.gif";
   ethnic_off = new Image();
   ethnic_off.src = "http://www.pittsburgh.net/images/ethnic_off.gif";
   lifestyles_on = new Image();
   lifestyles_on.src = "http://www.pittsburgh.net/images/lifestyles_on.gif";
   lifestyles_off = new Image();
   lifestyles_off.src = "http://www.pittsburgh.net/images/lifestyles_off.gif";
   neighborhoods_on = new Image();
   neighborhoods_on.src = "http://www.pittsburgh.net/images/neighborhoods_on.gif";
   neighborhoods_off = new Image();
   neighborhoods_off.src = "http://www.pittsburgh.net/images/neighborhoods_off.gif";
   visitor_on = new Image();
   visitor_on.src = "http://www.pittsburgh.net/images/visitor_on.gif";
   visitor_off = new Image();
   visitor_off.src = "http://www.pittsburgh.net/images/visitor_off.gif";
   about_on = new Image();
   about_on.src = "http://www.pittsburgh.net/images/about_on.gif";
   about_off = new Image();
   about_off.src = "http://www.pittsburgh.net/images/about_off.gif";
   fun_on = new Image();
   fun_on.src = "http://www.pittsburgh.net/images/fun_on.gif";
   fun_off = new Image();
   fun_off.src = "http://www.pittsburgh.net/images/fun_off.gif";

}

function swapImage(imgName,newImage) {
   if (document.images) {
      eval('document.' + imgName + '.src = ' + newImage + '.src');
   }
}

