﻿// ************************************************************************************
// ** This file has been created with the Rotating Content Tool by Randy Hoyt.       **
// ** For more information, visit us on the web:                                     **
// **                                                                                **
// **     Rotating Content Tool   -- http://www.rotatecontent.com/                   **
// **     Author: Randy Hoyt      -- http://www.randyhoyt.com/                       **
// ************************************************************************************

varLength = 7
var entryContent = new Array(varLength)

entryContent[0] = "<a href=\"http://www.industrialtechnologytoday.com\" target=\"_blank\"><img src=\"indtech.jpg\" alt=\"LH Blog\" height=\"216\" width=\"605\" border=\"0\"></a>"
entryContent[1] = "<a href=\"http://www.lhtech.com/web_services.html\"><img src=\"images%202006/inno_07.jpg\" alt=\"Web Services\" height=\"216\" width=\"605\" border=\"0\"></a>"
entryContent[2] = "<a href=\"http://www.industrialtechnologytoday.com\" target=\"_blank\"><img src=\"indtech.jpg\" alt=\"LH Blog\" height=\"216\" width=\"605\" border=\"0\"></a>"
entryContent[3] = "<a href=\"vision_and_commitment.html\"><img src=\"images%202006/thriving.jpg\" alt=\"Livingston and Haven\" height=\"216\" width=\"605\" border=\"0\"></a>"
entryContent[4] = "<a href=\"http://www.industrialtechnologytoday.com\" target=\"_blank\"><img src=\"indtech.jpg\" alt=\"LH Blog\" height=\"216\" width=\"605\" border=\"0\"></a>"
entryContent[5] = "<a href=\"http://www.industrialtechnologytoday.com\" target=\"_blank\"><img src=\"indtech.jpg\" alt=\"LH Blog\" height=\"216\" width=\"605\" border=\"0\"></a>"
entryContent[6] = "<a href=\"http://www.lhtech.com/web_services.html\"><img src=\"images%202006/inno_07.jpg\" alt=\"Web Services\" height=\"216\" width=\"605\" border=\"0\"></a>"
entryContent[7] = "<a href=\"http://www.industrialtechnologytoday.com\" target=\"_blank\"><img src=\"indtech.jpg\" alt=\"LH Blog\" height=\"216\" width=\"605\" border=\"0\"></a>"

var randomNumber = Math.random()
randomNumber *= varLength
randomNumber = parseInt(randomNumber)
if(isNaN(randomNumber)) randomNumber = 0
else randomNumber %= varLength
selectedContent = entryContent[randomNumber]

document.write (selectedContent)