{include file="$gentemplates/$header_tpl"}
		
<h2>{$form.top_header}</h2>
<p>{$form.comment}</p>
{*if $form.err}
	<p class="error_msg">*&nbsp;{$form.err}</p>
{/if*}
	<form action="{$form.action}" method="post" name="mailbox_write">
	{$form.hidden}
		<!-- write form -->
		<p style="height: 0px; overflow: hidden; padding: 0px;">
			Text:<br />
			<input type="text" name="text" value="" />
		</p>
		<p>
			{$lang.contact_us.name}:<br />
			<input type="text" name="name" value="{$data.name}">
		</p>
		<p>
			{$lang.contact_us.email}:<br />
			<input type="text" name="email" value="{$data.email}">
		</p>
		<p>
			{$lang.tell_a_friend.to_email}:<br />
			<input type="text" name="to" value="{$data.to}">
		</p>
		<p>
			{$lang.contact_us.subject}:<br />
			<input type="text" name="subject" id="subject" onkeyup="BadWords('subject');" value="{$form.subject}"/>
            <div id="bad_div_subject" class="bad_div_left"></div>
		</p>
		<p>
			{$lang.contact_us.body}:<br />
			<textarea name="body" id="body" onkeyup="BadWords('body');" cols=70 rows=15 >{$form.body}</textarea>
            <div id="bad_div_body" class="bad_div_left"></div>
		</p>
		<p>
			{$lang.contact_us.security_code}:<br />
			{if $recaptcha}
			{$form.kcaptcha}<br />
			{else}
			<img src="{$form.kcaptcha}" alt="{$lang.contact_us.security_code}"><br />
			<input type="text" style="width: 200px; margin:8px 0;" name="keystring">
			{/if}
		</p>
		<p>
			<input type="hidden" name="send" value=1>
			<input type="button" onclick="javascript: document.mailbox_write.submit();" value="{$lang.button.send}">
		</p>
		<!-- /write form -->
	</form>
{include file="$gentemplates/$footer_tpl"}