function SAMA_CreateLayer (content, layerName, visibility, position, left, top, width, height, zIndex, bcgColor, lBgcColor, border, borderSize, bordercolor)
{
/*
	<div id="Layer1" style="position:absolute; left:204px; top:48px; width:244px; height:108px; 
	z-index:1; visibility: hidden background-color: #990000; layer-background-color: #990000; border: 1px none #000000">wsfsf</div>

*/

	var Name	= " id =\"" + layerName + "\" ";
	
	// Style : 
	visibility	= "visibility:" + visibility + "; "; // inherit / visible / hidden
	position	= "position:" + position + "; ";
	left		= "left:" + left + "px; ";
	top		= "top:" + top + "px; ";
	width		= "width:" + width + "px; ";
	height		= "height:" + height + "px; ";
	zIndex		= "z-index:" + zIndex + "; ";
	bcgColor	= "background-color: rgb(" + bcgColor[0] + ", " + bcgColor[1] + ", " + bcgColor[0] + "); ";
	lBgcColor	= "layer-background-color: rgb(" + lBgcColor[0] + ", " + lBgcColor[1] + ", " + lBgcColor[0] + "); ";
	border		= "border: " + borderSize + " " + border + " " + "rgb(" + bordercolor[0] + ", " + bordercolor[1] + ", " + bordercolor[0] + "); "
	
	style		= "style=\"" + 
				visibility +
				position + 
				left + 
				top + 
				width + 
				height + 
				zIndex +
				bcgColor +
				lBgcColor +
//				border +
				"\"";

	return ("<div" + Name + style + ">" + content + "</div>")
}