
   var album_left_roll = new Image();
   album_left_roll.src = "images/thumbs_left_roll.gif";

   var album_left_off = new Image();
   album_left_off.src = "images/thumbs_left_off.gif";

   var album_top_roll = new Image();
   album_top_roll.src = "images/thumbs_top_roll.gif";

   var album_top_off = new Image();
   album_top_off.src = "images/thumbs_top_off.gif";

   var album_bottom_roll = new Image();
   album_bottom_roll.src = "images/thumbs_bottom_roll.gif";

   var album_bottom_off = new Image();
   album_bottom_off.src = "images/thumbs_bottom_off.gif";

   var album_right_roll = new Image();
   album_right_roll.src = "images/thumbs_right_roll.gif";

   var album_right_off = new Image();
   album_right_off.src = "images/thumbs_right_off.gif";

   var album_color_roll = new Image();
   album_color_roll.src = "images/thumbs_color_roll.gif";

   var album_color_off = new Image();
   album_color_off.src = "images/thumbs_color_off.gif";



   function swapAlbumImage(imgName, state) {
      swapAlbumPart(imgName + '_left', 'left', state);
      swapAlbumPart(imgName + '_top', 'top', state);
      swapAlbumPart(imgName + '_bottom', 'bottom', state);
      swapAlbumPart(imgName + '_right', 'right', state);

      eval("if ((document." + imgName + "_main.src == album_color_off.src) || (document." + imgName + "_main.src == album_color_roll.src)) swapAlbumPart(imgName + '_main', 'color', state);");
      
      eval("if (document." + imgName + "_innerLeft != null) swapAlbumPart(imgName + '_innerLeft', 'color', state);");
      eval("if (document." + imgName + "_innerTop != null) swapAlbumPart(imgName + '_innerTop', 'color', state);");
      eval("if (document." + imgName + "_innerBottom != null) swapAlbumPart(imgName + '_innerBottom', 'color', state);");
      eval("if (document." + imgName + "_innerRight != null) swapAlbumPart(imgName + '_innerRight', 'color', state);");

   }

   function swapAlbumPart(imgName, albumPart, state) {
      eval("document." + imgName + ".src = album_" + albumPart + "_" + state + ".src;");
   }

