function Layer(id, css) {
	this.id = id;
	this.css = css;
}

Layer.prototype.getLayer = function() {
	var myLayer = document.createElement("div");
	myLayer.setAttribute("id", this.id);
	myLayer.style.position = this.css.position;
	myLayer.style.left = this.css.left;
	myLayer.style.top = this.css.top;
	myLayer.style.width = this.css.width;
	myLayer.style.height = this.css.height;
	myLayer.style.background = this.css.background;
	myLayer.style.border = this.css.border;
	myLayer.style.zIndex = this.css.zIndex;

	return myLayer;
}
