<div class="overlay"></div>
	<secion class="message-block">
		<div class="message-block-inner">
			<div class="shape form-shape popup-form">
			    	 [[!FormIt?
                        &hooks=`spam,email,redirect`
                        &emailTpl=`sentEmailTpl`
                        &emailSubject=`Письмо с формы "Обратный звонок"`
                        &emailTo=`[[++email]]`
                        &successMessage=`Сообщение отправлено!`
                      ]]
				<form action="[[~[[*id]]]]#call" method="POST" class="form-submit phone-form">
					<h1>Заказать звонок</h1>
                    <input type="hidden" name="nospam:blank" value="" />
					  <div style="color: red; font-size: 16px; margin-bottom: 15px;">    [[+fi.successMessage]] </div>
						<div class="input name"><input type="text" value="[[!+fi.name]]" name="name" id="name" placeholder="Ваше имя" required></div>
						<div class="input phone"><input type="text" value="[[!+fi.phone]]" name="tel" id="tel" placeholder="Ваш телефон" required></div>
						<div class="input email"><input type="text" value="[[!+fi.email]]" name="email" name="email" placeholder="Ваш E-mail*"></div>
						<button value="Заказать звонок" class="button">Заказать звонок</button>
						<a href="/poleznoe/soglasie-na-obrabotku-personalnyix" style="font-size: 12px; text-align: center; top: 20px; position: relative;   left: 0px; z-index: 1000;">
						    Согласие на обработку
 персональных данных</a>
				</form>
				
				<div class="confirm">СПАСИБО! 
В БЛИЖАЙШЕЕ ВРЕМЯ НАШИ МЕНЕДЖЕРЫ СВЯЖУТСЯ С ВАМИ.</div>
				<div class="close-button"></div>
			</div>
		</div>
	</section>
			
	<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="fancybox/jquery.fancybox-1.2.6.pack.js"></script>
 <script type="text/javascript" src="js/script.js"></script>	
	 <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script type="text/javascript" src="js/bootstrap.js"></script>

	 <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>		 <script type="text/javascript" src="js/jquery.countdown.js"></script>		 <script type="text/javascript" src="/js/jquery.maskedinput.min.js"></script>		 <script type="text/javascript" src="js/scripts.js"></script>


 if(window.location.hash) {
      var hash = window.location.hash.substring(1); //Puts hash in variable, and removes the # character
      if (hash=='call'){
        $('.phone-call').click();
       }
        if (hash=='consultation'){
        $('.consult-call').click();
       }
      }
</script>