<div id="selContactUs">
<div class="clsCommonTopAnalystRoundedCorner">
  <!--rounded corners-->
  <h2 class="clsInboxReadHeading">
		{$LANG.emailanswers_title}
	</h2>
  <div class="clsShadedBg">
  <div class="lbtopanalyst">
    <div class="rbtopanalyst">
      <div class="bbtopanalyst">
        <div class="blctopanalyst">
          <div class="brctopanalyst">
            <div class="tbtopanalyst">
              <div class="tlctopanalyst">
                <div class="trctopanalyst">

	<a href="#" id="posAlert"></a>
	{include file='../general/information.tpl'}<div class="clsInboxReadTbl">
	{if  $myobj->isShowPageBlock('form_contactus_show')}
		<form name="form_contactus_show" id="form_contactus_show" method="post" action="{$myobj->getCurrentUrl()}" autocomplete="off">
			<table summary="{$LANG.emailanswers_title}" class="clsMailReadTbl">
				<tr>
					<td class="{$myobj->getCSSFormLabelCellClass('userename')}"><label for="userename">{$LANG.common_your_name}</label>{$myobj->ShowHelpTip('forward_friend_name','userename')}</td>
					<td class="{$myobj->getCSSFormFieldCellClass('userename')}"><span class="clsTextLeft"><span class="clsTextMiddle"><span class="clsTextRight">
						<input  type="text" class="clsTextBox {$myobj->getCSSFormFieldElementClass('userename')}" name="userename" id="userename" tabindex="{smartyTabIndex}" value="{$myobj->getFormField('userename')}" {$myobj->form_contactus_show.condition} />
						{$myobj->getFormFieldElementErrorTip('userename')}</span></span></span>
					</td>
				</tr>
				<tr>
					<td class="{$myobj->getCSSFormLabelCellClass('to_emails')}"><label for="to_emails">{$LANG.common_to_emails}</label><span class="clsMandatory">*</span>{$myobj->ShowHelpTip('forward_friend_emails','to_emails')}</td>
					<td class="{$myobj->getCSSFormFieldCellClass('to_emails')}">
						<p id="selImportedEmails">
						{foreach key=inc item=value from=$imported_emails} <span id="{$inc|replace:"@":"AT"|replace:".":"DOT"}"> <a href="javascript:void()" onclick="Element.remove('{$inc|replace:"@":"AT"|replace:".":"DOT"}')">Delete</a> {$value}<br/>
							<input type="hidden" name="email_set[]" value="{$inc}" />
							<input type="hidden" name="email_set_names[]" value="{$value}" />
							</span>
						{/foreach}
					</p>
						<textarea name="to_emails" id="to_emails"  class="{$myobj->getCSSFormFieldElementClass('to_emails')}" tabindex="{smartyTabIndex}" rows="2" cols="45">{$myobj->getFormField('to_emails')}</textarea>
						{$myobj->getFormFieldElementErrorTip('to_emails')}
						<p><a href="javascript:void(0)" onclick="twcOpenEmailApi('?a=&value=')" >{$LANG.common_short_import_contacts}</a></p>
						<p class="clsEmailNote">{$LANG.common_to_emails_msg}</p>
					</td>
				</tr>
				<tr>
					<td class="{$myobj->getCSSFormLabelCellClass('message')}"><label for="message">{$LANG.emailanswers_message}</label><span class="clsMandatory">*</span>{$myobj->ShowHelpTip('messages_message','message')}</td>
					<td class="{$myobj->getCSSFormFieldCellClass('message')}">
						<textarea name="message" id="message" class="{$myobj->getCSSFormFieldElementClass('message')}" tabindex="{smartyTabIndex}" rows="4" cols="45">{$myobj->getFormField('message')}</textarea>
						{$myobj->getFormFieldElementErrorTip('message')}
					</td>
				</tr>
				<tr>
					<td class="{$myobj->getCSSFormLabelCellClass('submit')}"></td>
					<td class="{$myobj->getCSSFormFieldCellClass('submit')}">
					<div class="clsSubmitLeft">
				    	<div class="clsSubmitRight">
					<input type="submit" class="clsSubmitButton" name="submit_contactus" id="submit_contactus" value="{$LANG.common_submit}" tabindex="{smartyTabIndex}"  />
					</div></div>
					</td>
				</tr>
			</table>
		</form>
	{/if}
</div>
 </div></div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
</div>
  </div>
  <!--end of rounded corners-->
</div>