// JavaScript Document

  Rollimage = new Array()

  //this populate an array with the image paths for all the roolovers
  Rollimage[0]= new Image()
  Rollimage[0].src = "images/surface-care.png"
  Rollimage[1] = new Image()
  Rollimage[1].src = "images/surface-care-rollover.png"
  Rollimage[2]= new Image()
  Rollimage[2].src = "images/safety-pads.png"
  Rollimage[3] = new Image()
  Rollimage[3].src = "images/safety-pads-rollover.png"
  Rollimage[4]= new Image()
  Rollimage[4].src = "images/komfi.png"
  Rollimage[5] = new Image()
  Rollimage[5].src = "images/komfi-rollover.png"
  Rollimage[6]= new Image()
  Rollimage[6].src = "images/gng-group.png"
  Rollimage[7]= new Image()
  Rollimage[7].src = "images/gng-group-rollover.png"

  //this is the function that is called when a user rolls out of a link,
  function SwapOut(rating){
  	if(rating == "1"){
    document.surface.src = Rollimage[1].src;
    return true;
	}
  	if(rating == "2"){
    document.safetypads.src = Rollimage[3].src;
    return true;
	}
  	if(rating == "3"){
    document.komfi.src = Rollimage[5].src;
    return true;
	}
  	if(rating == "4"){
    document.gnggroup.src = Rollimage[7].src;
    return true;
	}
  }

  //this is the function that is called when a user rolls over of a link,
  function SwapBack(rating){
  	if(rating == "1"){
    document.surface.src = Rollimage[0].src; 
    return true;
	}
  	if(rating == "2"){
    document.safetypads.src = Rollimage[2].src;
    return true;
	}
  	if(rating == "3"){
    document.komfi.src = Rollimage[4].src;
    return true;
	}
  	if(rating == "4"){
    document.gnggroup.src = Rollimage[6].src;
    return true;
	}
  }
