// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
// Duration of crossfade (seconds)
var crossFadeDuration = 10;
// Specify the image files
var Picbg = new Array();				// for bg
// to add more images, just continue
// the pattern, adding to the array below

Picbg[0] = 'http://2.imimg.com/data2/UI/MG/MY-1717526/image222.jpg'	// for bg
Picbg[1] = 'http://2.imimg.com/data2/ES/UC/MY-1717526/homeban22.jpg' // for bg

// do not edit anything below this line
var t;
var j = 0;
var p = Picbg.length;
var preLoadBg = new Array();			// for bg

for (i = 0; i < p; i++) {
preLoadBg[i] = Picbg[i];				// for bg

}

function runSlideShow() {
if (document.all) {
document.getElementById('bim').style.filter="revealTrans(duration=2)";						// for bg
document.getElementById('bim').style.filter="revealTrans(duration=2,transition=22)";		// for bg
document.getElementById('bim').filters.revealTrans.Apply();								// for bg

}

document.getElementById('bim').style.background="url("+preLoadBg[j]+") no-repeat";			// for bg


if (document.all) {
document.getElementById('bim').filters.revealTrans.Play();									// for bg

}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
