// JavaScript Document

if(document.images) {
pics = new Array();
pics[1] = new Image();
pics[1].src = "images/commercial_01.jpg";
pics[2] = new Image();
pics[2].src = "images/commercial_02.jpg";
pics[3] = new Image();
pics[3].src = "images/commercial_03.jpg";
pics[4] = new Image();
pics[4].src = "images/commercial_04.jpg";
pics[5] = new Image();
pics[5].src = "images/commercial_05.jpg";
pics[6] = new Image();
pics[6].src = "images/commercial_06.jpg";
pics[7] = new Image();
pics[7].src = "images/commercial_07.jpg";
pics[8] = new Image();
pics[8].src = "images/commercial_08.jpg";
pics[9] = new Image();
pics[9].src = "images/commercial_09.jpg";
pics[10] = new Image();
pics[10].src = "images/commercial_10.jpg";
pics[11] = new Image();
pics[11].src = "images/commercial_11.jpg";
pics[12] = new Image();
pics[12].src = "images/commercial_12.jpg";
pics[13] = new Image();
pics[13].src = "images/commercial_13.jpg";
pics[14] = new Image();
pics[14].src = "images/commercial_14.jpg";
pics[15] = new Image();
pics[15].src = "images/commercial_15.jpg";
pics[16] = new Image();
pics[16].src = "images/commercial_16.jpg";
pics[17] = new Image();
pics[17].src = "images/commercial_17.jpg";
pics[18] = new Image();
pics[18].src = "images/commercial_18.jpg";

}
  function changer(from,to) {
  if(document.images) {
  document.images[from].src = pics[to].src;
    }
  }

