' Lin[1] = 'subcategory.asp?c=4&s=19' Lin[2] = 'subcategory.asp?c=7&s=33' Lin[3] = 'subcategory.asp?c=2&s=6' Target[0] = '_blank' Target[1] = '_self' Target[2] = '_self' Target[3] = '_self' // Set slideShowSpeed (milliseconds) var slideShowSpeed = 4000; // Duration of crossfade (seconds) var crossFadeDuration = 2; // Whether images are shown randomly (otherwise sequential) var randomDisplay = true; // do not edit anything below this line var z; var t; var c; var j = 0; var p = Pic.length; var preLoad = new Array(); for (i = 0; i < p; i++) { preLoad[i] = new Image(); preLoad[i].src = Pic[i]; } function runSlideShow(l) { if (document.all) { document.images.advert.style.filter="blendTrans(duration=2)"; document.images.advert.style.filter="blendTrans(duration=crossFadeDuration)"; document.images.advert.filters.blendTrans.Apply(); } if (randomDisplay == true) { c = Math.floor(Math.random()*p); if (z = c) { c = Math.floor(Math.random()*p); } document.images.advert.src = preLoad[c].src; mainLink.href = Lin[c]; mainLink.target = Target[c]; z = c; } else { document.images.advert.src = preLoad[l].src; mainLink.href = Lin[l]; mainLink.target = Target[l]; } if (document.all) { document.images.advert.filters.blendTrans.Play(); } j = j + 1; if (j > (p - 1)) j = 0; t = setTimeout('runSlideShow(' + j + ')', slideShowSpeed); } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //MM_openBrWindow('pop_up/4-9-3/index.htm','winPopup','width=250,height=200') //-->