{if $myobj->isShowPageBlock('show_option_to_comment')}
<div  class="clsCommentPopContainer">
	{if  isMember()}
	  	<form name="formComment{$c_ans_id}" id="formComment{$c_ans_id}" method="post">
			<table class="clsFormTbl">
				<tr class="clsFormRow">
					<td class="{$myobj->getCSSFormLabelCellClass('message')}">
						<span class="clsZeroColour"><label for="message">{$LANG.comment_answers}<span class="clsMandatory">*</span></label></span>
					</td>
				</tr>
				<tr class="clsFormRow">
					<td class="{$myobj->getCSSFormFieldCellClass('message')}">
						<p id="validReply{$c_ans_id}" class="LV_validation_message LV_invalid"></p>
						<textarea name="user_comment" id="user_reply" class="clsCommentTextArea" tabindex="{smartyTabIndex}" maxlength ="{$CFG.admin.comment.limit}" rows="3" cols="100"  onFocus="updatelength(this, 'ss{$c_ans_id}');" onKeyUp="updatelength(this, 'ss{$c_ans_id}');" ></textarea>{$myobj->getFormFieldElementErrorTip('user_comment')}
						<div  id="ss{$c_ans_id}" class="clsZeroColour"><span> {$LANG.header_remainig} :</span> <span class="clsCharacterLimit">{$CFG.admin.comment.limit} </span></div>
					</td>
				</tr>
				<tr class="clsFormRow">
					<td class="{$myobj->getCSSFormFieldCellClass('default')}" >
					<div class="clsPostCommentLeftBtn">
                        <div class="clsPostCommentRightBtn">
						<input type="button" class="clsSubmitButton" name="post_comment" id="post_valuess{$c_ans_id}" onclick="c = chkMessage('user_reply','formComment{$c_ans_id}');if(c == 0)processingRequestForComment('post_valuess{$c_ans_id}','cancel_comment', 'selProcessingRequest');ajaxSubmitForm('{$showOptionToComment_arr.submit.onclick}', 'formComment{$c_ans_id}', 'msg{$commentSpanIDId}', '{$c_ans_id}');hideAllBlocks(); return false;" value="submit" tabindex="{smartyTabIndex}" />
						</div></div>
						<div class="clsPostCommentCancelLeftBtn">
                         <div class="clsPostCommentCancelRightBtn">
						<input type="button" class="clsCancelButton" name="cancel_comment" id="cancel_comment" onclick="ajaxUpdateDiv('{$showOptionToComment_arr.cancel.onclick}', '&ajax_page=true&cancelOptionToComment=1&c_ans_id={$c_ans_id}', '{$commentSpanIDId}'); return false;" value="Cancel" tabindex="{smartyTabIndex}" />
						</div></div>
						<div id="selProcessingRequest"></div>
					</td>
				</tr>
			</table>
			<input type="hidden" name="act" id="act" value="comment" />
			<input type="hidden" name="c_ans_id" id="c_ans_id" value="{$c_ans_id}" />
			<input type="hidden" name="start" id="start" value="{$myobj->getFormField('start')}" />
			<input type="hidden" name="c_seo_title" id="c_seo_title" value="{$myobj->getFormField('c_seo_title')}" />
			<input type="hidden" name="c_qid" id="c_qid" value="{$myobj->getFormField('c_qid')}" />
		</form>
	{else}
	  	{$LANG.session_expired}. <a href="{$CFG.auth.login_url.url}?r">{$LANG.login_to_continue}</a>
	{/if}
	</div>
{/if}