Home > code for rotating images

code for rotating images

var captionWidth; if (typeof rotatingImages !== 'undefined' && rotatingImages.length && typeof rotatingImageAlt !== 'undefined') { var im = rotatingImages[Math.floor(rotatingImages.length * Math.random())]; document.write('' + rotatingImageAlt + ''); var w = parseInt(im[1]); captionWidth = (w > 341) ? '543px' : (543 - w) + 'px'; }