if(document.images) {
pics = new Array();
pics[1] = new Image();
pics[1].src = "images/illustration_01.jpg";
pics[2] = new Image();
pics[2].src = "images/illustration_02.jpg";
pics[3] = new Image();
pics[3].src = "images/illustration_03.jpg";
pics[4] = new Image();
pics[4].src = "images/illustration_04.jpg";
pics[5] = new Image();
pics[5].src = "images/illustration_05.jpg";
pics[6] = new Image();
pics[6].src = "images/illustration_06.jpg";


}
  function changer(from,to) {
  if(document.images) {
  document.images[from].src = pics[to].src;
    }
  }


