	$(function(){
			$('#slides').slides({
				preload: true,
				preloadImage: 'img/loading.gif',
				play: 5000,
				pause: 2500,
				hoverPause: true,
				animationStart: function(current){
					$('.info').animate({
						bottom:-35
					},100);
					if (window.console && console.log) {
						// example return of current slide number
						console.log('animationStart on slide: ', current);
					};
				},
				animationComplete: function(current){
					$('.info').animate({
						bottom:0
					},200);
					if (window.console && console.log) {
						// example return of current slide number
						console.log('animationComplete on slide: ', current);
					};
				},
				slidesLoaded: function() {
					$('.info').animate({
						bottom:0
					},200);
				}
			});
});

$(document).ready(function () {

if($('.news').length > 0) {
    $('.news').vTicker({
       speed: 500,
       pause: 3000,
       showItems: 2,
       animation: 'fade',
       mousePause: true,
       height: 121,
       direction: 'up'
    });
}

});
