$.preload = function() {
  for(var i = 0; i<arguments.length; i++)
  {
    $("<img>").attr("src", arguments[i]);
  }
}


function over(img,ref) { document.images[img].src = ref; }