

//
//	image handling
//

function PreLoader(path)
{
	//member properties
	this.path = path;
	this.images = new Array();
	
	//member methods
	this.AddImage = m_AddImage;
	this.Rollover = m_Rollover;
}

function m_AddImage(imagePath)
{
	//
	//	Name: m_AddImage
	//	Purpose: to add an image that needs to be preloaded
	//	Parameters:
	//		imagePath (string): this is the path of the image to preload into memory
	//
	
	var i;
	i = this.images.length;
	
	this.images[i] = new Image();
	this.images[i].src = imagePath;

}

function m_Rollover(name, filename)
{
  var fullpath = this.path + filename;
  document.images[name].src = fullpath;
}

function PerformEnter(control)
{

}