
// Configuration here.
//
// Fill the images array with the path (inside the images folder)
// of the images to be rotated at random into the subpage slideshow
// area.
//
//


var pathToImages = 'images'
var pathToRotationPics = '/truckpics/'


var currentdate = 0var core = 0function StringArray (n) {    this.length = n;    for (var i =1; i <= n; i++) {        this[i] = ' '    }}// The list of images to pull at random...images = new StringArray(5)images[0] = '001.gif'images[1] = '002.gif'images[2] = '003.gif'images[3] = '004.gif'images[4] = '005.gif'var ran = 60/images.lengthfunction insertRandomImage() {    currentdate = new Date()    core = currentdate.getSeconds()    core = Math.floor(core/ran)    
    document.write("<img src='" + pathToImages + pathToRotationPics + images[core] + "' width='469' height='66' alt='Picture of a Truck'>")}        
function MM_openBrWindow(theURL,winName,features) { //v2.0  window.open(theURL,winName,features);}



// This function controls the collapsing menu items
function toggleCollapsibleItem(elementID) {
    if (document.getElementById(elementID)) {
        var obj = document.getElementById(elementID)

        if (obj.className == 'open') {
            obj.className = 'closed';
        } else {
            obj.className = 'open';
        }
    }
}