f = document._slideShow;
n = 0;
t = 0;

document.images["stage"].width  = oW;
document.images["stage"].height = oH;
f.delay.value = display;

f.wichIm.options.length = 0;// add image numbers to select menu
for(i in SLIDES){
	f.wichIm.options[i] = new Option(SLIDES[i][1],i);
}
function startSS(){
	t = setTimeout("runSS(" + f.currSlide.value + ")", 1 * 1);
}
function runSS(n){
	n++;
	if(n >= SLIDES.length){
		n = 0;
	}
	document.images["stage"].src = S[n].src;
	if(document.all && navigator.userAgent.indexOf("Opera") < 0 && navigator.userAgent.indexOf("Windows") >= 0){
		document.images["stage"].style.visibility = "hidden";//document.images["stage"].filters.item(0).apply();document.images["stage"].filters.item(0).transition = effect;	//commented by femina
		document.images["stage"].style.visibility = "visible";
		document.images["stage"].filters(0).play(duration);
	}
	f.currSlide.value = n;
	f.wichIm[n].selected = true;
	t = setTimeout("runSS(" + f.currSlide.value + ")", f.delay.value * 1000);
}
function hotlink() {
    this.slides[ this.current ].hotlink();
  }
