// ************************************************************************************
// ** This file has been created with the Rotating Content Tool by Amesbury Web.     **
// ** For more information, visit us on the web:                                     **
// **                                                                                **
// **     Rotating Content Tool   -- http://rotatecontent.com/                       **
// **     Company: Amesbury Web   -- http://amesburyweb.com/                         **
// **     Author:  Randy Hoyt     -- http://randyhoyt.com/                           **
// **                                                                                **
// ************************************************************************************

varLength = 3
var entryContent = new Array(varLength)

entryContent[0] = " <img alt=\"\" src=\"https://www.caterpillarscandles.com/images/2008/Soy/ad-2.jpg\">"
entryContent[1] = " <img alt=\"\" src=\"https://www.caterpillarscandles.com/images/2008/Soy/ad-3.jpg\">"
entryContent[2] = " <img alt=\"\" src=\"https://www.caterpillarscandles.com/images/2008/Soy/ad-4.jpg\">"

var randomNumber = Math.random()
randomNumber *= varLength
randomNumber = parseInt(randomNumber)
if(isNaN(randomNumber)) randomNumber = 0
else randomNumber %= varLength
selectedContent = entryContent[randomNumber]

document.write (selectedContent)


// ** Display the following code on the page you want to have the ads on:
// ** <script type="text/javascript" src="https://www.caterpillarscandles.com/js/rotating-content.js"></script>
