$(function() {$('.header-bottomline .scrollable').scrollable({size: 3, speed: 2000, keyboard: false}).circular().autoscroll({interval: 5000,autoplay: true});});
$(function() {$('.multiblock-other .scrollable').scrollable({size: 4, speed: 2000, keyboard: false, vertical: true}).circular().autoscroll({interval: 5000,autoplay: true});});
function openWindow(el) {
  $('.'+el+'-bg').animate({opacity: 'show'}, 300);
  $('.'+el).animate({opacity: 'show'}, 500);
}
function closeWindow(el) {
  $('.'+el).animate({opacity: 'hide'}, 500);
  $('.'+el+'-bg').animate({opacity: 'hide'}, 300);
}
$(document).ready(function(){
	$('.bindclick').click(function(){
		$(this).animate({opacity: 'hide'}, 500);
		$(this).next().animate({opacity: 'hide'}, 300);
	});
});
