var slideShowSpeed = 3500;
var crossFadeDuration = 1;
var pic = new Array();
var j, p;

function runSlideShow() {
 if (document.all) {
  document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
  document.images.SlideShow.filters.blendTrans.Apply();
 }
 
 document.images.SlideShow.src = pic[j];
 if (document.all) {
   document.images.SlideShow.filters.blendTrans.Play();
 }
 
 j = (j + 1) % p; 
}

function startSlideShow() {
 path = 'menu/';
 pic[0] = path + '01.jpg';
 pic[1] = path + '02.jpg';
 pic[2] = path + '03.jpg';
 pic[3] = path + '04.jpg';
 pic[4] = path + '05.jpg';
 pic[5] = path + '06.jpg';
 pic[6] = path + '07.jpg';
 pic[7] = path + '08.jpg';
 pic[8] = path + '09.jpg';
 pic[9] = path + '10.jpg';
 j = 1;
 p = pic.length;
 setInterval('runSlideShow()', slideShowSpeed);
}



function endPlay() {
 var t = document.getElementById("video000");
 t.style.display = "none";
 
 t = document.getElementById("image000");
 t.style.display = "block";
}
function beginPlay() {
 var t = document.getElementById("image000");
 t.style.display = "none";
 
 t = document.getElementById("video000");
 t.style.display = "block";
 
 document.embeds['video001'].Play();
}
function cursor000() {
 document.body.style.cursor = "pointer";
 var t = document.getElementById("cursor002");
 t.style.background = "#ffff00";
}
function cursor001() {
 document.body.style.cursor = "auto";
 var t = document.getElementById("cursor002");
 t.style.background = "transparent";
}

