/************************************************************************* This code is from Dynamic Web Coding at http://www.dyn-web.com/ Copyright 2001-3 by Sharon Paine See Terms of Use at http://www.dyn-web.com/bus/terms.html regarding conditions under which you may use this code. This notice must be retained in the code as is! *************************************************************************/ randImgObj.set1 = new Array( "black.php?pic=pictures/byre.jpg","black.php?pic=pictures/arundel-3.jpg","black.php?pic=pictures/arundel.jpg","black.php?pic=pictures/bourne-3.jpg","black.php?pic=pictures/westcove-2.jpg","black.php?pic=pictures/cwrt.jpg","black.php?pic=pictures/harbour.jpg","black.php?pic=pictures/redtiles-3.jpg","black.php?pic=pictures/camping.jpg","black.php?pic=pictures/cwrt-2.jpg","black.php?pic=pictures/westcove-3.jpg","black.php?pic=pictures/redtiles.jpg","black.php?pic=pictures/bourne.jpg","black.php?pic=pictures/westcove.jpg","black.php?pic=pictures/harbour-3.jpg","black.php?pic=pictures/millhouse-2.jpg","black.php?pic=pictures/bourne-2.jpg","black.php?pic=pictures/luccombe-3.jpg","black.php?pic=pictures/luccombe.jpg","black.php?pic=pictures/cwrt-3.jpg","black.php?pic=pictures/redtiles-2.jpg","black.php?pic=pictures/arundel-2.jpg","black.php?pic=pictures/hc.jpg","black.php?pic=pictures/millhouse-3.jpg","black.php?pic=pictures/harbour-2.jpg","black.php?pic=pictures/millhouse.jpg","black.php?pic=pictures/luccombe-2.jpg"); randImgObj.imagesPath = ""; //////////////////////// Array.prototype.shuffle = function() { var i, temp, i1, i2; for (i=0; i 0)? --ctr: ++ctr; this.ctr = ctr; if ( typeof this.imgObj.filters != "undefined" ) { this.imgObj.style.filter = 'blendTrans(duration=1)'; if (this.imgObj.filters.blendTrans) this.imgObj.filters.blendTrans.Apply(); } this.imgObj.src = this.imgObj.imgs[this.ctr].src; if ( typeof this.imgObj.filters != "undefined" && this.imgObj.filters.blendTrans ) this.imgObj.filters.blendTrans.Play(); } } // sets up rotation for all defined randImgObjs randImgObj.start = function() { for (var i=0; i'; document.write(imgStr); } function initRandRotation() { for (var i=0; randImgObjs[i]; i++) { var rotator = randImgObjs[i]; rotator.imgObj = document.images["img" + i]; // get reference to the image object rotator.addImages(rotator.imgAr); rotator.rotate(); } randImgObj.start(); }