function Rollover(id, out, over)
{
	this.obj = this.outimg = this.overimg = null;
	this.id = id;
	this.outimg = new Image();
	this.outimg.src = out;
	this.overimg = new Image();
	this.overimg.src = over;
	this.persist = false;
}
Rollover.prototype.over = function(n)
{
	if( this.persist ) return;
	if( !this.obj ) this.obj = document.images ? document.images[ this.id ] : null;
	if( !this.obj ) return false;
	this.obj.src = this.overimg.src;
}
Rollover.prototype.out = function()
{
	if( this.persist ) return;
	if( !this.obj ) this.obj = document.images ? document.images[ this.id ] : null;
	if( !this.obj ) return false;
	this.obj.src = this.outimg.src;
}
Rollover.prototype.setpersist = function()
{
	this.over();
	this.persist = true;
}
Rollover.prototype.cancelpersist = function()
{
	this.persist = false;
	this.out();
}