
	function
	
	Gradient(x,y,width,height,color)
	{
		this.x = parseInt(x);
		this.y = parseInt(y);
		this.width = parseInt(width);
		this.height = parseInt(height);
		this.color = (color==null?"white":color.toString());
	}
		
	Gradient.prototype.render = function()
	{			
		for(var i=0;i<this.height;i++)
		{
			document.write("<div style='z-index:1000;"+this.getAlphaExpression(i/this.height)+";position:absolute;margin-top:"+(i+this.y)+"px;margin-left:"+(this.x)+"px;background-color:"+this.color+";height:1px;width:350px;overflow:hidden;'></div>");
		}
	}
	
	if(navigator.userAgent.indexOf("Gecko")>=0||window.opera)
		Gradient.prototype.getAlphaExpression = function(value) { return "opacity:"+value; }
	else
		Gradient.prototype.getAlphaExpression = function(value) { return "filter:alpha(opacity="+Math.floor(value*100)+")"; }