// define  button images

if(document.images) {
  IMGarchives_off = new Image;
  IMGarchives_on = new Image;
  IMGbackpage_off = new Image;
  IMGbackpage_on = new Image;
  IMGbuyabook_off = new Image;
  IMGbuyabook_on = new Image;
  IMGcheapseats_off = new Image;
  IMGcheapseats_on = new Image;
  IMGsubscribe_off = new Image;
  IMGsubscribe_on = new Image;
  IMGfionajane_off = new Image;
  IMGfionajane_on = new Image;
  IMGfungames_off = new Image;
  IMGfungames_on = new Image;
  IMGgeeklord_off = new Image;
  IMGgeeklord_on = new Image;
  IMGgottaseethis_off = new Image;
  IMGgottaseethis_on = new Image;
  IMGhey_off = new Image;
  IMGhey_on = new Image;
  IMGhome_off = new Image;
  IMGhome_on = new Image;
  IMGlawyerjokes_off = new Image;
  IMGlawyerjokes_on = new Image;
  IMGline_off = new Image;
  IMGline_on = new Image;
  IMGlinks_off = new Image;
  IMGlinks_on = new Image;
  IMGmattonfilm_off = new Image;
  IMGmattonfilm_on = new Image;
  IMGmeltdown_off = new Image;
  IMGmeltdown_on = new Image;
  IMGgottasee_off = new Image;
  IMGgottasee_on = new Image;
  IMGmovies_off = new Image;
  IMGmovies_on = new Image;
  IMGnflpreview_off = new Image;
  IMGnflpreview_on = new Image;
  IMGgambler_off = new Image;
  IMGgambler_on = new Image;
  IMGskippy_off = new Image;
  IMGskippy_on = new Image;
  IMGspmbnc_off = new Image;
  IMGspmbnc_on = new Image;
  IMGstaff_off = new Image;
  IMGstaff_on = new Image;
  IMGsubmit_off = new Image;
  IMGsubmit_on = new Image;
  IMGelvin_off = new Image;
  IMGelvin_on = new Image;
  IMGeleanor_off = new Image;
  IMGeleanor_on = new Image;
  IMGshop_off = new Image;
  IMGshop_on = new Image;
  IMGguestFeature_off = new Image;
  IMGguestFeature_on = new Image;
  IMGpoetry_off = new Image;
  IMGpoetry_on = new Image;
  IMGandy_off = new Image;
  IMGandy_on = new Image;
  IMGfeatureA__off = new Image;
  IMGfeatureA__on = new Image;
  IMGpressrelease_off = new Image;
  IMGpressrelease_on = new Image;

  IMGarchives_off.src = "../images/archives_off.gif";
  IMGarchives_on.src = "../images/archives_on.gif";
  IMGbackpage_off.src = "../images/backpage_off.gif";
  IMGbackpage_on.src = "../images/backpage_on.gif";
  IMGbuyabook_off.src = "../images/buyabook_off.gif";
  IMGbuyabook_on.src = "../images/buyabook_on.gif";
  IMGcheapseats_off.src = "../images/cheapseats_off.gif";
  IMGcheapseats_on.src = "../images/cheapseats_on.gif";
  IMGsubscribe_off.src = "../images/subscribe_off.gif";
  IMGsubscribe_on.src = "../images/subscribe_on.gif";
  IMGfionajane_off.src = "../images/fionajane_off.gif";
  IMGfionajane_on.src = "../images/fionajane_on.gif";
  IMGfungames_off.src = "../images/fungames_off.gif";
  IMGfungames_on.src = "../images/fungames_on.gif";
  IMGgeeklord_off.src = "../images/geeklord_off.gif";
  IMGgeeklord_on.src = "../images/geeklord_on.gif";
  IMGgottasee_off.src = "../images/gottaseethis_off.gif";
  IMGgottasee_on.src = "../images/gottaseethis_on.gif";
  IMGhey_off.src = "../images/hey_off.gif";
  IMGhey_on.src = "../images/hey_on.gif";
  IMGhome_off.src = "../images/home_off.gif";
  IMGhome_on.src = "../images/home_on.gif";
  IMGlawyerjokes_off.src = "../images/lawyerjokes_off.gif";
  IMGlawyerjokes_on.src = "../images/lawyerjokes_on.gif";
  IMGline_off.src = "../images/line_off.gif";
  IMGline_on.src = "../images/line_on.gif";
  IMGlinks_off.src = "../images/links_off.gif";
  IMGlinks_on.src = "../images/links_on.gif";
  IMGmattonfilm_off.src = "../images/mattonfilm_off.gif";
  IMGmattonfilm_on.src = "../images/mattonfilm_on.gif";
  IMGmeltdown_off.src = "../images/meltdown_off.gif";
  IMGmeltdown_on.src = "../images/meltdown_on.gif";
  IMGmovies_off.src = "../images/movies_off.gif";
  IMGmovies_on.src = "../images/movies_on.gif";
  IMGnflpreview_off.src = "../images/nflpreview_off.gif";
  IMGnflpreview_on.src = "../images/nflpreview_on.gif";
  IMGgambler_off.src = "../images/gambler_off.gif";
  IMGgambler_on.src = "../images/gambler_on.gif";
  IMGskippy_off.src = "../images/skippy_off.gif";
  IMGskippy_on.src = "../images/skippy_on.gif";
  IMGspmbnc_off.src = "../images/spmbnc_off.gif";
  IMGspmbnc_on.src = "../images/spmbnc_on.gif";
  IMGstaff_off.src = "../images/staff_off.gif";
  IMGstaff_on.src = "../images/staff_on.gif";
  IMGsubmit_off.src = "../images/submit_off.gif";
  IMGsubmit_on.src = "../images/submit_on.gif";
  IMGelvin_off.src = "../images/elvin_off.gif"; 
  IMGelvin_on.src = "../images/elvin_on.gif";
  IMGeleanor_off.src = "../images/eleanor_off.gif"; 
  IMGeleanor_on.src = "../images/eleanor_on.gif";
  IMGshop_off.src = "../images/shop_off.gif";   
  IMGshop_on.src = "../images/shop_on.gif";
  IMGguestFeature_off.src = "../images/gfeature_off.gif";
  IMGguestFeature_on.src = "../images/gfeature_on.gif";
  IMGpoetry_off.src = "../images/poetry_off.gif";
  IMGpoetry_on.src = "../images/poetry_on.gif";
  IMGpressrelease_off.src = "../images/press_release_off.gif";
  IMGpressrelease_on.src = "../images/press_release_on.gif";
  IMGandy_off.src = "../images/andy_off.gif";
  IMGandy_on.src = "../images/andy_on.gif";
  IMGfeatureA__off.src = "../current_issue/images/featureA_off.gif";  // put a feature's graphic into the local imagedir
  IMGfeatureA__on.src = "../current_issue/images/featureA_on.gif";
}

// MouseOver Function

function swapImg(imgLocation,imgName){
  if(navigator.appName.indexOf("Netscape") != -1){
    tmpImg = FindImage(imgLocation,document);
  } else {
    tmpImg = document.images[imgLocation];
  }
  if(tmpImg != "" && tmpImg != null){
    tmpImg.src = eval(imgName + ".src");
  }
}

function FindImage(name, doc){
  var i, img;
  for (i = 0; i < doc.images.length; i++){
    if (doc.images[i].name == name){ return doc.images[i]; }
  }
  for (i = 0; i < doc.layers.length; i++){
    if ((img = FindImage(name, doc.layers[i].document)) != null) {
      img.container = doc.layers[i];
      return img;
    }
  }
  return null;
}

