
/* 
  ------------------------------------------------
  SlideShow
   (C) 2000 www.CodeLifter.com
   http://www.codelifter.com
   Free for all users, but leave in this  header
  ------------------------------------------------
*/
var slideShowSpeed = 5000
var crossFadeDuration = 5
var Pic = new Array()


Pic[0] = "http://www.perfecttastecatering.com/photos/about/resized/salad plate up ASTI  HZ 2 chefs.jpg";
Pic[1] = "http://www.perfecttastecatering.com/photos/about/resized/vicki w gina PURP JACKET copy.jpg";
Pic[2] = "http://www.perfecttastecatering.com/photos/about/resized/Small appetizer buffet station.jpg";
Pic[3] = "http://www.perfecttastecatering.com/photos/about/resized/esspresso smile red with shave.jpg";
Pic[4] = "http://www.perfecttastecatering.com/photos/about/resized/maria offers prawn tray copy.jpg";
Pic[5] = "http://www.perfecttastecatering.com/photos/about/resized/BUTLER AND BARTENDERS.jpg";
Pic[6] = "http://www.perfecttastecatering.com/photos/about/resized/Kitchen serves 500 in 17 minutes copy.jpg";
Pic[7] = "http://www.perfecttastecatering.com/photos/about/resized/potato bar jpeg -- use on web.jpg";
Pic[8] = "http://www.perfecttastecatering.com/photos/about/resized/danny vest smile.jpg";
Pic[9] = "http://www.perfecttastecatering.com/photos/about/resized/staff line forum copy.jpg";
Pic[10] = "http://www.perfecttastecatering.com/photos/about/resized/5 filet w baby veg on red plate, tray w Gina.jpg";
Pic[11] = "http://www.perfecttastecatering.com/photos/about/resized/vicki and flunky salad team.jpg";
Pic[12] = "http://www.perfecttastecatering.com/photos/about/resized/Perfect_LincolnAve_087.jpg";
Pic[13] = "http://www.perfecttastecatering.com/photos/about/resized/staff africa quad 3-08 retouch Jan 15 2010 copy.jpg";

var Cap = new Array();


Cap[0] = "";
Cap[1] = "";
Cap[2] = "";
Cap[3] = "";
Cap[4] = "";
Cap[5] = "";
Cap[6] = "";
Cap[7] = "";
Cap[8] = "";
Cap[9] = "";
Cap[10] = "";
Cap[11] = "";
Cap[12] = "";
Cap[13] = "";

var t
var j = 0
var p = Pic.length
var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}
function runSlideShow(){
   if (document.all){
      document.images.SlideShow.style.filter="blendTrans(duration=2)"
      document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()      
   }
   document.images.SlideShow.src = preLoad[j].src
   document.getElementById("caption").innerHTML=Cap[j]
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}

