<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/bootstrap-filestyle.min.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/bootstrap-dropdown.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.ui.min.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.ui.touch.min.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.cookie.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.nicEdit.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.maskedinput.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.pickmeup.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.tablesorter.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.tablesorter.pager.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.tipTip.min.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.scroll-to.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.pdfmake.min.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.vfs_fonts.js"></script>
<?php if ($aliases_arr[1] == 'workbox-info' OR $aliases_arr[1] =='donate'){ ?>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.fullpage.js"></script>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/jq.wow.min.js"></script>
<?php } ?>
<script type="text/javascript" src="/<? echo $folder; ?>/assets/js/fx.js"></script>

<script>
$(document).ready(function() {
	<?php if ($aliases_arr[1] == 'workbox-info'){ ?>
	new WOW().init();
	$('#fullpage').fullpage({
		anchors: ['home', 'tasks', 'clients', 'deals', 'users', 'mail', 'events', 'statistic', 'admin', 'demo'],
		sectionsColor: ['#ffffff', '#ffffff', '#ffffff', '#ffffff', '#ffffff', '#ffffff', '#ffffff', '#ffffff'],
		navigation: true,
		navigationPosition: 'right',
		navigationTooltips: ['В начало', 'Задачи', 'Клиенты', 'Сделки', 'Сотрудники', 'Почта', 'События', 'Статистика', 'Управление', 'Скачать'],
		scrollBar:true,
		responsiveWidth: 1100
	});
	<?php } ?>
	<?php if ($aliases_arr[1] == 'donate'){ ?>
	new WOW().init();
	$('#fullpage').fullpage({
		anchors: ['home', 'donate', 'back'],
		sectionsColor: ['#ffffff', '#ffffff', '#ffffff'],
		navigation: true,
		navigationPosition: 'right',
		navigationTooltips: ['В начало', 'Поддержка', 'В админпанель'],
		scrollBar:true,
		responsiveWidth: 1100
	});
	<?php } ?>
	$('.notice').each(function(){
		$(this).fadeIn(700).css('right','0px');
		setTimeout( "$('.notice').fadeOut(700).css('right','-500px');" , 5000 );
	});
	$('.notice_er').each(function(){
		$(this).fadeIn(700).css('right','0px');
		setTimeout( "$('.notice_er').fadeOut(700).css('right','-500px');" , 10000 );
	});
});
</script>
