/*
Created by: JDB Technology Solutions, LLC
copyright 2007 JDB Technology solutions, LLC
*/



function preloadImages() {

     var loadedImages = new Array();
    // Load all the graphics
    var argLength = preloadImages.arguments.length
    for(arg=0;arg<argLength;arg++) {
      // For each graphic, create a new image
      loadedImages[arg] = new Image()
      // Then set the source of the graphic
      loadedImages[arg].src = preloadImages.arguments[arg]

    }
}

function thumbSetup() {

var thumbsRollover = ""
var numThumb = thumbSetup.arguments.length;


for (var i = 0; i<=(numThumb - 1); i++){

    var thumbName = fileLoc + thumbSetup.arguments[i] + thumbNail + fileExt
    var largeImage =  fileLoc + thumbSetup.arguments[i] + fileExt

    thumbsRollover += "<A href='#' onMouseOver='if (document.images) {window.document.large1.src=\""
    thumbsRollover += largeImage
    thumbsRollover += "\";}'><img src="
    thumbsRollover += thumbName
    thumbsRollover += " border='0' alt='Precision Pools &amp; Spas - "
    thumbsRollover += pageSubj
    thumbsRollover += "'> </a><br>"
}

return thumbsRollover

}


