/*
Created by: JDB Technology Solutions, LLC
copyright 2007 JDB Technology solutions, LLC
*/


function preloadImages() {
  // Don't bother if image swap not supported
  if (document.images) {
    if (typeof(document.btd) == 'undefined'){
      document.btd = new Object();
    }
    document.btd.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
      document.btd.loadedImages[arg] = new Image();
      // Then set the source of the graphic
      document.btd.loadedImages[arg].src = preloadImages.arguments[arg];
    }
  }
}