var imgarr = new Array();
var title = new Array();
var aidx = new Array();

imgarr[1] = new Image();
imgarr[1].src = "/pressroom/kits/corei7/images/sm01.jpg";
title[1] = "Intel® Core™ i7 Left Side";
aidx[1] = "1";

imgarr[2] = new Image();
imgarr[2].src = "/pressroom/kits/corei7/images/sm02.jpg";
title[2] = "Intel® Core™ Front";
aidx[2] = "2";

imgarr[3] = new Image();
imgarr[3].src = "/pressroom/kits/corei7/images/sm03.jpg";
title[3] = "Intel® Core™ Right Side";
aidx[3] = "3";

imgarr[4] = new Image();
imgarr[4].src = "/pressroom/kits/corei7/images/sm04.jpg";
title[4] = "Intel® Core™ i7 Back with Heatspreader ";
aidx[4] = "4";

imgarr[5] = new Image();
imgarr[5].src = "/pressroom/kits/corei7/images/sm05.jpg";
title[5] = "Intel Core i7 Front &amp; Back";
aidx[5] = "5";

imgarr[6] = new Image();
imgarr[6].src = "/pressroom/kits/corei7/images/sm06.jpg";
title[6] = "Intel® Core™ i7 Front without Heatspreader";
aidx[6] = "6";

imgarr[7] = new Image();
imgarr[7].src = "/pressroom/kits/corei7/images/sm07.jpg";
title[7] = "Intel® Core™ i7 Front without Heatspreader Dual";
aidx[7] = "7";

imgarr[8] = new Image();
imgarr[8].src = "/pressroom/kits/corei7/images/sm08.jpg";
title[8] = "Intel® Core™ i7 Trio Shot";
aidx[8] = "8";

imgarr[9] = new Image();
imgarr[9].src = "/pressroom/kits/corei7/images/sm09.jpg";
title[9] = "lntel X58 and ICH10 package shot ";
aidx[9] = "9";

imgarr[10] = new Image();
imgarr[10].src = "/pressroom/kits/corei7/images/sm10.jpg";
title[10] = "Core i7 High Resolution";
aidx[10] = "10";

imgarr[11] = new Image();
imgarr[11].src = "/pressroom/kits/corei7/images/sm11.jpg";
title[11] = "Nehalem Die callout";
aidx[11] = "11";

imgarr[12] = new Image();
imgarr[12].src = "/pressroom/kits/corei7/images/sm12.jpg";
title[12] = "Nehalem Glamour Shot 1";
aidx[12] = "12";

imgarr[13] = new Image();
imgarr[13].src = "/pressroom/kits/corei7/images/sm13.jpg";
title[13] = "Nehalem Glamour Shot 2";
aidx[13] = "13";

imgarr[14] = new Image();
imgarr[14].src = "/pressroom/kits/corei7/images/sm14.jpg";
title[14] = "Nehalem Glamour Shot 3";
aidx[14] = "14";

imgarr[15] = new Image();
imgarr[15].src = "/pressroom/kits/corei7/images/sm15.jpg";
title[15] = "Nehalem Glamour Shot 4";
aidx[15] = "15";

imgarr[16] = new Image();
imgarr[16].src = "/pressroom/kits/corei7/images/sm16.jpg";
title[16] = "Nehalem Wafer Shot 1";
aidx[16] = "16";

imgarr[17] = new Image();
imgarr[17].src = "/pressroom/kits/corei7/images/sm17.jpg";
title[17] = "Nehalem Wafer Shot 2";
aidx[17] = "17";

imgarr[18] = new Image();
imgarr[18].src = "/pressroom/kits/corei7/images/sm18.jpg";
title[18] = "Nehalem Die Shot 1";
aidx[18] = "18";

imgarr[19] = new Image();
imgarr[19].src = "/pressroom/kits/corei7/images/sm19.jpg";
title[19] = "Nehalem Die Shot 2";
aidx[19] = "19";

imgarr[20] = new Image();
imgarr[20].src = "/pressroom/kits/corei7/images/sm20.jpg";
title[20] = "Intel® Core™ i7 No Speed Limit!";
aidx[20] = "20";

imgarr[21] = new Image();
imgarr[21].src = "/pressroom/kits/corei7/images/sm21.jpg";
title[21] = "Intel® Core™ i7 in a Jewellery Box";
aidx[21] = "21";

imgarr[22] = new Image();
imgarr[22].src = "/pressroom/kits/corei7/images/sm22.jpg";
title[22] = "From Sand to Intel® Core™ i7";
aidx[22] = "22";

imgarr[23] = new Image();
imgarr[23].src = "/pressroom/kits/corei7/images/sm23.jpg";
title[23] = "Kaz Yoshida & Steve Dallman of Intel kick off the Japan boxed processor Saturday midnight sales event at Akihabara Electric Town in Tokyo.";
aidx[23] = "23";

imgarr[24] = new Image();
imgarr[24].src = "/pressroom/kits/corei7/images/sm24.jpg";
title[24] = "Intel® Core™ i7 processor launch event in San Francisco";
aidx[24] = "24";

imgarr[25] = new Image();
imgarr[25].src = "/pressroom/kits/corei7/images/sm25.jpg";
title[25] = "Senior Vice President Pat Gelsinger at Intel® Core™ i7 processor launch event in San Francisco";
aidx[25] = "25";

function roll(n) {
  if (imgarr[n] == null) return;
  document.img.src = imgarr[n].src;
  document.art.titl.value = title[n];
}

function setup() {
  roll('1');
  for (i=1;i<26;i++) {
    im = "im"+i;
    document[im].src=imgarr[i].src;
  }
}