// Image Functions
// changeImage() and preload() functions for rollovers and GIF animation
// 19990326

// Copyright (C) 1999 Dan Steinman
var ns4 = (document.layers) ? 1:0;  
var ie4 = (document.all)    ? 1:0;

function preload(imgObj,imgSrc) 
{
	if (document.images) 
	{
		eval(imgObj+' = new Image()')
		eval(imgObj+'.src = "'+imgSrc+'"')
	}
}

function cambiaImg(lyr, obj, fuente)
{
 if (lyr!=null)
 {
	 if (ns4) eval("document." + lyr +".document.images['" + obj + "'].src = '" + fuente + "'");
	 if (ie4) eval("document.images['" + obj + "'].src = '" + fuente + "'");
  }
 else
 {
	eval("document.images['" + obj + "'].src = '" + fuente + "'");
  }
 
}  
