



		var LAYER_RELATION_ABS	= 'absolute';
		var LAYER_RELATION_REL	= 'relative';

		var LAYER_AMOUNT_LEFT	= 'left';
		var LAYER_AMOUNT_RIGHT	= 'right';
		var LAYER_AMOUNT_TOP	= 'top';
		var LAYER_AMOUNT_BOTTOM	= 'bottom';
		var LAYER_AMOUNT_WIDTH	= 'top';
		var LAYER_AMOUNT_HEIGHT	= 'bottom';

		var LAYER_MODE_PERCENT	= '%';
		var LAYER_MODE_ABSOLUTE	= 'px';
		var LAYER_MODE_AUTO		= 'auto';

		var LAYER_PROP_NONE		= 'none';
		var LAYER_PROP_HOR		= 'proportional-horizontal';
		var LAYER_PROP_VER		= 'proportional-vertical';
		var LAYER_PROP_MAX		= 'proportional-max';
		var LAYER_PROP_MIN		= 'proportional-min';

		function layerCoordinate(align, mode, pos) {
			this.alignment		= align;
			this.modus			= mode;
			this.position		= pos;
		}

		function layerCoordinateClone(coordinate) {
			this.alignment		= coordinate.alignment;
			this.modus			= coordinate.modus;
			this.position		= coordinate.position;
		}

		function layerConfig(id, relation, proportion, propval, coordL, coordR, coordT, coordB, coordW, coordH, ares) {
			this.id				= id;
			this.relation		= relation;
			this.proportion		= proportion;
			this.proportions	= propval;
			this.afterResize	= ares;

			this.coordLeft		= coordL;
			this.coordRight		= coordR;
			this.coordTop		= coordT;
			this.coordBottom	= coordB;
			this.coordWidth		= coordW;
			this.coordHeight	= coordH;

			this.rectangle		= new Object();
		}

		function layerConfigClone(config) {
			this.id				= config.id;
			this.relation		= config.relation;
			this.proportion		= config.proportion;
			this.proportions	= config.proportions;
			this.afterResize	= config.afterResize;

			this.coordLeft		= new layerCoordinateClone(config.coordLeft);
			this.coordRight		= new layerCoordinateClone(config.coordRight);
			this.coordTop		= new layerCoordinateClone(config.coordTop);
			this.coordBottom	= new layerCoordinateClone(config.coordBottom);
			this.coordWidth		= new layerCoordinateClone(config.coordWidth);
			this.coordHeight	= new layerCoordinateClone(config.coordHeight);

			this.rectangle		= new Object();
		}

