﻿    var i = 0;
    var quantImages = 3;
    imageObj = new Image();
     
     // set image list
     images = new Array();
     images[0]="http://www.veotex.com.br/images/bkg.jpg";
     images[1]="http://www.veotex.com.br/images/cabecalho/jq-top_miolo-meio.png";
     images[2]="http://www.veotex.com.br/images/cabecalho/jq-top_miolo1.png";
     images[3]="http://www.veotex.com.br/images/cabecalho/jq-top_miolo-2.png";
//     images[4]="http://www.veotex.com.br/images/menu/clientes.png";
//     images[5]="http://www.veotex.com.br/images/menu/contato.png";
//     
//     images[6]="http://www.veotex.com.br/images/menu/veotex-over.png";
//     images[7]="http://www.veotex.com.br/images/menu/viu-over.png";
//     images[8]="http://www.veotex.com.br/images/menu/atuacao-over.png";
//     images[9]="http://www.veotex.com.br/images/menu/aplicacao-over.png";
//     images[10]="http://www.veotex.com.br/images/menu/clientes-over.png";
//     images[11]="http://www.veotex.com.br/images/menu/contato-over.png";
//     
//     images[12]="http://www.veotex.com.br/images/home/bkgFolhaHome.jpg";
//     images[13]="http://www.veotex.com.br/images/box/tituloBox.jpg";
//     images[14]="http://www.veotex.com.br/images/box/fundoBox.jpg";
//     images[15]="http://www.veotex.com.br/images/box/bkg-box-laranja.jpg";
//     
//     images[16]="http://www.veotex.com.br/images/contentPage/rep-borda-direita.png";
//     images[17]="http://www.veotex.com.br/images/contentPage/bkg-folha-Dentro.jpg";
//     images[18]="http://www.veotex.com.br/images/contentPage/separador-dentro.jpg";
//     images[19]="http://www.veotex.com.br/images/contentPage/rep-borda-esquerda.png";
//     
//     images[20]="http://www.veotex.com.br/images/Fundo-site.jpg";
//     images[21]="http://www.veotex.com.br/images/Fundo-Home.jpg";
       
     // start preloading
 for(i=0; i<=quantImages; i++) 
 {
    imageObj.src=images[i];
 }

function changeImage(theElement, theNewImage)
{
   document.getElementById(theElement).src = theNewImage; 
}