var stopstatus = 0
var slideShowSpeed = 2000
var crossFadeDuration = 1
var Pic = new Array()
Pic[0] = 'wedaw/00.jpg'
Pic[1] = 'wedaw/01.jpg'
Pic[2] = 'wedaw/02.jpg'
Pic[3] = 'wedaw/03.jpg'
Pic[4] = 'wedaw/04.jpg'
Pic[5] = 'wedaw/05.jpg'
Pic[6] = 'wedaw/06.jpg'
Pic[7] = 'wedaw/07.jpg'
Pic[8] = 'wedaw/08.jpg'
Pic[9] = 'wedaw/09.jpg'
var t
var j = 0
var p = Pic.length
var pos = j
var preLoad = new Array()
function preLoadPic(index){
if (Pic[index] != ''){
window.status='Loading : '+Pic[index]
preLoad[index] = new Image()
preLoad[index].src = Pic[index]
Pic[index] = ''
window.status=''
}}
function runSlideShow(){
if (stopstatus != '1'){
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
if (document.all){
document.images.SlideShow.filters.blendTrans.Play()
}
pos = j
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()',slideShowSpeed)
preLoadPic(j)
}}
function endSlideShow(){
stopstatus = 1
}
preLoadPic(j)

