var imgarr = new Array();
var title = new Array();
var aidx = new Array();

imgarr[1] = new Image();
imgarr[1].src = "/pressroom/enhanced/40th_Anniversary/images/t01.jpg";
title[1] = "World Mural Project at Beijing, China - Intel volunteers working with students from an Intel Learn Center in Beijing on the World Digital Mural.";
aidx[1] = "01";

imgarr[2] = new Image();
imgarr[2].src = "/pressroom/enhanced/40th_Anniversary/images/t02.jpg";
title[2] = "World Mural Project at Beijing, China - Intel volunteers working with students from an Intel Learn Center in Beijing on the World Digital Mural.";
aidx[2] = "02";

imgarr[3] = new Image();
imgarr[3].src = "/pressroom/enhanced/40th_Anniversary/images/t03.jpg";
title[3] = "World Mural Project at Costa Rica - Intel volunteers discussing with youth from a computer clubhouse in Costa Rica for the World Mural Project.";
aidx[3] = "03";

imgarr[4] = new Image();
imgarr[4].src = "/pressroom/enhanced/40th_Anniversary/images/t04.jpg";
title[4] = "World Mural Project at Costa Rica - Intel volunteers discussing with youth from a computer clubhouse in Costa Rica for the World Mural Project.";
aidx[4] = "04";

imgarr[5] = new Image();
imgarr[5].src = "/pressroom/enhanced/40th_Anniversary/images/t05.jpg";
title[5] = "World Mural Project in Israel - Intel volunteers working with clubhouse members on the Intel World Mural Project In Israel. The company is celebrating its 40th anniversary by asking youth around the world to envision what computers will enable us to do in the future 40 years.";
aidx[5] = "05";

imgarr[6] = new Image();
imgarr[6].src = "/pressroom/enhanced/40th_Anniversary/images/t06.jpg";
title[6] = "World Mural Project at Chengdu, China - Intel volunteers mentoring a student in an Intel Learn center in Chengdu, China, less than 2 months after the devastating earthquake.";
aidx[6] = "06";

imgarr[7] = new Image();
imgarr[7].src = "/pressroom/enhanced/40th_Anniversary/images/t07.jpg";
title[7] = "World Mural Project in Chengdu, China - Intel general manager for emerging market platforms group Lila Ibrahim working with students in Chengdu, China on the World Mural Project - imaging what computers will enable us to do in 40 years.";
aidx[7] = "07";

imgarr[8] = new Image();
imgarr[8].src = "/pressroom/enhanced/40th_Anniversary/images/t08.jpg";
title[8] = "Intel volunteers are working with clubhouse members on the Intel World Mural Project at a computer clubhouse in Northern California.  The company is celebrating its 40th anniversary by asking youth around the world to envision what computers will enable us to do in the future 40 years.";
aidx[8] = "08";

imgarr[9] = new Image();
imgarr[9].src = "/pressroom/enhanced/40th_Anniversary/images/t09.jpg";
title[9] = "Intel volunteers are working with clubhouse members on the Intel World Mural Project at a computer clubhouse in Northern California.  The company is celebrating its 40th anniversary by asking youth around the world to envision what computers will enable us to do in the future 40 years.";
aidx[9] = "09";

imgarr[10] = new Image();
imgarr[10].src = "/pressroom/enhanced/40th_Anniversary/images/t10.jpg";
title[10] = "Intel volunteers and renowned artist Favianna Rodriguez are working with clubhouse members on the Intel World Mural Project at a computer clubhouse in Northern California. The company is celebrating its 40th anniversary by asking youth around the world to envision what computers will enable us to do in the future 40 years.";
aidx[10] = "10";

imgarr[11] = new Image();
imgarr[11].src = "/pressroom/enhanced/40th_Anniversary/images/t11.jpg";
title[11] = "Intel volunteers are working with clubhouse members on the Intel World Mural Project at the Utah computer clubhouse. The company is celebrating its 40th anniversary by asking youth around the world to envision what computers will enable us to do in the future 40 years.";
aidx[11] = "11";

imgarr[12] = new Image();
imgarr[12].src = "/pressroom/enhanced/40th_Anniversary/images/t12.jpg";
title[12] = "Intel volunteers are working with clubhouse members on the Intel World Mural Project at the Utah computer clubhouse. The company is celebrating its 40th anniversary by asking youth around the world to envision what computers will enable us to do in the future 40 years.";
aidx[12] = "12";

imgarr[13] = new Image();
imgarr[13].src = "/pressroom/enhanced/40th_Anniversary/images/t13.jpg";
title[13] = "World Mural Project at  Brazil - Intel volunteers are working with clubhouse members on the Intel World Mural Project at a computer clubhouse in Brazil.  Youth here are brainstorming on what computers will enable us to do in 40 years.";
aidx[13] = "13";

imgarr[14] = new Image();
imgarr[14].src = "/pressroom/enhanced/40th_Anniversary/images/t14.jpg";
title[14] = "From a young survivor of the recent earthquake in China, a future machine that releases pressures and forces in the earth to prevent quakes.";
aidx[14] = "14";

imgarr[15] = new Image();
imgarr[15].src = "/pressroom/enhanced/40th_Anniversary/images/t15.jpg";
title[15] = "From a student in Ireland, a prediction of wearable computer/communicators. They look like wrist watches connected to pinky rings and thumb rings, which you talk and listen through-the way people currently motion ''call me.''";
aidx[15] = "15";

imgarr[16] = new Image();
imgarr[16].src = "/pressroom/enhanced/40th_Anniversary/images/t16.jpg";
title[16] = "A fountain-of-youth drawing dominated by the medical symbol (caduceus) and an arrow pointing from an old face to a young face, with the caption ''the best is yet to come.''";
aidx[16] = "16";

imgarr[17] = new Image();
imgarr[17].src = "/pressroom/enhanced/40th_Anniversary/images/t17.jpg";
title[17] = "A student's muck and dirt-mound landscape with the caption ''in 40 years, computers will empower us to keep earth from becoming a landfill.''";
aidx[17] = "17";

imgarr[18] = new Image();
imgarr[18].src = "/pressroom/enhanced/40th_Anniversary/images/t18.jpg";
title[18] = "A student's predictions that in 40 years with computers, we will be able to teleport back in time, communicate through holograms, and transform our computers into cars.";
aidx[18] = "18";

imgarr[19] = new Image();
imgarr[19].src = "/pressroom/enhanced/40th_Anniversary/images/t19.jpg";
title[19] = "A more personal note from a Massachusetts student that computers will help make them become a doctor, save lives, and invent an artificial leg to help others.";
aidx[19] = "19";

imgarr[20] = new Image();
imgarr[20].src = "/pressroom/enhanced/40th_Anniversary/images/t20.jpg";
title[20] = "From a student in Jordan, a future landscape of flying cars and the words ''finally a cure for cancer.''";
aidx[20] = "20";

imgarr[21] = new Image();
imgarr[21].src = "/pressroom/enhanced/40th_Anniversary/images/t21.jpg";
title[21] = "From a student in India, a mandala of hope with the caption ''In 40 years computers will change the world.''";
aidx[21] = "21";

imgarr[22] = new Image();
imgarr[22].src = "/pressroom/enhanced/40th_Anniversary/images/t22.jpg";
title[22] = "From a student in Panama, a drawing of books and happy faces with the caption ''In 40 years computers will enable us to eliminate illiteracy in the world.'' ";
aidx[22] = "22";

imgarr[23] = new Image();
imgarr[23].src = "/pressroom/enhanced/40th_Anniversary/images/t23.jpg";
title[23] = "On Einstein's portrait, the idea that we will vastly improve our brain power by storing and sharing our thoughts through memory pens we can plug into our brains.";
aidx[23] = "23";

/*
imgarr[24] = new Image();
imgarr[24].src = "images/t24.jpg";
title[24] = "";
aidx[24] = "24";

*/

function roll(n) {
  if (imgarr[n] == null) return;
  document.img.src = imgarr[n].src;
  document.art.titl.value = title[n];
}

function setup() {
  roll('6');
  for (i=1;i<24;i++) {
    im = "im"+i;
    document[im].src=imgarr[i].src;
  }
}