<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->

var SlideShowSpeed = 5000;
var CrossFadeDuration = 3;
var Picture = new Array(); 
var Caption = new Array(); 


Picture[1]  =  "imagens/banner/pedreiro.jpg";
Picture[2]  =  "imagens/banner/eletricista.jpg";
Picture[3]  =  "imagens/banner/pintor.jpg";
Picture[4]  =  "imagens/banner/dedetizacao.jpg";
Picture[5]  =  "imagens/banner/piscineiro.jpg";
Picture[6]  =  "imagens/banner/contato.jpg";

Caption[1]  = "fdfd";
Caption[2]  = "fdf";
Caption[3]  = "fdf";
Caption[4]  = "fdf";
Caption[5]  = "fdfd";
Caption[6]  = "fdfd";


var tss;
var iss;
var jss = 1;
var cu = 4;
var ok = 6;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=4)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss ==7) jss=1;
cu = cu + 1;
if (cu ==7) cu=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}