Shadow = {
	_div : [],

	Create : function()
	{
		return this._div.length + 1;
	},
	
	_GetDiv : function(id)
	{
		if (!this._div[id])
		{
			var d = document.createElement("DIV");
			d.id = "_shadow" + id.toString();
			d.style.position = "absolute";
			d.style.display = "none";
			d.style.zIndex = 100;
			d.style.backgroundColor = "#BBB";
			d.style.border = "1px solid #DDD";
			d.style.margin = "3px 3px";
			document.body.appendChild(d);			
			this._div[id] = d;
		}
		return this._div[id];
	},

	Show: function(id,offset)
	{
		var div = this._GetDiv(id);
		div.style.left = offset.Left;
		div.style.top = offset.Top;
		div.style.width = offset.Width;
		div.style.height = offset.Height;
		div.style.display = "";
	},

	Hide : function(id)
	{
		this._GetDiv(id).style.display = "none";
	}
};