<div class="fullcom-block">
   <div class="fullcom-block-title">
   </div>
   <div class="fullcom-block-content">
      <div style="clear: both;"></div>
      <div class="open-com-form">Добавить запись</div>
      <div class="hidden-com-form">
         <div class="fullcom-block-content">
            <div class="main-news-info">
               [open]
               <div class="add-comment-title">
                  Добавить запись на стену:
               </div>
               [guest]
               <div class="form-line-tt">
                  <div class="form-line-tt-right">
                      <label for="author"></label><input placeholder="Ваше имя" type="text" action="javascript:void(0);" name="author" value="{%COOKIE_NAME%}" size="40" id="author" class="form-input-stand" required />
                  </div>
               </div>
               <div class="form-line-tt">
                  <div class="form-line-tt-right">
                      <label for="email"></label><input placeholder="Ваш E-Mail" type="text" name="email" value="{%COOKIE_MAIL%}" size="40" id="email" class="form-input-stand" required/>
                  </div>
               </div>
               [/guest]
               [user]
               [/user]
               <div class="form-line-tt"><strong>Ваше имя:</strong> {%COOKIE_NAME%}</div>
               <div id="reply_comment"></div>
               <div class="form-line-tt" style="padding: 10px 0 10px 0;">
                  {%BB_AREA%}
               </div>
               [guest]
               [captcha]
               <div class="form-line-tt">
                  <div class="form-line-tt-right">
                     {%CAPTCHA%}
                  </div>
               </div>
               [recaptcha:0]
               <div class="form-line-tt">
                  <div class="form-line-tt-right">
                     <input placeholder="Повторите код" title="Введите код указанный на картинке" style="width:115px" class="form-input-stand" type="text" name="securityCode" id="securityCode" required>
                  </div>
               </div>
               [/recaptcha]
               [/captcha]
               [/guest]
               <div class="form-submit-block-tt">
                  <input type="hidden" name="nid" value="{%ID%}" id="nid" />
                  <input type="hidden" value="0" id="reply_to" />
                  <input type="hidden" name="mod" value="{%MOD%}" id="mod" />
                  [noSubscribe]<br />
                  <div class="main-news-more">
                     <div id="subsribe{%ID%}"><a href="javascript:void(0)" onclick="subscribeWall(1, 'subsribe{%ID%}');">Подписаться на стену пользователя</a><input type="hidden" value="0" id="subscribe" /></div>
                  </div>
                  [/noSubscribe]
                  [yesSubscribe]<br />
                  <div class="main-news-more">
                     <div id="subsribe{%ID%}"><a href="javascript:void(0)" onclick="subscribeWall(0, 'subsribe{%ID%}');">Отписаться от стены пользователя</a><input type="hidden" value="1" id="subscribe" /></div>
                  </div>
                  [/yesSubscribe]
                  <br />
                  <input name="submit" type="submit" id="sub" class="form-button-tt" value="Добавить" onclick="comment_post('commentBox'); return false;" />
               </div>
               [/open]
               <script type="text/javascript">
                  function reply_comment(id){gid('reply_to').value = id; gid('reply_comment').innerHTML = (id > 0 ? '<strong>Ответ на запись №:</strong> '+id + ' <a href="javascript:void(0)" onclick="reply_comment(0);">не отвечать</a>' : ''); window.scroll(0, parseInt(gid('comment_add').offsetTop));}
               </script>
            </div>
         </div>
      </div>
   </div>
</div>
<script type="text/javascript">
   $(document).ready(function() {
   	
   	$('.open-com-form').click(function(){
   		$('.hidden-com-form').slideToggle();
   	});
   	
   });
</script>