cLYNXGroup = Class.create();
cLYNXGroup.prototype = {
	initialize: function() {
		this.Opacity = 100;
		this.Step = -1;
		setTimeout( "$( '" + this.id + "' ).doStep()", 1 );
	},
	
	doStep: function() {
		this.Opacity += this.Step;
		
		if( this.Opacity > 100 ) {
			this.Opacity = 100;
			this.Step = -this.Step;
		}
		if( this.Opacity < 0 ) {
			this.Opacity = 0;
			this.Step = -this.Step;
		}
		
		with( this.style ) {
			opacity = this.Opacity / 100;
			filter = "alpha(opacity=" + this.Opacity + ")";
		}
		
		if( this.Opacity == 100 ) {
			setTimeout( "$( '" + this.id + "' ).doStep()", 5000 );
			return;
		}
		setTimeout( "$( '" + this.id + "' ).doStep()", 10 );
	}
		
}
