{strip2}
{******************************
	the item
*******************************}

<div
	{if !$data.fixed}
		class="draggable_normal draggable_standby"
	{else}
		class="draggable_compressed draggable_standby"
	{/if}

	id="pre_control_text_{$id}"
	style="
		left:{$data.Xmm|mm2px}px;
		top:{$data.Ymm|mm2px}px;

		z-index: {$data.layer+100};
		{if $data.fixed}
			position: static;
		{else}
			position: absolute;
		{/if}

		{if $data.repeatable}
			display:none;
		{else}
			{if $data.block}
				display:block;
			{else}
				display:inline;
			{/if}
		{/if}
		">
	<span
		id="object"
		style="
				color:{$data.color};

				{if $data.backgroundColor}
					background-color:{$data.backgroundColor};
				{/if}

				{if $data.borderColor}
					{if $data.border_top}
						border-top:1px solid {$data.borderColor};
					{/if}
					{if $data.border_bottom}
						border-bottom:1px solid {$data.borderColor};
					{/if}
					{if $data.border_left}
						border-left:1px solid {$data.borderColor};
					{/if}
					{if $data.border_right}
						border-right:1px solid {$data.borderColor};
					{/if}
				{/if}

				{if $data.color}
					color:{$data.color};
				{/if}

				{if $data.block}
					display:block;
					white-space:pre-wrap;
					white-space:-o-pre-wrap;
				{else}
					display:inline;
					white-space:nowrap;
				{/if}

				{if $data.fontFamily}
					font-family:{$data.fontFamily};
				{/if}

				{if $data.fontSize}
					font-size:{$data.fontSize|pt2px}px;
				{/if}

				{if $data.style_bold}
					font-weight:bold;
				{/if}
				{if $data.style_italic}
					font-weight:bold;
				{/if}
				{if $data.style_italic}
					font-style:italic;
				{/if}
				{if $data.style_underline}
					text-decoration:underline;
				{/if}

				{if $data.Wmm}
					width:{$data.Wmm|mm2px}px;
				{/if}

				{if $data.Hmm}
					height:{$data.Hmm|mm2px}px;
				{/if}

				{if $data.letterSpacing}
					letter-spacing:{$data.letterSpacing|mm2px}px;
				{/if}

				{if $data.margin_top}
					margin-top:{$data.margin_top|mm2px}px;
				{/if}
				{if $data.margin_bottom}
					margin-bottom:{$data.margin_bottom|mm2px}px;
				{/if}
				{if $data.margin_left}
					margin-left:{$data.margin_left|mm2px}px;
				{/if}
				{if $data.margin_right}
					margin-right:{$data.margin_right|mm2px}px;
				{/if}

				{if $data.padding_top}
					padding-top:{$data.padding_top|mm2px}px;
				{/if}
				{if $data.padding_bottom}
					padding-bottom:{$data.padding_bottom|mm2px}px;
				{/if}
				{if $data.padding_left}
					padding-left:{$data.padding_left|mm2px}px;
				{/if}
				{if $data.padding_right}
					padding-right:{$data.padding_right|mm2px}px;
				{/if}

				text-align:{$data.align};

				{if $data.opacity<100}
					opacity: {$data.opacity/100};
					filter: alpha(opacity={$data.opacity});
				{/if}
				"
		>{/strip2}{if $browserType.IE}{$data.text|replace:"  ":"&nbsp; "|DTMtags2HTML}{else}{$data.text|DTMtags2HTML}{/if}{strip2}</span>

		{include file="controls/trackerValue.orderIndex.tpl" control="text"}
</div>
{/strip2}