
/* 
  ------------------------------------------------
  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/gallery_private/resized/bartender w smile.jpg";
Pic[1] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/GARDEN PARTY STATION BIG LAWN.jpg";
Pic[2] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/dusk garden party with guests copy.jpg";
Pic[3] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/1 biz logo w desserts.jpg";
Pic[4] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/Personable and Efficient bartender crop.jpg";
Pic[5] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/Our speedy bartenders stir things up.jpg";
Pic[6] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/Choc Kohl copy.jpg";
Pic[7] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/Bat Mitz Kid's choc dipping Jan 21 2010.jpg";
Pic[8] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/Nano and Lawler 008.jpg";
Pic[9] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/hz dinner plates whiz past.jpg";
Pic[10] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/FSI 2008 061.jpg";
Pic[11] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/1 mongolian beef stir frypy.jpg";
Pic[12] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/1 tim @ biz.jpg";
Pic[13] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/1 basket of cocktail bun sandwiches copy.jpg";
Pic[14] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/1 chx flag 7up pour.jpg";
Pic[15] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/99 sushi action.jpg";
Pic[16] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/Asian Beef Salad.jpg";
Pic[17] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/210.jpg";
Pic[18] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/Asian Beef Salad Assembly Line.jpg";
Pic[19] = "http://www.perfecttastecatering.com/photos/gallery_private/resized/sq crop chef @ table grill.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] = "";
Cap[14] = "";
Cap[15] = "";
Cap[16] = "";
Cap[17] = "";
Cap[18] = "";
Cap[19] = "";

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)
}

