// JavaScript Document
// Left Navigation Rollovers
// Preload RollOver Images
if(document.images) {
  var image_array = new Array();
  // path to the directory with images
  var path = '/Colgate/US/Corp/LivingOurValues/Sustainability/RespectForPeople/';

    // InnerNav - RespectForPeople 
    // On images
    image_array[0] = path + "ColgatePeople_On.gif";
    image_array[1] = path + "RespectForConsumers_On.gif";
    image_array[2] = path + "RespectForBusPartners_On.gif";
    image_array[3] = path + "RespectForShareholders_On.gif";
    image_array[4] = path + "RespectForOther_On.gif";
    image_array[5] = path + "RespectForComm_On.gif";
    
    // Off images
    image_array[6] = path + "ColgatePeople_Off.gif";
    image_array[7] = path + "RespectForConsumers_Off.gif";
    image_array[8] = path + "RespectForBusPartners_Off.gif";
    image_array[9] = path + "RespectForShareholders_Off.gif";
    image_array[10] = path + "RespectForOther_Off.gif";
    image_array[11] = path + "RespectForComm_Off.gif";

  var preload_image = new Array ();
 
  for(var i = 0; i < image_array.length; i++) {
    preload_image[i]= new Image();
    preload_image[i].src = image_array[i];
  }
}

// Execute RollOver
function Roll(name, filename)
{
  var fullpath = '' + filename;
  document.images[name].src = fullpath;
}

