// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 6000;
// Duration of crossfade (seconds)
var crossFadeDuration = 4;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'rul/1.jpg'
Pic[1] = 'rul/2.jpg'
Pic[2] = 'rul/3.jpg'
Pic[3] = 'rul/4.jpg'
Pic[4] = 'rul/5.jpg'
Pic[5] = 'rul/6.jpg'
Pic[6] = 'rul/7.jpg'
Pic[7] = 'rul/8.jpg'
Pic[8] = 'rul/9.jpg'
Pic[9] = 'rul/10.jpg'
Pic[10] = 'rul/11.jpg'


function checkBrowser(){
	this.ver=navigator.appVersion
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5.5")>-1 && this.dom)?1:0;
	return this
}

var bw=new checkBrowser()


// do not edit anything below this line
var t;
var jj = 0;
var p = Pic.length;
var preLoad = new Array();
for (q = 0; q < p; q++) {
preLoad[q] = new Image();
preLoad[q].src = Pic[q];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
if(!bw.ie5){document.images.SlideShow.filters.blendTrans.Apply();}
}
document.images.SlideShow.src = preLoad[jj].src;
if(document.all){if(!bw.ie5){document.images.SlideShow.filters.blendTrans.Play();}}
jj = jj + 1;
if (jj > (p - 1)) jj = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}

