var scrollDistance = window.innerHeight;
$('.table .table__itemTitle').on('click', function(){
$(this).parent('li').toggleClass('open');
$(this).next('ul').slideToggle();
});
if (isset($_POST['site'])) {$site = " <b>Сайт:</b>".$_POST['site'];}
$("form").submit(function(){
if ($('input1').is(':checked') {
window.location.href("http://google.com");
} else {
window.location.href("http://yandex.com");
}
return false;
});